Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-28 23:59:05.052717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/28/image_23012025_23_29_06_10405.jpg', '/home/pi/Desktop/images/23012025/23/29/image_23012025_23_29_17_10338.jpg', '/home/pi/Desktop/images/23012025/23/29/image_23012025_23_29_26_9342.jpg', '/home/pi/Desktop/images/23012025/23/29/image_23012025_23_29_36_10355.jpg', '/home/pi/Desktop/images/23012025/23/29/image_23012025_23_29_46_9351.jpg', '/home/pi/Desktop/images/23012025/23/29/image_23012025_23_30_06_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/23/28/image_23012025_23_29_06_10405.jpg
/home/pi/Desktop/images/23012025/23/29/image_23012025_23_29_17_10338.jpg
/home/pi/Desktop/images/23012025/23/29/image_23012025_23_29_26_9342.jpg
/home/pi/Desktop/images/23012025/23/29/image_23012025_23_29_36_10355.jpg
/home/pi/Desktop/images/23012025/23/29/image_23012025_23_29_46_9351.jpg
/home/pi/Desktop/images/23012025/23/29/image_23012025_23_30_06_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332454831","1332454840","1332454827","1332454954","1332454798","1332454843"],"photo_ids_order":["1332454798","1332454827","1332454831","1332454840","1332454843","1332454954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2c11f56f5bb404d12993c72f62b0b5d5.jpg","text":"TemporaryFile(/tmp/multipartBody5553305727614299666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105220373,"filename":"image_23012025_23_29_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/29/10a58e5e5464f18b7607c81b90e4690c.jpg","text":"TemporaryFile(/tmp/multipartBody3254710586180426349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105220373,"filename":"image_23012025_23_29_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/29/6dfce4f01255658985006e6532a199a7.jpg","text":"TemporaryFile(/tmp/multipartBody7453754504199028861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105220373,"filename":"image_23012025_23_29_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/29/51daf2d6dba1a2c5a59dd35ffd21267b.jpg","text":"TemporaryFile(/tmp/multipartBody2508779649249506418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105220373,"filename":"image_23012025_23_30_06_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/29/b11254e6c1c350db1ed23f5f8a0fe95d.jpg","text":"TemporaryFile(/tmp/multipartBody1647439091591125502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105220373,"filename":"image_23012025_23_29_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/29/cdd8ce7efad6d9bc38e6fa2e2c756868.jpg","text":"TemporaryFile(/tmp/multipartBody6142822984743578788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105220373,"filename":"image_23012025_23_29_46_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332454831","file1":"1332454827","file0":"1332454798","file4":"1332454843","file5":"1332454954","file3":"1332454840"},"map_files_photo_id_array":[{"photo_id":"1332454954","filename":"file5"},{"photo_id":"1332454831","filename":"file2"},{"photo_id":"1332454843","filename":"file4"},{"photo_id":"1332454827","filename":"file1"},{"photo_id":"1332454798","filename":"file0"},{"photo_id":"1332454840","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332454831":["hashtag1","hashtag2"]},{"1332454840":["hashtag1","hashtag2"]},{"1332454827":["hashtag1","hashtag2"]},{"1332454954":["hashtag1","hashtag2"]},{"1332454798":["hashtag1","hashtag2"]},{"1332454843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332454831, 1332454840, 1332454827, 1332454954, 1332454798, 1332454843)","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 = 1332454831 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/23012025/23/29/image_23012025_23_29_26_9342.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 86.80696964263916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:00:51.760169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/30/image_23012025_23_30_16_9346.jpg', '/home/pi/Desktop/images/23012025/23/30/image_23012025_23_30_26_10452.jpg', '/home/pi/Desktop/images/23012025/23/30/image_23012025_23_30_37_10344.jpg', '/home/pi/Desktop/images/23012025/23/30/image_23012025_23_30_46_9392.jpg', '/home/pi/Desktop/images/23012025/23/30/image_23012025_23_30_56_10353.jpg', '/home/pi/Desktop/images/23012025/23/30/image_23012025_23_31_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/23/30/image_23012025_23_30_16_9346.jpg
/home/pi/Desktop/images/23012025/23/30/image_23012025_23_30_26_10452.jpg
/home/pi/Desktop/images/23012025/23/30/image_23012025_23_30_37_10344.jpg
/home/pi/Desktop/images/23012025/23/30/image_23012025_23_30_46_9392.jpg
/home/pi/Desktop/images/23012025/23/30/image_23012025_23_30_56_10353.jpg
/home/pi/Desktop/images/23012025/23/30/image_23012025_23_31_07_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":["1332455366","1332455360","1332455354","1332455357","1332455350","1332455353"],"photo_ids_order":["1332455350","1332455353","1332455354","1332455357","1332455360","1332455366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ae3406980ef6b202e712ac88b42bf857.jpg","text":"TemporaryFile(/tmp/multipartBody7271102522343860354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105313770,"filename":"image_23012025_23_31_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/29/4919900272021a9d2891088353dd64a1.jpg","text":"TemporaryFile(/tmp/multipartBody3557187197938227945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105313770,"filename":"image_23012025_23_30_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/29/5c176765ed109fbf0e33f4ee83b9860c.jpg","text":"TemporaryFile(/tmp/multipartBody3622483359981569728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105313770,"filename":"image_23012025_23_30_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/29/e2b05c9d352663cf8dd330a0d4c4cdf5.jpg","text":"TemporaryFile(/tmp/multipartBody4432030325035200450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105313770,"filename":"image_23012025_23_30_46_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/29/f572ffe5c46f41bdc8a544d0e2f99c5b.jpg","text":"TemporaryFile(/tmp/multipartBody3971923137105410783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105313770,"filename":"image_23012025_23_30_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/29/dbca4e1e9986a03ee3ad2b40eed8cd17.jpg","text":"TemporaryFile(/tmp/multipartBody7496346108806293330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105313770,"filename":"image_23012025_23_30_26_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332455354","file1":"1332455353","file0":"1332455350","file4":"1332455360","file5":"1332455366","file3":"1332455357"},"map_files_photo_id_array":[{"photo_id":"1332455366","filename":"file5"},{"photo_id":"1332455354","filename":"file2"},{"photo_id":"1332455360","filename":"file4"},{"photo_id":"1332455353","filename":"file1"},{"photo_id":"1332455350","filename":"file0"},{"photo_id":"1332455357","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332455366":["hashtag1","hashtag2"]},{"1332455360":["hashtag1","hashtag2"]},{"1332455354":["hashtag1","hashtag2"]},{"1332455357":["hashtag1","hashtag2"]},{"1332455350":["hashtag1","hashtag2"]},{"1332455353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332455366, 1332455360, 1332455354, 1332455357, 1332455350, 1332455353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.532742977142334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:01:42.883257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/31/image_23012025_23_31_16_9367.jpg', '/home/pi/Desktop/images/23012025/23/31/image_23012025_23_31_26_10365.jpg', '/home/pi/Desktop/images/23012025/23/31/image_23012025_23_31_46_10426.jpg', '/home/pi/Desktop/images/23012025/23/31/image_23012025_23_31_57_10446.jpg', '/home/pi/Desktop/images/23012025/23/31/image_23012025_23_32_06_9339.jpg', '/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_16_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/23/31/image_23012025_23_31_16_9367.jpg
/home/pi/Desktop/images/23012025/23/31/image_23012025_23_31_26_10365.jpg
/home/pi/Desktop/images/23012025/23/31/image_23012025_23_31_46_10426.jpg
/home/pi/Desktop/images/23012025/23/31/image_23012025_23_31_57_10446.jpg
/home/pi/Desktop/images/23012025/23/31/image_23012025_23_32_06_9339.jpg
/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_16_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":["1332455382","1332455379","1332455396","1332455393","1332455389","1332455386"],"photo_ids_order":["1332455379","1332455382","1332455386","1332455389","1332455393","1332455396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4438b8189e8f0bf7729b97f55822d4a8.jpg","text":"TemporaryFile(/tmp/multipartBody4524284929380298363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105364911,"filename":"image_23012025_23_31_26_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/29/52bfbc515a15f99806a19aa3ba80bc89.jpg","text":"TemporaryFile(/tmp/multipartBody6124099842909056926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105364911,"filename":"image_23012025_23_31_16_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/29/d57d416f95690e050f46291bdcac1ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5247272848949073956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105364911,"filename":"image_23012025_23_32_16_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/29/b97b25b9008c0bf4a4eda80fbd4a1d51.jpg","text":"TemporaryFile(/tmp/multipartBody8674294914908095742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105364911,"filename":"image_23012025_23_32_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/29/3263f71a33f15061b5d17241fbe48454.jpg","text":"TemporaryFile(/tmp/multipartBody7196114854484622298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105364911,"filename":"image_23012025_23_31_57_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/29/ad1d2c0eb2a8b311971cae0a7f12b738.jpg","text":"TemporaryFile(/tmp/multipartBody3353106121911190898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105364911,"filename":"image_23012025_23_31_46_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332455386","file1":"1332455382","file0":"1332455379","file4":"1332455393","file5":"1332455396","file3":"1332455389"},"map_files_photo_id_array":[{"photo_id":"1332455396","filename":"file5"},{"photo_id":"1332455386","filename":"file2"},{"photo_id":"1332455393","filename":"file4"},{"photo_id":"1332455382","filename":"file1"},{"photo_id":"1332455379","filename":"file0"},{"photo_id":"1332455389","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332455382":["hashtag1","hashtag2"]},{"1332455379":["hashtag1","hashtag2"]},{"1332455396":["hashtag1","hashtag2"]},{"1332455393":["hashtag1","hashtag2"]},{"1332455389":["hashtag1","hashtag2"]},{"1332455386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332455382, 1332455379, 1332455396, 1332455393, 1332455389, 1332455386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.130430936813354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:02:43.077245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_26_9337.jpg', '/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_36_10347.jpg', '/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_46_10326.jpg', '/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_56_9353.jpg', '/home/pi/Desktop/images/23012025/23/32/image_23012025_23_33_06_10398.jpg', '/home/pi/Desktop/images/23012025/23/33/image_23012025_23_33_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/23/32/image_23012025_23_32_26_9337.jpg
/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_36_10347.jpg
/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_46_10326.jpg
/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_56_9353.jpg
/home/pi/Desktop/images/23012025/23/32/image_23012025_23_33_06_10398.jpg
/home/pi/Desktop/images/23012025/23/33/image_23012025_23_33_17_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.6214590072631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:03:03.613719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 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_29012025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 20031199, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1738105444000}
4310
2524420
4310
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/02/image_29012025_00_02_16_10070.jpg', '/home/pi/Desktop/images/29012025/00/02/image_29012025_00_02_27_10356.jpg', '/home/pi/Desktop/images/29012025/00/02/image_29012025_00_02_37_10342.jpg', '/home/pi/Desktop/images/29012025/00/02/image_29012025_00_02_46_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/02/image_29012025_00_02_16_10070.jpg
/home/pi/Desktop/images/29012025/00/02/image_29012025_00_02_27_10356.jpg
/home/pi/Desktop/images/29012025/00/02/image_29012025_00_02_37_10342.jpg
/home/pi/Desktop/images/29012025/00/02/image_29012025_00_02_46_9339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332455436","1332455430","1332455433","1332455440"],"photo_ids_order":["1332455430","1332455433","1332455436","1332455440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e1667b1ef8d0406971623488fb803740.jpg","text":"TemporaryFile(/tmp/multipartBody3751022300299713445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105447524,"filename":"image_29012025_00_02_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/29/dc50c7083363e889612bbe529d7c164f.jpg","text":"TemporaryFile(/tmp/multipartBody3256864896494089864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105447524,"filename":"image_29012025_00_02_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/29/e25e24ba34d65cda339a44edb8ea1471.jpg","text":"TemporaryFile(/tmp/multipartBody2801107217675814179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105447524,"filename":"image_29012025_00_02_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/29/44be1a9c5d4085119719590069b85cb6.jpg","text":"TemporaryFile(/tmp/multipartBody673736844298022465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105447524,"filename":"image_29012025_00_02_46_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332455436","file1":"1332455433","file0":"1332455430","file3":"1332455440"},"map_files_photo_id_array":[{"photo_id":"1332455436","filename":"file2"},{"photo_id":"1332455433","filename":"file1"},{"photo_id":"1332455430","filename":"file0"},{"photo_id":"1332455440","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332455436":["hashtag1","hashtag2"]},{"1332455430":["hashtag1","hashtag2"]},{"1332455433":["hashtag1","hashtag2"]},{"1332455440":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332455436, 1332455430, 1332455433, 1332455440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.667968273162842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:03:42.301298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_26_9337.jpg', '/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_36_10347.jpg', '/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_46_10326.jpg', '/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_56_9353.jpg', '/home/pi/Desktop/images/23012025/23/32/image_23012025_23_33_06_10398.jpg', '/home/pi/Desktop/images/23012025/23/33/image_23012025_23_33_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/23/32/image_23012025_23_32_26_9337.jpg
/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_36_10347.jpg
/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_46_10326.jpg
/home/pi/Desktop/images/23012025/23/32/image_23012025_23_32_56_9353.jpg
/home/pi/Desktop/images/23012025/23/32/image_23012025_23_33_06_10398.jpg
/home/pi/Desktop/images/23012025/23/33/image_23012025_23_33_17_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":["1332455772","1332455768","1332455762","1332455765","1332455752","1332455725"],"photo_ids_order":["1332455725","1332455752","1332455762","1332455765","1332455768","1332455772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0c93445904f568ee94a65fb14ce06108.jpg","text":"TemporaryFile(/tmp/multipartBody7526489485916467596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105484231,"filename":"image_23012025_23_33_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/29/8010fd46471d647d4e584b7a0987c370.jpg","text":"TemporaryFile(/tmp/multipartBody7321148642864698799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105484231,"filename":"image_23012025_23_33_06_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/29/60aef418c0a378a936c39b54ed45667e.jpg","text":"TemporaryFile(/tmp/multipartBody4291590156382567445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105484231,"filename":"image_23012025_23_32_46_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/29/868a42ec4be1f6e464207958c0f84df4.jpg","text":"TemporaryFile(/tmp/multipartBody1926245325134304028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105484231,"filename":"image_23012025_23_32_56_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/29/b98087514ea2030eecca1bf320e34355.jpg","text":"TemporaryFile(/tmp/multipartBody3590948186159904045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105484231,"filename":"image_23012025_23_32_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/29/1409d3c9f22e025276ec5f756551db28.jpg","text":"TemporaryFile(/tmp/multipartBody437382126760542136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105484231,"filename":"image_23012025_23_32_26_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332455762","file1":"1332455752","file0":"1332455725","file4":"1332455768","file5":"1332455772","file3":"1332455765"},"map_files_photo_id_array":[{"photo_id":"1332455772","filename":"file5"},{"photo_id":"1332455762","filename":"file2"},{"photo_id":"1332455768","filename":"file4"},{"photo_id":"1332455752","filename":"file1"},{"photo_id":"1332455725","filename":"file0"},{"photo_id":"1332455765","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332455772":["hashtag1","hashtag2"]},{"1332455768":["hashtag1","hashtag2"]},{"1332455762":["hashtag1","hashtag2"]},{"1332455765":["hashtag1","hashtag2"]},{"1332455752":["hashtag1","hashtag2"]},{"1332455725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332455772, 1332455768, 1332455762, 1332455765, 1332455752, 1332455725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.966275453567505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:04:42.506665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/33/image_23012025_23_33_26_9478.jpg', '/home/pi/Desktop/images/23012025/23/33/image_23012025_23_33_36_10352.jpg', '/home/pi/Desktop/images/23012025/23/33/image_23012025_23_33_46_9326.jpg', '/home/pi/Desktop/images/23012025/23/33/image_23012025_23_33_56_10473.jpg', '/home/pi/Desktop/images/23012025/23/33/image_23012025_23_34_07_10338.jpg', '/home/pi/Desktop/images/23012025/23/34/image_23012025_23_34_16_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/23/33/image_23012025_23_33_26_9478.jpg
/home/pi/Desktop/images/23012025/23/33/image_23012025_23_33_36_10352.jpg
/home/pi/Desktop/images/23012025/23/33/image_23012025_23_33_46_9326.jpg
/home/pi/Desktop/images/23012025/23/33/image_23012025_23_33_56_10473.jpg
/home/pi/Desktop/images/23012025/23/33/image_23012025_23_34_07_10338.jpg
/home/pi/Desktop/images/23012025/23/34/image_23012025_23_34_16_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332455877","1332455874","1332455891","1332455897","1332455860","1332455895"],"photo_ids_order":["1332455860","1332455874","1332455877","1332455891","1332455895","1332455897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7c96de7e25c33fa1c773eaf6f72a2125.jpg","text":"TemporaryFile(/tmp/multipartBody1428781685483230461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105544532,"filename":"image_23012025_23_33_46_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/29/982747daebe7958706392609b97a7927.jpg","text":"TemporaryFile(/tmp/multipartBody4040180701868049533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105544532,"filename":"image_23012025_23_33_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/29/298e50545ca2107463e9e6e1a0cec738.jpg","text":"TemporaryFile(/tmp/multipartBody7089479154540943394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105544532,"filename":"image_23012025_23_33_56_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/29/dbc5f58e5067efa273d1acaea9845032.jpg","text":"TemporaryFile(/tmp/multipartBody4293851288799408213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105544532,"filename":"image_23012025_23_34_16_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/29/a7b16d55a56240f5e5d6edd2a2e57ebf.jpg","text":"TemporaryFile(/tmp/multipartBody4779522047073976421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105544532,"filename":"image_23012025_23_33_26_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/29/807b102bb3c70a48e382c6007fc88430.jpg","text":"TemporaryFile(/tmp/multipartBody1153474090637942392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105544532,"filename":"image_23012025_23_34_07_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332455877","file1":"1332455874","file0":"1332455860","file4":"1332455895","file5":"1332455897","file3":"1332455891"},"map_files_photo_id_array":[{"photo_id":"1332455897","filename":"file5"},{"photo_id":"1332455877","filename":"file2"},{"photo_id":"1332455895","filename":"file4"},{"photo_id":"1332455874","filename":"file1"},{"photo_id":"1332455860","filename":"file0"},{"photo_id":"1332455891","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332455877":["hashtag1","hashtag2"]},{"1332455874":["hashtag1","hashtag2"]},{"1332455891":["hashtag1","hashtag2"]},{"1332455897":["hashtag1","hashtag2"]},{"1332455860":["hashtag1","hashtag2"]},{"1332455895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332455877, 1332455874, 1332455891, 1332455897, 1332455860, 1332455895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.3925986289978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:05:42.798410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/34/image_23012025_23_34_26_10421.jpg', '/home/pi/Desktop/images/23012025/23/34/image_23012025_23_34_37_10345.jpg', '/home/pi/Desktop/images/23012025/23/34/image_23012025_23_34_46_9413.jpg', '/home/pi/Desktop/images/23012025/23/34/image_23012025_23_34_56_10358.jpg', '/home/pi/Desktop/images/23012025/23/34/image_23012025_23_35_06_9339.jpg', '/home/pi/Desktop/images/23012025/23/35/image_23012025_23_35_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/23/34/image_23012025_23_34_26_10421.jpg
/home/pi/Desktop/images/23012025/23/34/image_23012025_23_34_37_10345.jpg
/home/pi/Desktop/images/23012025/23/34/image_23012025_23_34_46_9413.jpg
/home/pi/Desktop/images/23012025/23/34/image_23012025_23_34_56_10358.jpg
/home/pi/Desktop/images/23012025/23/34/image_23012025_23_35_06_9339.jpg
/home/pi/Desktop/images/23012025/23/35/image_23012025_23_35_16_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":["1332455966","1332456323","1332456230","1332456100","1332456037","1332456156"],"photo_ids_order":["1332455966","1332456037","1332456100","1332456156","1332456230","1332456323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/58776f18a97e92b2db2cba9481c82e6f.jpg","text":"TemporaryFile(/tmp/multipartBody5955947578925160911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105604830,"filename":"image_23012025_23_34_26_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/29/77d2b294624f3701a44f06aed2a5c4e5.jpg","text":"TemporaryFile(/tmp/multipartBody8765924591173051429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105604830,"filename":"image_23012025_23_35_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/29/5b3d7162f4bca815d9389d81d7a3a0b3.jpg","text":"TemporaryFile(/tmp/multipartBody778940084875145279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105604830,"filename":"image_23012025_23_35_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/29/451d4908d837277bb36944ec68e8dcea.jpg","text":"TemporaryFile(/tmp/multipartBody6493584827933628802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105604830,"filename":"image_23012025_23_34_46_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/29/9a70eeb073ef221b20213080d9179ed4.jpg","text":"TemporaryFile(/tmp/multipartBody6903046906886505432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105604830,"filename":"image_23012025_23_34_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/29/b36a3312657dd3c6da25342c1b9bf5d9.jpg","text":"TemporaryFile(/tmp/multipartBody7810354913942081481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105604830,"filename":"image_23012025_23_34_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332456100","file1":"1332456037","file0":"1332455966","file4":"1332456230","file5":"1332456323","file3":"1332456156"},"map_files_photo_id_array":[{"photo_id":"1332456323","filename":"file5"},{"photo_id":"1332456100","filename":"file2"},{"photo_id":"1332456230","filename":"file4"},{"photo_id":"1332456037","filename":"file1"},{"photo_id":"1332455966","filename":"file0"},{"photo_id":"1332456156","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332455966":["hashtag1","hashtag2"]},{"1332456323":["hashtag1","hashtag2"]},{"1332456230":["hashtag1","hashtag2"]},{"1332456100":["hashtag1","hashtag2"]},{"1332456037":["hashtag1","hashtag2"]},{"1332456156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332455966, 1332456323, 1332456230, 1332456100, 1332456037, 1332456156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.094334840774536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:06:42.975577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/35/image_23012025_23_35_27_10358.jpg', '/home/pi/Desktop/images/23012025/23/35/image_23012025_23_35_36_9388.jpg', '/home/pi/Desktop/images/23012025/23/35/image_23012025_23_35_46_10363.jpg', '/home/pi/Desktop/images/23012025/23/35/image_23012025_23_35_56_9409.jpg', '/home/pi/Desktop/images/23012025/23/36/image_23012025_23_36_17_10347.jpg', '/home/pi/Desktop/images/23012025/23/36/image_23012025_23_36_26_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/35/image_23012025_23_35_27_10358.jpg
/home/pi/Desktop/images/23012025/23/35/image_23012025_23_35_36_9388.jpg
/home/pi/Desktop/images/23012025/23/35/image_23012025_23_35_46_10363.jpg
/home/pi/Desktop/images/23012025/23/35/image_23012025_23_35_56_9409.jpg
/home/pi/Desktop/images/23012025/23/36/image_23012025_23_36_17_10347.jpg
/home/pi/Desktop/images/23012025/23/36/image_23012025_23_36_26_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":["1332456831","1332456761","1332456598","1332456521","1332456817","1332456696"],"photo_ids_order":["1332456521","1332456598","1332456696","1332456761","1332456817","1332456831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/868101590d7f388c2552a0d8d63d2563.jpg","text":"TemporaryFile(/tmp/multipartBody327509875774292939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105665012,"filename":"image_23012025_23_36_26_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/29/b0ec3cdd8afcc6f84828b972fc0e8389.jpg","text":"TemporaryFile(/tmp/multipartBody2111753694149039440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105665012,"filename":"image_23012025_23_35_56_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/29/898741d08d0dd101cf75657835781e6f.jpg","text":"TemporaryFile(/tmp/multipartBody5151071180243721308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105665012,"filename":"image_23012025_23_35_36_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/29/9ba1fd21481dafd952b3bd887271dad3.jpg","text":"TemporaryFile(/tmp/multipartBody4704381823215981450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105665012,"filename":"image_23012025_23_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/29/bb3447615fbd44a4f60b3f50eb10d662.jpg","text":"TemporaryFile(/tmp/multipartBody1367653143443631039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105665012,"filename":"image_23012025_23_36_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/29/08b8587c451861c3cd3c4b5304168806.jpg","text":"TemporaryFile(/tmp/multipartBody808385521535293561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105665012,"filename":"image_23012025_23_35_46_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332456696","file1":"1332456598","file0":"1332456521","file4":"1332456817","file5":"1332456831","file3":"1332456761"},"map_files_photo_id_array":[{"photo_id":"1332456831","filename":"file5"},{"photo_id":"1332456696","filename":"file2"},{"photo_id":"1332456817","filename":"file4"},{"photo_id":"1332456598","filename":"file1"},{"photo_id":"1332456521","filename":"file0"},{"photo_id":"1332456761","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332456831":["hashtag1","hashtag2"]},{"1332456761":["hashtag1","hashtag2"]},{"1332456598":["hashtag1","hashtag2"]},{"1332456521":["hashtag1","hashtag2"]},{"1332456817":["hashtag1","hashtag2"]},{"1332456696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332456831, 1332456761, 1332456598, 1332456521, 1332456817, 1332456696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.77316904067993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:07:42.177934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/36/image_23012025_23_36_36_10393.jpg', '/home/pi/Desktop/images/23012025/23/36/image_23012025_23_36_47_10370.jpg', '/home/pi/Desktop/images/23012025/23/36/image_23012025_23_36_56_9454.jpg', '/home/pi/Desktop/images/23012025/23/36/image_23012025_23_37_06_10348.jpg', '/home/pi/Desktop/images/23012025/23/37/image_23012025_23_37_16_9333.jpg', '/home/pi/Desktop/images/23012025/23/37/image_23012025_23_37_26_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/36/image_23012025_23_36_36_10393.jpg
/home/pi/Desktop/images/23012025/23/36/image_23012025_23_36_47_10370.jpg
/home/pi/Desktop/images/23012025/23/36/image_23012025_23_36_56_9454.jpg
/home/pi/Desktop/images/23012025/23/36/image_23012025_23_37_06_10348.jpg
/home/pi/Desktop/images/23012025/23/37/image_23012025_23_37_16_9333.jpg
/home/pi/Desktop/images/23012025/23/37/image_23012025_23_37_26_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332457763","1332457823","1332457897","1332457980","1332457834","1332457828"],"photo_ids_order":["1332457763","1332457823","1332457828","1332457834","1332457897","1332457980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/71e5bd5fac409023ff72f0c05add4785.jpg","text":"TemporaryFile(/tmp/multipartBody7921767897015380180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105724236,"filename":"image_23012025_23_36_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/29/9fa0f7467dfdc14c76729b61ecd53025.jpg","text":"TemporaryFile(/tmp/multipartBody7344968585852502683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105724236,"filename":"image_23012025_23_36_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/29/fa93198c00b5d06844abf5556442a696.jpg","text":"TemporaryFile(/tmp/multipartBody3575540030052753945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105724236,"filename":"image_23012025_23_37_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/29/a9dc29ccda71d2b44528d16a453b0472.jpg","text":"TemporaryFile(/tmp/multipartBody773939032343424278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105724236,"filename":"image_23012025_23_37_26_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/29/09f2645f37bb02ce0e1c990d034ce776.jpg","text":"TemporaryFile(/tmp/multipartBody5032195567857439169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105724236,"filename":"image_23012025_23_37_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/29/852698e3caa6415068240416024518ee.jpg","text":"TemporaryFile(/tmp/multipartBody4484867521600012416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105724236,"filename":"image_23012025_23_36_56_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332457828","file1":"1332457823","file0":"1332457763","file4":"1332457897","file5":"1332457980","file3":"1332457834"},"map_files_photo_id_array":[{"photo_id":"1332457980","filename":"file5"},{"photo_id":"1332457828","filename":"file2"},{"photo_id":"1332457897","filename":"file4"},{"photo_id":"1332457823","filename":"file1"},{"photo_id":"1332457763","filename":"file0"},{"photo_id":"1332457834","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332457763":["hashtag1","hashtag2"]},{"1332457823":["hashtag1","hashtag2"]},{"1332457897":["hashtag1","hashtag2"]},{"1332457980":["hashtag1","hashtag2"]},{"1332457834":["hashtag1","hashtag2"]},{"1332457828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332457763, 1332457823, 1332457897, 1332457980, 1332457834, 1332457828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.019718408584595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:08:42.388042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/37/image_23012025_23_37_37_10333.jpg', '/home/pi/Desktop/images/23012025/23/37/image_23012025_23_37_46_9330.jpg', '/home/pi/Desktop/images/23012025/23/37/image_23012025_23_37_56_10404.jpg', '/home/pi/Desktop/images/23012025/23/37/image_23012025_23_38_07_10413.jpg', '/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_16_9346.jpg', '/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_26_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/23/37/image_23012025_23_37_37_10333.jpg
/home/pi/Desktop/images/23012025/23/37/image_23012025_23_37_46_9330.jpg
/home/pi/Desktop/images/23012025/23/37/image_23012025_23_37_56_10404.jpg
/home/pi/Desktop/images/23012025/23/37/image_23012025_23_38_07_10413.jpg
/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_16_9346.jpg
/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_26_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":["1332458743","1332458725","1332458707","1332458664","1332458814","1332458619"],"photo_ids_order":["1332458619","1332458664","1332458707","1332458725","1332458743","1332458814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/de44eaf862a9211c39711bb6d2ac696d.jpg","text":"TemporaryFile(/tmp/multipartBody627180483191026772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105784412,"filename":"image_23012025_23_38_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/29/20cd44a999897e56657deb191be8b8b0.jpg","text":"TemporaryFile(/tmp/multipartBody751413776169359643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105784412,"filename":"image_23012025_23_38_07_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/29/efa4d191c2a1a312ea1f84eb90dc5795.jpg","text":"TemporaryFile(/tmp/multipartBody2390825762269503340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105784412,"filename":"image_23012025_23_37_56_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/29/0f05f376e88b01c8afa9c1be59266d9a.jpg","text":"TemporaryFile(/tmp/multipartBody4724793054335758737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105784412,"filename":"image_23012025_23_37_46_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/29/abf1b0496d6a0105b0ea4753122e2580.jpg","text":"TemporaryFile(/tmp/multipartBody5378865420811188678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105784412,"filename":"image_23012025_23_38_26_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/29/9bf7aafe0dd67f79a9d8baaaff7250b4.jpg","text":"TemporaryFile(/tmp/multipartBody2867939755182123904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105784412,"filename":"image_23012025_23_37_37_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332458707","file1":"1332458664","file0":"1332458619","file4":"1332458743","file5":"1332458814","file3":"1332458725"},"map_files_photo_id_array":[{"photo_id":"1332458814","filename":"file5"},{"photo_id":"1332458707","filename":"file2"},{"photo_id":"1332458743","filename":"file4"},{"photo_id":"1332458664","filename":"file1"},{"photo_id":"1332458619","filename":"file0"},{"photo_id":"1332458725","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332458743":["hashtag1","hashtag2"]},{"1332458725":["hashtag1","hashtag2"]},{"1332458707":["hashtag1","hashtag2"]},{"1332458664":["hashtag1","hashtag2"]},{"1332458814":["hashtag1","hashtag2"]},{"1332458619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332458743, 1332458725, 1332458707, 1332458664, 1332458814, 1332458619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12281823158264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:09:42.725833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_36_9339.jpg', '/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_46_10341.jpg', '/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_57_10370.jpg', '/home/pi/Desktop/images/23012025/23/38/image_23012025_23_39_06_9478.jpg', '/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_16_10339.jpg', '/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_27_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/23/38/image_23012025_23_38_36_9339.jpg
/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_46_10341.jpg
/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_57_10370.jpg
/home/pi/Desktop/images/23012025/23/38/image_23012025_23_39_06_9478.jpg
/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_16_10339.jpg
/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_27_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: 1.6254360675811768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:10:03.702630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/02/image_29012025_00_02_57_10361.jpg', '/home/pi/Desktop/images/29012025/00/02/image_29012025_00_03_07_10336.jpg', '/home/pi/Desktop/images/29012025/00/03/image_29012025_00_03_16_9406.jpg', '/home/pi/Desktop/images/29012025/00/03/image_29012025_00_03_27_10417.jpg', '/home/pi/Desktop/images/29012025/00/03/image_29012025_00_03_36_9445.jpg', '/home/pi/Desktop/images/29012025/00/03/image_29012025_00_03_47_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/02/image_29012025_00_02_57_10361.jpg
/home/pi/Desktop/images/29012025/00/02/image_29012025_00_03_07_10336.jpg
/home/pi/Desktop/images/29012025/00/03/image_29012025_00_03_16_9406.jpg
/home/pi/Desktop/images/29012025/00/03/image_29012025_00_03_27_10417.jpg
/home/pi/Desktop/images/29012025/00/03/image_29012025_00_03_36_9445.jpg
/home/pi/Desktop/images/29012025/00/03/image_29012025_00_03_47_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":["1332459223","1332459007","1332459229","1332459108","1332459158","1332459227"],"photo_ids_order":["1332459007","1332459108","1332459158","1332459223","1332459227","1332459229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4ed213177e5793795db02b1e807a5ae0.jpg","text":"TemporaryFile(/tmp/multipartBody1288704498402236531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105864638,"filename":"image_29012025_00_03_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/29/ed0cfb473eb5f1ac0c887230fe83723b.jpg","text":"TemporaryFile(/tmp/multipartBody6170548457350075158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105864638,"filename":"image_29012025_00_02_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/29/d1909bdf709ef11c54f28871544d8966.jpg","text":"TemporaryFile(/tmp/multipartBody4710219848266686639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105864638,"filename":"image_29012025_00_03_47_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/29/e9952f5b2aeaf4404bbb8bb2e60991cb.jpg","text":"TemporaryFile(/tmp/multipartBody7625830848863465303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105864638,"filename":"image_29012025_00_03_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/29/15666a842311bff560184ee27fa2cd2f.jpg","text":"TemporaryFile(/tmp/multipartBody6686365934718028818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105864638,"filename":"image_29012025_00_03_16_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/29/399186b68143887f65713c82d170e676.jpg","text":"TemporaryFile(/tmp/multipartBody2776401389431512432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105864638,"filename":"image_29012025_00_03_36_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332459158","file1":"1332459108","file0":"1332459007","file4":"1332459227","file5":"1332459229","file3":"1332459223"},"map_files_photo_id_array":[{"photo_id":"1332459229","filename":"file5"},{"photo_id":"1332459158","filename":"file2"},{"photo_id":"1332459227","filename":"file4"},{"photo_id":"1332459108","filename":"file1"},{"photo_id":"1332459007","filename":"file0"},{"photo_id":"1332459223","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332459223":["hashtag1","hashtag2"]},{"1332459007":["hashtag1","hashtag2"]},{"1332459229":["hashtag1","hashtag2"]},{"1332459108":["hashtag1","hashtag2"]},{"1332459158":["hashtag1","hashtag2"]},{"1332459227":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332459223, 1332459007, 1332459229, 1332459108, 1332459158, 1332459227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.939059257507324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:11:04.797432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/03/image_29012025_00_03_57_10372.jpg', '/home/pi/Desktop/images/29012025/00/03/image_29012025_00_04_06_9343.jpg', '/home/pi/Desktop/images/29012025/00/04/image_29012025_00_04_17_10366.jpg', '/home/pi/Desktop/images/29012025/00/04/image_29012025_00_04_27_10407.jpg', '/home/pi/Desktop/images/29012025/00/04/image_29012025_00_04_37_9352.jpg', '/home/pi/Desktop/images/29012025/00/04/image_29012025_00_04_47_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/03/image_29012025_00_03_57_10372.jpg
/home/pi/Desktop/images/29012025/00/03/image_29012025_00_04_06_9343.jpg
/home/pi/Desktop/images/29012025/00/04/image_29012025_00_04_17_10366.jpg
/home/pi/Desktop/images/29012025/00/04/image_29012025_00_04_27_10407.jpg
/home/pi/Desktop/images/29012025/00/04/image_29012025_00_04_37_9352.jpg
/home/pi/Desktop/images/29012025/00/04/image_29012025_00_04_47_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":["1332459547","1332459517","1332459619","1332459542","1332459539","1332459506"],"photo_ids_order":["1332459506","1332459517","1332459539","1332459542","1332459547","1332459619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/132975df8bb223784039151fd04bf216.jpg","text":"TemporaryFile(/tmp/multipartBody7844180895358953484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105925892,"filename":"image_29012025_00_04_37_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/29/f9f7b6730065b16b71ac97cb3db04031.jpg","text":"TemporaryFile(/tmp/multipartBody6309581397023915537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105925892,"filename":"image_29012025_00_04_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/29/6aa4b6912d48f334e655772f684d9e2e.jpg","text":"TemporaryFile(/tmp/multipartBody684593192959354534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105925892,"filename":"image_29012025_00_04_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/29/172222fa2fba5888de40ec03b3b536af.jpg","text":"TemporaryFile(/tmp/multipartBody3517295400213935470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105925892,"filename":"image_29012025_00_04_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/29/f1d21dfa2835c813f59efb3fc6ac92a2.jpg","text":"TemporaryFile(/tmp/multipartBody1956310668373485658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105925892,"filename":"image_29012025_00_04_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/29/f7c9b985ce280aa8f480a9b2736984ba.jpg","text":"TemporaryFile(/tmp/multipartBody7729536491363322179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105925892,"filename":"image_29012025_00_03_57_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332459539","file1":"1332459517","file0":"1332459506","file4":"1332459547","file5":"1332459619","file3":"1332459542"},"map_files_photo_id_array":[{"photo_id":"1332459619","filename":"file5"},{"photo_id":"1332459539","filename":"file2"},{"photo_id":"1332459547","filename":"file4"},{"photo_id":"1332459517","filename":"file1"},{"photo_id":"1332459506","filename":"file0"},{"photo_id":"1332459542","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332459547":["hashtag1","hashtag2"]},{"1332459517":["hashtag1","hashtag2"]},{"1332459619":["hashtag1","hashtag2"]},{"1332459542":["hashtag1","hashtag2"]},{"1332459539":["hashtag1","hashtag2"]},{"1332459506":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332459547, 1332459517, 1332459619, 1332459542, 1332459539, 1332459506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.459601402282715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:12:02.965092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/04/image_29012025_00_04_56_9377.jpg', '/home/pi/Desktop/images/29012025/00/05/image_29012025_00_05_17_10357.jpg', '/home/pi/Desktop/images/29012025/00/05/image_29012025_00_05_26_9401.jpg', '/home/pi/Desktop/images/29012025/00/05/image_29012025_00_05_37_10381.jpg', '/home/pi/Desktop/images/29012025/00/05/image_29012025_00_05_46_9445.jpg', '/home/pi/Desktop/images/29012025/00/05/image_29012025_00_06_07_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/04/image_29012025_00_04_56_9377.jpg
/home/pi/Desktop/images/29012025/00/05/image_29012025_00_05_17_10357.jpg
/home/pi/Desktop/images/29012025/00/05/image_29012025_00_05_26_9401.jpg
/home/pi/Desktop/images/29012025/00/05/image_29012025_00_05_37_10381.jpg
/home/pi/Desktop/images/29012025/00/05/image_29012025_00_05_46_9445.jpg
/home/pi/Desktop/images/29012025/00/05/image_29012025_00_06_07_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":["1332459690","1332459663","1332459672","1332459648","1332459668","1332459638"],"photo_ids_order":["1332459638","1332459648","1332459663","1332459668","1332459672","1332459690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c518e11284e13b92bf4bf08ec7cd56ae.jpg","text":"TemporaryFile(/tmp/multipartBody5689978073451065278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105983922,"filename":"image_29012025_00_06_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/29/3011b5aecc0f230336a3a587c295dd91.jpg","text":"TemporaryFile(/tmp/multipartBody2928959265953395800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105983922,"filename":"image_29012025_00_05_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/29/085ba00335ad53993c9d3e60d1816a3d.jpg","text":"TemporaryFile(/tmp/multipartBody2446365510714306676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105983922,"filename":"image_29012025_00_05_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/29/18df9274b1efc7c36cae634d325c2527.jpg","text":"TemporaryFile(/tmp/multipartBody8416394567040206554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105983922,"filename":"image_29012025_00_05_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/29/90c9c6904ebd8b529ef2605ce40ddc49.jpg","text":"TemporaryFile(/tmp/multipartBody3075149698327103023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105983922,"filename":"image_29012025_00_05_37_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/29/9b9890445522d326f3bafc2170575d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2826943276015456276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738105983922,"filename":"image_29012025_00_04_56_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332459663","file1":"1332459648","file0":"1332459638","file4":"1332459672","file5":"1332459690","file3":"1332459668"},"map_files_photo_id_array":[{"photo_id":"1332459690","filename":"file5"},{"photo_id":"1332459663","filename":"file2"},{"photo_id":"1332459672","filename":"file4"},{"photo_id":"1332459648","filename":"file1"},{"photo_id":"1332459638","filename":"file0"},{"photo_id":"1332459668","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332459690":["hashtag1","hashtag2"]},{"1332459663":["hashtag1","hashtag2"]},{"1332459672":["hashtag1","hashtag2"]},{"1332459648":["hashtag1","hashtag2"]},{"1332459668":["hashtag1","hashtag2"]},{"1332459638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332459690, 1332459663, 1332459672, 1332459648, 1332459668, 1332459638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23962426185608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:13:03.923725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/06/image_29012025_00_06_47_10339.jpg', '/home/pi/Desktop/images/29012025/00/07/image_29012025_00_07_17_10335.jpg', '/home/pi/Desktop/images/29012025/00/07/image_29012025_00_07_27_10482.jpg', '/home/pi/Desktop/images/29012025/00/07/image_29012025_00_08_07_10354.jpg', '/home/pi/Desktop/images/29012025/00/08/image_29012025_00_08_17_10348.jpg', '/home/pi/Desktop/images/29012025/00/08/image_29012025_00_08_26_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/06/image_29012025_00_06_47_10339.jpg
/home/pi/Desktop/images/29012025/00/07/image_29012025_00_07_17_10335.jpg
/home/pi/Desktop/images/29012025/00/07/image_29012025_00_07_27_10482.jpg
/home/pi/Desktop/images/29012025/00/07/image_29012025_00_08_07_10354.jpg
/home/pi/Desktop/images/29012025/00/08/image_29012025_00_08_17_10348.jpg
/home/pi/Desktop/images/29012025/00/08/image_29012025_00_08_26_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":["1332459715","1332459723","1332459726","1332459720","1332459717","1332459713"],"photo_ids_order":["1332459713","1332459715","1332459717","1332459720","1332459723","1332459726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6c8350de6c23228a49e630e2d4b58cf0.jpg","text":"TemporaryFile(/tmp/multipartBody3717053605412100352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106044967,"filename":"image_29012025_00_07_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/29/be801d53c4ce349c106a1960587f4453.jpg","text":"TemporaryFile(/tmp/multipartBody3091651132729656864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106044967,"filename":"image_29012025_00_08_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/29/4fb99746ccc51cb341ebf6c92649a075.jpg","text":"TemporaryFile(/tmp/multipartBody2006461241755335458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106044967,"filename":"image_29012025_00_08_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/29/a164d7c00460ffb07e225b6a699db370.jpg","text":"TemporaryFile(/tmp/multipartBody1236078783927816246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106044967,"filename":"image_29012025_00_08_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/29/cfd219a3fc5de6c2bd5c2c801a86cda1.jpg","text":"TemporaryFile(/tmp/multipartBody7029083301575503387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106044967,"filename":"image_29012025_00_07_27_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/29/b83b1d5a2f73d4d1bea4f70e28a4974e.jpg","text":"TemporaryFile(/tmp/multipartBody8907793311770032477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106044967,"filename":"image_29012025_00_06_47_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332459717","file1":"1332459715","file0":"1332459713","file4":"1332459723","file5":"1332459726","file3":"1332459720"},"map_files_photo_id_array":[{"photo_id":"1332459726","filename":"file5"},{"photo_id":"1332459717","filename":"file2"},{"photo_id":"1332459723","filename":"file4"},{"photo_id":"1332459715","filename":"file1"},{"photo_id":"1332459713","filename":"file0"},{"photo_id":"1332459720","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332459715":["hashtag1","hashtag2"]},{"1332459723":["hashtag1","hashtag2"]},{"1332459726":["hashtag1","hashtag2"]},{"1332459720":["hashtag1","hashtag2"]},{"1332459717":["hashtag1","hashtag2"]},{"1332459713":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332459715, 1332459723, 1332459726, 1332459720, 1332459717, 1332459713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20741271972656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:14:03.335746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/08/image_29012025_00_08_37_10338.jpg', '/home/pi/Desktop/images/29012025/00/08/image_29012025_00_08_46_9583.jpg', '/home/pi/Desktop/images/29012025/00/08/image_29012025_00_08_57_10361.jpg', '/home/pi/Desktop/images/29012025/00/08/image_29012025_00_09_07_10340.jpg', '/home/pi/Desktop/images/29012025/00/09/image_29012025_00_09_16_9453.jpg', '/home/pi/Desktop/images/29012025/00/09/image_29012025_00_09_27_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/08/image_29012025_00_08_37_10338.jpg
/home/pi/Desktop/images/29012025/00/08/image_29012025_00_08_46_9583.jpg
/home/pi/Desktop/images/29012025/00/08/image_29012025_00_08_57_10361.jpg
/home/pi/Desktop/images/29012025/00/08/image_29012025_00_09_07_10340.jpg
/home/pi/Desktop/images/29012025/00/09/image_29012025_00_09_16_9453.jpg
/home/pi/Desktop/images/29012025/00/09/image_29012025_00_09_27_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":["1332459763","1332459760","1332459831","1332459761","1332459755","1332459758"],"photo_ids_order":["1332459755","1332459758","1332459760","1332459761","1332459763","1332459831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/92d533b8a981b56c22e4386753c5efcd.jpg","text":"TemporaryFile(/tmp/multipartBody4303202221833539877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106104293,"filename":"image_29012025_00_09_16_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/29/4dcffe1c9f22e3ab089dc75d32c58d6c.jpg","text":"TemporaryFile(/tmp/multipartBody854052260437595085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106104293,"filename":"image_29012025_00_08_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/29/5b7e33c16b83499bf42d2bda85748064.jpg","text":"TemporaryFile(/tmp/multipartBody6813507744706223206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106104293,"filename":"image_29012025_00_09_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/29/5079e0e41aacdabc2d63ae716a9a6d48.jpg","text":"TemporaryFile(/tmp/multipartBody6827210818674372886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106104293,"filename":"image_29012025_00_09_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/29/1c73fd7941dc9b5552f48207eee22f71.jpg","text":"TemporaryFile(/tmp/multipartBody2533124668285940375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106104293,"filename":"image_29012025_00_08_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/29/321aab03996f5452c62019cf572e9134.jpg","text":"TemporaryFile(/tmp/multipartBody721886334844077179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106104293,"filename":"image_29012025_00_08_46_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332459760","file1":"1332459758","file0":"1332459755","file4":"1332459763","file5":"1332459831","file3":"1332459761"},"map_files_photo_id_array":[{"photo_id":"1332459831","filename":"file5"},{"photo_id":"1332459760","filename":"file2"},{"photo_id":"1332459763","filename":"file4"},{"photo_id":"1332459758","filename":"file1"},{"photo_id":"1332459755","filename":"file0"},{"photo_id":"1332459761","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332459763":["hashtag1","hashtag2"]},{"1332459760":["hashtag1","hashtag2"]},{"1332459831":["hashtag1","hashtag2"]},{"1332459761":["hashtag1","hashtag2"]},{"1332459755":["hashtag1","hashtag2"]},{"1332459758":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332459763, 1332459760, 1332459831, 1332459761, 1332459755, 1332459758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.09831118583679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:15:04.256909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/09/image_29012025_00_09_37_10395.jpg', '/home/pi/Desktop/images/29012025/00/09/image_29012025_00_09_47_9346.jpg', '/home/pi/Desktop/images/29012025/00/09/image_29012025_00_09_57_10383.jpg', '/home/pi/Desktop/images/29012025/00/09/image_29012025_00_10_06_9332.jpg', '/home/pi/Desktop/images/29012025/00/10/image_29012025_00_10_17_10370.jpg', '/home/pi/Desktop/images/29012025/00/10/image_29012025_00_10_27_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/09/image_29012025_00_09_37_10395.jpg
/home/pi/Desktop/images/29012025/00/09/image_29012025_00_09_47_9346.jpg
/home/pi/Desktop/images/29012025/00/09/image_29012025_00_09_57_10383.jpg
/home/pi/Desktop/images/29012025/00/09/image_29012025_00_10_06_9332.jpg
/home/pi/Desktop/images/29012025/00/10/image_29012025_00_10_17_10370.jpg
/home/pi/Desktop/images/29012025/00/10/image_29012025_00_10_27_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332460043","1332460054","1332460057","1332460024","1332460027","1332460050"],"photo_ids_order":["1332460024","1332460027","1332460043","1332460050","1332460054","1332460057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0fa607a2a7f623bec14c9093322151a0.jpg","text":"TemporaryFile(/tmp/multipartBody2732894589598366841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106166744,"filename":"image_29012025_00_09_57_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/29/a725ee6be9df130fd9b77e67df56a3ed.jpg","text":"TemporaryFile(/tmp/multipartBody2184659948704225995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106166744,"filename":"image_29012025_00_10_17_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/29/e6409a4f03aca8bb4aca545d945e40d3.jpg","text":"TemporaryFile(/tmp/multipartBody4080152995771959607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106166744,"filename":"image_29012025_00_10_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/29/18f0be22b1b8e1da45106c7e9611e3b0.jpg","text":"TemporaryFile(/tmp/multipartBody3926552140017482875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106166744,"filename":"image_29012025_00_09_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/29/fae668ed30796b9e5e5273d8e71c4047.jpg","text":"TemporaryFile(/tmp/multipartBody73727117584912333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106166744,"filename":"image_29012025_00_09_47_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/29/4b872796e74c45bcc3e40002dabdfbbd.jpg","text":"TemporaryFile(/tmp/multipartBody6458243485704308677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106166744,"filename":"image_29012025_00_10_06_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332460043","file1":"1332460027","file0":"1332460024","file4":"1332460054","file5":"1332460057","file3":"1332460050"},"map_files_photo_id_array":[{"photo_id":"1332460057","filename":"file5"},{"photo_id":"1332460043","filename":"file2"},{"photo_id":"1332460054","filename":"file4"},{"photo_id":"1332460027","filename":"file1"},{"photo_id":"1332460024","filename":"file0"},{"photo_id":"1332460050","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332460043":["hashtag1","hashtag2"]},{"1332460054":["hashtag1","hashtag2"]},{"1332460057":["hashtag1","hashtag2"]},{"1332460024":["hashtag1","hashtag2"]},{"1332460027":["hashtag1","hashtag2"]},{"1332460050":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332460043, 1332460054, 1332460057, 1332460024, 1332460027, 1332460050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.11835718154907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:16:02.905244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/10/image_29012025_00_10_36_9342.jpg', '/home/pi/Desktop/images/29012025/00/10/image_29012025_00_10_47_10453.jpg', '/home/pi/Desktop/images/29012025/00/10/image_29012025_00_11_07_10383.jpg', '/home/pi/Desktop/images/29012025/00/11/image_29012025_00_11_17_10376.jpg', '/home/pi/Desktop/images/29012025/00/11/image_29012025_00_11_26_9435.jpg', '/home/pi/Desktop/images/29012025/00/11/image_29012025_00_11_37_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/10/image_29012025_00_10_36_9342.jpg
/home/pi/Desktop/images/29012025/00/10/image_29012025_00_10_47_10453.jpg
/home/pi/Desktop/images/29012025/00/10/image_29012025_00_11_07_10383.jpg
/home/pi/Desktop/images/29012025/00/11/image_29012025_00_11_17_10376.jpg
/home/pi/Desktop/images/29012025/00/11/image_29012025_00_11_26_9435.jpg
/home/pi/Desktop/images/29012025/00/11/image_29012025_00_11_37_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":["1332460310","1332460285","1332460288","1332460281","1332460260","1332460271"],"photo_ids_order":["1332460260","1332460271","1332460281","1332460285","1332460288","1332460310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a94ef7deb266d2edbee3a575317b71db.jpg","text":"TemporaryFile(/tmp/multipartBody6111975933205190619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106223863,"filename":"image_29012025_00_11_37_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/29/06fe85a1f510e7c7fafa68624a7e01a8.jpg","text":"TemporaryFile(/tmp/multipartBody8804830728171225243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106223863,"filename":"image_29012025_00_11_17_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/29/90f870b3d582213c9a8e4d1c014afe04.jpg","text":"TemporaryFile(/tmp/multipartBody2448966925045902973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106223863,"filename":"image_29012025_00_11_26_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/29/a9433197c99a82004f73bc817ecf52d8.jpg","text":"TemporaryFile(/tmp/multipartBody965759913211080157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106223863,"filename":"image_29012025_00_11_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/29/595fe661f5460f523e34d3a0bb320c24.jpg","text":"TemporaryFile(/tmp/multipartBody2577117340951956731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106223863,"filename":"image_29012025_00_10_36_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/29/b8f75faa05d2dddeded4002ef7378b27.jpg","text":"TemporaryFile(/tmp/multipartBody329196611485893442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106223863,"filename":"image_29012025_00_10_47_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332460281","file1":"1332460271","file0":"1332460260","file4":"1332460288","file5":"1332460310","file3":"1332460285"},"map_files_photo_id_array":[{"photo_id":"1332460310","filename":"file5"},{"photo_id":"1332460281","filename":"file2"},{"photo_id":"1332460288","filename":"file4"},{"photo_id":"1332460271","filename":"file1"},{"photo_id":"1332460260","filename":"file0"},{"photo_id":"1332460285","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332460310":["hashtag1","hashtag2"]},{"1332460285":["hashtag1","hashtag2"]},{"1332460288":["hashtag1","hashtag2"]},{"1332460281":["hashtag1","hashtag2"]},{"1332460260":["hashtag1","hashtag2"]},{"1332460271":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332460310, 1332460285, 1332460288, 1332460281, 1332460260, 1332460271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54005670547485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:17:03.927586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/11/image_29012025_00_11_46_9458.jpg', '/home/pi/Desktop/images/29012025/00/11/image_29012025_00_11_57_10353.jpg', '/home/pi/Desktop/images/29012025/00/12/image_29012025_00_12_16_9436.jpg', '/home/pi/Desktop/images/29012025/00/12/image_29012025_00_12_27_10372.jpg', '/home/pi/Desktop/images/29012025/00/12/image_29012025_00_12_36_9454.jpg', '/home/pi/Desktop/images/29012025/00/12/image_29012025_00_12_47_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/11/image_29012025_00_11_46_9458.jpg
/home/pi/Desktop/images/29012025/00/11/image_29012025_00_11_57_10353.jpg
/home/pi/Desktop/images/29012025/00/12/image_29012025_00_12_16_9436.jpg
/home/pi/Desktop/images/29012025/00/12/image_29012025_00_12_27_10372.jpg
/home/pi/Desktop/images/29012025/00/12/image_29012025_00_12_36_9454.jpg
/home/pi/Desktop/images/29012025/00/12/image_29012025_00_12_47_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332460346","1332460351","1332460333","1332460336","1332460338","1332460341"],"photo_ids_order":["1332460333","1332460336","1332460338","1332460341","1332460346","1332460351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a3229eeacf38267aaeae3b9c5fd88194.jpg","text":"TemporaryFile(/tmp/multipartBody7189699502685649017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106285012,"filename":"image_29012025_00_12_36_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/29/fd18d709b6e8a31338046f68f1a72b10.jpg","text":"TemporaryFile(/tmp/multipartBody2715917215934766871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106285012,"filename":"image_29012025_00_12_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/29/1a4d5356182edb33dfc9096a8c3f543c.jpg","text":"TemporaryFile(/tmp/multipartBody7467993115260567496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106285012,"filename":"image_29012025_00_11_46_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/29/5e2eb301a9fbec693b3f7776210bc8e6.jpg","text":"TemporaryFile(/tmp/multipartBody310306070506944536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106285012,"filename":"image_29012025_00_11_57_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/29/95a989809591ad18845634e3d99033ab.jpg","text":"TemporaryFile(/tmp/multipartBody5546468217090214070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106285012,"filename":"image_29012025_00_12_16_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/29/4b77c506d266d87b0f2bff09c41bcc9c.jpg","text":"TemporaryFile(/tmp/multipartBody374961070323859139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106285012,"filename":"image_29012025_00_12_27_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332460338","file1":"1332460336","file0":"1332460333","file4":"1332460346","file5":"1332460351","file3":"1332460341"},"map_files_photo_id_array":[{"photo_id":"1332460351","filename":"file5"},{"photo_id":"1332460338","filename":"file2"},{"photo_id":"1332460346","filename":"file4"},{"photo_id":"1332460336","filename":"file1"},{"photo_id":"1332460333","filename":"file0"},{"photo_id":"1332460341","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332460346":["hashtag1","hashtag2"]},{"1332460351":["hashtag1","hashtag2"]},{"1332460333":["hashtag1","hashtag2"]},{"1332460336":["hashtag1","hashtag2"]},{"1332460338":["hashtag1","hashtag2"]},{"1332460341":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332460346, 1332460351, 1332460333, 1332460336, 1332460338, 1332460341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.85356664657593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:18:03.258171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/12/image_29012025_00_12_57_10418.jpg', '/home/pi/Desktop/images/29012025/00/12/image_29012025_00_13_06_9408.jpg', '/home/pi/Desktop/images/29012025/00/13/image_29012025_00_13_17_10341.jpg', '/home/pi/Desktop/images/29012025/00/13/image_29012025_00_13_26_9477.jpg', '/home/pi/Desktop/images/29012025/00/13/image_29012025_00_13_37_10446.jpg', '/home/pi/Desktop/images/29012025/00/13/image_29012025_00_13_47_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/12/image_29012025_00_12_57_10418.jpg
/home/pi/Desktop/images/29012025/00/12/image_29012025_00_13_06_9408.jpg
/home/pi/Desktop/images/29012025/00/13/image_29012025_00_13_17_10341.jpg
/home/pi/Desktop/images/29012025/00/13/image_29012025_00_13_26_9477.jpg
/home/pi/Desktop/images/29012025/00/13/image_29012025_00_13_37_10446.jpg
/home/pi/Desktop/images/29012025/00/13/image_29012025_00_13_47_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":["1332460663","1332460528","1332460513","1332460615","1332460725","1332460503"],"photo_ids_order":["1332460503","1332460513","1332460528","1332460615","1332460663","1332460725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6256140e1ce18336a281138353da896e.jpg","text":"TemporaryFile(/tmp/multipartBody7260808276590363286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106344213,"filename":"image_29012025_00_13_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/29/8e23c6d778ecb037504e0a88ba04d38f.jpg","text":"TemporaryFile(/tmp/multipartBody3166234147960665013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106344213,"filename":"image_29012025_00_13_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/29/9dc4da323c6437fd3bd117f8eef015a5.jpg","text":"TemporaryFile(/tmp/multipartBody8863366875776255762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106344213,"filename":"image_29012025_00_13_06_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/29/8c2e8fefd3b335c965bcf3b448c874bb.jpg","text":"TemporaryFile(/tmp/multipartBody7646931609478333387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106344213,"filename":"image_29012025_00_13_26_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/29/978020538f2ab3152d14f9e6b0258e5b.jpg","text":"TemporaryFile(/tmp/multipartBody2964803019738496254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106344213,"filename":"image_29012025_00_13_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/29/b033d88585f13b75ce8380b3275c36bb.jpg","text":"TemporaryFile(/tmp/multipartBody9013234279407977052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106344213,"filename":"image_29012025_00_12_57_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332460528","file1":"1332460513","file0":"1332460503","file4":"1332460663","file5":"1332460725","file3":"1332460615"},"map_files_photo_id_array":[{"photo_id":"1332460725","filename":"file5"},{"photo_id":"1332460528","filename":"file2"},{"photo_id":"1332460663","filename":"file4"},{"photo_id":"1332460513","filename":"file1"},{"photo_id":"1332460503","filename":"file0"},{"photo_id":"1332460615","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332460663":["hashtag1","hashtag2"]},{"1332460528":["hashtag1","hashtag2"]},{"1332460513":["hashtag1","hashtag2"]},{"1332460615":["hashtag1","hashtag2"]},{"1332460725":["hashtag1","hashtag2"]},{"1332460503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332460663, 1332460528, 1332460513, 1332460615, 1332460725, 1332460503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07066512107849 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:19:04.634334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/13/image_29012025_00_13_56_9358.jpg', '/home/pi/Desktop/images/29012025/00/13/image_29012025_00_14_07_10486.jpg', '/home/pi/Desktop/images/29012025/00/14/image_29012025_00_14_27_10354.jpg', '/home/pi/Desktop/images/29012025/00/14/image_29012025_00_14_36_9472.jpg', '/home/pi/Desktop/images/29012025/00/14/image_29012025_00_14_47_10326.jpg', '/home/pi/Desktop/images/29012025/00/14/image_29012025_00_14_57_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/13/image_29012025_00_13_56_9358.jpg
/home/pi/Desktop/images/29012025/00/13/image_29012025_00_14_07_10486.jpg
/home/pi/Desktop/images/29012025/00/14/image_29012025_00_14_27_10354.jpg
/home/pi/Desktop/images/29012025/00/14/image_29012025_00_14_36_9472.jpg
/home/pi/Desktop/images/29012025/00/14/image_29012025_00_14_47_10326.jpg
/home/pi/Desktop/images/29012025/00/14/image_29012025_00_14_57_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":["1332461053","1332461041","1332461050","1332461032","1332461046","1332461090"],"photo_ids_order":["1332461032","1332461041","1332461046","1332461050","1332461053","1332461090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0c0b5d294547e7f4baf30980220c9ad7.jpg","text":"TemporaryFile(/tmp/multipartBody4326002119920121938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106405756,"filename":"image_29012025_00_14_47_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/29/7eab9e61c79c72d2a74c41c16a6e4945.jpg","text":"TemporaryFile(/tmp/multipartBody5314450036817028539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106405756,"filename":"image_29012025_00_14_07_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2c0a8db3a6fcee3278833b5705a87389.jpg","text":"TemporaryFile(/tmp/multipartBody2560963482961722412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106405756,"filename":"image_29012025_00_14_36_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/29/6ed2f9946ad8802fbb4cadd74e07fcd9.jpg","text":"TemporaryFile(/tmp/multipartBody175312506372827415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106405756,"filename":"image_29012025_00_13_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/29/0883e0ecb40e1744fa15737c0ce4f06b.jpg","text":"TemporaryFile(/tmp/multipartBody4503118434227577980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106405756,"filename":"image_29012025_00_14_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/29/52b93ac30616393585ed98382827c9cd.jpg","text":"TemporaryFile(/tmp/multipartBody1144288573834594364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106405756,"filename":"image_29012025_00_14_57_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332461046","file1":"1332461041","file0":"1332461032","file4":"1332461053","file5":"1332461090","file3":"1332461050"},"map_files_photo_id_array":[{"photo_id":"1332461090","filename":"file5"},{"photo_id":"1332461046","filename":"file2"},{"photo_id":"1332461053","filename":"file4"},{"photo_id":"1332461041","filename":"file1"},{"photo_id":"1332461032","filename":"file0"},{"photo_id":"1332461050","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332461053":["hashtag1","hashtag2"]},{"1332461041":["hashtag1","hashtag2"]},{"1332461050":["hashtag1","hashtag2"]},{"1332461032":["hashtag1","hashtag2"]},{"1332461046":["hashtag1","hashtag2"]},{"1332461090":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332461053, 1332461041, 1332461050, 1332461032, 1332461046, 1332461090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.75499987602234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:20:02.818859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/14/image_29012025_00_15_06_9455.jpg', '/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_17_10389.jpg', '/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_27_10409.jpg', '/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_37_9335.jpg', '/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_47_10354.jpg', '/home/pi/Desktop/images/29012025/00/15/image_29012025_00_16_07_10536.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/14/image_29012025_00_15_06_9455.jpg
/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_17_10389.jpg
/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_27_10409.jpg
/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_37_9335.jpg
/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_47_10354.jpg
/home/pi/Desktop/images/29012025/00/15/image_29012025_00_16_07_10536.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.5711839199066162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:20:12.180502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_36_9339.jpg', '/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_46_10341.jpg', '/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_57_10370.jpg', '/home/pi/Desktop/images/23012025/23/38/image_23012025_23_39_06_9478.jpg', '/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_16_10339.jpg', '/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_27_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/23/38/image_23012025_23_38_36_9339.jpg
/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_46_10341.jpg
/home/pi/Desktop/images/23012025/23/38/image_23012025_23_38_57_10370.jpg
/home/pi/Desktop/images/23012025/23/38/image_23012025_23_39_06_9478.jpg
/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_16_10339.jpg
/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_27_10343.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332461299","1332461371","1332461326","1332461341","1332461334","1332461291"],"photo_ids_order":["1332461291","1332461299","1332461326","1332461334","1332461341","1332461371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/52456ba3e159c4651cbfcf288ce493fc.jpg","text":"TemporaryFile(/tmp/multipartBody4384057133802169945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106474101,"filename":"image_23012025_23_38_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/29/94113065db9f34fda7fdb7e2481208de.jpg","text":"TemporaryFile(/tmp/multipartBody3193524802247681872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106474101,"filename":"image_23012025_23_39_27_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/29/fc84e8e2ff9827d5baacecd1475d0404.jpg","text":"TemporaryFile(/tmp/multipartBody2567401078874567625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106474101,"filename":"image_23012025_23_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/29/58f0b424ee6c59bc708cf4abeeca1076.jpg","text":"TemporaryFile(/tmp/multipartBody1035170940491315486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106474101,"filename":"image_23012025_23_39_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/29/84f0a9d91669d3d42c6c6a148006938a.jpg","text":"TemporaryFile(/tmp/multipartBody8767769157264035617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106474101,"filename":"image_23012025_23_39_06_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/29/7b40c7f12d583530ee0c50445ab40a62.jpg","text":"TemporaryFile(/tmp/multipartBody3157594220955773125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106474101,"filename":"image_23012025_23_38_36_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332461326","file1":"1332461299","file0":"1332461291","file4":"1332461341","file5":"1332461371","file3":"1332461334"},"map_files_photo_id_array":[{"photo_id":"1332461371","filename":"file5"},{"photo_id":"1332461326","filename":"file2"},{"photo_id":"1332461341","filename":"file4"},{"photo_id":"1332461299","filename":"file1"},{"photo_id":"1332461291","filename":"file0"},{"photo_id":"1332461334","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332461299":["hashtag1","hashtag2"]},{"1332461371":["hashtag1","hashtag2"]},{"1332461326":["hashtag1","hashtag2"]},{"1332461341":["hashtag1","hashtag2"]},{"1332461334":["hashtag1","hashtag2"]},{"1332461291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332461299, 1332461371, 1332461326, 1332461341, 1332461334, 1332461291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11034870147705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:21:03.791715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/14/image_29012025_00_15_06_9455.jpg', '/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_17_10389.jpg', '/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_27_10409.jpg', '/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_37_9335.jpg', '/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_47_10354.jpg', '/home/pi/Desktop/images/29012025/00/15/image_29012025_00_16_07_10536.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/14/image_29012025_00_15_06_9455.jpg
/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_17_10389.jpg
/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_27_10409.jpg
/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_37_9335.jpg
/home/pi/Desktop/images/29012025/00/15/image_29012025_00_15_47_10354.jpg
/home/pi/Desktop/images/29012025/00/15/image_29012025_00_16_07_10536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332461596","1332461611","1332461577","1332461604","1332461591","1332461587"],"photo_ids_order":["1332461577","1332461587","1332461591","1332461596","1332461604","1332461611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/417e5cb3a51fd0a9b41a5432a11b1217.jpg","text":"TemporaryFile(/tmp/multipartBody7137936194049818642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106528483,"filename":"image_29012025_00_15_37_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/29/459f887e11a6ed4362e3361b16d78419.jpg","text":"TemporaryFile(/tmp/multipartBody1033078069880026336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106528483,"filename":"image_29012025_00_16_07_10536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d36e5b3b7534bef8302f320a5005eded.jpg","text":"TemporaryFile(/tmp/multipartBody6503094432213256754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106528483,"filename":"image_29012025_00_15_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/29/937a964f871671c3caf1df50d88a0e00.jpg","text":"TemporaryFile(/tmp/multipartBody1864019772512173986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106528483,"filename":"image_29012025_00_15_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/29/1369e1580b2b904b5aa7975e2a87eb64.jpg","text":"TemporaryFile(/tmp/multipartBody491951484408063588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106528483,"filename":"image_29012025_00_15_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/29/be4ecc10d3bb4331e7f819d87412b4a3.jpg","text":"TemporaryFile(/tmp/multipartBody3809165967791208722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106528483,"filename":"image_29012025_00_15_17_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332461591","file1":"1332461587","file0":"1332461577","file4":"1332461604","file5":"1332461611","file3":"1332461596"},"map_files_photo_id_array":[{"photo_id":"1332461611","filename":"file5"},{"photo_id":"1332461591","filename":"file2"},{"photo_id":"1332461604","filename":"file4"},{"photo_id":"1332461587","filename":"file1"},{"photo_id":"1332461577","filename":"file0"},{"photo_id":"1332461596","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332461596":["hashtag1","hashtag2"]},{"1332461611":["hashtag1","hashtag2"]},{"1332461577":["hashtag1","hashtag2"]},{"1332461604":["hashtag1","hashtag2"]},{"1332461591":["hashtag1","hashtag2"]},{"1332461587":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332461596, 1332461611, 1332461577, 1332461604, 1332461591, 1332461587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.72352337837219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:22:03.278747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/16/image_29012025_00_16_17_10378.jpg', '/home/pi/Desktop/images/29012025/00/16/image_29012025_00_16_27_9439.jpg', '/home/pi/Desktop/images/29012025/00/16/image_29012025_00_16_37_10357.jpg', '/home/pi/Desktop/images/29012025/00/16/image_29012025_00_16_46_9385.jpg', '/home/pi/Desktop/images/29012025/00/16/image_29012025_00_16_57_10453.jpg', '/home/pi/Desktop/images/29012025/00/16/image_29012025_00_17_06_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/16/image_29012025_00_16_17_10378.jpg
/home/pi/Desktop/images/29012025/00/16/image_29012025_00_16_27_9439.jpg
/home/pi/Desktop/images/29012025/00/16/image_29012025_00_16_37_10357.jpg
/home/pi/Desktop/images/29012025/00/16/image_29012025_00_16_46_9385.jpg
/home/pi/Desktop/images/29012025/00/16/image_29012025_00_16_57_10453.jpg
/home/pi/Desktop/images/29012025/00/16/image_29012025_00_17_06_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":["1332461704","1332461664","1332461669","1332461660","1332461666","1332461708"],"photo_ids_order":["1332461660","1332461664","1332461666","1332461669","1332461704","1332461708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f973f6df62e85c493ee18daa502ff5eb.jpg","text":"TemporaryFile(/tmp/multipartBody3887409805369746894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106584219,"filename":"image_29012025_00_16_57_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/29/204780f812ebae79ec2b9bd52bea913a.jpg","text":"TemporaryFile(/tmp/multipartBody5385691027807773642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106584219,"filename":"image_29012025_00_16_27_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/29/fc0bd68bbb26edf0e3ad8a2aacfbae75.jpg","text":"TemporaryFile(/tmp/multipartBody2710475370857247691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106584219,"filename":"image_29012025_00_16_46_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/29/a7a836e1d0b0c6fd3589ad6d8ed0cb39.jpg","text":"TemporaryFile(/tmp/multipartBody439822740491717753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106584219,"filename":"image_29012025_00_16_17_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/29/ce29a40053bb7b90ee15610518d678eb.jpg","text":"TemporaryFile(/tmp/multipartBody8694886138540050943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106584219,"filename":"image_29012025_00_16_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/29/5be4d5d8d1c80688f04b9d3bfac5774d.jpg","text":"TemporaryFile(/tmp/multipartBody587064943204901395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106584219,"filename":"image_29012025_00_17_06_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332461666","file1":"1332461664","file0":"1332461660","file4":"1332461704","file5":"1332461708","file3":"1332461669"},"map_files_photo_id_array":[{"photo_id":"1332461708","filename":"file5"},{"photo_id":"1332461666","filename":"file2"},{"photo_id":"1332461704","filename":"file4"},{"photo_id":"1332461664","filename":"file1"},{"photo_id":"1332461660","filename":"file0"},{"photo_id":"1332461669","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332461704":["hashtag1","hashtag2"]},{"1332461664":["hashtag1","hashtag2"]},{"1332461669":["hashtag1","hashtag2"]},{"1332461660":["hashtag1","hashtag2"]},{"1332461666":["hashtag1","hashtag2"]},{"1332461708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332461704, 1332461664, 1332461669, 1332461660, 1332461666, 1332461708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48822331428528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:23:04.431269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/17/image_29012025_00_17_17_10346.jpg', '/home/pi/Desktop/images/29012025/00/17/image_29012025_00_17_27_10447.jpg', '/home/pi/Desktop/images/29012025/00/17/image_29012025_00_17_36_9457.jpg', '/home/pi/Desktop/images/29012025/00/17/image_29012025_00_17_47_10358.jpg', '/home/pi/Desktop/images/29012025/00/17/image_29012025_00_17_56_9440.jpg', '/home/pi/Desktop/images/29012025/00/17/image_29012025_00_18_07_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/17/image_29012025_00_17_17_10346.jpg
/home/pi/Desktop/images/29012025/00/17/image_29012025_00_17_27_10447.jpg
/home/pi/Desktop/images/29012025/00/17/image_29012025_00_17_36_9457.jpg
/home/pi/Desktop/images/29012025/00/17/image_29012025_00_17_47_10358.jpg
/home/pi/Desktop/images/29012025/00/17/image_29012025_00_17_56_9440.jpg
/home/pi/Desktop/images/29012025/00/17/image_29012025_00_18_07_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":["1332461773","1332461749","1332461809","1332461796","1332461799","1332461805"],"photo_ids_order":["1332461749","1332461773","1332461796","1332461799","1332461805","1332461809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cce8f8c8ab39fd257e45aef5bda87569.jpg","text":"TemporaryFile(/tmp/multipartBody8119656155982044909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106645524,"filename":"image_29012025_00_17_27_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/29/5405905e73a7953f6547e0684e180990.jpg","text":"TemporaryFile(/tmp/multipartBody9041494224340653981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106645524,"filename":"image_29012025_00_17_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/29/e1d6009649d196cfad23253ac75dcefe.jpg","text":"TemporaryFile(/tmp/multipartBody5585062775117680256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106645524,"filename":"image_29012025_00_18_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/29/63c90eb87bd5a14805723c4c179063a3.jpg","text":"TemporaryFile(/tmp/multipartBody8958611977680849552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106645524,"filename":"image_29012025_00_17_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/29/4e4d18575ecf1fd420beb1910d412efd.jpg","text":"TemporaryFile(/tmp/multipartBody5709058030086696031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106645524,"filename":"image_29012025_00_17_47_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/29/8e6c6c6ebf4c21cbf8c3851b3535b430.jpg","text":"TemporaryFile(/tmp/multipartBody7206500737791248796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106645524,"filename":"image_29012025_00_17_56_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332461796","file1":"1332461773","file0":"1332461749","file4":"1332461805","file5":"1332461809","file3":"1332461799"},"map_files_photo_id_array":[{"photo_id":"1332461809","filename":"file5"},{"photo_id":"1332461796","filename":"file2"},{"photo_id":"1332461805","filename":"file4"},{"photo_id":"1332461773","filename":"file1"},{"photo_id":"1332461749","filename":"file0"},{"photo_id":"1332461799","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332461773":["hashtag1","hashtag2"]},{"1332461749":["hashtag1","hashtag2"]},{"1332461809":["hashtag1","hashtag2"]},{"1332461796":["hashtag1","hashtag2"]},{"1332461799":["hashtag1","hashtag2"]},{"1332461805":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332461773, 1332461749, 1332461809, 1332461796, 1332461799, 1332461805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50684952735901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:24:03.708911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/18/image_29012025_00_18_17_10433.jpg', '/home/pi/Desktop/images/29012025/00/18/image_29012025_00_18_27_9460.jpg', '/home/pi/Desktop/images/29012025/00/18/image_29012025_00_18_37_10410.jpg', '/home/pi/Desktop/images/29012025/00/18/image_29012025_00_18_46_9489.jpg', '/home/pi/Desktop/images/29012025/00/18/image_29012025_00_18_57_10392.jpg', '/home/pi/Desktop/images/29012025/00/18/image_29012025_00_19_06_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/18/image_29012025_00_18_17_10433.jpg
/home/pi/Desktop/images/29012025/00/18/image_29012025_00_18_27_9460.jpg
/home/pi/Desktop/images/29012025/00/18/image_29012025_00_18_37_10410.jpg
/home/pi/Desktop/images/29012025/00/18/image_29012025_00_18_46_9489.jpg
/home/pi/Desktop/images/29012025/00/18/image_29012025_00_18_57_10392.jpg
/home/pi/Desktop/images/29012025/00/18/image_29012025_00_19_06_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332461848","1332461833","1332461824","1332461843","1332461837","1332461828"],"photo_ids_order":["1332461824","1332461828","1332461833","1332461837","1332461843","1332461848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/85389cb877168b541ad48e00ab311c44.jpg","text":"TemporaryFile(/tmp/multipartBody1206900966650950353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106704679,"filename":"image_29012025_00_19_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/29/fdaba8a65f788c0fb6ef50df66e87247.jpg","text":"TemporaryFile(/tmp/multipartBody109048350497326886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106704679,"filename":"image_29012025_00_18_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/29/19359a6a08fda2963e60ecfd533ceefc.jpg","text":"TemporaryFile(/tmp/multipartBody3232422698335809629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106704679,"filename":"image_29012025_00_18_17_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/29/2c5f9f2eac998803235bea9f960bbd60.jpg","text":"TemporaryFile(/tmp/multipartBody5605888736618223038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106704679,"filename":"image_29012025_00_18_57_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/29/e37b0be7791fd05496282474545fd388.jpg","text":"TemporaryFile(/tmp/multipartBody8972736809842015825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106704679,"filename":"image_29012025_00_18_46_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/29/7f7edb142121277cb671c26268cc5d3a.jpg","text":"TemporaryFile(/tmp/multipartBody3359992680619534531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106704679,"filename":"image_29012025_00_18_27_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332461833","file1":"1332461828","file0":"1332461824","file4":"1332461843","file5":"1332461848","file3":"1332461837"},"map_files_photo_id_array":[{"photo_id":"1332461848","filename":"file5"},{"photo_id":"1332461833","filename":"file2"},{"photo_id":"1332461843","filename":"file4"},{"photo_id":"1332461828","filename":"file1"},{"photo_id":"1332461824","filename":"file0"},{"photo_id":"1332461837","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332461848":["hashtag1","hashtag2"]},{"1332461833":["hashtag1","hashtag2"]},{"1332461824":["hashtag1","hashtag2"]},{"1332461843":["hashtag1","hashtag2"]},{"1332461837":["hashtag1","hashtag2"]},{"1332461828":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332461848, 1332461833, 1332461824, 1332461843, 1332461837, 1332461828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90147519111633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:25:03.878673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_17_10334.jpg', '/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_27_10365.jpg', '/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_36_9346.jpg', '/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_47_10418.jpg', '/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_57_10362.jpg', '/home/pi/Desktop/images/29012025/00/19/image_29012025_00_20_06_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_17_10334.jpg
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_27_10365.jpg
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_36_9346.jpg
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_47_10418.jpg
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_57_10362.jpg
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_20_06_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.6767876148223877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:25:12.367384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_36_9419.jpg', '/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_47_10449.jpg', '/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_56_9443.jpg', '/home/pi/Desktop/images/23012025/23/39/image_23012025_23_40_06_10358.jpg', '/home/pi/Desktop/images/23012025/23/40/image_23012025_23_40_17_10353.jpg', '/home/pi/Desktop/images/23012025/23/40/image_23012025_23_40_26_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/23/39/image_23012025_23_39_36_9419.jpg
/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_47_10449.jpg
/home/pi/Desktop/images/23012025/23/39/image_23012025_23_39_56_9443.jpg
/home/pi/Desktop/images/23012025/23/39/image_23012025_23_40_06_10358.jpg
/home/pi/Desktop/images/23012025/23/40/image_23012025_23_40_17_10353.jpg
/home/pi/Desktop/images/23012025/23/40/image_23012025_23_40_26_9367.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332461875","1332461902","1332461895","1332461889","1332461883","1332461877"],"photo_ids_order":["1332461875","1332461877","1332461883","1332461889","1332461895","1332461902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b2c33148571f2a0d592c893a18202ccd.jpg","text":"TemporaryFile(/tmp/multipartBody8312705651567933243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106774375,"filename":"image_23012025_23_39_36_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/29/0ab61c4e7014cc212eaa57d8c86afc3a.jpg","text":"TemporaryFile(/tmp/multipartBody5606624575238626738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106774375,"filename":"image_23012025_23_40_26_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/29/d8df992a067ea9365be4967e931e0e74.jpg","text":"TemporaryFile(/tmp/multipartBody3469286069910181131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106774375,"filename":"image_23012025_23_40_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/29/2c51176dc1358ba5d7a4be5638f522d6.jpg","text":"TemporaryFile(/tmp/multipartBody4378700789519620073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106774375,"filename":"image_23012025_23_40_06_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/29/4e6fa36c9f5da51e3a94a2f8712f04d2.jpg","text":"TemporaryFile(/tmp/multipartBody3121893185385173706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106774375,"filename":"image_23012025_23_39_56_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/29/b0ad061681b0683aa0ef48b3a338f418.jpg","text":"TemporaryFile(/tmp/multipartBody444496801238184547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106774375,"filename":"image_23012025_23_39_47_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332461883","file1":"1332461877","file0":"1332461875","file4":"1332461895","file5":"1332461902","file3":"1332461889"},"map_files_photo_id_array":[{"photo_id":"1332461902","filename":"file5"},{"photo_id":"1332461883","filename":"file2"},{"photo_id":"1332461895","filename":"file4"},{"photo_id":"1332461877","filename":"file1"},{"photo_id":"1332461875","filename":"file0"},{"photo_id":"1332461889","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332461875":["hashtag1","hashtag2"]},{"1332461902":["hashtag1","hashtag2"]},{"1332461895":["hashtag1","hashtag2"]},{"1332461889":["hashtag1","hashtag2"]},{"1332461883":["hashtag1","hashtag2"]},{"1332461877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332461875, 1332461902, 1332461895, 1332461889, 1332461883, 1332461877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16231918334961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:26:03.235266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_17_10334.jpg', '/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_27_10365.jpg', '/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_36_9346.jpg', '/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_47_10418.jpg', '/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_57_10362.jpg', '/home/pi/Desktop/images/29012025/00/19/image_29012025_00_20_06_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_17_10334.jpg
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_27_10365.jpg
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_36_9346.jpg
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_47_10418.jpg
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_19_57_10362.jpg
/home/pi/Desktop/images/29012025/00/19/image_29012025_00_20_06_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":["1332462214","1332462290","1332462308","1332462101","1332462364","1332462067"],"photo_ids_order":["1332462067","1332462101","1332462214","1332462290","1332462308","1332462364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6f9dcc376d6071215bb7503148c1eb68.jpg","text":"TemporaryFile(/tmp/multipartBody399429503246209477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106824174,"filename":"image_29012025_00_19_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/29/7e11b65eca8875fc4e0c84e5e051dfd8.jpg","text":"TemporaryFile(/tmp/multipartBody6025699677299676449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106824174,"filename":"image_29012025_00_19_47_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/29/ee3c11f2951117871ad9154b5cafc0d2.jpg","text":"TemporaryFile(/tmp/multipartBody8184845936141109744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106824174,"filename":"image_29012025_00_19_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/29/0f551a89ca70d68300c59f8fee123d00.jpg","text":"TemporaryFile(/tmp/multipartBody6803385735978645946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106824174,"filename":"image_29012025_00_19_27_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/29/e84d8fca03317ace6f78c314fdcec819.jpg","text":"TemporaryFile(/tmp/multipartBody7620347409662398267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106824174,"filename":"image_29012025_00_20_06_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/29/403963147f02b06643dee9e5e67a8075.jpg","text":"TemporaryFile(/tmp/multipartBody4984719467058955959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106824174,"filename":"image_29012025_00_19_17_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332462214","file1":"1332462101","file0":"1332462067","file4":"1332462308","file5":"1332462364","file3":"1332462290"},"map_files_photo_id_array":[{"photo_id":"1332462364","filename":"file5"},{"photo_id":"1332462214","filename":"file2"},{"photo_id":"1332462308","filename":"file4"},{"photo_id":"1332462101","filename":"file1"},{"photo_id":"1332462067","filename":"file0"},{"photo_id":"1332462290","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332462214":["hashtag1","hashtag2"]},{"1332462290":["hashtag1","hashtag2"]},{"1332462308":["hashtag1","hashtag2"]},{"1332462101":["hashtag1","hashtag2"]},{"1332462364":["hashtag1","hashtag2"]},{"1332462067":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332462214, 1332462290, 1332462308, 1332462101, 1332462364, 1332462067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95914649963379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:27:04.353020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/20/image_29012025_00_20_17_10352.jpg', '/home/pi/Desktop/images/29012025/00/20/image_29012025_00_20_27_10400.jpg', '/home/pi/Desktop/images/29012025/00/20/image_29012025_00_20_37_9347.jpg', '/home/pi/Desktop/images/29012025/00/20/image_29012025_00_20_47_10374.jpg', '/home/pi/Desktop/images/29012025/00/20/image_29012025_00_20_56_9358.jpg', '/home/pi/Desktop/images/29012025/00/20/image_29012025_00_21_07_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/20/image_29012025_00_20_17_10352.jpg
/home/pi/Desktop/images/29012025/00/20/image_29012025_00_20_27_10400.jpg
/home/pi/Desktop/images/29012025/00/20/image_29012025_00_20_37_9347.jpg
/home/pi/Desktop/images/29012025/00/20/image_29012025_00_20_47_10374.jpg
/home/pi/Desktop/images/29012025/00/20/image_29012025_00_20_56_9358.jpg
/home/pi/Desktop/images/29012025/00/20/image_29012025_00_21_07_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":["1332462502","1332462507","1332462501","1332462512","1332462499","1332462503"],"photo_ids_order":["1332462499","1332462501","1332462502","1332462503","1332462507","1332462512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9fab677bc4f503833934b06afc36f7db.jpg","text":"TemporaryFile(/tmp/multipartBody7696276367543432825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106885373,"filename":"image_29012025_00_20_37_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/29/a9e7b7509a439b6e63e23edc34bbfe9b.jpg","text":"TemporaryFile(/tmp/multipartBody1232153587302882478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106885373,"filename":"image_29012025_00_20_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/29/8ea7cce4215ec8f5fc7c5fe01e0d902b.jpg","text":"TemporaryFile(/tmp/multipartBody1612918495124421732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106885373,"filename":"image_29012025_00_20_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/29/ec167c60b7c64b4d675a70ac8df5a94c.jpg","text":"TemporaryFile(/tmp/multipartBody5775008816180054634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106885373,"filename":"image_29012025_00_21_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/29/4c53efcf3bc3f6567a6a8457862c366a.jpg","text":"TemporaryFile(/tmp/multipartBody8599056794200269686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106885373,"filename":"image_29012025_00_20_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/29/7d6e83c51309f5a172a7187b01f4a8f9.jpg","text":"TemporaryFile(/tmp/multipartBody5103850534760332921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106885373,"filename":"image_29012025_00_20_47_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332462502","file1":"1332462501","file0":"1332462499","file4":"1332462507","file5":"1332462512","file3":"1332462503"},"map_files_photo_id_array":[{"photo_id":"1332462512","filename":"file5"},{"photo_id":"1332462502","filename":"file2"},{"photo_id":"1332462507","filename":"file4"},{"photo_id":"1332462501","filename":"file1"},{"photo_id":"1332462499","filename":"file0"},{"photo_id":"1332462503","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332462502":["hashtag1","hashtag2"]},{"1332462507":["hashtag1","hashtag2"]},{"1332462501":["hashtag1","hashtag2"]},{"1332462512":["hashtag1","hashtag2"]},{"1332462499":["hashtag1","hashtag2"]},{"1332462503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332462502, 1332462507, 1332462501, 1332462512, 1332462499, 1332462503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78851819038391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:28:03.377539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/21/image_29012025_00_21_17_10341.jpg', '/home/pi/Desktop/images/29012025/00/21/image_29012025_00_21_26_9457.jpg', '/home/pi/Desktop/images/29012025/00/21/image_29012025_00_21_37_10363.jpg', '/home/pi/Desktop/images/29012025/00/21/image_29012025_00_21_46_9435.jpg', '/home/pi/Desktop/images/29012025/00/21/image_29012025_00_21_57_10452.jpg', '/home/pi/Desktop/images/29012025/00/21/image_29012025_00_22_06_9589.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/21/image_29012025_00_21_17_10341.jpg
/home/pi/Desktop/images/29012025/00/21/image_29012025_00_21_26_9457.jpg
/home/pi/Desktop/images/29012025/00/21/image_29012025_00_21_37_10363.jpg
/home/pi/Desktop/images/29012025/00/21/image_29012025_00_21_46_9435.jpg
/home/pi/Desktop/images/29012025/00/21/image_29012025_00_21_57_10452.jpg
/home/pi/Desktop/images/29012025/00/21/image_29012025_00_22_06_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332462564","1332462552","1332462546","1332462555","1332462542","1332462548"],"photo_ids_order":["1332462542","1332462546","1332462548","1332462552","1332462555","1332462564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9b9a990494c02cefe63530a773e53c14.jpg","text":"TemporaryFile(/tmp/multipartBody282245176947088143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106946482,"filename":"image_29012025_00_22_06_9589.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6b4f44ae8b55bb19547a0edc265f42f4.jpg","text":"TemporaryFile(/tmp/multipartBody7623177296625268916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106946482,"filename":"image_29012025_00_21_46_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/29/8c4737ff20a24b9b0859d11fab665d28.jpg","text":"TemporaryFile(/tmp/multipartBody1169994603917211152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106946482,"filename":"image_29012025_00_21_26_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/29/03d18e6e71b5a0daf82c42b5769cbec6.jpg","text":"TemporaryFile(/tmp/multipartBody7046152625374801282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106946482,"filename":"image_29012025_00_21_57_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/29/4fd274b3d04e9a5cfdc481677b0b5d47.jpg","text":"TemporaryFile(/tmp/multipartBody8138866447091016141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106946482,"filename":"image_29012025_00_21_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/29/9fa9a406b1045f403efa597f30ee4ca0.jpg","text":"TemporaryFile(/tmp/multipartBody3417443269763689909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738106946482,"filename":"image_29012025_00_21_37_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332462548","file1":"1332462546","file0":"1332462542","file4":"1332462555","file5":"1332462564","file3":"1332462552"},"map_files_photo_id_array":[{"photo_id":"1332462564","filename":"file5"},{"photo_id":"1332462548","filename":"file2"},{"photo_id":"1332462555","filename":"file4"},{"photo_id":"1332462546","filename":"file1"},{"photo_id":"1332462542","filename":"file0"},{"photo_id":"1332462552","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332462564":["hashtag1","hashtag2"]},{"1332462552":["hashtag1","hashtag2"]},{"1332462546":["hashtag1","hashtag2"]},{"1332462555":["hashtag1","hashtag2"]},{"1332462542":["hashtag1","hashtag2"]},{"1332462548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332462564, 1332462552, 1332462546, 1332462555, 1332462542, 1332462548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.640475273132324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:29:04.661629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/22/image_29012025_00_22_17_10335.jpg', '/home/pi/Desktop/images/29012025/00/22/image_29012025_00_22_27_10357.jpg', '/home/pi/Desktop/images/29012025/00/22/image_29012025_00_22_36_9333.jpg', '/home/pi/Desktop/images/29012025/00/22/image_29012025_00_22_47_10345.jpg', '/home/pi/Desktop/images/29012025/00/22/image_29012025_00_22_57_10522.jpg', '/home/pi/Desktop/images/29012025/00/22/image_29012025_00_23_07_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/22/image_29012025_00_22_17_10335.jpg
/home/pi/Desktop/images/29012025/00/22/image_29012025_00_22_27_10357.jpg
/home/pi/Desktop/images/29012025/00/22/image_29012025_00_22_36_9333.jpg
/home/pi/Desktop/images/29012025/00/22/image_29012025_00_22_47_10345.jpg
/home/pi/Desktop/images/29012025/00/22/image_29012025_00_22_57_10522.jpg
/home/pi/Desktop/images/29012025/00/22/image_29012025_00_23_07_9324.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332462622","1332462627","1332462609","1332462617","1332462611","1332462614"],"photo_ids_order":["1332462609","1332462611","1332462614","1332462617","1332462622","1332462627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/46f340e22c5b5e73d3422af210b860d7.jpg","text":"TemporaryFile(/tmp/multipartBody4830596840124480079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107005684,"filename":"image_29012025_00_22_57_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/29/b43faa699b59a4f614eda6daf80c008e.jpg","text":"TemporaryFile(/tmp/multipartBody1455567166052708094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107005684,"filename":"image_29012025_00_23_07_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/29/fe2c9065e21043679b4f540d50d20c44.jpg","text":"TemporaryFile(/tmp/multipartBody2335478933652324503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107005684,"filename":"image_29012025_00_22_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/29/ce16144a0dcac4642844e70d7ed837d2.jpg","text":"TemporaryFile(/tmp/multipartBody8465636635448462497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107005684,"filename":"image_29012025_00_22_47_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/29/f7a5d971a13cb83d994400430a7c73d1.jpg","text":"TemporaryFile(/tmp/multipartBody2482408172696079692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107005684,"filename":"image_29012025_00_22_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/29/0e1a05939e42be9251ee266c0a77fc3c.jpg","text":"TemporaryFile(/tmp/multipartBody434158432807853086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107005684,"filename":"image_29012025_00_22_36_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332462614","file1":"1332462611","file0":"1332462609","file4":"1332462622","file5":"1332462627","file3":"1332462617"},"map_files_photo_id_array":[{"photo_id":"1332462627","filename":"file5"},{"photo_id":"1332462614","filename":"file2"},{"photo_id":"1332462622","filename":"file4"},{"photo_id":"1332462611","filename":"file1"},{"photo_id":"1332462609","filename":"file0"},{"photo_id":"1332462617","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332462622":["hashtag1","hashtag2"]},{"1332462627":["hashtag1","hashtag2"]},{"1332462609":["hashtag1","hashtag2"]},{"1332462617":["hashtag1","hashtag2"]},{"1332462611":["hashtag1","hashtag2"]},{"1332462614":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332462622, 1332462627, 1332462609, 1332462617, 1332462611, 1332462614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2564640045166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:30:03.273862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/23/image_29012025_00_23_17_10352.jpg', '/home/pi/Desktop/images/29012025/00/23/image_29012025_00_23_27_10355.jpg', '/home/pi/Desktop/images/29012025/00/23/image_29012025_00_23_37_9346.jpg', '/home/pi/Desktop/images/29012025/00/23/image_29012025_00_23_47_10460.jpg', '/home/pi/Desktop/images/29012025/00/23/image_29012025_00_24_07_10365.jpg', '/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_16_9466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/23/image_29012025_00_23_17_10352.jpg
/home/pi/Desktop/images/29012025/00/23/image_29012025_00_23_27_10355.jpg
/home/pi/Desktop/images/29012025/00/23/image_29012025_00_23_37_9346.jpg
/home/pi/Desktop/images/29012025/00/23/image_29012025_00_23_47_10460.jpg
/home/pi/Desktop/images/29012025/00/23/image_29012025_00_24_07_10365.jpg
/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_16_9466.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332462648","1332462764","1332462650","1332462713","1332462646","1332462655"],"photo_ids_order":["1332462646","1332462648","1332462650","1332462655","1332462713","1332462764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5b731083e8ce0d966310ca7d76c52530.jpg","text":"TemporaryFile(/tmp/multipartBody1937367409984697277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107064214,"filename":"image_29012025_00_23_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/29/de3286f5ada2b66e12950072e4b390c6.jpg","text":"TemporaryFile(/tmp/multipartBody8313533985683144839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107064214,"filename":"image_29012025_00_24_16_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/29/b69cd2b31402c2564138616ff4f1cdc5.jpg","text":"TemporaryFile(/tmp/multipartBody3811860393425178670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107064214,"filename":"image_29012025_00_23_37_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/29/14177e80cd5de1d3aa62be6b93741bb1.jpg","text":"TemporaryFile(/tmp/multipartBody8744082828041711777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107064214,"filename":"image_29012025_00_24_07_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/29/a50c57cc119558de8ebe23b6dd8b9eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2632448307856342535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107064214,"filename":"image_29012025_00_23_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/29/22e1fbb0488dbf66d9510eae6e8b547f.jpg","text":"TemporaryFile(/tmp/multipartBody5163484102021364672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107064214,"filename":"image_29012025_00_23_47_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332462650","file1":"1332462648","file0":"1332462646","file4":"1332462713","file5":"1332462764","file3":"1332462655"},"map_files_photo_id_array":[{"photo_id":"1332462764","filename":"file5"},{"photo_id":"1332462650","filename":"file2"},{"photo_id":"1332462713","filename":"file4"},{"photo_id":"1332462648","filename":"file1"},{"photo_id":"1332462646","filename":"file0"},{"photo_id":"1332462655","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332462648":["hashtag1","hashtag2"]},{"1332462764":["hashtag1","hashtag2"]},{"1332462650":["hashtag1","hashtag2"]},{"1332462713":["hashtag1","hashtag2"]},{"1332462646":["hashtag1","hashtag2"]},{"1332462655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332462648, 1332462764, 1332462650, 1332462713, 1332462646, 1332462655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.968592405319214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:31:03.870732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_27_10473.jpg', '/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_36_9469.jpg', '/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_47_10332.jpg', '/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_57_10426.jpg', '/home/pi/Desktop/images/29012025/00/24/image_29012025_00_25_06_9339.jpg', '/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_17_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_27_10473.jpg
/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_36_9469.jpg
/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_47_10332.jpg
/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_57_10426.jpg
/home/pi/Desktop/images/29012025/00/24/image_29012025_00_25_06_9339.jpg
/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_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.670278787612915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:32:03.520918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_27_10473.jpg', '/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_36_9469.jpg', '/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_47_10332.jpg', '/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_57_10426.jpg', '/home/pi/Desktop/images/29012025/00/24/image_29012025_00_25_06_9339.jpg', '/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_17_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_27_10473.jpg
/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_36_9469.jpg
/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_47_10332.jpg
/home/pi/Desktop/images/29012025/00/24/image_29012025_00_24_57_10426.jpg
/home/pi/Desktop/images/29012025/00/24/image_29012025_00_25_06_9339.jpg
/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_17_10344.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332462990","1332462993","1332462966","1332462986","1332462929","1332462931"],"photo_ids_order":["1332462929","1332462931","1332462966","1332462986","1332462990","1332462993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cb968deab22a587f1c9a82692cb7ea6c.jpg","text":"TemporaryFile(/tmp/multipartBody2576355553897062283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107184466,"filename":"image_29012025_00_25_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/29/7a55a37d2db2cf020821814da3b9db3f.jpg","text":"TemporaryFile(/tmp/multipartBody377509516087390801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107184466,"filename":"image_29012025_00_25_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/29/bf1eeb50dd8231607bf54dbd6af09f86.jpg","text":"TemporaryFile(/tmp/multipartBody9201623925563876476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107184466,"filename":"image_29012025_00_24_47_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/29/f729433d3f2634fe33d3afc4e4f8a8ab.jpg","text":"TemporaryFile(/tmp/multipartBody8658741798257089524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107184466,"filename":"image_29012025_00_24_57_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/29/93ea278d739e4f475d7da69984772e72.jpg","text":"TemporaryFile(/tmp/multipartBody6731280886297991750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107184466,"filename":"image_29012025_00_24_27_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/29/6581316871441c0a9e92b1220680be7c.jpg","text":"TemporaryFile(/tmp/multipartBody1677588167471432392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107184466,"filename":"image_29012025_00_24_36_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332462966","file1":"1332462931","file0":"1332462929","file4":"1332462990","file5":"1332462993","file3":"1332462986"},"map_files_photo_id_array":[{"photo_id":"1332462993","filename":"file5"},{"photo_id":"1332462966","filename":"file2"},{"photo_id":"1332462990","filename":"file4"},{"photo_id":"1332462931","filename":"file1"},{"photo_id":"1332462929","filename":"file0"},{"photo_id":"1332462986","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332462990":["hashtag1","hashtag2"]},{"1332462993":["hashtag1","hashtag2"]},{"1332462966":["hashtag1","hashtag2"]},{"1332462986":["hashtag1","hashtag2"]},{"1332462929":["hashtag1","hashtag2"]},{"1332462931":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332462990, 1332462993, 1332462966, 1332462986, 1332462929, 1332462931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.950573682785034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:33:04.036739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_27_10354.jpg', '/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_36_9401.jpg', '/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_47_10398.jpg', '/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_57_10399.jpg', '/home/pi/Desktop/images/29012025/00/25/image_29012025_00_26_07_9339.jpg', '/home/pi/Desktop/images/29012025/00/26/image_29012025_00_26_17_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_27_10354.jpg
/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_36_9401.jpg
/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_47_10398.jpg
/home/pi/Desktop/images/29012025/00/25/image_29012025_00_25_57_10399.jpg
/home/pi/Desktop/images/29012025/00/25/image_29012025_00_26_07_9339.jpg
/home/pi/Desktop/images/29012025/00/26/image_29012025_00_26_17_10348.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332463035","1332463029","1332463013","1332463019","1332463010","1332463039"],"photo_ids_order":["1332463010","1332463013","1332463019","1332463029","1332463035","1332463039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bf2d4afa8c41bda9a15cd9653f59cdda.jpg","text":"TemporaryFile(/tmp/multipartBody2558143029757015953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107245101,"filename":"image_29012025_00_26_07_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/29/c46d89880234af76fff16480363722ce.jpg","text":"TemporaryFile(/tmp/multipartBody3349395800743599743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107245101,"filename":"image_29012025_00_25_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/29/b19e7d9abe2f164099456d128a91adef.jpg","text":"TemporaryFile(/tmp/multipartBody244035488454630657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107245101,"filename":"image_29012025_00_25_36_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/29/17e34ed0c777e7f5327f976551fde45e.jpg","text":"TemporaryFile(/tmp/multipartBody8035661392362106457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107245101,"filename":"image_29012025_00_25_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/29/76b26a6ed24a7654a9ba5af712b360f3.jpg","text":"TemporaryFile(/tmp/multipartBody870313614746298122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107245101,"filename":"image_29012025_00_25_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/29/563ea8c0041b37337993b3ccbb310b2a.jpg","text":"TemporaryFile(/tmp/multipartBody6241372329749769800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107245101,"filename":"image_29012025_00_26_17_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332463019","file1":"1332463013","file0":"1332463010","file4":"1332463035","file5":"1332463039","file3":"1332463029"},"map_files_photo_id_array":[{"photo_id":"1332463039","filename":"file5"},{"photo_id":"1332463019","filename":"file2"},{"photo_id":"1332463035","filename":"file4"},{"photo_id":"1332463013","filename":"file1"},{"photo_id":"1332463010","filename":"file0"},{"photo_id":"1332463029","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332463035":["hashtag1","hashtag2"]},{"1332463029":["hashtag1","hashtag2"]},{"1332463013":["hashtag1","hashtag2"]},{"1332463019":["hashtag1","hashtag2"]},{"1332463010":["hashtag1","hashtag2"]},{"1332463039":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332463035, 1332463029, 1332463013, 1332463019, 1332463010, 1332463039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.573784828186035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:34:03.588012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/26/image_29012025_00_26_26_9342.jpg', '/home/pi/Desktop/images/29012025/00/26/image_29012025_00_26_37_10370.jpg', '/home/pi/Desktop/images/29012025/00/26/image_29012025_00_26_47_10354.jpg', '/home/pi/Desktop/images/29012025/00/26/image_29012025_00_26_56_9439.jpg', '/home/pi/Desktop/images/29012025/00/26/image_29012025_00_27_07_10333.jpg', '/home/pi/Desktop/images/29012025/00/27/image_29012025_00_27_16_9472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/26/image_29012025_00_26_26_9342.jpg
/home/pi/Desktop/images/29012025/00/26/image_29012025_00_26_37_10370.jpg
/home/pi/Desktop/images/29012025/00/26/image_29012025_00_26_47_10354.jpg
/home/pi/Desktop/images/29012025/00/26/image_29012025_00_26_56_9439.jpg
/home/pi/Desktop/images/29012025/00/26/image_29012025_00_27_07_10333.jpg
/home/pi/Desktop/images/29012025/00/27/image_29012025_00_27_16_9472.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332463340","1332463354","1332463333","1332463321","1332463330","1332463303"],"photo_ids_order":["1332463303","1332463321","1332463330","1332463333","1332463340","1332463354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7482bf0a090fd80609d51472d65b3ddf.jpg","text":"TemporaryFile(/tmp/multipartBody3338014022957566046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107304540,"filename":"image_29012025_00_27_07_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/29/f8a433779f58e8dae87a3908ed68e0dc.jpg","text":"TemporaryFile(/tmp/multipartBody5768960575297274881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107304540,"filename":"image_29012025_00_27_16_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/29/7912334d0eb7cc9a6e3a17fd92f5a5ea.jpg","text":"TemporaryFile(/tmp/multipartBody3878344535251978252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107304540,"filename":"image_29012025_00_26_56_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/29/67dba9e63aa1154b012d1c5866634c12.jpg","text":"TemporaryFile(/tmp/multipartBody7876630541308661218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107304540,"filename":"image_29012025_00_26_37_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/29/f3da52da6fbbf466240a719220981fda.jpg","text":"TemporaryFile(/tmp/multipartBody2317690287682252759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107304540,"filename":"image_29012025_00_26_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/29/4cf9ee6062a02f7fffd6483fe83b4991.jpg","text":"TemporaryFile(/tmp/multipartBody7752249607459625909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107304540,"filename":"image_29012025_00_26_26_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332463330","file1":"1332463321","file0":"1332463303","file4":"1332463340","file5":"1332463354","file3":"1332463333"},"map_files_photo_id_array":[{"photo_id":"1332463354","filename":"file5"},{"photo_id":"1332463330","filename":"file2"},{"photo_id":"1332463340","filename":"file4"},{"photo_id":"1332463321","filename":"file1"},{"photo_id":"1332463303","filename":"file0"},{"photo_id":"1332463333","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332463340":["hashtag1","hashtag2"]},{"1332463354":["hashtag1","hashtag2"]},{"1332463333":["hashtag1","hashtag2"]},{"1332463321":["hashtag1","hashtag2"]},{"1332463330":["hashtag1","hashtag2"]},{"1332463303":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332463340, 1332463354, 1332463333, 1332463321, 1332463330, 1332463303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72602367401123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:35:03.967850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/27/image_29012025_00_27_27_10355.jpg', '/home/pi/Desktop/images/29012025/00/27/image_29012025_00_27_37_10368.jpg', '/home/pi/Desktop/images/29012025/00/27/image_29012025_00_27_46_9401.jpg', '/home/pi/Desktop/images/29012025/00/27/image_29012025_00_27_57_10362.jpg', '/home/pi/Desktop/images/29012025/00/27/image_29012025_00_28_06_9537.jpg', '/home/pi/Desktop/images/29012025/00/28/image_29012025_00_28_17_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/27/image_29012025_00_27_27_10355.jpg
/home/pi/Desktop/images/29012025/00/27/image_29012025_00_27_37_10368.jpg
/home/pi/Desktop/images/29012025/00/27/image_29012025_00_27_46_9401.jpg
/home/pi/Desktop/images/29012025/00/27/image_29012025_00_27_57_10362.jpg
/home/pi/Desktop/images/29012025/00/27/image_29012025_00_28_06_9537.jpg
/home/pi/Desktop/images/29012025/00/28/image_29012025_00_28_17_10340.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332463793","1332463796","1332463877","1332463799","1332463802","1332463864"],"photo_ids_order":["1332463793","1332463796","1332463799","1332463802","1332463864","1332463877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9790a022103d7d8cca92d92c8158eaf7.jpg","text":"TemporaryFile(/tmp/multipartBody5201234956271140604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107366643,"filename":"image_29012025_00_27_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/29/edda12439bcca1eedb6f99137ea1562e.jpg","text":"TemporaryFile(/tmp/multipartBody1072799748582556171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107366643,"filename":"image_29012025_00_27_37_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/29/0c90db29d00314d0036bc00bae340ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5007539627036897009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107366643,"filename":"image_29012025_00_28_17_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/29/2e60ee1e4e8323b8f657f581f237a03c.jpg","text":"TemporaryFile(/tmp/multipartBody8814315249417983099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107366643,"filename":"image_29012025_00_27_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/29/8969a1548c358db568299b31ee720ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5168274846706491569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107366643,"filename":"image_29012025_00_27_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/29/6661bfe815e8a3217ee95fffd78b50ca.jpg","text":"TemporaryFile(/tmp/multipartBody2377194684205309650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107366643,"filename":"image_29012025_00_28_06_9537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332463799","file1":"1332463796","file0":"1332463793","file4":"1332463864","file5":"1332463877","file3":"1332463802"},"map_files_photo_id_array":[{"photo_id":"1332463877","filename":"file5"},{"photo_id":"1332463799","filename":"file2"},{"photo_id":"1332463864","filename":"file4"},{"photo_id":"1332463796","filename":"file1"},{"photo_id":"1332463793","filename":"file0"},{"photo_id":"1332463802","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332463793":["hashtag1","hashtag2"]},{"1332463796":["hashtag1","hashtag2"]},{"1332463877":["hashtag1","hashtag2"]},{"1332463799":["hashtag1","hashtag2"]},{"1332463802":["hashtag1","hashtag2"]},{"1332463864":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332463793, 1332463796, 1332463877, 1332463799, 1332463802, 1332463864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54187035560608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:36:03.744869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/28/image_29012025_00_28_27_10403.jpg', '/home/pi/Desktop/images/29012025/00/28/image_29012025_00_28_36_9469.jpg', '/home/pi/Desktop/images/29012025/00/28/image_29012025_00_28_47_10357.jpg', '/home/pi/Desktop/images/29012025/00/28/image_29012025_00_28_57_10405.jpg', '/home/pi/Desktop/images/29012025/00/28/image_29012025_00_29_07_9383.jpg', '/home/pi/Desktop/images/29012025/00/29/image_29012025_00_29_16_9833.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/28/image_29012025_00_28_27_10403.jpg
/home/pi/Desktop/images/29012025/00/28/image_29012025_00_28_36_9469.jpg
/home/pi/Desktop/images/29012025/00/28/image_29012025_00_28_47_10357.jpg
/home/pi/Desktop/images/29012025/00/28/image_29012025_00_28_57_10405.jpg
/home/pi/Desktop/images/29012025/00/28/image_29012025_00_29_07_9383.jpg
/home/pi/Desktop/images/29012025/00/29/image_29012025_00_29_16_9833.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332463898","1332464077","1332464080","1332464062","1332464082","1332463962"],"photo_ids_order":["1332463898","1332463962","1332464062","1332464077","1332464080","1332464082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f2f16e45641fe6eefdef508ec622e812.jpg","text":"TemporaryFile(/tmp/multipartBody6857167141651900571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107424701,"filename":"image_29012025_00_28_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/29/54f8254b1d1d630b9f55b192b3bb4d5d.jpg","text":"TemporaryFile(/tmp/multipartBody7997575212989459089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107424701,"filename":"image_29012025_00_28_57_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/29/b39d08641533798e256c6f793d69c10a.jpg","text":"TemporaryFile(/tmp/multipartBody9118998469750235449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107424701,"filename":"image_29012025_00_29_07_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/29/1e4db8a47797fc6d36abe7e7b10d9159.jpg","text":"TemporaryFile(/tmp/multipartBody5787984312963348775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107424701,"filename":"image_29012025_00_28_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/29/a8b388bddd7bee8513b3f82469a4b4ba.jpg","text":"TemporaryFile(/tmp/multipartBody2427414548902811369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107424701,"filename":"image_29012025_00_29_16_9833.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/57055067e1b5999cb274eadaf4497782.jpg","text":"TemporaryFile(/tmp/multipartBody1318756403558250988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107424701,"filename":"image_29012025_00_28_36_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332464062","file1":"1332463962","file0":"1332463898","file4":"1332464080","file5":"1332464082","file3":"1332464077"},"map_files_photo_id_array":[{"photo_id":"1332464082","filename":"file5"},{"photo_id":"1332464062","filename":"file2"},{"photo_id":"1332464080","filename":"file4"},{"photo_id":"1332463962","filename":"file1"},{"photo_id":"1332463898","filename":"file0"},{"photo_id":"1332464077","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332463898":["hashtag1","hashtag2"]},{"1332464077":["hashtag1","hashtag2"]},{"1332464080":["hashtag1","hashtag2"]},{"1332464062":["hashtag1","hashtag2"]},{"1332464082":["hashtag1","hashtag2"]},{"1332463962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332463898, 1332464077, 1332464080, 1332464062, 1332464082, 1332463962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20777606964111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:37:04.030762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/29/image_29012025_00_29_27_10369.jpg', '/home/pi/Desktop/images/29012025/00/29/image_29012025_00_29_36_9447.jpg', '/home/pi/Desktop/images/29012025/00/29/image_29012025_00_29_47_10342.jpg', '/home/pi/Desktop/images/29012025/00/29/image_29012025_00_29_57_10431.jpg', '/home/pi/Desktop/images/29012025/00/29/image_29012025_00_30_06_9416.jpg', '/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_17_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/29/image_29012025_00_29_27_10369.jpg
/home/pi/Desktop/images/29012025/00/29/image_29012025_00_29_36_9447.jpg
/home/pi/Desktop/images/29012025/00/29/image_29012025_00_29_47_10342.jpg
/home/pi/Desktop/images/29012025/00/29/image_29012025_00_29_57_10431.jpg
/home/pi/Desktop/images/29012025/00/29/image_29012025_00_30_06_9416.jpg
/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_17_10404.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332464106","1332464109","1332464132","1332464120","1332464108","1332464151"],"photo_ids_order":["1332464106","1332464108","1332464109","1332464120","1332464132","1332464151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/29a3a7debf18dc1dd4e794074e3ea8e2.jpg","text":"TemporaryFile(/tmp/multipartBody4333087496776890901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107485103,"filename":"image_29012025_00_29_27_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/29/3a27aade8e42ef133c40de04d308adec.jpg","text":"TemporaryFile(/tmp/multipartBody1017607181613836433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107485103,"filename":"image_29012025_00_29_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/29/c52c8e5b57ea806b7e233b52ab848bd6.jpg","text":"TemporaryFile(/tmp/multipartBody1367073142269691269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107485103,"filename":"image_29012025_00_30_06_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/29/0e57581e55fd5fe7c4126e218c97f506.jpg","text":"TemporaryFile(/tmp/multipartBody3952029841454457142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107485103,"filename":"image_29012025_00_29_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/29/15df9272b42dbdbaf3dbddfe9901969b.jpg","text":"TemporaryFile(/tmp/multipartBody4901055426575907503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107485103,"filename":"image_29012025_00_29_36_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/29/5b049f0efbc7d3fcd744dd2306a25851.jpg","text":"TemporaryFile(/tmp/multipartBody8901719600190066171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107485103,"filename":"image_29012025_00_30_17_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332464109","file1":"1332464108","file0":"1332464106","file4":"1332464132","file5":"1332464151","file3":"1332464120"},"map_files_photo_id_array":[{"photo_id":"1332464151","filename":"file5"},{"photo_id":"1332464109","filename":"file2"},{"photo_id":"1332464132","filename":"file4"},{"photo_id":"1332464108","filename":"file1"},{"photo_id":"1332464106","filename":"file0"},{"photo_id":"1332464120","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332464106":["hashtag1","hashtag2"]},{"1332464109":["hashtag1","hashtag2"]},{"1332464132":["hashtag1","hashtag2"]},{"1332464120":["hashtag1","hashtag2"]},{"1332464108":["hashtag1","hashtag2"]},{"1332464151":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332464106, 1332464109, 1332464132, 1332464120, 1332464108, 1332464151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14858412742615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:38:03.718275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_26_9454.jpg', '/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_37_10359.jpg', '/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_47_10364.jpg', '/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_56_9423.jpg', '/home/pi/Desktop/images/29012025/00/30/image_29012025_00_31_07_10369.jpg', '/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_16_9481.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_26_9454.jpg
/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_37_10359.jpg
/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_47_10364.jpg
/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_56_9423.jpg
/home/pi/Desktop/images/29012025/00/30/image_29012025_00_31_07_10369.jpg
/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_16_9481.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.5916993618011475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:39:04.233097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_26_9454.jpg', '/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_37_10359.jpg', '/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_47_10364.jpg', '/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_56_9423.jpg', '/home/pi/Desktop/images/29012025/00/30/image_29012025_00_31_07_10369.jpg', '/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_16_9481.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_26_9454.jpg
/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_37_10359.jpg
/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_47_10364.jpg
/home/pi/Desktop/images/29012025/00/30/image_29012025_00_30_56_9423.jpg
/home/pi/Desktop/images/29012025/00/30/image_29012025_00_31_07_10369.jpg
/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_16_9481.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332464214","1332464216","1332464212","1332464221","1332464209","1332464218"],"photo_ids_order":["1332464209","1332464212","1332464214","1332464216","1332464218","1332464221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/248d3e33c46693d20db5e42aaf895d91.jpg","text":"TemporaryFile(/tmp/multipartBody4008936163447299755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107605312,"filename":"image_29012025_00_30_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/29/1e22bfd72a1d192a835659e0eec2227d.jpg","text":"TemporaryFile(/tmp/multipartBody2101604116118135518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107605312,"filename":"image_29012025_00_30_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/29/7d28242d3490e1f6cea860411eea3c40.jpg","text":"TemporaryFile(/tmp/multipartBody4084708320520425109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107605312,"filename":"image_29012025_00_30_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/29/49adf859711ea9852024a0c018ef4f01.jpg","text":"TemporaryFile(/tmp/multipartBody4442953974647726026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107605312,"filename":"image_29012025_00_31_16_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fed3d42981b7567e43e13cdc472c90a3.jpg","text":"TemporaryFile(/tmp/multipartBody1870083625830506785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107605312,"filename":"image_29012025_00_30_26_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/29/bd3ab46016bea3f419dd779c187f3dec.jpg","text":"TemporaryFile(/tmp/multipartBody31314382580392820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107605312,"filename":"image_29012025_00_31_07_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332464214","file1":"1332464212","file0":"1332464209","file4":"1332464218","file5":"1332464221","file3":"1332464216"},"map_files_photo_id_array":[{"photo_id":"1332464221","filename":"file5"},{"photo_id":"1332464214","filename":"file2"},{"photo_id":"1332464218","filename":"file4"},{"photo_id":"1332464212","filename":"file1"},{"photo_id":"1332464209","filename":"file0"},{"photo_id":"1332464216","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332464214":["hashtag1","hashtag2"]},{"1332464216":["hashtag1","hashtag2"]},{"1332464212":["hashtag1","hashtag2"]},{"1332464221":["hashtag1","hashtag2"]},{"1332464209":["hashtag1","hashtag2"]},{"1332464218":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332464214, 1332464216, 1332464212, 1332464221, 1332464209, 1332464218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.679341077804565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:40:03.162865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_27_10426.jpg', '/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_37_10448.jpg', '/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_47_9364.jpg', '/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_57_10374.jpg', '/home/pi/Desktop/images/29012025/00/31/image_29012025_00_32_06_9337.jpg', '/home/pi/Desktop/images/29012025/00/32/image_29012025_00_32_17_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_27_10426.jpg
/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_37_10448.jpg
/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_47_9364.jpg
/home/pi/Desktop/images/29012025/00/31/image_29012025_00_31_57_10374.jpg
/home/pi/Desktop/images/29012025/00/31/image_29012025_00_32_06_9337.jpg
/home/pi/Desktop/images/29012025/00/32/image_29012025_00_32_17_10359.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332464273","1332464255","1332464243","1332464245","1332464269","1332464248"],"photo_ids_order":["1332464243","1332464245","1332464248","1332464255","1332464269","1332464273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/05d822872ae60b9523ff2e3b8d27c09c.jpg","text":"TemporaryFile(/tmp/multipartBody4337180498569916532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107664100,"filename":"image_29012025_00_32_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/29/d00718b4312a8d1164b7276a535b94d9.jpg","text":"TemporaryFile(/tmp/multipartBody8119151616273946357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107664100,"filename":"image_29012025_00_31_57_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/29/2a5e3a978d4b7fec370026248097a2c3.jpg","text":"TemporaryFile(/tmp/multipartBody5736665460939834499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107664100,"filename":"image_29012025_00_31_27_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/29/862e8a215b66c86d81e0c3b97a15f014.jpg","text":"TemporaryFile(/tmp/multipartBody6297155680751852441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107664100,"filename":"image_29012025_00_31_37_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/29/3cf72181d83859ca364dff0d9da3db02.jpg","text":"TemporaryFile(/tmp/multipartBody2548259394583682694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107664100,"filename":"image_29012025_00_32_06_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/29/e063ccdf4c0cdcea50f5f335071c4c4a.jpg","text":"TemporaryFile(/tmp/multipartBody8758795765536361461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107664100,"filename":"image_29012025_00_31_47_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332464248","file1":"1332464245","file0":"1332464243","file4":"1332464269","file5":"1332464273","file3":"1332464255"},"map_files_photo_id_array":[{"photo_id":"1332464273","filename":"file5"},{"photo_id":"1332464248","filename":"file2"},{"photo_id":"1332464269","filename":"file4"},{"photo_id":"1332464245","filename":"file1"},{"photo_id":"1332464243","filename":"file0"},{"photo_id":"1332464255","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332464273":["hashtag1","hashtag2"]},{"1332464255":["hashtag1","hashtag2"]},{"1332464243":["hashtag1","hashtag2"]},{"1332464245":["hashtag1","hashtag2"]},{"1332464269":["hashtag1","hashtag2"]},{"1332464248":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332464273, 1332464255, 1332464243, 1332464245, 1332464269, 1332464248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93110680580139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:41:04.192842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/32/image_29012025_00_32_27_10458.jpg', '/home/pi/Desktop/images/29012025/00/32/image_29012025_00_32_36_9417.jpg', '/home/pi/Desktop/images/29012025/00/32/image_29012025_00_32_47_10333.jpg', '/home/pi/Desktop/images/29012025/00/32/image_29012025_00_32_57_10382.jpg', '/home/pi/Desktop/images/29012025/00/32/image_29012025_00_33_07_9349.jpg', '/home/pi/Desktop/images/29012025/00/33/image_29012025_00_33_17_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/32/image_29012025_00_32_27_10458.jpg
/home/pi/Desktop/images/29012025/00/32/image_29012025_00_32_36_9417.jpg
/home/pi/Desktop/images/29012025/00/32/image_29012025_00_32_47_10333.jpg
/home/pi/Desktop/images/29012025/00/32/image_29012025_00_32_57_10382.jpg
/home/pi/Desktop/images/29012025/00/32/image_29012025_00_33_07_9349.jpg
/home/pi/Desktop/images/29012025/00/33/image_29012025_00_33_17_10348.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332464327","1332464315","1332464324","1332464332","1332464320","1332464340"],"photo_ids_order":["1332464315","1332464320","1332464324","1332464327","1332464332","1332464340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/efd702860632c10bb30c24aa18cffd4c.jpg","text":"TemporaryFile(/tmp/multipartBody8438402395094742407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107725421,"filename":"image_29012025_00_32_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/29/40a297a42ac7178cbe07c9f6203d740a.jpg","text":"TemporaryFile(/tmp/multipartBody8823053517920303805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107725421,"filename":"image_29012025_00_32_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/29/4f4ef93a10d2587f899d030d845cd75d.jpg","text":"TemporaryFile(/tmp/multipartBody2298836821714599752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107725421,"filename":"image_29012025_00_32_47_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/29/6631af19975d26556d6299f0b17418d4.jpg","text":"TemporaryFile(/tmp/multipartBody436046443478222601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107725421,"filename":"image_29012025_00_33_07_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/29/d28ba50031216a9498942b1a8c65489f.jpg","text":"TemporaryFile(/tmp/multipartBody1239622543189927846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107725421,"filename":"image_29012025_00_32_36_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/29/0cd899f9bf07cde6ebccbe9b1fd8105e.jpg","text":"TemporaryFile(/tmp/multipartBody3399682938967602709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107725421,"filename":"image_29012025_00_33_17_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332464324","file1":"1332464320","file0":"1332464315","file4":"1332464332","file5":"1332464340","file3":"1332464327"},"map_files_photo_id_array":[{"photo_id":"1332464340","filename":"file5"},{"photo_id":"1332464324","filename":"file2"},{"photo_id":"1332464332","filename":"file4"},{"photo_id":"1332464320","filename":"file1"},{"photo_id":"1332464315","filename":"file0"},{"photo_id":"1332464327","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332464327":["hashtag1","hashtag2"]},{"1332464315":["hashtag1","hashtag2"]},{"1332464324":["hashtag1","hashtag2"]},{"1332464332":["hashtag1","hashtag2"]},{"1332464320":["hashtag1","hashtag2"]},{"1332464340":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332464327, 1332464315, 1332464324, 1332464332, 1332464320, 1332464340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.364320039749146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:42:03.270187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/33/image_29012025_00_33_26_9353.jpg', '/home/pi/Desktop/images/29012025/00/33/image_29012025_00_33_37_10367.jpg', '/home/pi/Desktop/images/29012025/00/33/image_29012025_00_33_47_10353.jpg', '/home/pi/Desktop/images/29012025/00/33/image_29012025_00_33_56_9443.jpg', '/home/pi/Desktop/images/29012025/00/33/image_29012025_00_34_07_10359.jpg', '/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_17_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/33/image_29012025_00_33_26_9353.jpg
/home/pi/Desktop/images/29012025/00/33/image_29012025_00_33_37_10367.jpg
/home/pi/Desktop/images/29012025/00/33/image_29012025_00_33_47_10353.jpg
/home/pi/Desktop/images/29012025/00/33/image_29012025_00_33_56_9443.jpg
/home/pi/Desktop/images/29012025/00/33/image_29012025_00_34_07_10359.jpg
/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_17_10435.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332464690","1332464607","1332464791","1332464692","1332464917","1332464694"],"photo_ids_order":["1332464607","1332464690","1332464692","1332464694","1332464791","1332464917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/58be1fb397b6ce2c334e3489e45a185c.jpg","text":"TemporaryFile(/tmp/multipartBody1532882236420334440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107784214,"filename":"image_29012025_00_33_37_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/29/0ee32b66d92b5a990148a04833f2f4c9.jpg","text":"TemporaryFile(/tmp/multipartBody8800173268433704926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107784214,"filename":"image_29012025_00_33_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/29/21ee3f2eb96cee2127560b9428032a22.jpg","text":"TemporaryFile(/tmp/multipartBody9005875663577784962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107784214,"filename":"image_29012025_00_34_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/29/76158a14b01b4075955e11b08b073656.jpg","text":"TemporaryFile(/tmp/multipartBody7512415950274634168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107784214,"filename":"image_29012025_00_33_47_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/29/a0e0b4c19df02e3521f581f71888deaf.jpg","text":"TemporaryFile(/tmp/multipartBody1626795446013287848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107784214,"filename":"image_29012025_00_34_17_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/29/06df7db4491b97ebbb8ee83765d21fb5.jpg","text":"TemporaryFile(/tmp/multipartBody3651673606769005182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107784214,"filename":"image_29012025_00_33_56_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332464692","file1":"1332464690","file0":"1332464607","file4":"1332464791","file5":"1332464917","file3":"1332464694"},"map_files_photo_id_array":[{"photo_id":"1332464917","filename":"file5"},{"photo_id":"1332464692","filename":"file2"},{"photo_id":"1332464791","filename":"file4"},{"photo_id":"1332464690","filename":"file1"},{"photo_id":"1332464607","filename":"file0"},{"photo_id":"1332464694","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332464690":["hashtag1","hashtag2"]},{"1332464607":["hashtag1","hashtag2"]},{"1332464791":["hashtag1","hashtag2"]},{"1332464692":["hashtag1","hashtag2"]},{"1332464917":["hashtag1","hashtag2"]},{"1332464694":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332464690, 1332464607, 1332464791, 1332464692, 1332464917, 1332464694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63878083229065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:43:03.945660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_37_10391.jpg', '/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_46_9447.jpg', '/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_57_10360.jpg', '/home/pi/Desktop/images/29012025/00/34/image_29012025_00_35_07_10395.jpg', '/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_17_9404.jpg', '/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_27_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_37_10391.jpg
/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_46_9447.jpg
/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_57_10360.jpg
/home/pi/Desktop/images/29012025/00/34/image_29012025_00_35_07_10395.jpg
/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_17_9404.jpg
/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_27_10362.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.6995515823364258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:44:03.869343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_37_10391.jpg', '/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_46_9447.jpg', '/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_57_10360.jpg', '/home/pi/Desktop/images/29012025/00/34/image_29012025_00_35_07_10395.jpg', '/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_17_9404.jpg', '/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_27_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_37_10391.jpg
/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_46_9447.jpg
/home/pi/Desktop/images/29012025/00/34/image_29012025_00_34_57_10360.jpg
/home/pi/Desktop/images/29012025/00/34/image_29012025_00_35_07_10395.jpg
/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_17_9404.jpg
/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_27_10362.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332465122","1332465125","1332465130","1332465133","1332465123","1332465126"],"photo_ids_order":["1332465122","1332465123","1332465125","1332465126","1332465130","1332465133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/59a5ddb56b368651895c0493044a0fc9.jpg","text":"TemporaryFile(/tmp/multipartBody5596949100413658416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107904809,"filename":"image_29012025_00_34_37_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/29/779c715b95cdd4fdd957ef731fbb2d14.jpg","text":"TemporaryFile(/tmp/multipartBody7946932121278405286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107904809,"filename":"image_29012025_00_34_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/29/9f99d03023d5bc749688d3b1416f4f2d.jpg","text":"TemporaryFile(/tmp/multipartBody304478253230039010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107904809,"filename":"image_29012025_00_35_17_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/29/191f5bfedff03125a01af52dd8d9824d.jpg","text":"TemporaryFile(/tmp/multipartBody2439482565723380493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107904809,"filename":"image_29012025_00_35_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/29/52b09204bcb2442295ab97179448de8d.jpg","text":"TemporaryFile(/tmp/multipartBody5509682364649051840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107904809,"filename":"image_29012025_00_34_46_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/29/b796fc39f4ff0de60a0ffcfb68c0770a.jpg","text":"TemporaryFile(/tmp/multipartBody2278093464259878469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107904809,"filename":"image_29012025_00_35_07_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332465125","file1":"1332465123","file0":"1332465122","file4":"1332465130","file5":"1332465133","file3":"1332465126"},"map_files_photo_id_array":[{"photo_id":"1332465133","filename":"file5"},{"photo_id":"1332465125","filename":"file2"},{"photo_id":"1332465130","filename":"file4"},{"photo_id":"1332465123","filename":"file1"},{"photo_id":"1332465122","filename":"file0"},{"photo_id":"1332465126","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332465122":["hashtag1","hashtag2"]},{"1332465125":["hashtag1","hashtag2"]},{"1332465130":["hashtag1","hashtag2"]},{"1332465133":["hashtag1","hashtag2"]},{"1332465123":["hashtag1","hashtag2"]},{"1332465126":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332465122, 1332465125, 1332465130, 1332465133, 1332465123, 1332465126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.058725118637085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:45:04.394325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_36_9359.jpg', '/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_47_10361.jpg', '/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_57_10351.jpg', '/home/pi/Desktop/images/29012025/00/35/image_29012025_00_36_06_9425.jpg', '/home/pi/Desktop/images/29012025/00/36/image_29012025_00_36_17_10320.jpg', '/home/pi/Desktop/images/29012025/00/36/image_29012025_00_36_26_9499.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_36_9359.jpg
/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_47_10361.jpg
/home/pi/Desktop/images/29012025/00/35/image_29012025_00_35_57_10351.jpg
/home/pi/Desktop/images/29012025/00/35/image_29012025_00_36_06_9425.jpg
/home/pi/Desktop/images/29012025/00/36/image_29012025_00_36_17_10320.jpg
/home/pi/Desktop/images/29012025/00/36/image_29012025_00_36_26_9499.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332465161","1332465172","1332465163","1332465166","1332465171","1332465168"],"photo_ids_order":["1332465161","1332465163","1332465166","1332465168","1332465171","1332465172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/892d4ebc23cbff2df948c4aa7b72104b.jpg","text":"TemporaryFile(/tmp/multipartBody4787472482590229325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107965491,"filename":"image_29012025_00_35_36_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/29/8b31b77557eabcc27b4ddd876a68e44e.jpg","text":"TemporaryFile(/tmp/multipartBody4912883547282530549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107965491,"filename":"image_29012025_00_36_26_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f5d2516ef74a03f46356905683e9492c.jpg","text":"TemporaryFile(/tmp/multipartBody8272325343396822221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107965491,"filename":"image_29012025_00_35_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/29/cdc1abd35bbd8eeb90b5bdb546bda7b8.jpg","text":"TemporaryFile(/tmp/multipartBody6149530677339471602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107965491,"filename":"image_29012025_00_35_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/29/79cc81b3bc138e2be52e7e010a3aff6a.jpg","text":"TemporaryFile(/tmp/multipartBody8903932868711705357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107965491,"filename":"image_29012025_00_36_17_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/29/e58d8a418ac50bc3aefff81954371519.jpg","text":"TemporaryFile(/tmp/multipartBody4349913055272827378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738107965491,"filename":"image_29012025_00_36_06_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332465166","file1":"1332465163","file0":"1332465161","file4":"1332465171","file5":"1332465172","file3":"1332465168"},"map_files_photo_id_array":[{"photo_id":"1332465172","filename":"file5"},{"photo_id":"1332465166","filename":"file2"},{"photo_id":"1332465171","filename":"file4"},{"photo_id":"1332465163","filename":"file1"},{"photo_id":"1332465161","filename":"file0"},{"photo_id":"1332465168","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332465161":["hashtag1","hashtag2"]},{"1332465172":["hashtag1","hashtag2"]},{"1332465163":["hashtag1","hashtag2"]},{"1332465166":["hashtag1","hashtag2"]},{"1332465171":["hashtag1","hashtag2"]},{"1332465168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332465161, 1332465172, 1332465163, 1332465166, 1332465171, 1332465168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12482523918152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:46:02.968247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/36/image_29012025_00_36_37_10441.jpg', '/home/pi/Desktop/images/29012025/00/36/image_29012025_00_36_47_10461.jpg', '/home/pi/Desktop/images/29012025/00/36/image_29012025_00_36_57_9344.jpg', '/home/pi/Desktop/images/29012025/00/36/image_29012025_00_37_07_10458.jpg', '/home/pi/Desktop/images/29012025/00/37/image_29012025_00_37_16_9351.jpg', '/home/pi/Desktop/images/29012025/00/37/image_29012025_00_37_27_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/36/image_29012025_00_36_37_10441.jpg
/home/pi/Desktop/images/29012025/00/36/image_29012025_00_36_47_10461.jpg
/home/pi/Desktop/images/29012025/00/36/image_29012025_00_36_57_9344.jpg
/home/pi/Desktop/images/29012025/00/36/image_29012025_00_37_07_10458.jpg
/home/pi/Desktop/images/29012025/00/37/image_29012025_00_37_16_9351.jpg
/home/pi/Desktop/images/29012025/00/37/image_29012025_00_37_27_10361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332465548","1332465557","1332465530","1332465527","1332465535","1332465463"],"photo_ids_order":["1332465463","1332465527","1332465530","1332465535","1332465548","1332465557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/46d5088e73aa11c7d3591b0402413ec6.jpg","text":"TemporaryFile(/tmp/multipartBody4347295666166181783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108023911,"filename":"image_29012025_00_37_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/29/22975b61a7111b2599f0099d65a69345.jpg","text":"TemporaryFile(/tmp/multipartBody1980876479783651947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108023911,"filename":"image_29012025_00_37_27_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/29/42484bec91a486c5689878d063e0fa37.jpg","text":"TemporaryFile(/tmp/multipartBody1219907149599363197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108023911,"filename":"image_29012025_00_36_57_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/29/348f726bc4204497d2cba804d44e8d98.jpg","text":"TemporaryFile(/tmp/multipartBody1510471025650554071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108023911,"filename":"image_29012025_00_36_47_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/29/9f5270801ee40afccc6b3a54fd59112f.jpg","text":"TemporaryFile(/tmp/multipartBody8523400380414730995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108023911,"filename":"image_29012025_00_37_07_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/29/38b457b69d5492f57f2ffa36bd2d0ada.jpg","text":"TemporaryFile(/tmp/multipartBody630917690485228618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108023911,"filename":"image_29012025_00_36_37_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332465530","file1":"1332465527","file0":"1332465463","file4":"1332465548","file5":"1332465557","file3":"1332465535"},"map_files_photo_id_array":[{"photo_id":"1332465557","filename":"file5"},{"photo_id":"1332465530","filename":"file2"},{"photo_id":"1332465548","filename":"file4"},{"photo_id":"1332465527","filename":"file1"},{"photo_id":"1332465463","filename":"file0"},{"photo_id":"1332465535","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332465548":["hashtag1","hashtag2"]},{"1332465557":["hashtag1","hashtag2"]},{"1332465530":["hashtag1","hashtag2"]},{"1332465527":["hashtag1","hashtag2"]},{"1332465535":["hashtag1","hashtag2"]},{"1332465463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332465548, 1332465557, 1332465530, 1332465527, 1332465535, 1332465463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.679988622665405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:47:04.227712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/37/image_29012025_00_37_37_10360.jpg', '/home/pi/Desktop/images/29012025/00/37/image_29012025_00_37_46_9333.jpg', '/home/pi/Desktop/images/29012025/00/37/image_29012025_00_37_57_10441.jpg', '/home/pi/Desktop/images/29012025/00/37/image_29012025_00_38_07_10384.jpg', '/home/pi/Desktop/images/29012025/00/38/image_29012025_00_38_17_9325.jpg', '/home/pi/Desktop/images/29012025/00/38/image_29012025_00_38_27_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/37/image_29012025_00_37_37_10360.jpg
/home/pi/Desktop/images/29012025/00/37/image_29012025_00_37_46_9333.jpg
/home/pi/Desktop/images/29012025/00/37/image_29012025_00_37_57_10441.jpg
/home/pi/Desktop/images/29012025/00/37/image_29012025_00_38_07_10384.jpg
/home/pi/Desktop/images/29012025/00/38/image_29012025_00_38_17_9325.jpg
/home/pi/Desktop/images/29012025/00/38/image_29012025_00_38_27_10407.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332465617","1332465611","1332465601","1332465607","1332465599","1332465603"],"photo_ids_order":["1332465599","1332465601","1332465603","1332465607","1332465611","1332465617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9bfcd5eba711a7329a1089e556256a8f.jpg","text":"TemporaryFile(/tmp/multipartBody2002602361991473251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108086746,"filename":"image_29012025_00_38_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/29/a479d7dad3ea34700baf854e6c10a251.jpg","text":"TemporaryFile(/tmp/multipartBody7471219527846242277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108086746,"filename":"image_29012025_00_38_17_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/29/5c09ab9f031eb4c4bea8450c93086e0b.jpg","text":"TemporaryFile(/tmp/multipartBody1629023908439616308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108086746,"filename":"image_29012025_00_37_46_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/29/79b6836e363fa726d70fd0bb41ebf4c8.jpg","text":"TemporaryFile(/tmp/multipartBody3503126461508728664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108086746,"filename":"image_29012025_00_38_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/29/7909e12154d46eac8c8d055fd33bf4d0.jpg","text":"TemporaryFile(/tmp/multipartBody704438310125076223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108086746,"filename":"image_29012025_00_37_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/29/299b6bc6172892e82cb1a82ed6a5c585.jpg","text":"TemporaryFile(/tmp/multipartBody6849645193773792599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108086746,"filename":"image_29012025_00_37_57_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332465603","file1":"1332465601","file0":"1332465599","file4":"1332465611","file5":"1332465617","file3":"1332465607"},"map_files_photo_id_array":[{"photo_id":"1332465617","filename":"file5"},{"photo_id":"1332465603","filename":"file2"},{"photo_id":"1332465611","filename":"file4"},{"photo_id":"1332465601","filename":"file1"},{"photo_id":"1332465599","filename":"file0"},{"photo_id":"1332465607","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332465617":["hashtag1","hashtag2"]},{"1332465611":["hashtag1","hashtag2"]},{"1332465601":["hashtag1","hashtag2"]},{"1332465607":["hashtag1","hashtag2"]},{"1332465599":["hashtag1","hashtag2"]},{"1332465603":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332465617, 1332465611, 1332465601, 1332465607, 1332465599, 1332465603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.107046604156494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:48:03.353604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/38/image_29012025_00_38_36_9432.jpg', '/home/pi/Desktop/images/29012025/00/38/image_29012025_00_38_47_10353.jpg', '/home/pi/Desktop/images/29012025/00/38/image_29012025_00_38_57_10498.jpg', '/home/pi/Desktop/images/29012025/00/38/image_29012025_00_39_07_9344.jpg', '/home/pi/Desktop/images/29012025/00/39/image_29012025_00_39_17_10377.jpg', '/home/pi/Desktop/images/29012025/00/39/image_29012025_00_39_26_9450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/38/image_29012025_00_38_36_9432.jpg
/home/pi/Desktop/images/29012025/00/38/image_29012025_00_38_47_10353.jpg
/home/pi/Desktop/images/29012025/00/38/image_29012025_00_38_57_10498.jpg
/home/pi/Desktop/images/29012025/00/38/image_29012025_00_39_07_9344.jpg
/home/pi/Desktop/images/29012025/00/39/image_29012025_00_39_17_10377.jpg
/home/pi/Desktop/images/29012025/00/39/image_29012025_00_39_26_9450.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332465656","1332465644","1332465640","1332465636","1332465651","1332465633"],"photo_ids_order":["1332465633","1332465636","1332465640","1332465644","1332465651","1332465656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/386b9fe34270346db484c497e533a073.jpg","text":"TemporaryFile(/tmp/multipartBody7884109961704499363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108144314,"filename":"image_29012025_00_39_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/29/a30c434d9da1ced4383ebe741d1a96eb.jpg","text":"TemporaryFile(/tmp/multipartBody1500449969952404871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108144314,"filename":"image_29012025_00_39_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/29/a9aa88406c2842bbadbe34df68efa690.jpg","text":"TemporaryFile(/tmp/multipartBody7238441789037190262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108144314,"filename":"image_29012025_00_38_57_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/104e4757903585036673423f337c9b84.jpg","text":"TemporaryFile(/tmp/multipartBody5372507672169835226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108144314,"filename":"image_29012025_00_38_47_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/29/563d2ff4dcbdb266272de60ee2bb4ad2.jpg","text":"TemporaryFile(/tmp/multipartBody894203689249489969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108144314,"filename":"image_29012025_00_39_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/29/0c7fa256f3197f34bfdd0edbda904b50.jpg","text":"TemporaryFile(/tmp/multipartBody585812121728869920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108144314,"filename":"image_29012025_00_38_36_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332465640","file1":"1332465636","file0":"1332465633","file4":"1332465651","file5":"1332465656","file3":"1332465644"},"map_files_photo_id_array":[{"photo_id":"1332465656","filename":"file5"},{"photo_id":"1332465640","filename":"file2"},{"photo_id":"1332465651","filename":"file4"},{"photo_id":"1332465636","filename":"file1"},{"photo_id":"1332465633","filename":"file0"},{"photo_id":"1332465644","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332465656":["hashtag1","hashtag2"]},{"1332465644":["hashtag1","hashtag2"]},{"1332465640":["hashtag1","hashtag2"]},{"1332465636":["hashtag1","hashtag2"]},{"1332465651":["hashtag1","hashtag2"]},{"1332465633":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332465656, 1332465644, 1332465640, 1332465636, 1332465651, 1332465633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.700355768203735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:49:03.887247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/39/image_29012025_00_39_37_10410.jpg', '/home/pi/Desktop/images/29012025/00/39/image_29012025_00_39_46_9447.jpg', '/home/pi/Desktop/images/29012025/00/39/image_29012025_00_39_57_10448.jpg', '/home/pi/Desktop/images/29012025/00/39/image_29012025_00_40_07_10484.jpg', '/home/pi/Desktop/images/29012025/00/40/image_29012025_00_40_17_9342.jpg', '/home/pi/Desktop/images/29012025/00/40/image_29012025_00_40_27_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/39/image_29012025_00_39_37_10410.jpg
/home/pi/Desktop/images/29012025/00/39/image_29012025_00_39_46_9447.jpg
/home/pi/Desktop/images/29012025/00/39/image_29012025_00_39_57_10448.jpg
/home/pi/Desktop/images/29012025/00/39/image_29012025_00_40_07_10484.jpg
/home/pi/Desktop/images/29012025/00/40/image_29012025_00_40_17_9342.jpg
/home/pi/Desktop/images/29012025/00/40/image_29012025_00_40_27_10356.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332465674","1332465679","1332465690","1332465693","1332465687","1332465683"],"photo_ids_order":["1332465674","1332465679","1332465683","1332465687","1332465690","1332465693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3cdb6d5623d115cd051255c40d4648ef.jpg","text":"TemporaryFile(/tmp/multipartBody8791453606874268412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108204957,"filename":"image_29012025_00_39_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/29/9e4b5b4ba31bbae07bc5d27b6a3c5532.jpg","text":"TemporaryFile(/tmp/multipartBody1682691235495219030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108204957,"filename":"image_29012025_00_39_46_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/29/1e354244c043e9eb7b90484c8e799ecb.jpg","text":"TemporaryFile(/tmp/multipartBody3870237121524057257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108204957,"filename":"image_29012025_00_40_17_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/29/91967a5457ba337b1442978d57495e10.jpg","text":"TemporaryFile(/tmp/multipartBody2602306468665208929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108204957,"filename":"image_29012025_00_40_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/29/d984f146c1f0a49d3d860776dc6b0fb0.jpg","text":"TemporaryFile(/tmp/multipartBody462027289989318188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108204957,"filename":"image_29012025_00_40_07_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b8558c85f289d7ba0c7d7824f974511a.jpg","text":"TemporaryFile(/tmp/multipartBody4730077847358883385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108204957,"filename":"image_29012025_00_39_57_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332465683","file1":"1332465679","file0":"1332465674","file4":"1332465690","file5":"1332465693","file3":"1332465687"},"map_files_photo_id_array":[{"photo_id":"1332465693","filename":"file5"},{"photo_id":"1332465683","filename":"file2"},{"photo_id":"1332465690","filename":"file4"},{"photo_id":"1332465679","filename":"file1"},{"photo_id":"1332465674","filename":"file0"},{"photo_id":"1332465687","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332465674":["hashtag1","hashtag2"]},{"1332465679":["hashtag1","hashtag2"]},{"1332465690":["hashtag1","hashtag2"]},{"1332465693":["hashtag1","hashtag2"]},{"1332465687":["hashtag1","hashtag2"]},{"1332465683":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332465674, 1332465679, 1332465690, 1332465693, 1332465687, 1332465683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.59000897407532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:50:03.520170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/40/image_29012025_00_40_36_9429.jpg', '/home/pi/Desktop/images/29012025/00/40/image_29012025_00_40_47_10360.jpg', '/home/pi/Desktop/images/29012025/00/41/image_29012025_00_41_17_10355.jpg', '/home/pi/Desktop/images/29012025/00/41/image_29012025_00_41_26_9443.jpg', '/home/pi/Desktop/images/29012025/00/41/image_29012025_00_41_37_10356.jpg', '/home/pi/Desktop/images/29012025/00/41/image_29012025_00_41_47_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/40/image_29012025_00_40_36_9429.jpg
/home/pi/Desktop/images/29012025/00/40/image_29012025_00_40_47_10360.jpg
/home/pi/Desktop/images/29012025/00/41/image_29012025_00_41_17_10355.jpg
/home/pi/Desktop/images/29012025/00/41/image_29012025_00_41_26_9443.jpg
/home/pi/Desktop/images/29012025/00/41/image_29012025_00_41_37_10356.jpg
/home/pi/Desktop/images/29012025/00/41/image_29012025_00_41_47_10385.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332465710","1332465713","1332465707","1332465748","1332465718","1332465732"],"photo_ids_order":["1332465707","1332465710","1332465713","1332465718","1332465732","1332465748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e89b8f3c88eb012674369ae27c7d12ed.jpg","text":"TemporaryFile(/tmp/multipartBody3368169956384906901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108264467,"filename":"image_29012025_00_40_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/29/922cbab28e83e18583772bf9848b0e07.jpg","text":"TemporaryFile(/tmp/multipartBody7588366107127754204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108264467,"filename":"image_29012025_00_41_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/29/7ad30ea0cd6b3909bf564fd764b56dd1.jpg","text":"TemporaryFile(/tmp/multipartBody4563951245164774591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108264467,"filename":"image_29012025_00_40_36_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/29/e54698a52bc47f34657d637ee951eb1f.jpg","text":"TemporaryFile(/tmp/multipartBody4834689880570770606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108264467,"filename":"image_29012025_00_41_47_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/29/85f946090a59b43f6503519319ba008a.jpg","text":"TemporaryFile(/tmp/multipartBody9105930813168880247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108264467,"filename":"image_29012025_00_41_26_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/29/ece25ad1156228b426ad65572d887e3c.jpg","text":"TemporaryFile(/tmp/multipartBody8651832742636144765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108264467,"filename":"image_29012025_00_41_37_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332465713","file1":"1332465710","file0":"1332465707","file4":"1332465732","file5":"1332465748","file3":"1332465718"},"map_files_photo_id_array":[{"photo_id":"1332465748","filename":"file5"},{"photo_id":"1332465713","filename":"file2"},{"photo_id":"1332465732","filename":"file4"},{"photo_id":"1332465710","filename":"file1"},{"photo_id":"1332465707","filename":"file0"},{"photo_id":"1332465718","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332465710":["hashtag1","hashtag2"]},{"1332465713":["hashtag1","hashtag2"]},{"1332465707":["hashtag1","hashtag2"]},{"1332465748":["hashtag1","hashtag2"]},{"1332465718":["hashtag1","hashtag2"]},{"1332465732":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332465710, 1332465713, 1332465707, 1332465748, 1332465718, 1332465732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60335826873779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:51:04.087116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/41/image_29012025_00_41_56_9397.jpg', '/home/pi/Desktop/images/29012025/00/41/image_29012025_00_42_07_10393.jpg', '/home/pi/Desktop/images/29012025/00/42/image_29012025_00_42_16_9443.jpg', '/home/pi/Desktop/images/29012025/00/42/image_29012025_00_42_27_10369.jpg', '/home/pi/Desktop/images/29012025/00/42/image_29012025_00_42_37_10371.jpg', '/home/pi/Desktop/images/29012025/00/42/image_29012025_00_43_07_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/41/image_29012025_00_41_56_9397.jpg
/home/pi/Desktop/images/29012025/00/41/image_29012025_00_42_07_10393.jpg
/home/pi/Desktop/images/29012025/00/42/image_29012025_00_42_16_9443.jpg
/home/pi/Desktop/images/29012025/00/42/image_29012025_00_42_27_10369.jpg
/home/pi/Desktop/images/29012025/00/42/image_29012025_00_42_37_10371.jpg
/home/pi/Desktop/images/29012025/00/42/image_29012025_00_43_07_10356.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332465839","1332465821","1332465809","1332465826","1332465834","1332465831"],"photo_ids_order":["1332465809","1332465821","1332465826","1332465831","1332465834","1332465839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/218217c830bd6739449d1e7ff099bf53.jpg","text":"TemporaryFile(/tmp/multipartBody4308583431677775623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108325169,"filename":"image_29012025_00_43_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/29/5e47fea1d0ae074d36109fe040b72b81.jpg","text":"TemporaryFile(/tmp/multipartBody3463185501938632922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108325169,"filename":"image_29012025_00_42_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/29/520417a6de0ca686a5f6049f3f161352.jpg","text":"TemporaryFile(/tmp/multipartBody2444417879705932608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108325169,"filename":"image_29012025_00_41_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/29/cbcd791a08512a50c4ff5385751f742b.jpg","text":"TemporaryFile(/tmp/multipartBody595108589284944755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108325169,"filename":"image_29012025_00_42_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/29/229e96c9ababd5050aed5b61f2d98a85.jpg","text":"TemporaryFile(/tmp/multipartBody5328064131974175220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108325169,"filename":"image_29012025_00_42_37_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/29/e145bdf636ed69a9195735d21c74408a.jpg","text":"TemporaryFile(/tmp/multipartBody8435411803610044537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108325169,"filename":"image_29012025_00_42_27_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332465826","file1":"1332465821","file0":"1332465809","file4":"1332465834","file5":"1332465839","file3":"1332465831"},"map_files_photo_id_array":[{"photo_id":"1332465839","filename":"file5"},{"photo_id":"1332465826","filename":"file2"},{"photo_id":"1332465834","filename":"file4"},{"photo_id":"1332465821","filename":"file1"},{"photo_id":"1332465809","filename":"file0"},{"photo_id":"1332465831","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332465839":["hashtag1","hashtag2"]},{"1332465821":["hashtag1","hashtag2"]},{"1332465809":["hashtag1","hashtag2"]},{"1332465826":["hashtag1","hashtag2"]},{"1332465834":["hashtag1","hashtag2"]},{"1332465831":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332465839, 1332465821, 1332465809, 1332465826, 1332465834, 1332465831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.8401460647583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:52:02.812182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/43/image_29012025_00_43_17_9435.jpg', '/home/pi/Desktop/images/29012025/00/43/image_29012025_00_43_27_10358.jpg', '/home/pi/Desktop/images/29012025/00/43/image_29012025_00_43_36_9365.jpg', '/home/pi/Desktop/images/29012025/00/43/image_29012025_00_43_47_10352.jpg', '/home/pi/Desktop/images/29012025/00/43/image_29012025_00_43_57_10361.jpg', '/home/pi/Desktop/images/29012025/00/43/image_29012025_00_44_06_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/43/image_29012025_00_43_17_9435.jpg
/home/pi/Desktop/images/29012025/00/43/image_29012025_00_43_27_10358.jpg
/home/pi/Desktop/images/29012025/00/43/image_29012025_00_43_36_9365.jpg
/home/pi/Desktop/images/29012025/00/43/image_29012025_00_43_47_10352.jpg
/home/pi/Desktop/images/29012025/00/43/image_29012025_00_43_57_10361.jpg
/home/pi/Desktop/images/29012025/00/43/image_29012025_00_44_06_9439.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332465860","1332465902","1332465855","1332465875","1332465878","1332465857"],"photo_ids_order":["1332465855","1332465857","1332465860","1332465875","1332465878","1332465902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9e317bb29240b7a0aabd255c1fe1283b.jpg","text":"TemporaryFile(/tmp/multipartBody8216612803553791669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108385317,"filename":"image_29012025_00_43_36_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/29/248fa4a62f2fe20810fcec422c6e17ea.jpg","text":"TemporaryFile(/tmp/multipartBody6833640321550994306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108385317,"filename":"image_29012025_00_44_06_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/29/04912d8af3df8957bd337e08ad840540.jpg","text":"TemporaryFile(/tmp/multipartBody1285201822168318317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108385317,"filename":"image_29012025_00_43_17_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/29/9396c81da19bb7b27ad4bc35cc737272.jpg","text":"TemporaryFile(/tmp/multipartBody4535635186081523616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108385317,"filename":"image_29012025_00_43_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/29/0736a469b2370fbc509864f427dfe873.jpg","text":"TemporaryFile(/tmp/multipartBody5786362280013534854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108385317,"filename":"image_29012025_00_43_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/29/e9ad74b09ba5b40b579eb86bd8f384ee.jpg","text":"TemporaryFile(/tmp/multipartBody8990559998220611570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108385317,"filename":"image_29012025_00_43_27_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332465860","file1":"1332465857","file0":"1332465855","file4":"1332465878","file5":"1332465902","file3":"1332465875"},"map_files_photo_id_array":[{"photo_id":"1332465902","filename":"file5"},{"photo_id":"1332465860","filename":"file2"},{"photo_id":"1332465878","filename":"file4"},{"photo_id":"1332465857","filename":"file1"},{"photo_id":"1332465855","filename":"file0"},{"photo_id":"1332465875","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332465860":["hashtag1","hashtag2"]},{"1332465902":["hashtag1","hashtag2"]},{"1332465855":["hashtag1","hashtag2"]},{"1332465875":["hashtag1","hashtag2"]},{"1332465878":["hashtag1","hashtag2"]},{"1332465857":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332465860, 1332465902, 1332465855, 1332465875, 1332465878, 1332465857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.944483280181885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:53:04.039008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/44/image_29012025_00_44_17_10348.jpg', '/home/pi/Desktop/images/29012025/00/44/image_29012025_00_44_37_10466.jpg', '/home/pi/Desktop/images/29012025/00/44/image_29012025_00_44_46_9456.jpg', '/home/pi/Desktop/images/29012025/00/44/image_29012025_00_44_57_10391.jpg', '/home/pi/Desktop/images/29012025/00/44/image_29012025_00_45_07_10392.jpg', '/home/pi/Desktop/images/29012025/00/45/image_29012025_00_45_16_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/44/image_29012025_00_44_17_10348.jpg
/home/pi/Desktop/images/29012025/00/44/image_29012025_00_44_37_10466.jpg
/home/pi/Desktop/images/29012025/00/44/image_29012025_00_44_46_9456.jpg
/home/pi/Desktop/images/29012025/00/44/image_29012025_00_44_57_10391.jpg
/home/pi/Desktop/images/29012025/00/44/image_29012025_00_45_07_10392.jpg
/home/pi/Desktop/images/29012025/00/45/image_29012025_00_45_16_9357.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332465932","1332465935","1332465940","1332465946","1332465928","1332465930"],"photo_ids_order":["1332465928","1332465930","1332465932","1332465935","1332465940","1332465946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1d7b9a4ea9bc0ba9782fbd0c5ebad55d.jpg","text":"TemporaryFile(/tmp/multipartBody5719724911892416244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108445103,"filename":"image_29012025_00_44_46_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/29/b602db3f8ba78e34fb48e2f1c6de757c.jpg","text":"TemporaryFile(/tmp/multipartBody3043243085313010233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108445103,"filename":"image_29012025_00_44_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/29/7acd610f8850c3ace8386c916c3e5d87.jpg","text":"TemporaryFile(/tmp/multipartBody8504058003926992691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108445103,"filename":"image_29012025_00_45_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/29/69e5d2fdc7ac1bbeef9a44fae21cedc0.jpg","text":"TemporaryFile(/tmp/multipartBody1639347385089108814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108445103,"filename":"image_29012025_00_45_16_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/29/ae1dba9fcc275d7b30373d0a2b301ed2.jpg","text":"TemporaryFile(/tmp/multipartBody3197749362612957778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108445103,"filename":"image_29012025_00_44_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/29/4a76184af3b17eef9e63da2356734d87.jpg","text":"TemporaryFile(/tmp/multipartBody7988860779575256981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108445103,"filename":"image_29012025_00_44_37_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332465932","file1":"1332465930","file0":"1332465928","file4":"1332465940","file5":"1332465946","file3":"1332465935"},"map_files_photo_id_array":[{"photo_id":"1332465946","filename":"file5"},{"photo_id":"1332465932","filename":"file2"},{"photo_id":"1332465940","filename":"file4"},{"photo_id":"1332465930","filename":"file1"},{"photo_id":"1332465928","filename":"file0"},{"photo_id":"1332465935","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332465932":["hashtag1","hashtag2"]},{"1332465935":["hashtag1","hashtag2"]},{"1332465940":["hashtag1","hashtag2"]},{"1332465946":["hashtag1","hashtag2"]},{"1332465928":["hashtag1","hashtag2"]},{"1332465930":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332465932, 1332465935, 1332465940, 1332465946, 1332465928, 1332465930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20273017883301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:54:03.333899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/45/image_29012025_00_45_27_10381.jpg', '/home/pi/Desktop/images/29012025/00/45/image_29012025_00_45_37_10446.jpg', '/home/pi/Desktop/images/29012025/00/45/image_29012025_00_45_47_9338.jpg', '/home/pi/Desktop/images/29012025/00/45/image_29012025_00_45_57_10363.jpg', '/home/pi/Desktop/images/29012025/00/45/image_29012025_00_46_06_9339.jpg', '/home/pi/Desktop/images/29012025/00/46/image_29012025_00_46_17_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/45/image_29012025_00_45_27_10381.jpg
/home/pi/Desktop/images/29012025/00/45/image_29012025_00_45_37_10446.jpg
/home/pi/Desktop/images/29012025/00/45/image_29012025_00_45_47_9338.jpg
/home/pi/Desktop/images/29012025/00/45/image_29012025_00_45_57_10363.jpg
/home/pi/Desktop/images/29012025/00/45/image_29012025_00_46_06_9339.jpg
/home/pi/Desktop/images/29012025/00/46/image_29012025_00_46_17_10346.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332466054","1332466051","1332466050","1332466101","1332466026","1332466046"],"photo_ids_order":["1332466026","1332466046","1332466050","1332466051","1332466054","1332466101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/abd59b7c9e56320d1b516c06f8d16754.jpg","text":"TemporaryFile(/tmp/multipartBody5735495522936561421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108504291,"filename":"image_29012025_00_46_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/29/652653db3d2f3213bd20380b980b0400.jpg","text":"TemporaryFile(/tmp/multipartBody7331016127970192121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108504291,"filename":"image_29012025_00_45_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/29/7229788f2f130f08f41dd4b2d84aeb24.jpg","text":"TemporaryFile(/tmp/multipartBody155885136343941326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108504291,"filename":"image_29012025_00_45_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/29/2a9cc3f82c2c54d32fd80e97708cdf87.jpg","text":"TemporaryFile(/tmp/multipartBody7297602630123810920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108504291,"filename":"image_29012025_00_46_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/29/743a6863012558879b2a89a160c84270.jpg","text":"TemporaryFile(/tmp/multipartBody2688164651126763949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108504291,"filename":"image_29012025_00_45_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/29/2e2ee74b841fa57ba2d348643a449e90.jpg","text":"TemporaryFile(/tmp/multipartBody1176947431679749656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108504291,"filename":"image_29012025_00_45_37_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332466050","file1":"1332466046","file0":"1332466026","file4":"1332466054","file5":"1332466101","file3":"1332466051"},"map_files_photo_id_array":[{"photo_id":"1332466101","filename":"file5"},{"photo_id":"1332466050","filename":"file2"},{"photo_id":"1332466054","filename":"file4"},{"photo_id":"1332466046","filename":"file1"},{"photo_id":"1332466026","filename":"file0"},{"photo_id":"1332466051","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332466054":["hashtag1","hashtag2"]},{"1332466051":["hashtag1","hashtag2"]},{"1332466050":["hashtag1","hashtag2"]},{"1332466101":["hashtag1","hashtag2"]},{"1332466026":["hashtag1","hashtag2"]},{"1332466046":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332466054, 1332466051, 1332466050, 1332466101, 1332466026, 1332466046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.108320236206055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:55:03.581144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/46/image_29012025_00_46_27_10363.jpg', '/home/pi/Desktop/images/29012025/00/46/image_29012025_00_46_36_9469.jpg', '/home/pi/Desktop/images/29012025/00/46/image_29012025_00_46_47_10379.jpg', '/home/pi/Desktop/images/29012025/00/46/image_29012025_00_46_56_9515.jpg', '/home/pi/Desktop/images/29012025/00/46/image_29012025_00_47_07_10341.jpg', '/home/pi/Desktop/images/29012025/00/47/image_29012025_00_47_17_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/46/image_29012025_00_46_27_10363.jpg
/home/pi/Desktop/images/29012025/00/46/image_29012025_00_46_36_9469.jpg
/home/pi/Desktop/images/29012025/00/46/image_29012025_00_46_47_10379.jpg
/home/pi/Desktop/images/29012025/00/46/image_29012025_00_46_56_9515.jpg
/home/pi/Desktop/images/29012025/00/46/image_29012025_00_47_07_10341.jpg
/home/pi/Desktop/images/29012025/00/47/image_29012025_00_47_17_10351.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332466129","1332466123","1332466126","1332466134","1332466122","1332466124"],"photo_ids_order":["1332466122","1332466123","1332466124","1332466126","1332466129","1332466134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9fb5e8a22f2a0fee3693e1a179fccc0d.jpg","text":"TemporaryFile(/tmp/multipartBody972288070943616524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108564675,"filename":"image_29012025_00_47_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/29/3771f7f2af8734e4402b65c003f9fae1.jpg","text":"TemporaryFile(/tmp/multipartBody8934422863461494910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108564675,"filename":"image_29012025_00_46_36_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/29/68e4949e828899c9c1397212d26b437f.jpg","text":"TemporaryFile(/tmp/multipartBody5575189921401175030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108564675,"filename":"image_29012025_00_46_56_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/29/47d922575882f595c13b26400c631452.jpg","text":"TemporaryFile(/tmp/multipartBody8840095715349121871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108564675,"filename":"image_29012025_00_47_17_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/29/7a530a0cde43149c1068359d1811f080.jpg","text":"TemporaryFile(/tmp/multipartBody4098088314213564592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108564675,"filename":"image_29012025_00_46_27_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/29/b197ec6b59163481feb1155fa4f766c6.jpg","text":"TemporaryFile(/tmp/multipartBody3683184539455836166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108564675,"filename":"image_29012025_00_46_47_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332466124","file1":"1332466123","file0":"1332466122","file4":"1332466129","file5":"1332466134","file3":"1332466126"},"map_files_photo_id_array":[{"photo_id":"1332466134","filename":"file5"},{"photo_id":"1332466124","filename":"file2"},{"photo_id":"1332466129","filename":"file4"},{"photo_id":"1332466123","filename":"file1"},{"photo_id":"1332466122","filename":"file0"},{"photo_id":"1332466126","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332466129":["hashtag1","hashtag2"]},{"1332466123":["hashtag1","hashtag2"]},{"1332466126":["hashtag1","hashtag2"]},{"1332466134":["hashtag1","hashtag2"]},{"1332466122":["hashtag1","hashtag2"]},{"1332466124":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332466129, 1332466123, 1332466126, 1332466134, 1332466122, 1332466124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43166184425354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:56:03.392661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/47/image_29012025_00_47_26_9378.jpg', '/home/pi/Desktop/images/29012025/00/47/image_29012025_00_47_37_10428.jpg', '/home/pi/Desktop/images/29012025/00/47/image_29012025_00_47_46_9447.jpg', '/home/pi/Desktop/images/29012025/00/47/image_29012025_00_47_57_10359.jpg', '/home/pi/Desktop/images/29012025/00/47/image_29012025_00_48_07_10357.jpg', '/home/pi/Desktop/images/29012025/00/48/image_29012025_00_48_16_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/47/image_29012025_00_47_26_9378.jpg
/home/pi/Desktop/images/29012025/00/47/image_29012025_00_47_37_10428.jpg
/home/pi/Desktop/images/29012025/00/47/image_29012025_00_47_46_9447.jpg
/home/pi/Desktop/images/29012025/00/47/image_29012025_00_47_57_10359.jpg
/home/pi/Desktop/images/29012025/00/47/image_29012025_00_48_07_10357.jpg
/home/pi/Desktop/images/29012025/00/48/image_29012025_00_48_16_9335.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332466183","1332466186","1332466204","1332466179","1332466164","1332466221"],"photo_ids_order":["1332466164","1332466179","1332466183","1332466186","1332466204","1332466221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7daa9f378a02ae9868430d60d54afcb0.jpg","text":"TemporaryFile(/tmp/multipartBody7263034545720206429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108624345,"filename":"image_29012025_00_47_46_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/29/faf442c31db868028336e92156ede747.jpg","text":"TemporaryFile(/tmp/multipartBody2707668867315102361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108624345,"filename":"image_29012025_00_47_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/29/9c410327d54b35b209af5667c4e3fbab.jpg","text":"TemporaryFile(/tmp/multipartBody2546400848295650487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108624345,"filename":"image_29012025_00_48_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/29/5884afdb031a5aecdd1410b8d723552e.jpg","text":"TemporaryFile(/tmp/multipartBody5244616224343543165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108624345,"filename":"image_29012025_00_47_37_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/29/cd52fb599b111988677de6ea4ee4a8eb.jpg","text":"TemporaryFile(/tmp/multipartBody6182903226142285533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108624345,"filename":"image_29012025_00_47_26_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/29/0264a2f18c1a4706fdccc791162310a5.jpg","text":"TemporaryFile(/tmp/multipartBody362145742145348250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108624345,"filename":"image_29012025_00_48_16_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332466183","file1":"1332466179","file0":"1332466164","file4":"1332466204","file5":"1332466221","file3":"1332466186"},"map_files_photo_id_array":[{"photo_id":"1332466221","filename":"file5"},{"photo_id":"1332466183","filename":"file2"},{"photo_id":"1332466204","filename":"file4"},{"photo_id":"1332466179","filename":"file1"},{"photo_id":"1332466164","filename":"file0"},{"photo_id":"1332466186","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332466183":["hashtag1","hashtag2"]},{"1332466186":["hashtag1","hashtag2"]},{"1332466204":["hashtag1","hashtag2"]},{"1332466179":["hashtag1","hashtag2"]},{"1332466164":["hashtag1","hashtag2"]},{"1332466221":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332466183, 1332466186, 1332466204, 1332466179, 1332466164, 1332466221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63670253753662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:57:03.910787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/48/image_29012025_00_48_27_10349.jpg', '/home/pi/Desktop/images/29012025/00/48/image_29012025_00_48_37_10384.jpg', '/home/pi/Desktop/images/29012025/00/48/image_29012025_00_48_46_9364.jpg', '/home/pi/Desktop/images/29012025/00/48/image_29012025_00_48_57_10443.jpg', '/home/pi/Desktop/images/29012025/00/48/image_29012025_00_49_06_9357.jpg', '/home/pi/Desktop/images/29012025/00/49/image_29012025_00_49_17_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/48/image_29012025_00_48_27_10349.jpg
/home/pi/Desktop/images/29012025/00/48/image_29012025_00_48_37_10384.jpg
/home/pi/Desktop/images/29012025/00/48/image_29012025_00_48_46_9364.jpg
/home/pi/Desktop/images/29012025/00/48/image_29012025_00_48_57_10443.jpg
/home/pi/Desktop/images/29012025/00/48/image_29012025_00_49_06_9357.jpg
/home/pi/Desktop/images/29012025/00/49/image_29012025_00_49_17_10373.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332466304","1332466300","1332466324","1332466329","1332466320","1332466302"],"photo_ids_order":["1332466300","1332466302","1332466304","1332466320","1332466324","1332466329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6dea5d0e368839d70540e83b1b92adfa.jpg","text":"TemporaryFile(/tmp/multipartBody4840026222245007689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108684954,"filename":"image_29012025_00_48_46_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/29/0323e1456fd5ba84b1126ede6d067206.jpg","text":"TemporaryFile(/tmp/multipartBody6594358018436382451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108684954,"filename":"image_29012025_00_48_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/29/fa37b36876d1c61ab7e9b77fcf5f34e5.jpg","text":"TemporaryFile(/tmp/multipartBody1715066138640706151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108684954,"filename":"image_29012025_00_49_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/29/0172606821c32d5f21d61b8724f7d3fe.jpg","text":"TemporaryFile(/tmp/multipartBody5081338580518739307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108684954,"filename":"image_29012025_00_49_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/29/d9a8a2d3395360f7160a823ab014eca7.jpg","text":"TemporaryFile(/tmp/multipartBody977847761044865371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108684954,"filename":"image_29012025_00_48_57_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/29/4a86bfdfaf59af9730d592b1e05c106b.jpg","text":"TemporaryFile(/tmp/multipartBody7340632482214606769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108684954,"filename":"image_29012025_00_48_37_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332466304","file1":"1332466302","file0":"1332466300","file4":"1332466324","file5":"1332466329","file3":"1332466320"},"map_files_photo_id_array":[{"photo_id":"1332466329","filename":"file5"},{"photo_id":"1332466304","filename":"file2"},{"photo_id":"1332466324","filename":"file4"},{"photo_id":"1332466302","filename":"file1"},{"photo_id":"1332466300","filename":"file0"},{"photo_id":"1332466320","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332466304":["hashtag1","hashtag2"]},{"1332466300":["hashtag1","hashtag2"]},{"1332466324":["hashtag1","hashtag2"]},{"1332466329":["hashtag1","hashtag2"]},{"1332466320":["hashtag1","hashtag2"]},{"1332466302":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332466304, 1332466300, 1332466324, 1332466329, 1332466320, 1332466302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70694971084595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 00:59:03.478111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/49/image_29012025_00_49_27_10431.jpg', '/home/pi/Desktop/images/29012025/00/49/image_29012025_00_49_36_9435.jpg', '/home/pi/Desktop/images/29012025/00/49/image_29012025_00_49_47_10441.jpg', '/home/pi/Desktop/images/29012025/00/49/image_29012025_00_49_56_9365.jpg', '/home/pi/Desktop/images/29012025/00/49/image_29012025_00_50_07_10339.jpg', '/home/pi/Desktop/images/29012025/00/50/image_29012025_00_50_17_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/49/image_29012025_00_49_27_10431.jpg
/home/pi/Desktop/images/29012025/00/49/image_29012025_00_49_36_9435.jpg
/home/pi/Desktop/images/29012025/00/49/image_29012025_00_49_47_10441.jpg
/home/pi/Desktop/images/29012025/00/49/image_29012025_00_49_56_9365.jpg
/home/pi/Desktop/images/29012025/00/49/image_29012025_00_50_07_10339.jpg
/home/pi/Desktop/images/29012025/00/50/image_29012025_00_50_17_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":["1332466477","1332466465","1332466458","1332466527","1332466493","1332466421"],"photo_ids_order":["1332466421","1332466458","1332466465","1332466477","1332466493","1332466527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/155fc102d6cdce096c96eb3918c398fc.jpg","text":"TemporaryFile(/tmp/multipartBody620750719998868956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108804489,"filename":"image_29012025_00_49_56_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/29/b8be8cde46f35c5a81ef32de3bedf713.jpg","text":"TemporaryFile(/tmp/multipartBody7927805885255474947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108804489,"filename":"image_29012025_00_49_47_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/29/0cbca4436d3259f22e02da94a8acac50.jpg","text":"TemporaryFile(/tmp/multipartBody472641910278755807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108804489,"filename":"image_29012025_00_49_36_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/29/e093aca18d1475b6b5fe2d06656885e0.jpg","text":"TemporaryFile(/tmp/multipartBody4181896378922405524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108804489,"filename":"image_29012025_00_50_17_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/29/604e21d0406e7490630d095ce6ebe355.jpg","text":"TemporaryFile(/tmp/multipartBody2831173052221193956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108804489,"filename":"image_29012025_00_50_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/29/730282d9dba85324b325856de654d8bd.jpg","text":"TemporaryFile(/tmp/multipartBody1548594669063525695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108804489,"filename":"image_29012025_00_49_27_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332466465","file1":"1332466458","file0":"1332466421","file4":"1332466493","file5":"1332466527","file3":"1332466477"},"map_files_photo_id_array":[{"photo_id":"1332466527","filename":"file5"},{"photo_id":"1332466465","filename":"file2"},{"photo_id":"1332466493","filename":"file4"},{"photo_id":"1332466458","filename":"file1"},{"photo_id":"1332466421","filename":"file0"},{"photo_id":"1332466477","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332466477":["hashtag1","hashtag2"]},{"1332466465":["hashtag1","hashtag2"]},{"1332466458":["hashtag1","hashtag2"]},{"1332466527":["hashtag1","hashtag2"]},{"1332466493":["hashtag1","hashtag2"]},{"1332466421":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332466477, 1332466465, 1332466458, 1332466527, 1332466493, 1332466421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89972472190857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 00:59:52.421079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/40/image_23012025_23_40_36_10347.jpg', '/home/pi/Desktop/images/23012025/23/40/image_23012025_23_40_46_9343.jpg', '/home/pi/Desktop/images/23012025/23/40/image_23012025_23_40_56_10361.jpg', '/home/pi/Desktop/images/23012025/23/40/image_23012025_23_41_07_10460.jpg', '/home/pi/Desktop/images/23012025/23/41/image_23012025_23_41_16_9535.jpg', '/home/pi/Desktop/images/23012025/23/41/image_23012025_23_41_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/23/40/image_23012025_23_40_36_10347.jpg
/home/pi/Desktop/images/23012025/23/40/image_23012025_23_40_46_9343.jpg
/home/pi/Desktop/images/23012025/23/40/image_23012025_23_40_56_10361.jpg
/home/pi/Desktop/images/23012025/23/40/image_23012025_23_41_07_10460.jpg
/home/pi/Desktop/images/23012025/23/41/image_23012025_23_41_16_9535.jpg
/home/pi/Desktop/images/23012025/23/41/image_23012025_23_41_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":["1332467398","1332466879","1332466884","1332467013","1332466790","1332467281"],"photo_ids_order":["1332466790","1332466879","1332466884","1332467013","1332467281","1332467398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cc996fba9fc6683cf331b1d5aa27ab04.jpg","text":"TemporaryFile(/tmp/multipartBody5514951291410715354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108854455,"filename":"image_23012025_23_41_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/29/7ff9666e5f2dfab93109a4c516c42304.jpg","text":"TemporaryFile(/tmp/multipartBody2817215806676179995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108854455,"filename":"image_23012025_23_40_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/29/7b6d6b6752b112803c72b8479ac266fb.jpg","text":"TemporaryFile(/tmp/multipartBody2458339677512014402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108854455,"filename":"image_23012025_23_40_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/29/fbff2dd5dbf9d7332cc475fde3817a06.jpg","text":"TemporaryFile(/tmp/multipartBody7154657834033512524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108854455,"filename":"image_23012025_23_41_07_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/29/0caf8114e113baaacd6c2751b3986d2a.jpg","text":"TemporaryFile(/tmp/multipartBody3513907446148963512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108854455,"filename":"image_23012025_23_40_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/29/976c31ec3ff55352a0fa2ca52c548e0d.jpg","text":"TemporaryFile(/tmp/multipartBody2097919145287017287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108854455,"filename":"image_23012025_23_41_16_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332466884","file1":"1332466879","file0":"1332466790","file4":"1332467281","file5":"1332467398","file3":"1332467013"},"map_files_photo_id_array":[{"photo_id":"1332467398","filename":"file5"},{"photo_id":"1332466884","filename":"file2"},{"photo_id":"1332467281","filename":"file4"},{"photo_id":"1332466879","filename":"file1"},{"photo_id":"1332466790","filename":"file0"},{"photo_id":"1332467013","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332467398":["hashtag1","hashtag2"]},{"1332466879":["hashtag1","hashtag2"]},{"1332466884":["hashtag1","hashtag2"]},{"1332467013":["hashtag1","hashtag2"]},{"1332466790":["hashtag1","hashtag2"]},{"1332467281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332467398, 1332466879, 1332466884, 1332467013, 1332466790, 1332467281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.841468334198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 01:00:42.672338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/50/image_29012025_00_50_26_9354.jpg', '/home/pi/Desktop/images/29012025/00/50/image_29012025_00_50_37_10352.jpg', '/home/pi/Desktop/images/29012025/00/50/image_29012025_00_50_47_10439.jpg', '/home/pi/Desktop/images/29012025/00/50/image_29012025_00_50_57_9370.jpg', '/home/pi/Desktop/images/29012025/00/50/image_29012025_00_51_07_10338.jpg', '/home/pi/Desktop/images/29012025/00/51/image_29012025_00_51_16_9453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/50/image_29012025_00_50_26_9354.jpg
/home/pi/Desktop/images/29012025/00/50/image_29012025_00_50_37_10352.jpg
/home/pi/Desktop/images/29012025/00/50/image_29012025_00_50_47_10439.jpg
/home/pi/Desktop/images/29012025/00/50/image_29012025_00_50_57_9370.jpg
/home/pi/Desktop/images/29012025/00/50/image_29012025_00_51_07_10338.jpg
/home/pi/Desktop/images/29012025/00/51/image_29012025_00_51_16_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332467512","1332467496","1332467515","1332467509","1332467502","1332467507"],"photo_ids_order":["1332467496","1332467502","1332467507","1332467509","1332467512","1332467515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0019482bf5193b71ced667cebc945c4e.jpg","text":"TemporaryFile(/tmp/multipartBody342150400692591337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108903583,"filename":"image_29012025_00_51_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/29/9bd9c9c252253530002c5a0607979653.jpg","text":"TemporaryFile(/tmp/multipartBody451919759616268594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108903583,"filename":"image_29012025_00_50_26_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/29/b257852df175c27aeb0f5ceb9394d9b2.jpg","text":"TemporaryFile(/tmp/multipartBody3714783975863926795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108903583,"filename":"image_29012025_00_51_16_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/29/3349917c3044905d853bb2045fc90239.jpg","text":"TemporaryFile(/tmp/multipartBody4033948955951209934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108903583,"filename":"image_29012025_00_50_57_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/29/4402a0c753f7446d6085232415719daf.jpg","text":"TemporaryFile(/tmp/multipartBody1823187636870990531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108903583,"filename":"image_29012025_00_50_37_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/29/7ff303fd8537a88a8bfae82d0f6e0d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6088223542163060578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108903583,"filename":"image_29012025_00_50_47_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332467507","file1":"1332467502","file0":"1332467496","file4":"1332467512","file5":"1332467515","file3":"1332467509"},"map_files_photo_id_array":[{"photo_id":"1332467515","filename":"file5"},{"photo_id":"1332467507","filename":"file2"},{"photo_id":"1332467512","filename":"file4"},{"photo_id":"1332467502","filename":"file1"},{"photo_id":"1332467496","filename":"file0"},{"photo_id":"1332467509","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332467512":["hashtag1","hashtag2"]},{"1332467496":["hashtag1","hashtag2"]},{"1332467515":["hashtag1","hashtag2"]},{"1332467509":["hashtag1","hashtag2"]},{"1332467502":["hashtag1","hashtag2"]},{"1332467507":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332467512, 1332467496, 1332467515, 1332467509, 1332467502, 1332467507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57833671569824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:01:32.948954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/51/image_29012025_00_51_47_9439.jpg', '/home/pi/Desktop/images/29012025/00/51/image_29012025_00_51_57_10497.jpg', '/home/pi/Desktop/images/29012025/00/51/image_29012025_00_52_06_9334.jpg', '/home/pi/Desktop/images/29012025/00/52/image_29012025_00_52_17_10413.jpg', '/home/pi/Desktop/images/29012025/00/52/image_29012025_00_52_26_9555.jpg', '/home/pi/Desktop/images/29012025/00/52/image_29012025_00_52_37_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/51/image_29012025_00_51_47_9439.jpg
/home/pi/Desktop/images/29012025/00/51/image_29012025_00_51_57_10497.jpg
/home/pi/Desktop/images/29012025/00/51/image_29012025_00_52_06_9334.jpg
/home/pi/Desktop/images/29012025/00/52/image_29012025_00_52_17_10413.jpg
/home/pi/Desktop/images/29012025/00/52/image_29012025_00_52_26_9555.jpg
/home/pi/Desktop/images/29012025/00/52/image_29012025_00_52_37_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":["1332467854","1332467842","1332467806","1332467859","1332467849","1332467831"],"photo_ids_order":["1332467806","1332467831","1332467842","1332467849","1332467854","1332467859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0bd5ee089a98e19ac661deafc83a5687.jpg","text":"TemporaryFile(/tmp/multipartBody1297598882391819020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108953856,"filename":"image_29012025_00_52_26_9555.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c94c497b87f126e28a6c6a42090164c6.jpg","text":"TemporaryFile(/tmp/multipartBody1416794166038762029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108953856,"filename":"image_29012025_00_52_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/29/b9c91fbdea59c5420c8df075634b3e99.jpg","text":"TemporaryFile(/tmp/multipartBody1401361702997810643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108953856,"filename":"image_29012025_00_51_47_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/29/2e73d0d04fef86ecc32318407ea4dbc0.jpg","text":"TemporaryFile(/tmp/multipartBody2656425852021385546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108953856,"filename":"image_29012025_00_52_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/29/f0708a97305e461461c68d0d2635068e.jpg","text":"TemporaryFile(/tmp/multipartBody3464385216472176196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108953856,"filename":"image_29012025_00_52_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/29/432c2bd411841e35ba9e6cd284d5f847.jpg","text":"TemporaryFile(/tmp/multipartBody1725154598977337622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738108953856,"filename":"image_29012025_00_51_57_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332467842","file1":"1332467831","file0":"1332467806","file4":"1332467854","file5":"1332467859","file3":"1332467849"},"map_files_photo_id_array":[{"photo_id":"1332467859","filename":"file5"},{"photo_id":"1332467842","filename":"file2"},{"photo_id":"1332467854","filename":"file4"},{"photo_id":"1332467831","filename":"file1"},{"photo_id":"1332467806","filename":"file0"},{"photo_id":"1332467849","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332467854":["hashtag1","hashtag2"]},{"1332467842":["hashtag1","hashtag2"]},{"1332467806":["hashtag1","hashtag2"]},{"1332467859":["hashtag1","hashtag2"]},{"1332467849":["hashtag1","hashtag2"]},{"1332467831":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332467854, 1332467842, 1332467806, 1332467859, 1332467849, 1332467831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.82500505447388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:02:33.185168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/52/image_29012025_00_52_46_9402.jpg', '/home/pi/Desktop/images/29012025/00/52/image_29012025_00_52_57_10460.jpg', '/home/pi/Desktop/images/29012025/00/52/image_29012025_00_53_06_9781.jpg', '/home/pi/Desktop/images/29012025/00/53/image_29012025_00_53_17_10362.jpg', '/home/pi/Desktop/images/29012025/00/53/image_29012025_00_53_26_9395.jpg', '/home/pi/Desktop/images/29012025/00/53/image_29012025_00_53_37_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/52/image_29012025_00_52_46_9402.jpg
/home/pi/Desktop/images/29012025/00/52/image_29012025_00_52_57_10460.jpg
/home/pi/Desktop/images/29012025/00/52/image_29012025_00_53_06_9781.jpg
/home/pi/Desktop/images/29012025/00/53/image_29012025_00_53_17_10362.jpg
/home/pi/Desktop/images/29012025/00/53/image_29012025_00_53_26_9395.jpg
/home/pi/Desktop/images/29012025/00/53/image_29012025_00_53_37_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":["1332467935","1332467880","1332467931","1332467907","1332467903","1332467893"],"photo_ids_order":["1332467880","1332467893","1332467903","1332467907","1332467931","1332467935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/49a023e8248e908f5499618d7dffc445.jpg","text":"TemporaryFile(/tmp/multipartBody3208579719740676120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109014099,"filename":"image_29012025_00_53_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/29/d3b600f758f91a36d0e6a047b6d2339a.jpg","text":"TemporaryFile(/tmp/multipartBody5071142715107593024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109014099,"filename":"image_29012025_00_52_46_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/29/5b472c6e83037128c433e6963028a231.jpg","text":"TemporaryFile(/tmp/multipartBody910354016026142650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109014099,"filename":"image_29012025_00_53_26_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/29/6a8fb8ef5e71d1e5973b33eb80523a3f.jpg","text":"TemporaryFile(/tmp/multipartBody594437708705805836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109014099,"filename":"image_29012025_00_53_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/29/9639a99179af0fbac0cb2e9b8dbd4558.jpg","text":"TemporaryFile(/tmp/multipartBody6594474827025333293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109014099,"filename":"image_29012025_00_53_06_9781.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f8e8590b1af1376619cc03be5b35a747.jpg","text":"TemporaryFile(/tmp/multipartBody2510593713855003796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109014099,"filename":"image_29012025_00_52_57_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332467903","file1":"1332467893","file0":"1332467880","file4":"1332467931","file5":"1332467935","file3":"1332467907"},"map_files_photo_id_array":[{"photo_id":"1332467935","filename":"file5"},{"photo_id":"1332467903","filename":"file2"},{"photo_id":"1332467931","filename":"file4"},{"photo_id":"1332467893","filename":"file1"},{"photo_id":"1332467880","filename":"file0"},{"photo_id":"1332467907","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332467935":["hashtag1","hashtag2"]},{"1332467880":["hashtag1","hashtag2"]},{"1332467931":["hashtag1","hashtag2"]},{"1332467907":["hashtag1","hashtag2"]},{"1332467903":["hashtag1","hashtag2"]},{"1332467893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332467935, 1332467880, 1332467931, 1332467907, 1332467903, 1332467893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.566553592681885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:03:32.373386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/53/image_29012025_00_53_47_10378.jpg', '/home/pi/Desktop/images/29012025/00/53/image_29012025_00_53_56_9461.jpg', '/home/pi/Desktop/images/29012025/00/53/image_29012025_00_54_07_10342.jpg', '/home/pi/Desktop/images/29012025/00/54/image_29012025_00_54_16_9480.jpg', '/home/pi/Desktop/images/29012025/00/54/image_29012025_00_54_27_10352.jpg', '/home/pi/Desktop/images/29012025/00/54/image_29012025_00_54_37_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/53/image_29012025_00_53_47_10378.jpg
/home/pi/Desktop/images/29012025/00/53/image_29012025_00_53_56_9461.jpg
/home/pi/Desktop/images/29012025/00/53/image_29012025_00_54_07_10342.jpg
/home/pi/Desktop/images/29012025/00/54/image_29012025_00_54_16_9480.jpg
/home/pi/Desktop/images/29012025/00/54/image_29012025_00_54_27_10352.jpg
/home/pi/Desktop/images/29012025/00/54/image_29012025_00_54_37_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":["1332467971","1332467965","1332467959","1332467968","1332467954","1332467962"],"photo_ids_order":["1332467954","1332467959","1332467962","1332467965","1332467968","1332467971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8a86c20eb55003c70b6892524bca076c.jpg","text":"TemporaryFile(/tmp/multipartBody1114832351619722902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109073287,"filename":"image_29012025_00_54_37_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/29/13fe4dba4e1d7274b628b020d7c5a363.jpg","text":"TemporaryFile(/tmp/multipartBody2533922579976052070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109073287,"filename":"image_29012025_00_54_16_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/29/12331344f63760a5c6df4ebfede4fa76.jpg","text":"TemporaryFile(/tmp/multipartBody6963052095855093605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109073287,"filename":"image_29012025_00_53_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/29/2d3111bec762e6715b6de60638617f78.jpg","text":"TemporaryFile(/tmp/multipartBody7470586522110676116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109073287,"filename":"image_29012025_00_54_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/29/9235074a475da2063a4bffc84a94369f.jpg","text":"TemporaryFile(/tmp/multipartBody2202139557854493990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109073287,"filename":"image_29012025_00_53_47_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/29/0ac9e978e95a37846cbef892478a8708.jpg","text":"TemporaryFile(/tmp/multipartBody7631268215937211958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109073287,"filename":"image_29012025_00_54_07_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332467962","file1":"1332467959","file0":"1332467954","file4":"1332467968","file5":"1332467971","file3":"1332467965"},"map_files_photo_id_array":[{"photo_id":"1332467971","filename":"file5"},{"photo_id":"1332467962","filename":"file2"},{"photo_id":"1332467968","filename":"file4"},{"photo_id":"1332467959","filename":"file1"},{"photo_id":"1332467954","filename":"file0"},{"photo_id":"1332467965","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332467971":["hashtag1","hashtag2"]},{"1332467965":["hashtag1","hashtag2"]},{"1332467959":["hashtag1","hashtag2"]},{"1332467968":["hashtag1","hashtag2"]},{"1332467954":["hashtag1","hashtag2"]},{"1332467962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332467971, 1332467965, 1332467959, 1332467968, 1332467954, 1332467962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62097764015198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:04:32.580468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/54/image_29012025_00_54_46_9360.jpg', '/home/pi/Desktop/images/29012025/00/54/image_29012025_00_54_57_10354.jpg', '/home/pi/Desktop/images/29012025/00/55/image_29012025_00_55_16_9404.jpg', '/home/pi/Desktop/images/29012025/00/55/image_29012025_00_55_27_10371.jpg', '/home/pi/Desktop/images/29012025/00/55/image_29012025_00_55_36_9504.jpg', '/home/pi/Desktop/images/29012025/00/55/image_29012025_00_55_47_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/54/image_29012025_00_54_46_9360.jpg
/home/pi/Desktop/images/29012025/00/54/image_29012025_00_54_57_10354.jpg
/home/pi/Desktop/images/29012025/00/55/image_29012025_00_55_16_9404.jpg
/home/pi/Desktop/images/29012025/00/55/image_29012025_00_55_27_10371.jpg
/home/pi/Desktop/images/29012025/00/55/image_29012025_00_55_36_9504.jpg
/home/pi/Desktop/images/29012025/00/55/image_29012025_00_55_47_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":["1332468013","1332468132","1332468261","1332468441","1332468188","1332468038"],"photo_ids_order":["1332468013","1332468038","1332468132","1332468188","1332468261","1332468441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e0a3788e07f4486fdf4132cf35a1cc43.jpg","text":"TemporaryFile(/tmp/multipartBody6405128448090945087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109133494,"filename":"image_29012025_00_54_46_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/29/918065a9ca0721cfabdbc1bce3f8ab14.jpg","text":"TemporaryFile(/tmp/multipartBody4029257100427094888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109133494,"filename":"image_29012025_00_55_16_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/29/7bb76b6d8af84f1ad249226f08eab395.jpg","text":"TemporaryFile(/tmp/multipartBody8321705737142955112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109133494,"filename":"image_29012025_00_55_36_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/efd450ecca77bef045b76911ca506078.jpg","text":"TemporaryFile(/tmp/multipartBody8285279493564483485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109133494,"filename":"image_29012025_00_55_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/29/59ca11f5ccf552945fa41318548dfefa.jpg","text":"TemporaryFile(/tmp/multipartBody4815780377748352416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109133494,"filename":"image_29012025_00_55_27_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/29/8a0a0a4702d50bf4e8065286db66613d.jpg","text":"TemporaryFile(/tmp/multipartBody9055521638972704209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109133494,"filename":"image_29012025_00_54_57_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332468132","file1":"1332468038","file0":"1332468013","file4":"1332468261","file5":"1332468441","file3":"1332468188"},"map_files_photo_id_array":[{"photo_id":"1332468441","filename":"file5"},{"photo_id":"1332468132","filename":"file2"},{"photo_id":"1332468261","filename":"file4"},{"photo_id":"1332468038","filename":"file1"},{"photo_id":"1332468013","filename":"file0"},{"photo_id":"1332468188","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332468013":["hashtag1","hashtag2"]},{"1332468132":["hashtag1","hashtag2"]},{"1332468261":["hashtag1","hashtag2"]},{"1332468441":["hashtag1","hashtag2"]},{"1332468188":["hashtag1","hashtag2"]},{"1332468038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332468013, 1332468132, 1332468261, 1332468441, 1332468188, 1332468038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.24318051338196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:05:32.960018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/55/image_29012025_00_55_57_10505.jpg', '/home/pi/Desktop/images/29012025/00/56/image_29012025_00_56_27_10384.jpg', '/home/pi/Desktop/images/29012025/00/56/image_29012025_00_56_37_9374.jpg', '/home/pi/Desktop/images/29012025/00/56/image_29012025_00_56_47_10331.jpg', '/home/pi/Desktop/images/29012025/00/56/image_29012025_00_56_56_9352.jpg', '/home/pi/Desktop/images/29012025/00/56/image_29012025_00_57_07_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/55/image_29012025_00_55_57_10505.jpg
/home/pi/Desktop/images/29012025/00/56/image_29012025_00_56_27_10384.jpg
/home/pi/Desktop/images/29012025/00/56/image_29012025_00_56_37_9374.jpg
/home/pi/Desktop/images/29012025/00/56/image_29012025_00_56_47_10331.jpg
/home/pi/Desktop/images/29012025/00/56/image_29012025_00_56_56_9352.jpg
/home/pi/Desktop/images/29012025/00/56/image_29012025_00_57_07_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":["1332469101","1332469090","1332469084","1332469105","1332469095","1332469108"],"photo_ids_order":["1332469084","1332469090","1332469095","1332469101","1332469105","1332469108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/020c4b20565411e585784d733280c2bb.jpg","text":"TemporaryFile(/tmp/multipartBody513375625528411049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109193865,"filename":"image_29012025_00_56_47_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/29/93b7f7726eb914c5b959ef3c0beba78d.jpg","text":"TemporaryFile(/tmp/multipartBody3396624534793397194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109193865,"filename":"image_29012025_00_56_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/29/4929c82fa19d6a017a72411184578328.jpg","text":"TemporaryFile(/tmp/multipartBody8883850211925527225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109193865,"filename":"image_29012025_00_55_57_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ec47fc079557abe854e6bbe1f794a516.jpg","text":"TemporaryFile(/tmp/multipartBody1601771409463527092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109193865,"filename":"image_29012025_00_56_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/29/7ea95eb2acbb658f504026f58bdca591.jpg","text":"TemporaryFile(/tmp/multipartBody9074669331569750829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109193865,"filename":"image_29012025_00_56_37_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/29/f9c13034689a0fa81919d94f40ffbc58.jpg","text":"TemporaryFile(/tmp/multipartBody5686454440159874468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109193865,"filename":"image_29012025_00_57_07_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332469095","file1":"1332469090","file0":"1332469084","file4":"1332469105","file5":"1332469108","file3":"1332469101"},"map_files_photo_id_array":[{"photo_id":"1332469108","filename":"file5"},{"photo_id":"1332469095","filename":"file2"},{"photo_id":"1332469105","filename":"file4"},{"photo_id":"1332469090","filename":"file1"},{"photo_id":"1332469084","filename":"file0"},{"photo_id":"1332469101","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332469101":["hashtag1","hashtag2"]},{"1332469090":["hashtag1","hashtag2"]},{"1332469084":["hashtag1","hashtag2"]},{"1332469105":["hashtag1","hashtag2"]},{"1332469095":["hashtag1","hashtag2"]},{"1332469108":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332469101, 1332469090, 1332469084, 1332469105, 1332469095, 1332469108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54226875305176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:06:33.219981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/57/image_29012025_00_57_17_10371.jpg', '/home/pi/Desktop/images/29012025/00/57/image_29012025_00_57_26_9426.jpg', '/home/pi/Desktop/images/29012025/00/57/image_29012025_00_57_37_10357.jpg', '/home/pi/Desktop/images/29012025/00/57/image_29012025_00_57_47_10442.jpg', '/home/pi/Desktop/images/29012025/00/57/image_29012025_00_57_57_9348.jpg', '/home/pi/Desktop/images/29012025/00/57/image_29012025_00_58_07_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/57/image_29012025_00_57_17_10371.jpg
/home/pi/Desktop/images/29012025/00/57/image_29012025_00_57_26_9426.jpg
/home/pi/Desktop/images/29012025/00/57/image_29012025_00_57_37_10357.jpg
/home/pi/Desktop/images/29012025/00/57/image_29012025_00_57_47_10442.jpg
/home/pi/Desktop/images/29012025/00/57/image_29012025_00_57_57_9348.jpg
/home/pi/Desktop/images/29012025/00/57/image_29012025_00_58_07_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":["1332469437","1332469481","1332469547","1332469492","1332469418","1332469543"],"photo_ids_order":["1332469418","1332469437","1332469481","1332469492","1332469543","1332469547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/23f26798bf3cf037290425393478345d.jpg","text":"TemporaryFile(/tmp/multipartBody7111398631748283758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109254127,"filename":"image_29012025_00_57_26_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/29/ca5c1972ed47357c580a2b2a67c140ff.jpg","text":"TemporaryFile(/tmp/multipartBody4978563153689256292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109254127,"filename":"image_29012025_00_57_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/29/ab6121f123b4ed7eba29127377303751.jpg","text":"TemporaryFile(/tmp/multipartBody3196467723892240976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109254127,"filename":"image_29012025_00_58_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/29/9cc4e45d53f0357f241b8324de14c7b8.jpg","text":"TemporaryFile(/tmp/multipartBody7778517543770125456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109254127,"filename":"image_29012025_00_57_47_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/29/11b836d739f103d1b02137b1063616bd.jpg","text":"TemporaryFile(/tmp/multipartBody1666882988927322575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109254127,"filename":"image_29012025_00_57_17_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/29/f6efcc200d8e1b24cbdd702615c87731.jpg","text":"TemporaryFile(/tmp/multipartBody6156520384437207973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109254127,"filename":"image_29012025_00_57_57_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332469481","file1":"1332469437","file0":"1332469418","file4":"1332469543","file5":"1332469547","file3":"1332469492"},"map_files_photo_id_array":[{"photo_id":"1332469547","filename":"file5"},{"photo_id":"1332469481","filename":"file2"},{"photo_id":"1332469543","filename":"file4"},{"photo_id":"1332469437","filename":"file1"},{"photo_id":"1332469418","filename":"file0"},{"photo_id":"1332469492","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332469437":["hashtag1","hashtag2"]},{"1332469481":["hashtag1","hashtag2"]},{"1332469547":["hashtag1","hashtag2"]},{"1332469492":["hashtag1","hashtag2"]},{"1332469418":["hashtag1","hashtag2"]},{"1332469543":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332469437, 1332469481, 1332469547, 1332469492, 1332469418, 1332469543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91706442832947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:07:32.270083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/58/image_29012025_00_58_16_9341.jpg', '/home/pi/Desktop/images/29012025/00/58/image_29012025_00_58_27_10439.jpg', '/home/pi/Desktop/images/29012025/00/58/image_29012025_00_58_37_10341.jpg', '/home/pi/Desktop/images/29012025/00/58/image_29012025_00_58_46_9432.jpg', '/home/pi/Desktop/images/29012025/00/58/image_29012025_00_58_57_10325.jpg', '/home/pi/Desktop/images/29012025/00/58/image_29012025_00_59_07_9924.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/58/image_29012025_00_58_16_9341.jpg
/home/pi/Desktop/images/29012025/00/58/image_29012025_00_58_27_10439.jpg
/home/pi/Desktop/images/29012025/00/58/image_29012025_00_58_37_10341.jpg
/home/pi/Desktop/images/29012025/00/58/image_29012025_00_58_46_9432.jpg
/home/pi/Desktop/images/29012025/00/58/image_29012025_00_58_57_10325.jpg
/home/pi/Desktop/images/29012025/00/58/image_29012025_00_59_07_9924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332469635","1332469644","1332469652","1332469648","1332469621","1332469639"],"photo_ids_order":["1332469621","1332469635","1332469639","1332469644","1332469648","1332469652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e3f96b8a119dbf353dcf316cadac0d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5550278493993008910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109313183,"filename":"image_29012025_00_58_27_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/29/c0f2cb78c96d7d14cd73c169558d8cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3031087762958575675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109313183,"filename":"image_29012025_00_58_46_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/29/35f07aa403fd27b5066fdaf88671a205.jpg","text":"TemporaryFile(/tmp/multipartBody2522568965103880275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109313183,"filename":"image_29012025_00_59_07_9924.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/254d79716266b8c266dd55e700e481fe.jpg","text":"TemporaryFile(/tmp/multipartBody4025824640762088863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109313183,"filename":"image_29012025_00_58_57_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/29/3808f368dcf2f3940394667bba0abfbd.jpg","text":"TemporaryFile(/tmp/multipartBody8608609398159329074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109313183,"filename":"image_29012025_00_58_16_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/29/39dd297f280a52f0761eb71c84cdbbcd.jpg","text":"TemporaryFile(/tmp/multipartBody7019495987263432094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109313183,"filename":"image_29012025_00_58_37_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332469639","file1":"1332469635","file0":"1332469621","file4":"1332469648","file5":"1332469652","file3":"1332469644"},"map_files_photo_id_array":[{"photo_id":"1332469652","filename":"file5"},{"photo_id":"1332469639","filename":"file2"},{"photo_id":"1332469648","filename":"file4"},{"photo_id":"1332469635","filename":"file1"},{"photo_id":"1332469621","filename":"file0"},{"photo_id":"1332469644","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332469635":["hashtag1","hashtag2"]},{"1332469644":["hashtag1","hashtag2"]},{"1332469652":["hashtag1","hashtag2"]},{"1332469648":["hashtag1","hashtag2"]},{"1332469621":["hashtag1","hashtag2"]},{"1332469639":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332469635, 1332469644, 1332469652, 1332469648, 1332469621, 1332469639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.421103715896606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:08:32.525455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/00/59/image_29012025_00_59_17_10396.jpg', '/home/pi/Desktop/images/29012025/00/59/image_29012025_00_59_26_9358.jpg', '/home/pi/Desktop/images/29012025/00/59/image_29012025_00_59_37_10408.jpg', '/home/pi/Desktop/images/29012025/00/59/image_29012025_00_59_46_9466.jpg', '/home/pi/Desktop/images/29012025/00/59/image_29012025_00_59_57_10365.jpg', '/home/pi/Desktop/images/29012025/01/01/image_29012025_01_01_14_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/00/59/image_29012025_00_59_17_10396.jpg
/home/pi/Desktop/images/29012025/00/59/image_29012025_00_59_26_9358.jpg
/home/pi/Desktop/images/29012025/00/59/image_29012025_00_59_37_10408.jpg
/home/pi/Desktop/images/29012025/00/59/image_29012025_00_59_46_9466.jpg
/home/pi/Desktop/images/29012025/00/59/image_29012025_00_59_57_10365.jpg
/home/pi/Desktop/images/29012025/01/01/image_29012025_01_01_14_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332469673","1332469679","1332469684","1332469687","1332469666","1332469669"],"photo_ids_order":["1332469666","1332469669","1332469673","1332469679","1332469684","1332469687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/09793880d7be49459674eb0ed271dab4.jpg","text":"TemporaryFile(/tmp/multipartBody736524267604107642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109373432,"filename":"image_29012025_00_59_37_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/29/698a1a607032bfdb853f9e557e59b17b.jpg","text":"TemporaryFile(/tmp/multipartBody8958628175504383466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109373432,"filename":"image_29012025_00_59_46_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/29/e5441804f7cdd1c44525aa965ee8b0ae.jpg","text":"TemporaryFile(/tmp/multipartBody4455481732634532633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109373432,"filename":"image_29012025_00_59_57_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/29/8fd5e61bae99fb1a9508b12fdd1d4fc3.jpg","text":"TemporaryFile(/tmp/multipartBody1167608868683346952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109373432,"filename":"image_29012025_01_01_14_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ad05ac6e0e9758d29c8a18c22cbeacef.jpg","text":"TemporaryFile(/tmp/multipartBody269873811524833439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109373432,"filename":"image_29012025_00_59_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/29/fe1834c6f903df4eab608cac5729d68c.jpg","text":"TemporaryFile(/tmp/multipartBody2442630993046018437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109373432,"filename":"image_29012025_00_59_26_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332469673","file1":"1332469669","file0":"1332469666","file4":"1332469684","file5":"1332469687","file3":"1332469679"},"map_files_photo_id_array":[{"photo_id":"1332469687","filename":"file5"},{"photo_id":"1332469673","filename":"file2"},{"photo_id":"1332469684","filename":"file4"},{"photo_id":"1332469669","filename":"file1"},{"photo_id":"1332469666","filename":"file0"},{"photo_id":"1332469679","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332469673":["hashtag1","hashtag2"]},{"1332469679":["hashtag1","hashtag2"]},{"1332469684":["hashtag1","hashtag2"]},{"1332469687":["hashtag1","hashtag2"]},{"1332469666":["hashtag1","hashtag2"]},{"1332469669":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332469673, 1332469679, 1332469684, 1332469687, 1332469666, 1332469669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22007131576538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:09:32.748354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/01/image_29012025_01_01_25_10403.jpg', '/home/pi/Desktop/images/29012025/01/01/image_29012025_01_01_35_10388.jpg', '/home/pi/Desktop/images/29012025/01/01/image_29012025_01_01_45_9362.jpg', '/home/pi/Desktop/images/29012025/01/01/image_29012025_01_01_55_10371.jpg', '/home/pi/Desktop/images/29012025/01/01/image_29012025_01_02_05_10341.jpg', '/home/pi/Desktop/images/29012025/01/02/image_29012025_01_02_15_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/01/image_29012025_01_01_25_10403.jpg
/home/pi/Desktop/images/29012025/01/01/image_29012025_01_01_35_10388.jpg
/home/pi/Desktop/images/29012025/01/01/image_29012025_01_01_45_9362.jpg
/home/pi/Desktop/images/29012025/01/01/image_29012025_01_01_55_10371.jpg
/home/pi/Desktop/images/29012025/01/01/image_29012025_01_02_05_10341.jpg
/home/pi/Desktop/images/29012025/01/02/image_29012025_01_02_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":["1332469713","1332469722","1332469704","1332469724","1332469709","1332469717"],"photo_ids_order":["1332469704","1332469709","1332469713","1332469717","1332469722","1332469724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ca879591b2b8e10a86c715ca93826486.jpg","text":"TemporaryFile(/tmp/multipartBody9011572723924626719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109433662,"filename":"image_29012025_01_01_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/29/3a94ecb82c0e7901aff5fd400fbde95d.jpg","text":"TemporaryFile(/tmp/multipartBody5268870192342351261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109433662,"filename":"image_29012025_01_02_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/29/241c0beb7b91d24287398acb72c19792.jpg","text":"TemporaryFile(/tmp/multipartBody2507895577879941332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109433662,"filename":"image_29012025_01_01_25_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/29/5789c8c22d976b60183245de0cc7472f.jpg","text":"TemporaryFile(/tmp/multipartBody6723462886005276651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109433662,"filename":"image_29012025_01_02_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/29/b93104ab4eaea8f8c1bcf1be1d9fe60b.jpg","text":"TemporaryFile(/tmp/multipartBody1628596198704945756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109433662,"filename":"image_29012025_01_01_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/29/d92c3ffffae25f3a3d237ad2fe276894.jpg","text":"TemporaryFile(/tmp/multipartBody4666396744598408405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109433662,"filename":"image_29012025_01_01_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332469713","file1":"1332469709","file0":"1332469704","file4":"1332469722","file5":"1332469724","file3":"1332469717"},"map_files_photo_id_array":[{"photo_id":"1332469724","filename":"file5"},{"photo_id":"1332469713","filename":"file2"},{"photo_id":"1332469722","filename":"file4"},{"photo_id":"1332469709","filename":"file1"},{"photo_id":"1332469704","filename":"file0"},{"photo_id":"1332469717","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332469713":["hashtag1","hashtag2"]},{"1332469722":["hashtag1","hashtag2"]},{"1332469704":["hashtag1","hashtag2"]},{"1332469724":["hashtag1","hashtag2"]},{"1332469709":["hashtag1","hashtag2"]},{"1332469717":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332469713, 1332469722, 1332469704, 1332469724, 1332469709, 1332469717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.60137867927551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:10:33.072478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/02/image_29012025_01_02_25_10345.jpg', '/home/pi/Desktop/images/29012025/01/02/image_29012025_01_02_34_9426.jpg', '/home/pi/Desktop/images/29012025/01/02/image_29012025_01_02_45_10366.jpg', '/home/pi/Desktop/images/29012025/01/02/image_29012025_01_02_55_10404.jpg', '/home/pi/Desktop/images/29012025/01/02/image_29012025_01_03_05_9355.jpg', '/home/pi/Desktop/images/29012025/01/03/image_29012025_01_03_15_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/02/image_29012025_01_02_25_10345.jpg
/home/pi/Desktop/images/29012025/01/02/image_29012025_01_02_34_9426.jpg
/home/pi/Desktop/images/29012025/01/02/image_29012025_01_02_45_10366.jpg
/home/pi/Desktop/images/29012025/01/02/image_29012025_01_02_55_10404.jpg
/home/pi/Desktop/images/29012025/01/02/image_29012025_01_03_05_9355.jpg
/home/pi/Desktop/images/29012025/01/03/image_29012025_01_03_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":["1332469830","1332469783","1332469825","1332469819","1332469810","1332469813"],"photo_ids_order":["1332469783","1332469810","1332469813","1332469819","1332469825","1332469830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/22da46ffaeadeafc7563c12f219e3823.jpg","text":"TemporaryFile(/tmp/multipartBody1274635470240796761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109493986,"filename":"image_29012025_01_03_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/29/429918d082e7edf638eee0906d8f0527.jpg","text":"TemporaryFile(/tmp/multipartBody4343992690768232820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109493986,"filename":"image_29012025_01_02_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/29/71358d33bd11ce8d41cb7528b6b69694.jpg","text":"TemporaryFile(/tmp/multipartBody3814466904999107534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109493986,"filename":"image_29012025_01_03_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/29/d352ab00e36b90f5ce300848a23268f5.jpg","text":"TemporaryFile(/tmp/multipartBody3759283320010263852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109493986,"filename":"image_29012025_01_02_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/29/93ea6d274d1a55c29e53bfa5f7cbb40f.jpg","text":"TemporaryFile(/tmp/multipartBody5989957802063476254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109493986,"filename":"image_29012025_01_02_34_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/29/33fd51d0d17d8657ac668a413ba28ae2.jpg","text":"TemporaryFile(/tmp/multipartBody7727728179129141261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109493986,"filename":"image_29012025_01_02_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332469813","file1":"1332469810","file0":"1332469783","file4":"1332469825","file5":"1332469830","file3":"1332469819"},"map_files_photo_id_array":[{"photo_id":"1332469830","filename":"file5"},{"photo_id":"1332469813","filename":"file2"},{"photo_id":"1332469825","filename":"file4"},{"photo_id":"1332469810","filename":"file1"},{"photo_id":"1332469783","filename":"file0"},{"photo_id":"1332469819","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332469830":["hashtag1","hashtag2"]},{"1332469783":["hashtag1","hashtag2"]},{"1332469825":["hashtag1","hashtag2"]},{"1332469819":["hashtag1","hashtag2"]},{"1332469810":["hashtag1","hashtag2"]},{"1332469813":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332469830, 1332469783, 1332469825, 1332469819, 1332469810, 1332469813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.657339572906494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:11:33.150599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/03/image_29012025_01_03_24_9478.jpg', '/home/pi/Desktop/images/29012025/01/03/image_29012025_01_03_45_10447.jpg', '/home/pi/Desktop/images/29012025/01/03/image_29012025_01_03_55_9425.jpg', '/home/pi/Desktop/images/29012025/01/03/image_29012025_01_04_05_10361.jpg', '/home/pi/Desktop/images/29012025/01/04/image_29012025_01_04_14_9347.jpg', '/home/pi/Desktop/images/29012025/01/04/image_29012025_01_04_35_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/03/image_29012025_01_03_24_9478.jpg
/home/pi/Desktop/images/29012025/01/03/image_29012025_01_03_45_10447.jpg
/home/pi/Desktop/images/29012025/01/03/image_29012025_01_03_55_9425.jpg
/home/pi/Desktop/images/29012025/01/03/image_29012025_01_04_05_10361.jpg
/home/pi/Desktop/images/29012025/01/04/image_29012025_01_04_14_9347.jpg
/home/pi/Desktop/images/29012025/01/04/image_29012025_01_04_35_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332469839","1332469848","1332469895","1332469859","1332469844","1332469855"],"photo_ids_order":["1332469839","1332469844","1332469848","1332469855","1332469859","1332469895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/72d69278793a28b2263519d0dd60a95a.jpg","text":"TemporaryFile(/tmp/multipartBody1468583362953106224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109554090,"filename":"image_29012025_01_03_24_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/29/de51beb47b8d95bf03d384c07b4f5161.jpg","text":"TemporaryFile(/tmp/multipartBody1029167178940849648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109554090,"filename":"image_29012025_01_03_55_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/29/4e8ac361bce1f976855807c488f7c369.jpg","text":"TemporaryFile(/tmp/multipartBody1724913257369302706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109554090,"filename":"image_29012025_01_04_35_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/29/07e4ada1ebbb2163d70f28d973895464.jpg","text":"TemporaryFile(/tmp/multipartBody4418709812569510973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109554090,"filename":"image_29012025_01_04_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/29/f71746729f7cf4d2dad86e375efd1d39.jpg","text":"TemporaryFile(/tmp/multipartBody9126075223099699832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109554090,"filename":"image_29012025_01_03_45_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/29/609ed485fb39d7a7cd316bb279a9f1be.jpg","text":"TemporaryFile(/tmp/multipartBody3567313854120800692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109554090,"filename":"image_29012025_01_04_05_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332469848","file1":"1332469844","file0":"1332469839","file4":"1332469859","file5":"1332469895","file3":"1332469855"},"map_files_photo_id_array":[{"photo_id":"1332469895","filename":"file5"},{"photo_id":"1332469848","filename":"file2"},{"photo_id":"1332469859","filename":"file4"},{"photo_id":"1332469844","filename":"file1"},{"photo_id":"1332469839","filename":"file0"},{"photo_id":"1332469855","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332469839":["hashtag1","hashtag2"]},{"1332469848":["hashtag1","hashtag2"]},{"1332469895":["hashtag1","hashtag2"]},{"1332469859":["hashtag1","hashtag2"]},{"1332469844":["hashtag1","hashtag2"]},{"1332469855":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332469839, 1332469848, 1332469895, 1332469859, 1332469844, 1332469855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30306816101074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:12:32.331781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/04/image_29012025_01_04_45_9349.jpg', '/home/pi/Desktop/images/29012025/01/04/image_29012025_01_04_55_10462.jpg', '/home/pi/Desktop/images/29012025/01/04/image_29012025_01_05_04_9330.jpg', '/home/pi/Desktop/images/29012025/01/05/image_29012025_01_05_15_10411.jpg', '/home/pi/Desktop/images/29012025/01/05/image_29012025_01_05_25_10530.jpg', '/home/pi/Desktop/images/29012025/01/05/image_29012025_01_05_35_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/04/image_29012025_01_04_45_9349.jpg
/home/pi/Desktop/images/29012025/01/04/image_29012025_01_04_55_10462.jpg
/home/pi/Desktop/images/29012025/01/04/image_29012025_01_05_04_9330.jpg
/home/pi/Desktop/images/29012025/01/05/image_29012025_01_05_15_10411.jpg
/home/pi/Desktop/images/29012025/01/05/image_29012025_01_05_25_10530.jpg
/home/pi/Desktop/images/29012025/01/05/image_29012025_01_05_35_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":["1332470385","1332470436","1332470336","1332470698","1332470872","1332470548"],"photo_ids_order":["1332470336","1332470385","1332470436","1332470548","1332470698","1332470872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dbf5936fb8c759aa7cc02c8cd3d421cf.jpg","text":"TemporaryFile(/tmp/multipartBody2814035467993755783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109613297,"filename":"image_29012025_01_04_55_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/29/b549baa7ec807a50a814361b486dcc2e.jpg","text":"TemporaryFile(/tmp/multipartBody1590805384965612365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109613297,"filename":"image_29012025_01_05_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/29/c13c8248858aeccc5f067b78682c00cb.jpg","text":"TemporaryFile(/tmp/multipartBody8667067763916638898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109613297,"filename":"image_29012025_01_04_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/29/962af75e194aefdfb8b652dd710dcea9.jpg","text":"TemporaryFile(/tmp/multipartBody5144391853822629521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109613297,"filename":"image_29012025_01_05_25_10530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ea17665c51872ef803746cd83196d3f8.jpg","text":"TemporaryFile(/tmp/multipartBody1205173867465488512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109613297,"filename":"image_29012025_01_05_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/29/3d89b24af141c448ccd8a9ced7dd355b.jpg","text":"TemporaryFile(/tmp/multipartBody6877459787028419763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109613297,"filename":"image_29012025_01_05_15_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332470436","file1":"1332470385","file0":"1332470336","file4":"1332470698","file5":"1332470872","file3":"1332470548"},"map_files_photo_id_array":[{"photo_id":"1332470872","filename":"file5"},{"photo_id":"1332470436","filename":"file2"},{"photo_id":"1332470698","filename":"file4"},{"photo_id":"1332470385","filename":"file1"},{"photo_id":"1332470336","filename":"file0"},{"photo_id":"1332470548","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332470385":["hashtag1","hashtag2"]},{"1332470436":["hashtag1","hashtag2"]},{"1332470336":["hashtag1","hashtag2"]},{"1332470698":["hashtag1","hashtag2"]},{"1332470872":["hashtag1","hashtag2"]},{"1332470548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332470385, 1332470436, 1332470336, 1332470698, 1332470872, 1332470548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.66686391830444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:13:32.538491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/05/image_29012025_01_05_45_10365.jpg', '/home/pi/Desktop/images/29012025/01/05/image_29012025_01_05_54_9351.jpg', '/home/pi/Desktop/images/29012025/01/05/image_29012025_01_06_05_10346.jpg', '/home/pi/Desktop/images/29012025/01/06/image_29012025_01_06_15_10340.jpg', '/home/pi/Desktop/images/29012025/01/06/image_29012025_01_06_25_9456.jpg', '/home/pi/Desktop/images/29012025/01/06/image_29012025_01_06_35_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/05/image_29012025_01_05_45_10365.jpg
/home/pi/Desktop/images/29012025/01/05/image_29012025_01_05_54_9351.jpg
/home/pi/Desktop/images/29012025/01/05/image_29012025_01_06_05_10346.jpg
/home/pi/Desktop/images/29012025/01/06/image_29012025_01_06_15_10340.jpg
/home/pi/Desktop/images/29012025/01/06/image_29012025_01_06_25_9456.jpg
/home/pi/Desktop/images/29012025/01/06/image_29012025_01_06_35_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":["1332471267","1332471181","1332471175","1332471363","1332471186","1332471171"],"photo_ids_order":["1332471171","1332471175","1332471181","1332471186","1332471267","1332471363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9fa1fb87b77fa9e8b23e375fdffb168d.jpg","text":"TemporaryFile(/tmp/multipartBody2863632516315851326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109673458,"filename":"image_29012025_01_06_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/29/de572cc4111f0a4e54b025f956a6501b.jpg","text":"TemporaryFile(/tmp/multipartBody343151859702356245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109673458,"filename":"image_29012025_01_06_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/29/c456575685876ee687353ce4cd5b7440.jpg","text":"TemporaryFile(/tmp/multipartBody5225587933189183368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109673458,"filename":"image_29012025_01_05_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/29/663db956a1c2cb0f3643b9250cb73033.jpg","text":"TemporaryFile(/tmp/multipartBody3684282452586732852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109673458,"filename":"image_29012025_01_06_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/29/9a64efe06602c989528ee6f5b1ddebfe.jpg","text":"TemporaryFile(/tmp/multipartBody5414878142257908459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109673458,"filename":"image_29012025_01_06_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/29/536f1349f10c3a94b5bc111eef3375c9.jpg","text":"TemporaryFile(/tmp/multipartBody6835615374957595233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109673458,"filename":"image_29012025_01_05_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332471181","file1":"1332471175","file0":"1332471171","file4":"1332471267","file5":"1332471363","file3":"1332471186"},"map_files_photo_id_array":[{"photo_id":"1332471363","filename":"file5"},{"photo_id":"1332471181","filename":"file2"},{"photo_id":"1332471267","filename":"file4"},{"photo_id":"1332471175","filename":"file1"},{"photo_id":"1332471171","filename":"file0"},{"photo_id":"1332471186","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332471267":["hashtag1","hashtag2"]},{"1332471181":["hashtag1","hashtag2"]},{"1332471175":["hashtag1","hashtag2"]},{"1332471363":["hashtag1","hashtag2"]},{"1332471186":["hashtag1","hashtag2"]},{"1332471171":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332471267, 1332471181, 1332471175, 1332471363, 1332471186, 1332471171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22320795059204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:14:32.779964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/06/image_29012025_01_06_44_9451.jpg', '/home/pi/Desktop/images/29012025/01/06/image_29012025_01_06_55_10352.jpg', '/home/pi/Desktop/images/29012025/01/06/image_29012025_01_07_05_10496.jpg', '/home/pi/Desktop/images/29012025/01/07/image_29012025_01_07_15_9425.jpg', '/home/pi/Desktop/images/29012025/01/07/image_29012025_01_07_25_10488.jpg', '/home/pi/Desktop/images/29012025/01/07/image_29012025_01_07_35_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/06/image_29012025_01_06_44_9451.jpg
/home/pi/Desktop/images/29012025/01/06/image_29012025_01_06_55_10352.jpg
/home/pi/Desktop/images/29012025/01/06/image_29012025_01_07_05_10496.jpg
/home/pi/Desktop/images/29012025/01/07/image_29012025_01_07_15_9425.jpg
/home/pi/Desktop/images/29012025/01/07/image_29012025_01_07_25_10488.jpg
/home/pi/Desktop/images/29012025/01/07/image_29012025_01_07_35_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":["1332471671","1332472028","1332472050","1332472044","1332471984","1332471795"],"photo_ids_order":["1332471671","1332471795","1332471984","1332472028","1332472044","1332472050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d06a8a1be09e10504b2d94284ff78872.jpg","text":"TemporaryFile(/tmp/multipartBody8994871327871591009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109733708,"filename":"image_29012025_01_06_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/29/16c5dfb79d9c3e74c19acba5202dd7c3.jpg","text":"TemporaryFile(/tmp/multipartBody6305255634088047390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109733708,"filename":"image_29012025_01_07_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/29/e773d08c9f3429add3832beb5b77439d.jpg","text":"TemporaryFile(/tmp/multipartBody3849360960450615545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109733708,"filename":"image_29012025_01_07_35_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/29/043f0458cd17e856130ca2bddda0acd1.jpg","text":"TemporaryFile(/tmp/multipartBody6109799781993576565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109733708,"filename":"image_29012025_01_07_25_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/29/d9d63b3b8df3a2343410bae1481c8891.jpg","text":"TemporaryFile(/tmp/multipartBody5611515206230542300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109733708,"filename":"image_29012025_01_07_05_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/29/e0bdf25248c964a235014626aa292d02.jpg","text":"TemporaryFile(/tmp/multipartBody7165179641095193958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109733708,"filename":"image_29012025_01_06_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332471984","file1":"1332471795","file0":"1332471671","file4":"1332472044","file5":"1332472050","file3":"1332472028"},"map_files_photo_id_array":[{"photo_id":"1332472050","filename":"file5"},{"photo_id":"1332471984","filename":"file2"},{"photo_id":"1332472044","filename":"file4"},{"photo_id":"1332471795","filename":"file1"},{"photo_id":"1332471671","filename":"file0"},{"photo_id":"1332472028","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332471671":["hashtag1","hashtag2"]},{"1332472028":["hashtag1","hashtag2"]},{"1332472050":["hashtag1","hashtag2"]},{"1332472044":["hashtag1","hashtag2"]},{"1332471984":["hashtag1","hashtag2"]},{"1332471795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332471671, 1332472028, 1332472050, 1332472044, 1332471984, 1332471795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.97481560707092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:15:32.989918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/07/image_29012025_01_07_45_10370.jpg', '/home/pi/Desktop/images/29012025/01/07/image_29012025_01_07_55_10373.jpg', '/home/pi/Desktop/images/29012025/01/07/image_29012025_01_08_05_9372.jpg', '/home/pi/Desktop/images/29012025/01/08/image_29012025_01_08_15_10339.jpg', '/home/pi/Desktop/images/29012025/01/08/image_29012025_01_08_24_9448.jpg', '/home/pi/Desktop/images/29012025/01/08/image_29012025_01_08_35_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/07/image_29012025_01_07_45_10370.jpg
/home/pi/Desktop/images/29012025/01/07/image_29012025_01_07_55_10373.jpg
/home/pi/Desktop/images/29012025/01/07/image_29012025_01_08_05_9372.jpg
/home/pi/Desktop/images/29012025/01/08/image_29012025_01_08_15_10339.jpg
/home/pi/Desktop/images/29012025/01/08/image_29012025_01_08_24_9448.jpg
/home/pi/Desktop/images/29012025/01/08/image_29012025_01_08_35_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":["1332472217","1332472211","1332472220","1332472225","1332472161","1332472230"],"photo_ids_order":["1332472161","1332472211","1332472217","1332472220","1332472225","1332472230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8e7b2b6a2659e9035de582b1a7da7004.jpg","text":"TemporaryFile(/tmp/multipartBody6865992447120131003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109793898,"filename":"image_29012025_01_08_05_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/29/40645d36c3f344294b12f73d0613b147.jpg","text":"TemporaryFile(/tmp/multipartBody6883407918508630484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109793898,"filename":"image_29012025_01_07_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/29/6608b2bfce968f892ccffe090d974327.jpg","text":"TemporaryFile(/tmp/multipartBody5207557293720880806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109793898,"filename":"image_29012025_01_08_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/29/d4ca1dc9de76684b618ce8db03f42f00.jpg","text":"TemporaryFile(/tmp/multipartBody6219521369093127594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109793898,"filename":"image_29012025_01_08_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/29/71a25abfb51af51ea80ad1175537add8.jpg","text":"TemporaryFile(/tmp/multipartBody2568121319389636371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109793898,"filename":"image_29012025_01_07_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/29/70c41f652328bc66146de68a2915d151.jpg","text":"TemporaryFile(/tmp/multipartBody1764686148572135017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109793898,"filename":"image_29012025_01_08_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332472217","file1":"1332472211","file0":"1332472161","file4":"1332472225","file5":"1332472230","file3":"1332472220"},"map_files_photo_id_array":[{"photo_id":"1332472230","filename":"file5"},{"photo_id":"1332472217","filename":"file2"},{"photo_id":"1332472225","filename":"file4"},{"photo_id":"1332472211","filename":"file1"},{"photo_id":"1332472161","filename":"file0"},{"photo_id":"1332472220","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332472217":["hashtag1","hashtag2"]},{"1332472211":["hashtag1","hashtag2"]},{"1332472220":["hashtag1","hashtag2"]},{"1332472225":["hashtag1","hashtag2"]},{"1332472161":["hashtag1","hashtag2"]},{"1332472230":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332472217, 1332472211, 1332472220, 1332472225, 1332472161, 1332472230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.65141582489014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:16:32.181256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/08/image_29012025_01_08_45_10461.jpg', '/home/pi/Desktop/images/29012025/01/08/image_29012025_01_08_55_9353.jpg', '/home/pi/Desktop/images/29012025/01/08/image_29012025_01_09_05_10338.jpg', '/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_14_9413.jpg', '/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_25_10431.jpg', '/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_35_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/08/image_29012025_01_08_45_10461.jpg
/home/pi/Desktop/images/29012025/01/08/image_29012025_01_08_55_9353.jpg
/home/pi/Desktop/images/29012025/01/08/image_29012025_01_09_05_10338.jpg
/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_14_9413.jpg
/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_25_10431.jpg
/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_35_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":["1332472413","1332472241","1332472235","1332472345","1332472246","1332472260"],"photo_ids_order":["1332472235","1332472241","1332472246","1332472260","1332472345","1332472413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/042002f0554355e6968eb625b46a08fb.jpg","text":"TemporaryFile(/tmp/multipartBody7853064981450544226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109853098,"filename":"image_29012025_01_09_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/29/c93276d5acbf237fcaf0014423885bdd.jpg","text":"TemporaryFile(/tmp/multipartBody3284323039068086796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109853098,"filename":"image_29012025_01_08_55_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/29/b00d453b8232585d72e2d944462049ab.jpg","text":"TemporaryFile(/tmp/multipartBody6167181553352711766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109853098,"filename":"image_29012025_01_08_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/29/db0fad188e874580564ef24431f435f5.jpg","text":"TemporaryFile(/tmp/multipartBody122565922527025732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109853098,"filename":"image_29012025_01_09_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/29/91c733368bde3dd30d53ce3677687cca.jpg","text":"TemporaryFile(/tmp/multipartBody6136779824937852119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109853098,"filename":"image_29012025_01_09_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/29/6a70aa3db6fbc30ff28f0166739654f8.jpg","text":"TemporaryFile(/tmp/multipartBody5837463582871486023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109853098,"filename":"image_29012025_01_09_14_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332472246","file1":"1332472241","file0":"1332472235","file4":"1332472345","file5":"1332472413","file3":"1332472260"},"map_files_photo_id_array":[{"photo_id":"1332472413","filename":"file5"},{"photo_id":"1332472246","filename":"file2"},{"photo_id":"1332472345","filename":"file4"},{"photo_id":"1332472241","filename":"file1"},{"photo_id":"1332472235","filename":"file0"},{"photo_id":"1332472260","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332472413":["hashtag1","hashtag2"]},{"1332472241":["hashtag1","hashtag2"]},{"1332472235":["hashtag1","hashtag2"]},{"1332472345":["hashtag1","hashtag2"]},{"1332472246":["hashtag1","hashtag2"]},{"1332472260":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332472413, 1332472241, 1332472235, 1332472345, 1332472246, 1332472260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46783685684204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:17:32.479784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_45_9329.jpg', '/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_55_10347.jpg', '/home/pi/Desktop/images/29012025/01/09/image_29012025_01_10_05_10417.jpg', '/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_15_9321.jpg', '/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_25_10484.jpg', '/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_35_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_45_9329.jpg
/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_55_10347.jpg
/home/pi/Desktop/images/29012025/01/09/image_29012025_01_10_05_10417.jpg
/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_15_9321.jpg
/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_25_10484.jpg
/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_35_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.527813196182251 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 01:17:42.572744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_45_9329.jpg', '/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_55_10347.jpg', '/home/pi/Desktop/images/29012025/01/09/image_29012025_01_10_05_10417.jpg', '/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_15_9321.jpg', '/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_25_10484.jpg', '/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_35_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_45_9329.jpg
/home/pi/Desktop/images/29012025/01/09/image_29012025_01_09_55_10347.jpg
/home/pi/Desktop/images/29012025/01/09/image_29012025_01_10_05_10417.jpg
/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_15_9321.jpg
/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_25_10484.jpg
/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_35_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":["1332472628","1332472660","1332472651","1332472621","1332472656","1332472614"],"photo_ids_order":["1332472614","1332472621","1332472628","1332472651","1332472656","1332472660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a1c9db09a0f6b1cfb20a8bea791d2b80.jpg","text":"TemporaryFile(/tmp/multipartBody9030700847715526497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109923487,"filename":"image_29012025_01_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/29/c1a56b3130ae6cde47348d19aa9119ff.jpg","text":"TemporaryFile(/tmp/multipartBody9144583081790005006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109923487,"filename":"image_29012025_01_10_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/29/db8c9be08eabff5c5c3fc3905f92e32c.jpg","text":"TemporaryFile(/tmp/multipartBody972657991121782711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109923487,"filename":"image_29012025_01_10_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/29/b7b96e61120b6225c7bceae294bbd036.jpg","text":"TemporaryFile(/tmp/multipartBody8915215633672630277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109923487,"filename":"image_29012025_01_09_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/29/4f383e16856f5f0317dd07807c8af798.jpg","text":"TemporaryFile(/tmp/multipartBody5412535973436345776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109923487,"filename":"image_29012025_01_10_25_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fc81b2565e8731a75a5c6229cbbbd88d.jpg","text":"TemporaryFile(/tmp/multipartBody5750978853274407432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109923487,"filename":"image_29012025_01_09_45_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332472628","file1":"1332472621","file0":"1332472614","file4":"1332472656","file5":"1332472660","file3":"1332472651"},"map_files_photo_id_array":[{"photo_id":"1332472660","filename":"file5"},{"photo_id":"1332472628","filename":"file2"},{"photo_id":"1332472656","filename":"file4"},{"photo_id":"1332472621","filename":"file1"},{"photo_id":"1332472614","filename":"file0"},{"photo_id":"1332472651","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332472628":["hashtag1","hashtag2"]},{"1332472660":["hashtag1","hashtag2"]},{"1332472651":["hashtag1","hashtag2"]},{"1332472621":["hashtag1","hashtag2"]},{"1332472656":["hashtag1","hashtag2"]},{"1332472614":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332472628, 1332472660, 1332472651, 1332472621, 1332472656, 1332472614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16289830207825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:18:32.683385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_45_10352.jpg', '/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_55_10348.jpg', '/home/pi/Desktop/images/29012025/01/10/image_29012025_01_11_05_9346.jpg', '/home/pi/Desktop/images/29012025/01/11/image_29012025_01_11_15_10346.jpg', '/home/pi/Desktop/images/29012025/01/11/image_29012025_01_11_25_10371.jpg', '/home/pi/Desktop/images/29012025/01/11/image_29012025_01_11_35_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_45_10352.jpg
/home/pi/Desktop/images/29012025/01/10/image_29012025_01_10_55_10348.jpg
/home/pi/Desktop/images/29012025/01/10/image_29012025_01_11_05_9346.jpg
/home/pi/Desktop/images/29012025/01/11/image_29012025_01_11_15_10346.jpg
/home/pi/Desktop/images/29012025/01/11/image_29012025_01_11_25_10371.jpg
/home/pi/Desktop/images/29012025/01/11/image_29012025_01_11_35_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":["1332472691","1332472667","1332472695","1332472677","1332472686","1332472671"],"photo_ids_order":["1332472667","1332472671","1332472677","1332472686","1332472691","1332472695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/423c96c0b9b32aa7268790e3c7202641.jpg","text":"TemporaryFile(/tmp/multipartBody6761489860519822959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109973595,"filename":"image_29012025_01_11_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/29/7a57f6e975ae20fc6d51c8cc3c6dedf9.jpg","text":"TemporaryFile(/tmp/multipartBody316862157939923836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109973595,"filename":"image_29012025_01_10_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/29/c7d373af72a1a5626ae6d2a9cff9c652.jpg","text":"TemporaryFile(/tmp/multipartBody5626952984676159523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109973595,"filename":"image_29012025_01_11_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/29/214792fa561b51e9d60b01e23b1d08b9.jpg","text":"TemporaryFile(/tmp/multipartBody935324586862133199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109973595,"filename":"image_29012025_01_11_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/29/2aa90f2e4b0f7009036b5a9bb6ef37b2.jpg","text":"TemporaryFile(/tmp/multipartBody7243608851334969321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109973595,"filename":"image_29012025_01_11_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/29/1cfa8db1147900be9270d4e15d53ca1e.jpg","text":"TemporaryFile(/tmp/multipartBody8666944359370991823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738109973595,"filename":"image_29012025_01_10_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332472677","file1":"1332472671","file0":"1332472667","file4":"1332472691","file5":"1332472695","file3":"1332472686"},"map_files_photo_id_array":[{"photo_id":"1332472695","filename":"file5"},{"photo_id":"1332472677","filename":"file2"},{"photo_id":"1332472691","filename":"file4"},{"photo_id":"1332472671","filename":"file1"},{"photo_id":"1332472667","filename":"file0"},{"photo_id":"1332472686","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332472691":["hashtag1","hashtag2"]},{"1332472667":["hashtag1","hashtag2"]},{"1332472695":["hashtag1","hashtag2"]},{"1332472677":["hashtag1","hashtag2"]},{"1332472686":["hashtag1","hashtag2"]},{"1332472671":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332472691, 1332472667, 1332472695, 1332472677, 1332472686, 1332472671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.501962423324585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:19:32.845134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/11/image_29012025_01_11_54_9471.jpg', '/home/pi/Desktop/images/29012025/01/11/image_29012025_01_12_05_10387.jpg', '/home/pi/Desktop/images/29012025/01/12/image_29012025_01_12_15_10365.jpg', '/home/pi/Desktop/images/29012025/01/12/image_29012025_01_12_44_9459.jpg', '/home/pi/Desktop/images/29012025/01/12/image_29012025_01_12_55_10367.jpg', '/home/pi/Desktop/images/29012025/01/13/image_29012025_01_13_15_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/11/image_29012025_01_11_54_9471.jpg
/home/pi/Desktop/images/29012025/01/11/image_29012025_01_12_05_10387.jpg
/home/pi/Desktop/images/29012025/01/12/image_29012025_01_12_15_10365.jpg
/home/pi/Desktop/images/29012025/01/12/image_29012025_01_12_44_9459.jpg
/home/pi/Desktop/images/29012025/01/12/image_29012025_01_12_55_10367.jpg
/home/pi/Desktop/images/29012025/01/13/image_29012025_01_13_15_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":["1332473566","1332473548","1332473563","1332473559","1332473555","1332473456"],"photo_ids_order":["1332473456","1332473548","1332473555","1332473559","1332473563","1332473566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d8c7fab73c283a159072211707b54320.jpg","text":"TemporaryFile(/tmp/multipartBody7554021795103170188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110033749,"filename":"image_29012025_01_13_15_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/29/c34962349547348e73c9b325db6a6657.jpg","text":"TemporaryFile(/tmp/multipartBody6801786456204078632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110033749,"filename":"image_29012025_01_12_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/29/cedcc390963851c4beedd3126c5fb5d7.jpg","text":"TemporaryFile(/tmp/multipartBody6909421743501919763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110033749,"filename":"image_29012025_01_12_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/29/64a8b495ee2b9a0ab1006fac281650d8.jpg","text":"TemporaryFile(/tmp/multipartBody8536404235319778721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110033749,"filename":"image_29012025_01_12_44_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/29/7a78d90b93699f3f2e6c5442a853c88e.jpg","text":"TemporaryFile(/tmp/multipartBody5372240643093022749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110033749,"filename":"image_29012025_01_12_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/29/ec5c3b55d6b3be4f799fa38eedd3f7a0.jpg","text":"TemporaryFile(/tmp/multipartBody2367527817884740316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110033749,"filename":"image_29012025_01_11_54_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332473555","file1":"1332473548","file0":"1332473456","file4":"1332473563","file5":"1332473566","file3":"1332473559"},"map_files_photo_id_array":[{"photo_id":"1332473566","filename":"file5"},{"photo_id":"1332473555","filename":"file2"},{"photo_id":"1332473563","filename":"file4"},{"photo_id":"1332473548","filename":"file1"},{"photo_id":"1332473456","filename":"file0"},{"photo_id":"1332473559","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332473566":["hashtag1","hashtag2"]},{"1332473548":["hashtag1","hashtag2"]},{"1332473563":["hashtag1","hashtag2"]},{"1332473559":["hashtag1","hashtag2"]},{"1332473555":["hashtag1","hashtag2"]},{"1332473456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332473566, 1332473548, 1332473563, 1332473559, 1332473555, 1332473456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.241931200027466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:20:32.988784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/13/image_29012025_01_13_25_10423.jpg', '/home/pi/Desktop/images/29012025/01/13/image_29012025_01_13_34_9456.jpg', '/home/pi/Desktop/images/29012025/01/13/image_29012025_01_13_55_10398.jpg', '/home/pi/Desktop/images/29012025/01/13/image_29012025_01_14_05_9351.jpg', '/home/pi/Desktop/images/29012025/01/14/image_29012025_01_14_15_10327.jpg', '/home/pi/Desktop/images/29012025/01/14/image_29012025_01_14_25_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/13/image_29012025_01_13_25_10423.jpg
/home/pi/Desktop/images/29012025/01/13/image_29012025_01_13_34_9456.jpg
/home/pi/Desktop/images/29012025/01/13/image_29012025_01_13_55_10398.jpg
/home/pi/Desktop/images/29012025/01/13/image_29012025_01_14_05_9351.jpg
/home/pi/Desktop/images/29012025/01/14/image_29012025_01_14_15_10327.jpg
/home/pi/Desktop/images/29012025/01/14/image_29012025_01_14_25_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":["1332473777","1332473822","1332473816","1332473804","1332473812","1332473877"],"photo_ids_order":["1332473777","1332473804","1332473812","1332473816","1332473822","1332473877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ea0d775827b53ec83acc171d4c719f1d.jpg","text":"TemporaryFile(/tmp/multipartBody509672643085311144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110093895,"filename":"image_29012025_01_13_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/29/3c2cd6be36edecb06fe6849d3d5d20f8.jpg","text":"TemporaryFile(/tmp/multipartBody6831488546163085480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110093895,"filename":"image_29012025_01_14_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/29/e134f65e0c21bcd07082229139f9532d.jpg","text":"TemporaryFile(/tmp/multipartBody4404214916413884033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110093895,"filename":"image_29012025_01_14_05_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/29/5dd8b6d36acd953f8c6405d2c3e6567f.jpg","text":"TemporaryFile(/tmp/multipartBody6016699284895717647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110093895,"filename":"image_29012025_01_13_34_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/29/6a10af4d408a8682bccf641c931cda4a.jpg","text":"TemporaryFile(/tmp/multipartBody4359621815998251438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110093895,"filename":"image_29012025_01_13_55_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/29/91caa47ffbe539d26518b24de3271875.jpg","text":"TemporaryFile(/tmp/multipartBody831194537581698275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110093895,"filename":"image_29012025_01_14_25_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332473812","file1":"1332473804","file0":"1332473777","file4":"1332473822","file5":"1332473877","file3":"1332473816"},"map_files_photo_id_array":[{"photo_id":"1332473877","filename":"file5"},{"photo_id":"1332473812","filename":"file2"},{"photo_id":"1332473822","filename":"file4"},{"photo_id":"1332473804","filename":"file1"},{"photo_id":"1332473777","filename":"file0"},{"photo_id":"1332473816","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332473777":["hashtag1","hashtag2"]},{"1332473822":["hashtag1","hashtag2"]},{"1332473816":["hashtag1","hashtag2"]},{"1332473804":["hashtag1","hashtag2"]},{"1332473812":["hashtag1","hashtag2"]},{"1332473877":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332473777, 1332473822, 1332473816, 1332473804, 1332473812, 1332473877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.134767293930054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:21:33.621785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/14/image_29012025_01_14_35_9323.jpg', '/home/pi/Desktop/images/29012025/01/14/image_29012025_01_14_45_10359.jpg', '/home/pi/Desktop/images/29012025/01/14/image_29012025_01_15_05_9338.jpg', '/home/pi/Desktop/images/29012025/01/15/image_29012025_01_15_15_10332.jpg', '/home/pi/Desktop/images/29012025/01/15/image_29012025_01_15_24_9387.jpg', '/home/pi/Desktop/images/29012025/01/15/image_29012025_01_15_35_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/14/image_29012025_01_14_35_9323.jpg
/home/pi/Desktop/images/29012025/01/14/image_29012025_01_14_45_10359.jpg
/home/pi/Desktop/images/29012025/01/14/image_29012025_01_15_05_9338.jpg
/home/pi/Desktop/images/29012025/01/15/image_29012025_01_15_15_10332.jpg
/home/pi/Desktop/images/29012025/01/15/image_29012025_01_15_24_9387.jpg
/home/pi/Desktop/images/29012025/01/15/image_29012025_01_15_35_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":["1332474724","1332474820","1332475014","1332474912","1332475011","1332474629"],"photo_ids_order":["1332474629","1332474724","1332474820","1332474912","1332475011","1332475014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0f24557a5ede2c620f8df5589e642f94.jpg","text":"TemporaryFile(/tmp/multipartBody8571077629259692816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110154555,"filename":"image_29012025_01_14_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/29/e2b1da1bcd259d44345d0a01835dd970.jpg","text":"TemporaryFile(/tmp/multipartBody6403745634617651363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110154555,"filename":"image_29012025_01_15_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/29/2e2238ca12e5a7a5332f290dc4e7708c.jpg","text":"TemporaryFile(/tmp/multipartBody4413590984705831294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110154555,"filename":"image_29012025_01_15_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/29/8eb70d3e7be9779592a993282ec3a357.jpg","text":"TemporaryFile(/tmp/multipartBody1795938508133072281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110154555,"filename":"image_29012025_01_15_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/29/ce83c76e261510332f4b850a57de3d6e.jpg","text":"TemporaryFile(/tmp/multipartBody7070840875691026237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110154555,"filename":"image_29012025_01_15_24_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/29/0bc1b4c8ad9e67cb56b525c8f100cae7.jpg","text":"TemporaryFile(/tmp/multipartBody8289619316881194327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110154555,"filename":"image_29012025_01_14_35_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332474820","file1":"1332474724","file0":"1332474629","file4":"1332475011","file5":"1332475014","file3":"1332474912"},"map_files_photo_id_array":[{"photo_id":"1332475014","filename":"file5"},{"photo_id":"1332474820","filename":"file2"},{"photo_id":"1332475011","filename":"file4"},{"photo_id":"1332474724","filename":"file1"},{"photo_id":"1332474629","filename":"file0"},{"photo_id":"1332474912","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332474724":["hashtag1","hashtag2"]},{"1332474820":["hashtag1","hashtag2"]},{"1332475014":["hashtag1","hashtag2"]},{"1332474912":["hashtag1","hashtag2"]},{"1332475011":["hashtag1","hashtag2"]},{"1332474629":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332474724, 1332474820, 1332475014, 1332474912, 1332475011, 1332474629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40004229545593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:22:32.564916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/15/image_29012025_01_15_45_10406.jpg', '/home/pi/Desktop/images/29012025/01/15/image_29012025_01_16_05_10369.jpg', '/home/pi/Desktop/images/29012025/01/16/image_29012025_01_16_15_10473.jpg', '/home/pi/Desktop/images/29012025/01/16/image_29012025_01_16_25_9417.jpg', '/home/pi/Desktop/images/29012025/01/16/image_29012025_01_16_35_10469.jpg', '/home/pi/Desktop/images/29012025/01/16/image_29012025_01_16_45_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/15/image_29012025_01_15_45_10406.jpg
/home/pi/Desktop/images/29012025/01/15/image_29012025_01_16_05_10369.jpg
/home/pi/Desktop/images/29012025/01/16/image_29012025_01_16_15_10473.jpg
/home/pi/Desktop/images/29012025/01/16/image_29012025_01_16_25_9417.jpg
/home/pi/Desktop/images/29012025/01/16/image_29012025_01_16_35_10469.jpg
/home/pi/Desktop/images/29012025/01/16/image_29012025_01_16_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":["1332475168","1332475176","1332475172","1332475061","1332475052","1332475046"],"photo_ids_order":["1332475046","1332475052","1332475061","1332475168","1332475172","1332475176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b9eb39b1dd134a46d0dd7cc69615c4c5.jpg","text":"TemporaryFile(/tmp/multipartBody6325921858050578480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110213511,"filename":"image_29012025_01_16_25_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/29/fcced4d7be141226db6e3ded1aa24cc2.jpg","text":"TemporaryFile(/tmp/multipartBody3263992275505940151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110213511,"filename":"image_29012025_01_16_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/29/8eee173b71663fd1adeea1a86a4aa9fd.jpg","text":"TemporaryFile(/tmp/multipartBody150829457072671539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110213511,"filename":"image_29012025_01_16_35_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/29/b888b09fd7f2351224e33893feac4f14.jpg","text":"TemporaryFile(/tmp/multipartBody8837709240434382291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110213511,"filename":"image_29012025_01_16_15_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/29/df7bc7bafef30c33066e05eb0f1bbeba.jpg","text":"TemporaryFile(/tmp/multipartBody7074923924272513753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110213511,"filename":"image_29012025_01_16_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/29/570c25a0135d8f04834ed3fb4de803d6.jpg","text":"TemporaryFile(/tmp/multipartBody8640759287631466663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110213511,"filename":"image_29012025_01_15_45_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332475061","file1":"1332475052","file0":"1332475046","file4":"1332475172","file5":"1332475176","file3":"1332475168"},"map_files_photo_id_array":[{"photo_id":"1332475176","filename":"file5"},{"photo_id":"1332475061","filename":"file2"},{"photo_id":"1332475172","filename":"file4"},{"photo_id":"1332475052","filename":"file1"},{"photo_id":"1332475046","filename":"file0"},{"photo_id":"1332475168","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332475168":["hashtag1","hashtag2"]},{"1332475176":["hashtag1","hashtag2"]},{"1332475172":["hashtag1","hashtag2"]},{"1332475061":["hashtag1","hashtag2"]},{"1332475052":["hashtag1","hashtag2"]},{"1332475046":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332475168, 1332475176, 1332475172, 1332475061, 1332475052, 1332475046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24906134605408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:23:32.783360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/16/image_29012025_01_16_55_10367.jpg', '/home/pi/Desktop/images/29012025/01/16/image_29012025_01_17_05_10341.jpg', '/home/pi/Desktop/images/29012025/01/17/image_29012025_01_17_15_9327.jpg', '/home/pi/Desktop/images/29012025/01/17/image_29012025_01_17_25_10343.jpg', '/home/pi/Desktop/images/29012025/01/17/image_29012025_01_17_35_10346.jpg', '/home/pi/Desktop/images/29012025/01/17/image_29012025_01_17_45_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/16/image_29012025_01_16_55_10367.jpg
/home/pi/Desktop/images/29012025/01/16/image_29012025_01_17_05_10341.jpg
/home/pi/Desktop/images/29012025/01/17/image_29012025_01_17_15_9327.jpg
/home/pi/Desktop/images/29012025/01/17/image_29012025_01_17_25_10343.jpg
/home/pi/Desktop/images/29012025/01/17/image_29012025_01_17_35_10346.jpg
/home/pi/Desktop/images/29012025/01/17/image_29012025_01_17_45_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":["1332476085","1332476088","1332475936","1332476072","1332475815","1332476021"],"photo_ids_order":["1332475815","1332475936","1332476021","1332476072","1332476085","1332476088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cfa7228cf1803513cd3290adf9dc9504.jpg","text":"TemporaryFile(/tmp/multipartBody7361283373850854419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110273700,"filename":"image_29012025_01_17_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/29/c893eaeabf5026cd35273665ef574a57.jpg","text":"TemporaryFile(/tmp/multipartBody2517644619151845931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110273700,"filename":"image_29012025_01_17_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/29/eb0eb0d1e6d4b2a041208294872deb65.jpg","text":"TemporaryFile(/tmp/multipartBody3457873135335679681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110273700,"filename":"image_29012025_01_17_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/29/f003359aba060d446c2125930da6e534.jpg","text":"TemporaryFile(/tmp/multipartBody8464751515027965115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110273700,"filename":"image_29012025_01_17_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/29/dd9ac1b31094ff65f48c72187064dbd1.jpg","text":"TemporaryFile(/tmp/multipartBody5679038644440784977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110273700,"filename":"image_29012025_01_16_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/29/b8c5c2164ba14b2f2de3eb53e195d6b7.jpg","text":"TemporaryFile(/tmp/multipartBody5852794299074836243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110273700,"filename":"image_29012025_01_17_15_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332476021","file1":"1332475936","file0":"1332475815","file4":"1332476085","file5":"1332476088","file3":"1332476072"},"map_files_photo_id_array":[{"photo_id":"1332476088","filename":"file5"},{"photo_id":"1332476021","filename":"file2"},{"photo_id":"1332476085","filename":"file4"},{"photo_id":"1332475936","filename":"file1"},{"photo_id":"1332475815","filename":"file0"},{"photo_id":"1332476072","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332476085":["hashtag1","hashtag2"]},{"1332476088":["hashtag1","hashtag2"]},{"1332475936":["hashtag1","hashtag2"]},{"1332476072":["hashtag1","hashtag2"]},{"1332475815":["hashtag1","hashtag2"]},{"1332476021":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332476085, 1332476088, 1332475936, 1332476072, 1332475815, 1332476021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2700936794281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:24:32.987466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/17/image_29012025_01_18_04_9347.jpg', '/home/pi/Desktop/images/29012025/01/18/image_29012025_01_18_15_10369.jpg', '/home/pi/Desktop/images/29012025/01/18/image_29012025_01_18_25_10496.jpg', '/home/pi/Desktop/images/29012025/01/18/image_29012025_01_18_35_9347.jpg', '/home/pi/Desktop/images/29012025/01/18/image_29012025_01_18_45_10374.jpg', '/home/pi/Desktop/images/29012025/01/18/image_29012025_01_18_55_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/17/image_29012025_01_18_04_9347.jpg
/home/pi/Desktop/images/29012025/01/18/image_29012025_01_18_15_10369.jpg
/home/pi/Desktop/images/29012025/01/18/image_29012025_01_18_25_10496.jpg
/home/pi/Desktop/images/29012025/01/18/image_29012025_01_18_35_9347.jpg
/home/pi/Desktop/images/29012025/01/18/image_29012025_01_18_45_10374.jpg
/home/pi/Desktop/images/29012025/01/18/image_29012025_01_18_55_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":["1332476506","1332476475","1332476469","1332476502","1332476497","1332476408"],"photo_ids_order":["1332476408","1332476469","1332476475","1332476497","1332476502","1332476506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/476cbd26c2dfb28cb3a4920de1f33b0e.jpg","text":"TemporaryFile(/tmp/multipartBody460011912108658670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110333900,"filename":"image_29012025_01_18_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/29/e125be197f8841400aaf4d77fa79ba01.jpg","text":"TemporaryFile(/tmp/multipartBody5234693248471095703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110333900,"filename":"image_29012025_01_18_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/29/3904e4156d37e5a6385b7d9f54700df6.jpg","text":"TemporaryFile(/tmp/multipartBody5592961670458400011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110333900,"filename":"image_29012025_01_18_15_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/29/2fdf55f69e7c69988b4b46e83403e3a9.jpg","text":"TemporaryFile(/tmp/multipartBody5238089681326982472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110333900,"filename":"image_29012025_01_18_45_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/29/4da74bce0522ca95286f260652d33174.jpg","text":"TemporaryFile(/tmp/multipartBody5892971034424113583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110333900,"filename":"image_29012025_01_18_35_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/29/9aab091fd724c3a8d7d8a0c5cda5636b.jpg","text":"TemporaryFile(/tmp/multipartBody1040543698393584718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110333900,"filename":"image_29012025_01_18_04_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332476475","file1":"1332476469","file0":"1332476408","file4":"1332476502","file5":"1332476506","file3":"1332476497"},"map_files_photo_id_array":[{"photo_id":"1332476506","filename":"file5"},{"photo_id":"1332476475","filename":"file2"},{"photo_id":"1332476502","filename":"file4"},{"photo_id":"1332476469","filename":"file1"},{"photo_id":"1332476408","filename":"file0"},{"photo_id":"1332476497","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332476506":["hashtag1","hashtag2"]},{"1332476475":["hashtag1","hashtag2"]},{"1332476469":["hashtag1","hashtag2"]},{"1332476502":["hashtag1","hashtag2"]},{"1332476497":["hashtag1","hashtag2"]},{"1332476408":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332476506, 1332476475, 1332476469, 1332476502, 1332476497, 1332476408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91203308105469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:25:32.219203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/18/image_29012025_01_19_05_9339.jpg', '/home/pi/Desktop/images/29012025/01/19/image_29012025_01_19_15_10346.jpg', '/home/pi/Desktop/images/29012025/01/19/image_29012025_01_19_25_10337.jpg', '/home/pi/Desktop/images/29012025/01/19/image_29012025_01_19_35_9337.jpg', '/home/pi/Desktop/images/29012025/01/19/image_29012025_01_19_45_10361.jpg', '/home/pi/Desktop/images/29012025/01/19/image_29012025_01_19_54_9432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/18/image_29012025_01_19_05_9339.jpg
/home/pi/Desktop/images/29012025/01/19/image_29012025_01_19_15_10346.jpg
/home/pi/Desktop/images/29012025/01/19/image_29012025_01_19_25_10337.jpg
/home/pi/Desktop/images/29012025/01/19/image_29012025_01_19_35_9337.jpg
/home/pi/Desktop/images/29012025/01/19/image_29012025_01_19_45_10361.jpg
/home/pi/Desktop/images/29012025/01/19/image_29012025_01_19_54_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":["1332476975","1332476972","1332476969","1332476861","1332476936","1332476977"],"photo_ids_order":["1332476861","1332476936","1332476969","1332476972","1332476975","1332476977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9bdbfe493de5971629be9b367eb0d41c.jpg","text":"TemporaryFile(/tmp/multipartBody3513610227416035440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110393143,"filename":"image_29012025_01_19_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/29/a5219b37783762bb2c416205e07ff569.jpg","text":"TemporaryFile(/tmp/multipartBody6590566223763880882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110393143,"filename":"image_29012025_01_19_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/29/ccf8a84e4902caa8661cb8fdc3fbf683.jpg","text":"TemporaryFile(/tmp/multipartBody3493216292909375069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110393143,"filename":"image_29012025_01_19_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/29/ec0d9419a097d42f8dbfde949b72cb13.jpg","text":"TemporaryFile(/tmp/multipartBody5584527889029960454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110393143,"filename":"image_29012025_01_19_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/29/233862fbcc46347b92e2de8a9ce848e0.jpg","text":"TemporaryFile(/tmp/multipartBody6230742286571133968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110393143,"filename":"image_29012025_01_19_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/29/f1af1352523fb9f0d04ae08da9440fe5.jpg","text":"TemporaryFile(/tmp/multipartBody7190329670246756371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110393143,"filename":"image_29012025_01_19_54_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332476969","file1":"1332476936","file0":"1332476861","file4":"1332476975","file5":"1332476977","file3":"1332476972"},"map_files_photo_id_array":[{"photo_id":"1332476977","filename":"file5"},{"photo_id":"1332476969","filename":"file2"},{"photo_id":"1332476975","filename":"file4"},{"photo_id":"1332476936","filename":"file1"},{"photo_id":"1332476861","filename":"file0"},{"photo_id":"1332476972","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332476975":["hashtag1","hashtag2"]},{"1332476972":["hashtag1","hashtag2"]},{"1332476969":["hashtag1","hashtag2"]},{"1332476861":["hashtag1","hashtag2"]},{"1332476936":["hashtag1","hashtag2"]},{"1332476977":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332476975, 1332476972, 1332476969, 1332476861, 1332476936, 1332476977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23151731491089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:26:32.510931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/19/image_29012025_01_20_05_10425.jpg', '/home/pi/Desktop/images/29012025/01/20/image_29012025_01_20_15_10448.jpg', '/home/pi/Desktop/images/29012025/01/20/image_29012025_01_20_35_10413.jpg', '/home/pi/Desktop/images/29012025/01/20/image_29012025_01_20_45_9431.jpg', '/home/pi/Desktop/images/29012025/01/20/image_29012025_01_20_55_10371.jpg', '/home/pi/Desktop/images/29012025/01/20/image_29012025_01_21_04_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/19/image_29012025_01_20_05_10425.jpg
/home/pi/Desktop/images/29012025/01/20/image_29012025_01_20_15_10448.jpg
/home/pi/Desktop/images/29012025/01/20/image_29012025_01_20_35_10413.jpg
/home/pi/Desktop/images/29012025/01/20/image_29012025_01_20_45_9431.jpg
/home/pi/Desktop/images/29012025/01/20/image_29012025_01_20_55_10371.jpg
/home/pi/Desktop/images/29012025/01/20/image_29012025_01_21_04_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":["1332477030","1332477038","1332477110","1332477041","1332477035","1332477203"],"photo_ids_order":["1332477030","1332477035","1332477038","1332477041","1332477110","1332477203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9e0c4c05b1950e5abe81373ae5ad168f.jpg","text":"TemporaryFile(/tmp/multipartBody731855361049276846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110453444,"filename":"image_29012025_01_20_05_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/29/f1f7edcb58d3504ba069028af5fed6dc.jpg","text":"TemporaryFile(/tmp/multipartBody8322314470402645613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110453444,"filename":"image_29012025_01_20_35_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/29/de7362a639777c21297be9e72769bdde.jpg","text":"TemporaryFile(/tmp/multipartBody4817626945294251186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110453444,"filename":"image_29012025_01_20_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/29/b7c0887ba612786c9b10b8f62826f8ff.jpg","text":"TemporaryFile(/tmp/multipartBody6383796162706065522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110453444,"filename":"image_29012025_01_20_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/29/aba260b762b79fc40f86b164b00c48c7.jpg","text":"TemporaryFile(/tmp/multipartBody1574843251532300306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110453444,"filename":"image_29012025_01_20_15_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/29/3ae75d9872033d239f6a31352eb20b50.jpg","text":"TemporaryFile(/tmp/multipartBody4744840557732506976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110453444,"filename":"image_29012025_01_21_04_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332477038","file1":"1332477035","file0":"1332477030","file4":"1332477110","file5":"1332477203","file3":"1332477041"},"map_files_photo_id_array":[{"photo_id":"1332477203","filename":"file5"},{"photo_id":"1332477038","filename":"file2"},{"photo_id":"1332477110","filename":"file4"},{"photo_id":"1332477035","filename":"file1"},{"photo_id":"1332477030","filename":"file0"},{"photo_id":"1332477041","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332477030":["hashtag1","hashtag2"]},{"1332477038":["hashtag1","hashtag2"]},{"1332477110":["hashtag1","hashtag2"]},{"1332477041":["hashtag1","hashtag2"]},{"1332477035":["hashtag1","hashtag2"]},{"1332477203":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332477030, 1332477038, 1332477110, 1332477041, 1332477035, 1332477203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01128673553467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:27:32.828484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/21/image_29012025_01_21_15_10357.jpg', '/home/pi/Desktop/images/29012025/01/21/image_29012025_01_21_25_10417.jpg', '/home/pi/Desktop/images/29012025/01/21/image_29012025_01_21_35_9349.jpg', '/home/pi/Desktop/images/29012025/01/21/image_29012025_01_21_45_10365.jpg', '/home/pi/Desktop/images/29012025/01/21/image_29012025_01_21_55_10474.jpg', '/home/pi/Desktop/images/29012025/01/21/image_29012025_01_22_05_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/21/image_29012025_01_21_15_10357.jpg
/home/pi/Desktop/images/29012025/01/21/image_29012025_01_21_25_10417.jpg
/home/pi/Desktop/images/29012025/01/21/image_29012025_01_21_35_9349.jpg
/home/pi/Desktop/images/29012025/01/21/image_29012025_01_21_45_10365.jpg
/home/pi/Desktop/images/29012025/01/21/image_29012025_01_21_55_10474.jpg
/home/pi/Desktop/images/29012025/01/21/image_29012025_01_22_05_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":["1332477438","1332477476","1332477341","1332477416","1332477468","1332477396"],"photo_ids_order":["1332477341","1332477396","1332477416","1332477438","1332477468","1332477476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/24890923179f82d58bef640d4ac6f6ef.jpg","text":"TemporaryFile(/tmp/multipartBody7225700320981233618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110513742,"filename":"image_29012025_01_21_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/29/ab33b261f91b4ef81f86bc7d4087179a.jpg","text":"TemporaryFile(/tmp/multipartBody4907184814960342220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110513742,"filename":"image_29012025_01_22_05_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/29/e27546b09bbab30f03d4645132f52137.jpg","text":"TemporaryFile(/tmp/multipartBody1639478054122943123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110513742,"filename":"image_29012025_01_21_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/29/96f60cb65e13882153bda81dbd05cf9e.jpg","text":"TemporaryFile(/tmp/multipartBody1584525059652966646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110513742,"filename":"image_29012025_01_21_35_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/29/70b2eb2302cec277b80e5ce7c2d5402d.jpg","text":"TemporaryFile(/tmp/multipartBody1191522287879347902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110513742,"filename":"image_29012025_01_21_55_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/29/dbeb4e9e0a0186866dd42a46453e70a6.jpg","text":"TemporaryFile(/tmp/multipartBody4646111594041417111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110513742,"filename":"image_29012025_01_21_25_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332477416","file1":"1332477396","file0":"1332477341","file4":"1332477468","file5":"1332477476","file3":"1332477438"},"map_files_photo_id_array":[{"photo_id":"1332477476","filename":"file5"},{"photo_id":"1332477416","filename":"file2"},{"photo_id":"1332477468","filename":"file4"},{"photo_id":"1332477396","filename":"file1"},{"photo_id":"1332477341","filename":"file0"},{"photo_id":"1332477438","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332477438":["hashtag1","hashtag2"]},{"1332477476":["hashtag1","hashtag2"]},{"1332477341":["hashtag1","hashtag2"]},{"1332477416":["hashtag1","hashtag2"]},{"1332477468":["hashtag1","hashtag2"]},{"1332477396":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332477438, 1332477476, 1332477341, 1332477416, 1332477468, 1332477396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37206172943115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:28:32.906277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_15_10430.jpg', '/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_25_9353.jpg', '/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_35_10360.jpg', '/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_44_9452.jpg', '/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_55_10378.jpg', '/home/pi/Desktop/images/29012025/01/22/image_29012025_01_23_05_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_15_10430.jpg
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_25_9353.jpg
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_35_10360.jpg
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_44_9452.jpg
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_55_10378.jpg
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_23_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.5266189575195312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 01:28:42.905251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_15_10430.jpg', '/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_25_9353.jpg', '/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_35_10360.jpg', '/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_44_9452.jpg', '/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_55_10378.jpg', '/home/pi/Desktop/images/29012025/01/22/image_29012025_01_23_05_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_15_10430.jpg
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_25_9353.jpg
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_35_10360.jpg
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_44_9452.jpg
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_22_55_10378.jpg
/home/pi/Desktop/images/29012025/01/22/image_29012025_01_23_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":["1332477977","1332478315","1332478216","1332478111","1332478302","1332478035"],"photo_ids_order":["1332477977","1332478035","1332478111","1332478216","1332478302","1332478315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/668e18a36003d78925474087afa9f17f.jpg","text":"TemporaryFile(/tmp/multipartBody4226129313729738015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110583828,"filename":"image_29012025_01_22_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/29/b0cd583db14a93fb2f0ac82250a97db6.jpg","text":"TemporaryFile(/tmp/multipartBody611260586923680233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110583828,"filename":"image_29012025_01_23_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/29/7f21b1781b436858e60b93f7e96ef787.jpg","text":"TemporaryFile(/tmp/multipartBody3304160245802911224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110583828,"filename":"image_29012025_01_22_44_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/29/323e8c750492cf8b8edb018315b32f48.jpg","text":"TemporaryFile(/tmp/multipartBody7802075186781845538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110583828,"filename":"image_29012025_01_22_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/29/3485e7dac2b730484428e5e58319973b.jpg","text":"TemporaryFile(/tmp/multipartBody791969572314168660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110583828,"filename":"image_29012025_01_22_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/29/bdce7e923d3eb22e460b843f4e449b86.jpg","text":"TemporaryFile(/tmp/multipartBody9146702696583684218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110583828,"filename":"image_29012025_01_22_25_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332478111","file1":"1332478035","file0":"1332477977","file4":"1332478302","file5":"1332478315","file3":"1332478216"},"map_files_photo_id_array":[{"photo_id":"1332478315","filename":"file5"},{"photo_id":"1332478111","filename":"file2"},{"photo_id":"1332478302","filename":"file4"},{"photo_id":"1332478035","filename":"file1"},{"photo_id":"1332477977","filename":"file0"},{"photo_id":"1332478216","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332477977":["hashtag1","hashtag2"]},{"1332478315":["hashtag1","hashtag2"]},{"1332478216":["hashtag1","hashtag2"]},{"1332478111":["hashtag1","hashtag2"]},{"1332478302":["hashtag1","hashtag2"]},{"1332478035":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332477977, 1332478315, 1332478216, 1332478111, 1332478302, 1332478035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.45910716056824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:29:32.471007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/23/image_29012025_01_23_15_9407.jpg', '/home/pi/Desktop/images/29012025/01/23/image_29012025_01_23_25_10369.jpg', '/home/pi/Desktop/images/29012025/01/23/image_29012025_01_23_45_9338.jpg', '/home/pi/Desktop/images/29012025/01/23/image_29012025_01_23_55_10385.jpg', '/home/pi/Desktop/images/29012025/01/23/image_29012025_01_24_05_9458.jpg', '/home/pi/Desktop/images/29012025/01/24/image_29012025_01_24_15_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/23/image_29012025_01_23_15_9407.jpg
/home/pi/Desktop/images/29012025/01/23/image_29012025_01_23_25_10369.jpg
/home/pi/Desktop/images/29012025/01/23/image_29012025_01_23_45_9338.jpg
/home/pi/Desktop/images/29012025/01/23/image_29012025_01_23_55_10385.jpg
/home/pi/Desktop/images/29012025/01/23/image_29012025_01_24_05_9458.jpg
/home/pi/Desktop/images/29012025/01/24/image_29012025_01_24_15_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":["1332478340","1332478400","1332478343","1332478330","1332478449","1332478335"],"photo_ids_order":["1332478330","1332478335","1332478340","1332478343","1332478400","1332478449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1b2d89931dc9c2851c61512fb58c7e31.jpg","text":"TemporaryFile(/tmp/multipartBody451699007168230475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110633401,"filename":"image_29012025_01_23_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/29/1b8ee7c07fc30a73033f414f7ce26048.jpg","text":"TemporaryFile(/tmp/multipartBody805804742150107029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110633401,"filename":"image_29012025_01_24_05_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/29/3c3438c0160ee88247812dc3cca91e5c.jpg","text":"TemporaryFile(/tmp/multipartBody8371842675411618554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110633401,"filename":"image_29012025_01_23_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/29/ed8c6715c86f6527d22ea5440c4fa35a.jpg","text":"TemporaryFile(/tmp/multipartBody3335003855029042801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110633401,"filename":"image_29012025_01_23_15_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/29/9d6c535413c06815a22e8b6e0b354128.jpg","text":"TemporaryFile(/tmp/multipartBody4202794489721958491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110633401,"filename":"image_29012025_01_24_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/29/99b83d2f327f208293fe03df7a225036.jpg","text":"TemporaryFile(/tmp/multipartBody7913038853244214846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110633401,"filename":"image_29012025_01_23_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332478340","file1":"1332478335","file0":"1332478330","file4":"1332478400","file5":"1332478449","file3":"1332478343"},"map_files_photo_id_array":[{"photo_id":"1332478449","filename":"file5"},{"photo_id":"1332478340","filename":"file2"},{"photo_id":"1332478400","filename":"file4"},{"photo_id":"1332478335","filename":"file1"},{"photo_id":"1332478330","filename":"file0"},{"photo_id":"1332478343","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332478340":["hashtag1","hashtag2"]},{"1332478400":["hashtag1","hashtag2"]},{"1332478343":["hashtag1","hashtag2"]},{"1332478330":["hashtag1","hashtag2"]},{"1332478449":["hashtag1","hashtag2"]},{"1332478335":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332478340, 1332478400, 1332478343, 1332478330, 1332478449, 1332478335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.36346650123596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:30:32.682145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/24/image_29012025_01_24_25_10429.jpg', '/home/pi/Desktop/images/29012025/01/24/image_29012025_01_24_35_9357.jpg', '/home/pi/Desktop/images/29012025/01/24/image_29012025_01_24_45_10495.jpg', '/home/pi/Desktop/images/29012025/01/24/image_29012025_01_24_54_9354.jpg', '/home/pi/Desktop/images/29012025/01/24/image_29012025_01_25_05_10423.jpg', '/home/pi/Desktop/images/29012025/01/25/image_29012025_01_25_15_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/24/image_29012025_01_24_25_10429.jpg
/home/pi/Desktop/images/29012025/01/24/image_29012025_01_24_35_9357.jpg
/home/pi/Desktop/images/29012025/01/24/image_29012025_01_24_45_10495.jpg
/home/pi/Desktop/images/29012025/01/24/image_29012025_01_24_54_9354.jpg
/home/pi/Desktop/images/29012025/01/24/image_29012025_01_25_05_10423.jpg
/home/pi/Desktop/images/29012025/01/25/image_29012025_01_25_15_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":["1332478547","1332478540","1332478543","1332478537","1332478545","1332478524"],"photo_ids_order":["1332478524","1332478537","1332478540","1332478543","1332478545","1332478547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6e0cff6c8175a090c951e540440d5c29.jpg","text":"TemporaryFile(/tmp/multipartBody9111956664895221755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110693594,"filename":"image_29012025_01_25_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/29/71c6f5c3966bddaf50f2ba3964227ed8.jpg","text":"TemporaryFile(/tmp/multipartBody208674414862636981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110693594,"filename":"image_29012025_01_24_45_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/29/55626692d324a912c032e1dad798a09b.jpg","text":"TemporaryFile(/tmp/multipartBody168599857703210317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110693594,"filename":"image_29012025_01_24_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/29/f350efcd6b8f9e0770bb17dcbb232989.jpg","text":"TemporaryFile(/tmp/multipartBody1431869409218256847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110693594,"filename":"image_29012025_01_24_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/29/1715917edf150043c1644aca0eb3364c.jpg","text":"TemporaryFile(/tmp/multipartBody444232998553877878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110693594,"filename":"image_29012025_01_25_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/29/8781583998d84f988c3303e265eb184d.jpg","text":"TemporaryFile(/tmp/multipartBody2304767896347964443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110693594,"filename":"image_29012025_01_24_25_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332478540","file1":"1332478537","file0":"1332478524","file4":"1332478545","file5":"1332478547","file3":"1332478543"},"map_files_photo_id_array":[{"photo_id":"1332478547","filename":"file5"},{"photo_id":"1332478540","filename":"file2"},{"photo_id":"1332478545","filename":"file4"},{"photo_id":"1332478537","filename":"file1"},{"photo_id":"1332478524","filename":"file0"},{"photo_id":"1332478543","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332478547":["hashtag1","hashtag2"]},{"1332478540":["hashtag1","hashtag2"]},{"1332478543":["hashtag1","hashtag2"]},{"1332478537":["hashtag1","hashtag2"]},{"1332478545":["hashtag1","hashtag2"]},{"1332478524":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332478547, 1332478540, 1332478543, 1332478537, 1332478545, 1332478524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13239312171936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:31:32.927334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/25/image_29012025_01_25_25_9345.jpg', '/home/pi/Desktop/images/29012025/01/25/image_29012025_01_25_35_10357.jpg', '/home/pi/Desktop/images/29012025/01/25/image_29012025_01_25_44_9409.jpg', '/home/pi/Desktop/images/29012025/01/25/image_29012025_01_25_55_10351.jpg', '/home/pi/Desktop/images/29012025/01/25/image_29012025_01_26_05_10417.jpg', '/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_14_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/25/image_29012025_01_25_25_9345.jpg
/home/pi/Desktop/images/29012025/01/25/image_29012025_01_25_35_10357.jpg
/home/pi/Desktop/images/29012025/01/25/image_29012025_01_25_44_9409.jpg
/home/pi/Desktop/images/29012025/01/25/image_29012025_01_25_55_10351.jpg
/home/pi/Desktop/images/29012025/01/25/image_29012025_01_26_05_10417.jpg
/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_14_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":["1332478598","1332478577","1332478709","1332478588","1332478584","1332478572"],"photo_ids_order":["1332478572","1332478577","1332478584","1332478588","1332478598","1332478709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/329ab11e89a51e83742032246b47aab3.jpg","text":"TemporaryFile(/tmp/multipartBody2532430002925914733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110753837,"filename":"image_29012025_01_26_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/29/471f4572acc8ccd64de5464936f96104.jpg","text":"TemporaryFile(/tmp/multipartBody4840563381568542517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110753837,"filename":"image_29012025_01_25_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/29/168a1e3d4481f19e446289010ce6e522.jpg","text":"TemporaryFile(/tmp/multipartBody152955371412148729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110753837,"filename":"image_29012025_01_26_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/29/88722eff9a4ee8a046132303c9c8ceec.jpg","text":"TemporaryFile(/tmp/multipartBody1684746551024534981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110753837,"filename":"image_29012025_01_25_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/29/40171387a6c6a6b3ca961ed2a1097ecf.jpg","text":"TemporaryFile(/tmp/multipartBody3815463212079012152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110753837,"filename":"image_29012025_01_25_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/29/95947d9ef2b54b647468009caeff2bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4429129460379883041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110753837,"filename":"image_29012025_01_25_25_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332478584","file1":"1332478577","file0":"1332478572","file4":"1332478598","file5":"1332478709","file3":"1332478588"},"map_files_photo_id_array":[{"photo_id":"1332478709","filename":"file5"},{"photo_id":"1332478584","filename":"file2"},{"photo_id":"1332478598","filename":"file4"},{"photo_id":"1332478577","filename":"file1"},{"photo_id":"1332478572","filename":"file0"},{"photo_id":"1332478588","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332478598":["hashtag1","hashtag2"]},{"1332478577":["hashtag1","hashtag2"]},{"1332478709":["hashtag1","hashtag2"]},{"1332478588":["hashtag1","hashtag2"]},{"1332478584":["hashtag1","hashtag2"]},{"1332478572":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332478598, 1332478577, 1332478709, 1332478588, 1332478584, 1332478572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.436237812042236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:32:33.059103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_25_10362.jpg', '/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_35_10391.jpg', '/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_45_9298.jpg', '/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_55_10367.jpg', '/home/pi/Desktop/images/29012025/01/26/image_29012025_01_27_05_10381.jpg', '/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_15_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_25_10362.jpg
/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_35_10391.jpg
/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_45_9298.jpg
/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_55_10367.jpg
/home/pi/Desktop/images/29012025/01/26/image_29012025_01_27_05_10381.jpg
/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_15_9345.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.5200762748718262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 01:32:43.133719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_25_10362.jpg', '/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_35_10391.jpg', '/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_45_9298.jpg', '/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_55_10367.jpg', '/home/pi/Desktop/images/29012025/01/26/image_29012025_01_27_05_10381.jpg', '/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_15_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_25_10362.jpg
/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_35_10391.jpg
/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_45_9298.jpg
/home/pi/Desktop/images/29012025/01/26/image_29012025_01_26_55_10367.jpg
/home/pi/Desktop/images/29012025/01/26/image_29012025_01_27_05_10381.jpg
/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_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":["1332479296","1332479533","1332479388","1332479313","1332479226","1332479468"],"photo_ids_order":["1332479226","1332479296","1332479313","1332479388","1332479468","1332479533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/14bb2cbff4d32d5e094fd9e04f13ceff.jpg","text":"TemporaryFile(/tmp/multipartBody1259487897538838548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110824041,"filename":"image_29012025_01_26_35_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/29/969532c98cc6e7312788d6c9bab736f7.jpg","text":"TemporaryFile(/tmp/multipartBody4666866431293883177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110824041,"filename":"image_29012025_01_27_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/29/265cb89ee15ac9f2f76b56948e587445.jpg","text":"TemporaryFile(/tmp/multipartBody6164901355224912228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110824041,"filename":"image_29012025_01_26_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/29/e05c242faa2516404381cf13f5de496d.jpg","text":"TemporaryFile(/tmp/multipartBody6931569275436491326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110824041,"filename":"image_29012025_01_26_45_9298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c5c141362ec08b8a0d0937b3c9fb1d63.jpg","text":"TemporaryFile(/tmp/multipartBody2059756965680446897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110824041,"filename":"image_29012025_01_26_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/29/0f48bf3d69f58902d16b09aad3625446.jpg","text":"TemporaryFile(/tmp/multipartBody6068117010546474947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110824041,"filename":"image_29012025_01_27_05_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332479313","file1":"1332479296","file0":"1332479226","file4":"1332479468","file5":"1332479533","file3":"1332479388"},"map_files_photo_id_array":[{"photo_id":"1332479533","filename":"file5"},{"photo_id":"1332479313","filename":"file2"},{"photo_id":"1332479468","filename":"file4"},{"photo_id":"1332479296","filename":"file1"},{"photo_id":"1332479226","filename":"file0"},{"photo_id":"1332479388","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332479296":["hashtag1","hashtag2"]},{"1332479533":["hashtag1","hashtag2"]},{"1332479388":["hashtag1","hashtag2"]},{"1332479313":["hashtag1","hashtag2"]},{"1332479226":["hashtag1","hashtag2"]},{"1332479468":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332479296, 1332479533, 1332479388, 1332479313, 1332479226, 1332479468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.925676584243774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:33:32.228311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_25_10367.jpg', '/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_35_10355.jpg', '/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_45_9405.jpg', '/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_55_10525.jpg', '/home/pi/Desktop/images/29012025/01/27/image_29012025_01_28_05_9355.jpg', '/home/pi/Desktop/images/29012025/01/28/image_29012025_01_28_15_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_25_10367.jpg
/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_35_10355.jpg
/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_45_9405.jpg
/home/pi/Desktop/images/29012025/01/27/image_29012025_01_27_55_10525.jpg
/home/pi/Desktop/images/29012025/01/27/image_29012025_01_28_05_9355.jpg
/home/pi/Desktop/images/29012025/01/28/image_29012025_01_28_15_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":["1332479729","1332479755","1332479742","1332479739","1332479733","1332479762"],"photo_ids_order":["1332479729","1332479733","1332479739","1332479742","1332479755","1332479762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7e486e17cf7cbf69b9b336d0acb94ea9.jpg","text":"TemporaryFile(/tmp/multipartBody291911804648409747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110873147,"filename":"image_29012025_01_27_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/29/f42b152a0b446557cd0b08561350eee2.jpg","text":"TemporaryFile(/tmp/multipartBody5747713134655597515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110873147,"filename":"image_29012025_01_28_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/29/c0686238aac036b50b3111c067d12914.jpg","text":"TemporaryFile(/tmp/multipartBody3534521477207103547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110873147,"filename":"image_29012025_01_27_55_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/29/5957696cfd23565b97af6d2de5c717cf.jpg","text":"TemporaryFile(/tmp/multipartBody794969741726013189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110873147,"filename":"image_29012025_01_27_45_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/29/b46350347c3ce3a3d374704b7b4f6cc2.jpg","text":"TemporaryFile(/tmp/multipartBody726887763905689526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110873147,"filename":"image_29012025_01_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/29/ee984d0dd09d93c0d6f627ec70209161.jpg","text":"TemporaryFile(/tmp/multipartBody8388646401638921659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110873147,"filename":"image_29012025_01_28_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332479739","file1":"1332479733","file0":"1332479729","file4":"1332479755","file5":"1332479762","file3":"1332479742"},"map_files_photo_id_array":[{"photo_id":"1332479762","filename":"file5"},{"photo_id":"1332479739","filename":"file2"},{"photo_id":"1332479755","filename":"file4"},{"photo_id":"1332479733","filename":"file1"},{"photo_id":"1332479729","filename":"file0"},{"photo_id":"1332479742","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332479729":["hashtag1","hashtag2"]},{"1332479755":["hashtag1","hashtag2"]},{"1332479742":["hashtag1","hashtag2"]},{"1332479739":["hashtag1","hashtag2"]},{"1332479733":["hashtag1","hashtag2"]},{"1332479762":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332479729, 1332479755, 1332479742, 1332479739, 1332479733, 1332479762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24126434326172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:34:32.403823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/28/image_29012025_01_28_35_9342.jpg', '/home/pi/Desktop/images/29012025/01/28/image_29012025_01_28_45_10344.jpg', '/home/pi/Desktop/images/29012025/01/28/image_29012025_01_28_54_9454.jpg', '/home/pi/Desktop/images/29012025/01/28/image_29012025_01_29_05_10343.jpg', '/home/pi/Desktop/images/29012025/01/29/image_29012025_01_29_15_10450.jpg', '/home/pi/Desktop/images/29012025/01/29/image_29012025_01_29_25_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/28/image_29012025_01_28_35_9342.jpg
/home/pi/Desktop/images/29012025/01/28/image_29012025_01_28_45_10344.jpg
/home/pi/Desktop/images/29012025/01/28/image_29012025_01_28_54_9454.jpg
/home/pi/Desktop/images/29012025/01/28/image_29012025_01_29_05_10343.jpg
/home/pi/Desktop/images/29012025/01/29/image_29012025_01_29_15_10450.jpg
/home/pi/Desktop/images/29012025/01/29/image_29012025_01_29_25_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":["1332480047","1332480029","1332480031","1332480198","1332480033","1332480024"],"photo_ids_order":["1332480024","1332480029","1332480031","1332480033","1332480047","1332480198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/377e12c10d7cb1ae52b36922614ada24.jpg","text":"TemporaryFile(/tmp/multipartBody8341859046202533104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110933310,"filename":"image_29012025_01_29_15_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/29/c15080e2c7a2b548ebf41744d10ddd51.jpg","text":"TemporaryFile(/tmp/multipartBody8305665625017464914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110933310,"filename":"image_29012025_01_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/29/9f9cf1cc7f0f8a4f5cd64aa06cfb144c.jpg","text":"TemporaryFile(/tmp/multipartBody8150239077664778087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110933310,"filename":"image_29012025_01_28_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/29/5c22e3fd31c3807e550e832af704b920.jpg","text":"TemporaryFile(/tmp/multipartBody2535728958067129068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110933310,"filename":"image_29012025_01_29_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/29/20ff1932a4b2e27955cd7f1476aaed33.jpg","text":"TemporaryFile(/tmp/multipartBody4841526796066877671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110933310,"filename":"image_29012025_01_29_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/29/1f645cfdc026639f1b1878354069d596.jpg","text":"TemporaryFile(/tmp/multipartBody7386228115397141391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110933310,"filename":"image_29012025_01_28_35_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332480031","file1":"1332480029","file0":"1332480024","file4":"1332480047","file5":"1332480198","file3":"1332480033"},"map_files_photo_id_array":[{"photo_id":"1332480198","filename":"file5"},{"photo_id":"1332480031","filename":"file2"},{"photo_id":"1332480047","filename":"file4"},{"photo_id":"1332480029","filename":"file1"},{"photo_id":"1332480024","filename":"file0"},{"photo_id":"1332480033","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332480047":["hashtag1","hashtag2"]},{"1332480029":["hashtag1","hashtag2"]},{"1332480031":["hashtag1","hashtag2"]},{"1332480198":["hashtag1","hashtag2"]},{"1332480033":["hashtag1","hashtag2"]},{"1332480024":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332480047, 1332480029, 1332480031, 1332480198, 1332480033, 1332480024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98210406303406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:35:32.774682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/29/image_29012025_01_29_34_9828.jpg', '/home/pi/Desktop/images/29012025/01/29/image_29012025_01_29_45_10377.jpg', '/home/pi/Desktop/images/29012025/01/29/image_29012025_01_29_54_9559.jpg', '/home/pi/Desktop/images/29012025/01/29/image_29012025_01_30_05_10394.jpg', '/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_15_10406.jpg', '/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_25_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/29/image_29012025_01_29_34_9828.jpg
/home/pi/Desktop/images/29012025/01/29/image_29012025_01_29_45_10377.jpg
/home/pi/Desktop/images/29012025/01/29/image_29012025_01_29_54_9559.jpg
/home/pi/Desktop/images/29012025/01/29/image_29012025_01_30_05_10394.jpg
/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_15_10406.jpg
/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_25_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":["1332480293","1332480287","1332480271","1332480280","1332480276","1332480290"],"photo_ids_order":["1332480271","1332480276","1332480280","1332480287","1332480290","1332480293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5b59b17ff0e9c5b4b1ae1d04503ecc51.jpg","text":"TemporaryFile(/tmp/multipartBody7041751855540224086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110993691,"filename":"image_29012025_01_30_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/29/aa031c8ac8f66d8ad916a0bb630548ac.jpg","text":"TemporaryFile(/tmp/multipartBody2311377177232413809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110993691,"filename":"image_29012025_01_30_05_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/29/b9bef81c11d3b185eea92735ac5eebef.jpg","text":"TemporaryFile(/tmp/multipartBody6892698442935074927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110993691,"filename":"image_29012025_01_29_34_9828.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dd6c8dc75b53bff310c9f3403fccfc66.jpg","text":"TemporaryFile(/tmp/multipartBody6644163822327014589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110993691,"filename":"image_29012025_01_29_54_9559.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4f00ebd72a1fcf1fa0e9c3fabbbd4bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6766461743208604590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110993691,"filename":"image_29012025_01_29_45_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/29/e77f2a37f91488f3ca60c5319e81eb3b.jpg","text":"TemporaryFile(/tmp/multipartBody3867267391258939708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738110993691,"filename":"image_29012025_01_30_15_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332480280","file1":"1332480276","file0":"1332480271","file4":"1332480290","file5":"1332480293","file3":"1332480287"},"map_files_photo_id_array":[{"photo_id":"1332480293","filename":"file5"},{"photo_id":"1332480280","filename":"file2"},{"photo_id":"1332480290","filename":"file4"},{"photo_id":"1332480276","filename":"file1"},{"photo_id":"1332480271","filename":"file0"},{"photo_id":"1332480287","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332480293":["hashtag1","hashtag2"]},{"1332480287":["hashtag1","hashtag2"]},{"1332480271":["hashtag1","hashtag2"]},{"1332480280":["hashtag1","hashtag2"]},{"1332480276":["hashtag1","hashtag2"]},{"1332480290":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332480293, 1332480287, 1332480271, 1332480280, 1332480276, 1332480290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34944415092468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:36:32.911343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_35_10446.jpg', '/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_44_9415.jpg', '/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_55_10356.jpg', '/home/pi/Desktop/images/29012025/01/30/image_29012025_01_31_05_10463.jpg', '/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_15_9370.jpg', '/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_25_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_35_10446.jpg
/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_44_9415.jpg
/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_55_10356.jpg
/home/pi/Desktop/images/29012025/01/30/image_29012025_01_31_05_10463.jpg
/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_15_9370.jpg
/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_25_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.5247902870178223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 01:36:42.976106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_35_10446.jpg', '/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_44_9415.jpg', '/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_55_10356.jpg', '/home/pi/Desktop/images/29012025/01/30/image_29012025_01_31_05_10463.jpg', '/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_15_9370.jpg', '/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_25_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_35_10446.jpg
/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_44_9415.jpg
/home/pi/Desktop/images/29012025/01/30/image_29012025_01_30_55_10356.jpg
/home/pi/Desktop/images/29012025/01/30/image_29012025_01_31_05_10463.jpg
/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_15_9370.jpg
/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_25_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":["1332480404","1332480394","1332480421","1332480415","1332480399","1332480418"],"photo_ids_order":["1332480394","1332480399","1332480404","1332480415","1332480418","1332480421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cd1a8c29a73c32f7dcb0099fd942bc97.jpg","text":"TemporaryFile(/tmp/multipartBody384193335272411189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111063901,"filename":"image_29012025_01_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/29/626e21f9c4c2a0b7c913a991ccfd7804.jpg","text":"TemporaryFile(/tmp/multipartBody3839781627542546746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111063901,"filename":"image_29012025_01_30_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/29/ed42bb0f5baf1a838fc40088496609b3.jpg","text":"TemporaryFile(/tmp/multipartBody3832256957138089019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111063901,"filename":"image_29012025_01_31_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/29/cff5653458020c817e2f6462fe26872c.jpg","text":"TemporaryFile(/tmp/multipartBody3458561335493306299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111063901,"filename":"image_29012025_01_31_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/29/9121b69ebd83d55ba9d1ec41bc4946b5.jpg","text":"TemporaryFile(/tmp/multipartBody8869040610612246152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111063901,"filename":"image_29012025_01_30_44_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/29/4c9e9d23762d9520c541eadeeb797d6b.jpg","text":"TemporaryFile(/tmp/multipartBody1840024261376252305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111063901,"filename":"image_29012025_01_31_15_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332480404","file1":"1332480399","file0":"1332480394","file4":"1332480418","file5":"1332480421","file3":"1332480415"},"map_files_photo_id_array":[{"photo_id":"1332480421","filename":"file5"},{"photo_id":"1332480404","filename":"file2"},{"photo_id":"1332480418","filename":"file4"},{"photo_id":"1332480399","filename":"file1"},{"photo_id":"1332480394","filename":"file0"},{"photo_id":"1332480415","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332480404":["hashtag1","hashtag2"]},{"1332480394":["hashtag1","hashtag2"]},{"1332480421":["hashtag1","hashtag2"]},{"1332480415":["hashtag1","hashtag2"]},{"1332480399":["hashtag1","hashtag2"]},{"1332480418":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332480404, 1332480394, 1332480421, 1332480415, 1332480399, 1332480418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25555682182312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:37:33.037532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_35_10344.jpg', '/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_45_9333.jpg', '/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_55_10365.jpg', '/home/pi/Desktop/images/29012025/01/31/image_29012025_01_32_04_9425.jpg', '/home/pi/Desktop/images/29012025/01/32/image_29012025_01_32_15_10335.jpg', '/home/pi/Desktop/images/29012025/01/32/image_29012025_01_32_25_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_35_10344.jpg
/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_45_9333.jpg
/home/pi/Desktop/images/29012025/01/31/image_29012025_01_31_55_10365.jpg
/home/pi/Desktop/images/29012025/01/31/image_29012025_01_32_04_9425.jpg
/home/pi/Desktop/images/29012025/01/32/image_29012025_01_32_15_10335.jpg
/home/pi/Desktop/images/29012025/01/32/image_29012025_01_32_25_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":["1332480481","1332480484","1332480637","1332480730","1332480549","1332480477"],"photo_ids_order":["1332480477","1332480481","1332480484","1332480549","1332480637","1332480730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7ee9d2b853b171eb642deefe475d9c70.jpg","text":"TemporaryFile(/tmp/multipartBody1855479115610127346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111113953,"filename":"image_29012025_01_31_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/29/420efcec3cb49336fd185fcc449e4d82.jpg","text":"TemporaryFile(/tmp/multipartBody8662175847296889049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111113953,"filename":"image_29012025_01_31_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/29/7bcc0ed2fba7bc9f9736ecabf4747312.jpg","text":"TemporaryFile(/tmp/multipartBody8871221303506536536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111113953,"filename":"image_29012025_01_32_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/29/db8b5017fdd2f4cd6f1bdbcc9a991c07.jpg","text":"TemporaryFile(/tmp/multipartBody6760196044290330111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111113953,"filename":"image_29012025_01_32_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/29/3c6bf09b5df3aa7d575ca38b1149fa54.jpg","text":"TemporaryFile(/tmp/multipartBody3561144682938898222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111113953,"filename":"image_29012025_01_32_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/29/82bf3ba5e1be4b7fd46016868284f0dc.jpg","text":"TemporaryFile(/tmp/multipartBody5689037105947502864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111113953,"filename":"image_29012025_01_31_35_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332480484","file1":"1332480481","file0":"1332480477","file4":"1332480637","file5":"1332480730","file3":"1332480549"},"map_files_photo_id_array":[{"photo_id":"1332480730","filename":"file5"},{"photo_id":"1332480484","filename":"file2"},{"photo_id":"1332480637","filename":"file4"},{"photo_id":"1332480481","filename":"file1"},{"photo_id":"1332480477","filename":"file0"},{"photo_id":"1332480549","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332480481":["hashtag1","hashtag2"]},{"1332480484":["hashtag1","hashtag2"]},{"1332480637":["hashtag1","hashtag2"]},{"1332480730":["hashtag1","hashtag2"]},{"1332480549":["hashtag1","hashtag2"]},{"1332480477":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332480481, 1332480484, 1332480637, 1332480730, 1332480549, 1332480477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4363796710968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:38:32.314063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/32/image_29012025_01_32_35_9407.jpg', '/home/pi/Desktop/images/29012025/01/32/image_29012025_01_32_45_10363.jpg', '/home/pi/Desktop/images/29012025/01/32/image_29012025_01_32_54_9421.jpg', '/home/pi/Desktop/images/29012025/01/32/image_29012025_01_33_05_10363.jpg', '/home/pi/Desktop/images/29012025/01/33/image_29012025_01_33_15_10406.jpg', '/home/pi/Desktop/images/29012025/01/33/image_29012025_01_33_25_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/32/image_29012025_01_32_35_9407.jpg
/home/pi/Desktop/images/29012025/01/32/image_29012025_01_32_45_10363.jpg
/home/pi/Desktop/images/29012025/01/32/image_29012025_01_32_54_9421.jpg
/home/pi/Desktop/images/29012025/01/32/image_29012025_01_33_05_10363.jpg
/home/pi/Desktop/images/29012025/01/33/image_29012025_01_33_15_10406.jpg
/home/pi/Desktop/images/29012025/01/33/image_29012025_01_33_25_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":["1332481267","1332481231","1332481225","1332481260","1332481302","1332481295"],"photo_ids_order":["1332481225","1332481231","1332481260","1332481267","1332481295","1332481302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c0be80d9ba4945e50ce759fd5d46c90b.jpg","text":"TemporaryFile(/tmp/multipartBody3511026276310850416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111173230,"filename":"image_29012025_01_33_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/29/9b2fe3036ca587d9a95afe064a08300a.jpg","text":"TemporaryFile(/tmp/multipartBody5842604793945598940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111173230,"filename":"image_29012025_01_32_45_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/29/9eb1aa215dc83d7b0319024da633e495.jpg","text":"TemporaryFile(/tmp/multipartBody4204664066048880304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111173230,"filename":"image_29012025_01_32_35_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/29/a37a978ac8f760e4adc79d47444df78a.jpg","text":"TemporaryFile(/tmp/multipartBody2133281961402176632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111173230,"filename":"image_29012025_01_32_54_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/29/f3ec2129dbbebed1c059423bcf2be4b5.jpg","text":"TemporaryFile(/tmp/multipartBody3441534374296333637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111173230,"filename":"image_29012025_01_33_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/29/1e10831b5f5372138edd80391276f8a1.jpg","text":"TemporaryFile(/tmp/multipartBody68000482857436322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111173230,"filename":"image_29012025_01_33_15_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332481260","file1":"1332481231","file0":"1332481225","file4":"1332481295","file5":"1332481302","file3":"1332481267"},"map_files_photo_id_array":[{"photo_id":"1332481302","filename":"file5"},{"photo_id":"1332481260","filename":"file2"},{"photo_id":"1332481295","filename":"file4"},{"photo_id":"1332481231","filename":"file1"},{"photo_id":"1332481225","filename":"file0"},{"photo_id":"1332481267","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332481267":["hashtag1","hashtag2"]},{"1332481231":["hashtag1","hashtag2"]},{"1332481225":["hashtag1","hashtag2"]},{"1332481260":["hashtag1","hashtag2"]},{"1332481302":["hashtag1","hashtag2"]},{"1332481295":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332481267, 1332481231, 1332481225, 1332481260, 1332481302, 1332481295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74778437614441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:39:32.397356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/33/image_29012025_01_33_35_10363.jpg', '/home/pi/Desktop/images/29012025/01/33/image_29012025_01_33_45_10479.jpg', '/home/pi/Desktop/images/29012025/01/33/image_29012025_01_33_55_9359.jpg', '/home/pi/Desktop/images/29012025/01/33/image_29012025_01_34_05_10429.jpg', '/home/pi/Desktop/images/29012025/01/34/image_29012025_01_34_14_9336.jpg', '/home/pi/Desktop/images/29012025/01/34/image_29012025_01_34_25_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/33/image_29012025_01_33_35_10363.jpg
/home/pi/Desktop/images/29012025/01/33/image_29012025_01_33_45_10479.jpg
/home/pi/Desktop/images/29012025/01/33/image_29012025_01_33_55_9359.jpg
/home/pi/Desktop/images/29012025/01/33/image_29012025_01_34_05_10429.jpg
/home/pi/Desktop/images/29012025/01/34/image_29012025_01_34_14_9336.jpg
/home/pi/Desktop/images/29012025/01/34/image_29012025_01_34_25_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":["1332481400","1332481396","1332481408","1332481362","1332481404","1332481466"],"photo_ids_order":["1332481362","1332481396","1332481400","1332481404","1332481408","1332481466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3aa60cad6dff163474f96b7531d86261.jpg","text":"TemporaryFile(/tmp/multipartBody1740990733224881011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111233348,"filename":"image_29012025_01_33_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/29/37f3bb3c4e9ab4ca4626d1a2aabd0016.jpg","text":"TemporaryFile(/tmp/multipartBody8739144064464387458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111233348,"filename":"image_29012025_01_33_45_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/29/3dd41229bf24f70d95313845e716135d.jpg","text":"TemporaryFile(/tmp/multipartBody2659169156922707262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111233348,"filename":"image_29012025_01_34_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/29/e7ce5b4dd6bba4dbd08483ba51a73b98.jpg","text":"TemporaryFile(/tmp/multipartBody1206167871115769560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111233348,"filename":"image_29012025_01_33_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/29/a31a25d5b4f00912bee13fe49b8d35ed.jpg","text":"TemporaryFile(/tmp/multipartBody2827125542803079126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111233348,"filename":"image_29012025_01_34_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/29/c83ee88936885e705153c02c9a279294.jpg","text":"TemporaryFile(/tmp/multipartBody6555523892729231184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111233348,"filename":"image_29012025_01_34_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332481400","file1":"1332481396","file0":"1332481362","file4":"1332481408","file5":"1332481466","file3":"1332481404"},"map_files_photo_id_array":[{"photo_id":"1332481466","filename":"file5"},{"photo_id":"1332481400","filename":"file2"},{"photo_id":"1332481408","filename":"file4"},{"photo_id":"1332481396","filename":"file1"},{"photo_id":"1332481362","filename":"file0"},{"photo_id":"1332481404","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332481400":["hashtag1","hashtag2"]},{"1332481396":["hashtag1","hashtag2"]},{"1332481408":["hashtag1","hashtag2"]},{"1332481362":["hashtag1","hashtag2"]},{"1332481404":["hashtag1","hashtag2"]},{"1332481466":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332481400, 1332481396, 1332481408, 1332481362, 1332481404, 1332481466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84609818458557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:40:32.768258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/34/image_29012025_01_34_35_10353.jpg', '/home/pi/Desktop/images/29012025/01/34/image_29012025_01_34_45_9364.jpg', '/home/pi/Desktop/images/29012025/01/34/image_29012025_01_34_55_10374.jpg', '/home/pi/Desktop/images/29012025/01/35/image_29012025_01_35_25_10379.jpg', '/home/pi/Desktop/images/29012025/01/35/image_29012025_01_35_45_10363.jpg', '/home/pi/Desktop/images/29012025/01/36/image_29012025_01_36_15_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/34/image_29012025_01_34_35_10353.jpg
/home/pi/Desktop/images/29012025/01/34/image_29012025_01_34_45_9364.jpg
/home/pi/Desktop/images/29012025/01/34/image_29012025_01_34_55_10374.jpg
/home/pi/Desktop/images/29012025/01/35/image_29012025_01_35_25_10379.jpg
/home/pi/Desktop/images/29012025/01/35/image_29012025_01_35_45_10363.jpg
/home/pi/Desktop/images/29012025/01/36/image_29012025_01_36_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":["1332481678","1332481612","1332481755","1332481725","1332481728","1332481655"],"photo_ids_order":["1332481612","1332481655","1332481678","1332481725","1332481728","1332481755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/befe9482a9bf8b0b3508ac3ccbcbe1e6.jpg","text":"TemporaryFile(/tmp/multipartBody9184783882970320719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111293686,"filename":"image_29012025_01_34_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/29/d35551782ba78554ddf4b984f2478d9c.jpg","text":"TemporaryFile(/tmp/multipartBody1451397167447176957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111293686,"filename":"image_29012025_01_34_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/29/72a37c37ac44583e47c9e96a683f6234.jpg","text":"TemporaryFile(/tmp/multipartBody8632197411914559831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111293686,"filename":"image_29012025_01_36_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/29/1295d6ffebd8452a5fc823ef95ea0376.jpg","text":"TemporaryFile(/tmp/multipartBody3295381892816163333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111293686,"filename":"image_29012025_01_35_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/29/9ded62d8313a4ae18194f5d976ad752e.jpg","text":"TemporaryFile(/tmp/multipartBody5663081760684918773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111293686,"filename":"image_29012025_01_35_45_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/29/e2274d4785bbf993dd97f38d45112510.jpg","text":"TemporaryFile(/tmp/multipartBody3325952501190752216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111293686,"filename":"image_29012025_01_34_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332481678","file1":"1332481655","file0":"1332481612","file4":"1332481728","file5":"1332481755","file3":"1332481725"},"map_files_photo_id_array":[{"photo_id":"1332481755","filename":"file5"},{"photo_id":"1332481678","filename":"file2"},{"photo_id":"1332481728","filename":"file4"},{"photo_id":"1332481655","filename":"file1"},{"photo_id":"1332481612","filename":"file0"},{"photo_id":"1332481725","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332481678":["hashtag1","hashtag2"]},{"1332481612":["hashtag1","hashtag2"]},{"1332481755":["hashtag1","hashtag2"]},{"1332481725":["hashtag1","hashtag2"]},{"1332481728":["hashtag1","hashtag2"]},{"1332481655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332481678, 1332481612, 1332481755, 1332481725, 1332481728, 1332481655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75858759880066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:41:32.922652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/36/image_29012025_01_36_25_10364.jpg', '/home/pi/Desktop/images/29012025/01/36/image_29012025_01_36_35_9385.jpg', '/home/pi/Desktop/images/29012025/01/36/image_29012025_01_36_45_10358.jpg', '/home/pi/Desktop/images/29012025/01/36/image_29012025_01_36_54_9382.jpg', '/home/pi/Desktop/images/29012025/01/36/image_29012025_01_37_05_10355.jpg', '/home/pi/Desktop/images/29012025/01/37/image_29012025_01_37_15_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/36/image_29012025_01_36_25_10364.jpg
/home/pi/Desktop/images/29012025/01/36/image_29012025_01_36_35_9385.jpg
/home/pi/Desktop/images/29012025/01/36/image_29012025_01_36_45_10358.jpg
/home/pi/Desktop/images/29012025/01/36/image_29012025_01_36_54_9382.jpg
/home/pi/Desktop/images/29012025/01/36/image_29012025_01_37_05_10355.jpg
/home/pi/Desktop/images/29012025/01/37/image_29012025_01_37_15_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332481805","1332481801","1332481794","1332481807","1332481797","1332481790"],"photo_ids_order":["1332481790","1332481794","1332481797","1332481801","1332481805","1332481807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/38acd0b099b1bbd26a61c7a8cd0604b8.jpg","text":"TemporaryFile(/tmp/multipartBody4746576346042462331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111353840,"filename":"image_29012025_01_37_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/29/f80011b95ce5d752b010dba4c3abaa61.jpg","text":"TemporaryFile(/tmp/multipartBody6470043762318204053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111353840,"filename":"image_29012025_01_36_54_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/29/52d8d5f95c79d47b5847dc53fd056504.jpg","text":"TemporaryFile(/tmp/multipartBody2795493895022219780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111353840,"filename":"image_29012025_01_36_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/29/0398b37574cb347d5fd516a20341741f.jpg","text":"TemporaryFile(/tmp/multipartBody7048508731532361660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111353840,"filename":"image_29012025_01_37_15_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/29/68e215687ef35c29653b31f77344c652.jpg","text":"TemporaryFile(/tmp/multipartBody7273191002438385206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111353840,"filename":"image_29012025_01_36_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/29/191a093f1780a33bc5d673b20064fe1e.jpg","text":"TemporaryFile(/tmp/multipartBody5658529853125387269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111353840,"filename":"image_29012025_01_36_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332481797","file1":"1332481794","file0":"1332481790","file4":"1332481805","file5":"1332481807","file3":"1332481801"},"map_files_photo_id_array":[{"photo_id":"1332481807","filename":"file5"},{"photo_id":"1332481797","filename":"file2"},{"photo_id":"1332481805","filename":"file4"},{"photo_id":"1332481794","filename":"file1"},{"photo_id":"1332481790","filename":"file0"},{"photo_id":"1332481801","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332481805":["hashtag1","hashtag2"]},{"1332481801":["hashtag1","hashtag2"]},{"1332481794":["hashtag1","hashtag2"]},{"1332481807":["hashtag1","hashtag2"]},{"1332481797":["hashtag1","hashtag2"]},{"1332481790":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332481805, 1332481801, 1332481794, 1332481807, 1332481797, 1332481790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88691186904907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:42:33.107700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/37/image_29012025_01_37_25_9360.jpg', '/home/pi/Desktop/images/29012025/01/37/image_29012025_01_37_35_10352.jpg', '/home/pi/Desktop/images/29012025/01/37/image_29012025_01_37_45_10352.jpg', '/home/pi/Desktop/images/29012025/01/37/image_29012025_01_37_55_9363.jpg', '/home/pi/Desktop/images/29012025/01/37/image_29012025_01_38_05_10421.jpg', '/home/pi/Desktop/images/29012025/01/38/image_29012025_01_38_15_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/37/image_29012025_01_37_25_9360.jpg
/home/pi/Desktop/images/29012025/01/37/image_29012025_01_37_35_10352.jpg
/home/pi/Desktop/images/29012025/01/37/image_29012025_01_37_45_10352.jpg
/home/pi/Desktop/images/29012025/01/37/image_29012025_01_37_55_9363.jpg
/home/pi/Desktop/images/29012025/01/37/image_29012025_01_38_05_10421.jpg
/home/pi/Desktop/images/29012025/01/38/image_29012025_01_38_15_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":["1332481859","1332481846","1332481863","1332481871","1332481853","1332481877"],"photo_ids_order":["1332481846","1332481853","1332481859","1332481863","1332481871","1332481877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e767b5d6f7384fde783a98f9579c6ab3.jpg","text":"TemporaryFile(/tmp/multipartBody7480802007821843544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111414026,"filename":"image_29012025_01_37_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/29/dd816672ac12c21388d8526b5026ce7a.jpg","text":"TemporaryFile(/tmp/multipartBody7799221361218581048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111414026,"filename":"image_29012025_01_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/29/004bcd0fd50ad3d2a276432050c89aa9.jpg","text":"TemporaryFile(/tmp/multipartBody1187410140354035497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111414026,"filename":"image_29012025_01_37_55_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/29/a65bbd80d817b26305980348547dd4ff.jpg","text":"TemporaryFile(/tmp/multipartBody138659080715731186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111414026,"filename":"image_29012025_01_38_05_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/29/ca8b6a140c04af3ef7f9bbd9287ea3b0.jpg","text":"TemporaryFile(/tmp/multipartBody1475122798456157099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111414026,"filename":"image_29012025_01_37_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/29/c3f9ee77445a1595e70784504b56f514.jpg","text":"TemporaryFile(/tmp/multipartBody4692157586875890960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111414026,"filename":"image_29012025_01_38_15_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332481859","file1":"1332481853","file0":"1332481846","file4":"1332481871","file5":"1332481877","file3":"1332481863"},"map_files_photo_id_array":[{"photo_id":"1332481877","filename":"file5"},{"photo_id":"1332481859","filename":"file2"},{"photo_id":"1332481871","filename":"file4"},{"photo_id":"1332481853","filename":"file1"},{"photo_id":"1332481846","filename":"file0"},{"photo_id":"1332481863","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332481859":["hashtag1","hashtag2"]},{"1332481846":["hashtag1","hashtag2"]},{"1332481863":["hashtag1","hashtag2"]},{"1332481871":["hashtag1","hashtag2"]},{"1332481853":["hashtag1","hashtag2"]},{"1332481877":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332481859, 1332481846, 1332481863, 1332481871, 1332481853, 1332481877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56913948059082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:43:32.224088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/38/image_29012025_01_38_25_9357.jpg', '/home/pi/Desktop/images/29012025/01/38/image_29012025_01_38_35_10451.jpg', '/home/pi/Desktop/images/29012025/01/38/image_29012025_01_38_45_9354.jpg', '/home/pi/Desktop/images/29012025/01/38/image_29012025_01_38_55_10396.jpg', '/home/pi/Desktop/images/29012025/01/38/image_29012025_01_39_05_10359.jpg', '/home/pi/Desktop/images/29012025/01/39/image_29012025_01_39_15_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/38/image_29012025_01_38_25_9357.jpg
/home/pi/Desktop/images/29012025/01/38/image_29012025_01_38_35_10451.jpg
/home/pi/Desktop/images/29012025/01/38/image_29012025_01_38_45_9354.jpg
/home/pi/Desktop/images/29012025/01/38/image_29012025_01_38_55_10396.jpg
/home/pi/Desktop/images/29012025/01/38/image_29012025_01_39_05_10359.jpg
/home/pi/Desktop/images/29012025/01/39/image_29012025_01_39_15_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332481939","1332481927","1332481903","1332481941","1332481923","1332481934"],"photo_ids_order":["1332481903","1332481923","1332481927","1332481934","1332481939","1332481941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d5bcfadc11071556ad0f6432c9ecf79a.jpg","text":"TemporaryFile(/tmp/multipartBody6850439019779402985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111473129,"filename":"image_29012025_01_39_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/29/d47b7f1fbe200c78d2aec79ca740e9fc.jpg","text":"TemporaryFile(/tmp/multipartBody8289498002878945746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111473129,"filename":"image_29012025_01_38_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/29/79495368c489afe16dea985c5e9a3786.jpg","text":"TemporaryFile(/tmp/multipartBody8501878395508973807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111473129,"filename":"image_29012025_01_38_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/29/91883b24d731f9f86f7eb859774fbf14.jpg","text":"TemporaryFile(/tmp/multipartBody3396335300619743710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111473129,"filename":"image_29012025_01_39_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/29/a2543d8c0d2271ffb984efaebdac734e.jpg","text":"TemporaryFile(/tmp/multipartBody4868611842264943843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111473129,"filename":"image_29012025_01_38_35_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/29/ea5cc67105ff02792e0d1e8a4d3ce218.jpg","text":"TemporaryFile(/tmp/multipartBody1696998970050527234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111473129,"filename":"image_29012025_01_38_55_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332481927","file1":"1332481923","file0":"1332481903","file4":"1332481939","file5":"1332481941","file3":"1332481934"},"map_files_photo_id_array":[{"photo_id":"1332481941","filename":"file5"},{"photo_id":"1332481927","filename":"file2"},{"photo_id":"1332481939","filename":"file4"},{"photo_id":"1332481923","filename":"file1"},{"photo_id":"1332481903","filename":"file0"},{"photo_id":"1332481934","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332481939":["hashtag1","hashtag2"]},{"1332481927":["hashtag1","hashtag2"]},{"1332481903":["hashtag1","hashtag2"]},{"1332481941":["hashtag1","hashtag2"]},{"1332481923":["hashtag1","hashtag2"]},{"1332481934":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332481939, 1332481927, 1332481903, 1332481941, 1332481923, 1332481934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52712106704712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:44:32.444300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/39/image_29012025_01_39_25_10467.jpg', '/home/pi/Desktop/images/29012025/01/39/image_29012025_01_39_35_9370.jpg', '/home/pi/Desktop/images/29012025/01/39/image_29012025_01_39_45_10349.jpg', '/home/pi/Desktop/images/29012025/01/39/image_29012025_01_39_54_9461.jpg', '/home/pi/Desktop/images/29012025/01/39/image_29012025_01_40_05_10363.jpg', '/home/pi/Desktop/images/29012025/01/40/image_29012025_01_40_15_10480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/39/image_29012025_01_39_25_10467.jpg
/home/pi/Desktop/images/29012025/01/39/image_29012025_01_39_35_9370.jpg
/home/pi/Desktop/images/29012025/01/39/image_29012025_01_39_45_10349.jpg
/home/pi/Desktop/images/29012025/01/39/image_29012025_01_39_54_9461.jpg
/home/pi/Desktop/images/29012025/01/39/image_29012025_01_40_05_10363.jpg
/home/pi/Desktop/images/29012025/01/40/image_29012025_01_40_15_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332481996","1332481981","1332481992","1332481989","1332482000","1332482003"],"photo_ids_order":["1332481981","1332481989","1332481992","1332481996","1332482000","1332482003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/caa137646df62b97dea07423c6b76f3b.jpg","text":"TemporaryFile(/tmp/multipartBody1172897227648590102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111533390,"filename":"image_29012025_01_39_54_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/29/ec1f4b155f73349255b882fedf188f35.jpg","text":"TemporaryFile(/tmp/multipartBody3130070152187699018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111533390,"filename":"image_29012025_01_39_25_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/29/da60aa37e9a15a5e3dbd8cd170527af8.jpg","text":"TemporaryFile(/tmp/multipartBody9115955277131386021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111533390,"filename":"image_29012025_01_39_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/29/f6d37c1ad17979c49d2720814b9a5356.jpg","text":"TemporaryFile(/tmp/multipartBody4306757113294769046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111533390,"filename":"image_29012025_01_39_35_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/29/3799343625efff3d6f659125266687a3.jpg","text":"TemporaryFile(/tmp/multipartBody7702817408532238082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111533390,"filename":"image_29012025_01_40_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/29/ec159095f41aab471c06cbca2eb37991.jpg","text":"TemporaryFile(/tmp/multipartBody6203809754233809738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111533390,"filename":"image_29012025_01_40_15_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332481992","file1":"1332481989","file0":"1332481981","file4":"1332482000","file5":"1332482003","file3":"1332481996"},"map_files_photo_id_array":[{"photo_id":"1332482003","filename":"file5"},{"photo_id":"1332481992","filename":"file2"},{"photo_id":"1332482000","filename":"file4"},{"photo_id":"1332481989","filename":"file1"},{"photo_id":"1332481981","filename":"file0"},{"photo_id":"1332481996","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332481996":["hashtag1","hashtag2"]},{"1332481981":["hashtag1","hashtag2"]},{"1332481992":["hashtag1","hashtag2"]},{"1332481989":["hashtag1","hashtag2"]},{"1332482000":["hashtag1","hashtag2"]},{"1332482003":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332481996, 1332481981, 1332481992, 1332481989, 1332482000, 1332482003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68352699279785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:45:32.808992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/40/image_29012025_01_40_25_9357.jpg', '/home/pi/Desktop/images/29012025/01/40/image_29012025_01_40_35_10373.jpg', '/home/pi/Desktop/images/29012025/01/40/image_29012025_01_40_45_10349.jpg', '/home/pi/Desktop/images/29012025/01/40/image_29012025_01_40_55_9437.jpg', '/home/pi/Desktop/images/29012025/01/40/image_29012025_01_41_05_10462.jpg', '/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_15_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/40/image_29012025_01_40_25_9357.jpg
/home/pi/Desktop/images/29012025/01/40/image_29012025_01_40_35_10373.jpg
/home/pi/Desktop/images/29012025/01/40/image_29012025_01_40_45_10349.jpg
/home/pi/Desktop/images/29012025/01/40/image_29012025_01_40_55_9437.jpg
/home/pi/Desktop/images/29012025/01/40/image_29012025_01_41_05_10462.jpg
/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_15_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":["1332482335","1332482338","1332482308","1332482250","1332482294","1332482258"],"photo_ids_order":["1332482250","1332482258","1332482294","1332482308","1332482335","1332482338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/985d72681590956c23e815eef95b9e48.jpg","text":"TemporaryFile(/tmp/multipartBody3653928447121299353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111593727,"filename":"image_29012025_01_41_05_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/29/57c34a10e2cb342cbe1d79fa3db4237e.jpg","text":"TemporaryFile(/tmp/multipartBody4801416841385582007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111593727,"filename":"image_29012025_01_41_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/29/7056fb73135282ae2a4af9e3ad02ad39.jpg","text":"TemporaryFile(/tmp/multipartBody5041970751545976822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111593727,"filename":"image_29012025_01_40_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/29/7522a8838bf0983a0c5884bf6cd57acc.jpg","text":"TemporaryFile(/tmp/multipartBody3748919848443839538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111593727,"filename":"image_29012025_01_40_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/29/cc90e9e3c4e45722fb0d44658588f05b.jpg","text":"TemporaryFile(/tmp/multipartBody8371661614216816777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111593727,"filename":"image_29012025_01_40_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/29/c0a427d9ed81131ae4efd495bdf6e19c.jpg","text":"TemporaryFile(/tmp/multipartBody1453106298411851092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111593727,"filename":"image_29012025_01_40_35_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332482294","file1":"1332482258","file0":"1332482250","file4":"1332482335","file5":"1332482338","file3":"1332482308"},"map_files_photo_id_array":[{"photo_id":"1332482338","filename":"file5"},{"photo_id":"1332482294","filename":"file2"},{"photo_id":"1332482335","filename":"file4"},{"photo_id":"1332482258","filename":"file1"},{"photo_id":"1332482250","filename":"file0"},{"photo_id":"1332482308","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332482335":["hashtag1","hashtag2"]},{"1332482338":["hashtag1","hashtag2"]},{"1332482308":["hashtag1","hashtag2"]},{"1332482250":["hashtag1","hashtag2"]},{"1332482294":["hashtag1","hashtag2"]},{"1332482258":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332482335, 1332482338, 1332482308, 1332482250, 1332482294, 1332482258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15948534011841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:46:32.899714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_25_10362.jpg', '/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_35_10426.jpg', '/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_45_9350.jpg', '/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_55_10358.jpg', '/home/pi/Desktop/images/29012025/01/42/image_29012025_01_42_25_10521.jpg', '/home/pi/Desktop/images/29012025/01/42/image_29012025_01_42_35_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_25_10362.jpg
/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_35_10426.jpg
/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_45_9350.jpg
/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_55_10358.jpg
/home/pi/Desktop/images/29012025/01/42/image_29012025_01_42_25_10521.jpg
/home/pi/Desktop/images/29012025/01/42/image_29012025_01_42_35_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.527040958404541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 01:46:42.881429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_25_10362.jpg', '/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_35_10426.jpg', '/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_45_9350.jpg', '/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_55_10358.jpg', '/home/pi/Desktop/images/29012025/01/42/image_29012025_01_42_25_10521.jpg', '/home/pi/Desktop/images/29012025/01/42/image_29012025_01_42_35_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_25_10362.jpg
/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_35_10426.jpg
/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_45_9350.jpg
/home/pi/Desktop/images/29012025/01/41/image_29012025_01_41_55_10358.jpg
/home/pi/Desktop/images/29012025/01/42/image_29012025_01_42_25_10521.jpg
/home/pi/Desktop/images/29012025/01/42/image_29012025_01_42_35_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":["1332482402","1332482449","1332482451","1332482433","1332482447","1332482398"],"photo_ids_order":["1332482398","1332482402","1332482433","1332482447","1332482449","1332482451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fa915385e7e1eba283f4aea959ae8d63.jpg","text":"TemporaryFile(/tmp/multipartBody8952710341141654789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111663793,"filename":"image_29012025_01_41_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/29/a23b80a4133149e3ee455ec7b17e86dc.jpg","text":"TemporaryFile(/tmp/multipartBody4126802056849195318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111663793,"filename":"image_29012025_01_42_25_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bad2ff92204e1c373b8084006cf0756f.jpg","text":"TemporaryFile(/tmp/multipartBody6415365257381514978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111663793,"filename":"image_29012025_01_42_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/29/c8d30e5da75de256dd8e91b6673f4249.jpg","text":"TemporaryFile(/tmp/multipartBody7983870974438112253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111663793,"filename":"image_29012025_01_41_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/29/8adc59d6ce2dd796795105edbbed7b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1112017369367837926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111663793,"filename":"image_29012025_01_41_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/29/0e59c35f3f9162a94607857322ad919c.jpg","text":"TemporaryFile(/tmp/multipartBody582596584068428555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111663793,"filename":"image_29012025_01_41_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332482433","file1":"1332482402","file0":"1332482398","file4":"1332482449","file5":"1332482451","file3":"1332482447"},"map_files_photo_id_array":[{"photo_id":"1332482451","filename":"file5"},{"photo_id":"1332482433","filename":"file2"},{"photo_id":"1332482449","filename":"file4"},{"photo_id":"1332482402","filename":"file1"},{"photo_id":"1332482398","filename":"file0"},{"photo_id":"1332482447","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332482402":["hashtag1","hashtag2"]},{"1332482449":["hashtag1","hashtag2"]},{"1332482451":["hashtag1","hashtag2"]},{"1332482433":["hashtag1","hashtag2"]},{"1332482447":["hashtag1","hashtag2"]},{"1332482398":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332482402, 1332482449, 1332482451, 1332482433, 1332482447, 1332482398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75779676437378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:47:33.245770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/42/image_29012025_01_42_54_9474.jpg', '/home/pi/Desktop/images/29012025/01/42/image_29012025_01_43_05_10352.jpg', '/home/pi/Desktop/images/29012025/01/43/image_29012025_01_43_15_10505.jpg', '/home/pi/Desktop/images/29012025/01/43/image_29012025_01_43_25_9456.jpg', '/home/pi/Desktop/images/29012025/01/43/image_29012025_01_43_35_10446.jpg', '/home/pi/Desktop/images/29012025/01/43/image_29012025_01_43_45_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/42/image_29012025_01_42_54_9474.jpg
/home/pi/Desktop/images/29012025/01/42/image_29012025_01_43_05_10352.jpg
/home/pi/Desktop/images/29012025/01/43/image_29012025_01_43_15_10505.jpg
/home/pi/Desktop/images/29012025/01/43/image_29012025_01_43_25_9456.jpg
/home/pi/Desktop/images/29012025/01/43/image_29012025_01_43_35_10446.jpg
/home/pi/Desktop/images/29012025/01/43/image_29012025_01_43_45_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":["1332482491","1332482488","1332482484","1332482478","1332482472","1332482466"],"photo_ids_order":["1332482466","1332482472","1332482478","1332482484","1332482488","1332482491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4dc418ac3585d700e893a8eca90327e4.jpg","text":"TemporaryFile(/tmp/multipartBody1451707289501512632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111714171,"filename":"image_29012025_01_43_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/29/eb69c020f50c3d8c635c8c037aeadf30.jpg","text":"TemporaryFile(/tmp/multipartBody3979796391192476424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111714171,"filename":"image_29012025_01_43_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/29/f27d0b2577a65ed28c647bb25a002bea.jpg","text":"TemporaryFile(/tmp/multipartBody8075640817740324214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111714171,"filename":"image_29012025_01_43_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/29/9c808e990bba1f7701f844f7ae40cc44.jpg","text":"TemporaryFile(/tmp/multipartBody6980717968770566870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111714171,"filename":"image_29012025_01_43_15_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/31b5e7f0ce08a7294c90cb8663d96a74.jpg","text":"TemporaryFile(/tmp/multipartBody2372948828954956990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111714171,"filename":"image_29012025_01_43_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/29/0636f022bf156002fa17f692709307f1.jpg","text":"TemporaryFile(/tmp/multipartBody3038676480250924695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111714171,"filename":"image_29012025_01_42_54_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332482478","file1":"1332482472","file0":"1332482466","file4":"1332482488","file5":"1332482491","file3":"1332482484"},"map_files_photo_id_array":[{"photo_id":"1332482491","filename":"file5"},{"photo_id":"1332482478","filename":"file2"},{"photo_id":"1332482488","filename":"file4"},{"photo_id":"1332482472","filename":"file1"},{"photo_id":"1332482466","filename":"file0"},{"photo_id":"1332482484","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332482491":["hashtag1","hashtag2"]},{"1332482488":["hashtag1","hashtag2"]},{"1332482484":["hashtag1","hashtag2"]},{"1332482478":["hashtag1","hashtag2"]},{"1332482472":["hashtag1","hashtag2"]},{"1332482466":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332482491, 1332482488, 1332482484, 1332482478, 1332482472, 1332482466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37141680717468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:48:32.190226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/43/image_29012025_01_43_55_10358.jpg', '/home/pi/Desktop/images/29012025/01/43/image_29012025_01_44_05_10349.jpg', '/home/pi/Desktop/images/29012025/01/44/image_29012025_01_44_15_9342.jpg', '/home/pi/Desktop/images/29012025/01/44/image_29012025_01_44_25_10538.jpg', '/home/pi/Desktop/images/29012025/01/44/image_29012025_01_44_35_9373.jpg', '/home/pi/Desktop/images/29012025/01/44/image_29012025_01_44_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/43/image_29012025_01_43_55_10358.jpg
/home/pi/Desktop/images/29012025/01/43/image_29012025_01_44_05_10349.jpg
/home/pi/Desktop/images/29012025/01/44/image_29012025_01_44_15_9342.jpg
/home/pi/Desktop/images/29012025/01/44/image_29012025_01_44_25_10538.jpg
/home/pi/Desktop/images/29012025/01/44/image_29012025_01_44_35_9373.jpg
/home/pi/Desktop/images/29012025/01/44/image_29012025_01_44_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":["1332482541","1332482505","1332482520","1332482534","1332482537","1332482513"],"photo_ids_order":["1332482505","1332482513","1332482520","1332482534","1332482537","1332482541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b8946cf1e05a3fb1ce6b8364beccbe06.jpg","text":"TemporaryFile(/tmp/multipartBody6998974191075041064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111773102,"filename":"image_29012025_01_44_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/29/96dc9a3c24bb7ff703d92fafe6665a49.jpg","text":"TemporaryFile(/tmp/multipartBody606210875491446957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111773102,"filename":"image_29012025_01_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/29/853bd583db4a3879f7beeefcdc366d9c.jpg","text":"TemporaryFile(/tmp/multipartBody6163012865617402784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111773102,"filename":"image_29012025_01_44_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/29/22d62f601f75fb857fad37ec9110ead3.jpg","text":"TemporaryFile(/tmp/multipartBody2517833341118299814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111773102,"filename":"image_29012025_01_44_25_10538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/64ca38835a9ab2bfef5e39925d7457b6.jpg","text":"TemporaryFile(/tmp/multipartBody7567297079649295517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111773102,"filename":"image_29012025_01_44_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/29/b74163684a00ee55ec9992601d95bfdb.jpg","text":"TemporaryFile(/tmp/multipartBody2623764868989382020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111773102,"filename":"image_29012025_01_44_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332482520","file1":"1332482513","file0":"1332482505","file4":"1332482537","file5":"1332482541","file3":"1332482534"},"map_files_photo_id_array":[{"photo_id":"1332482541","filename":"file5"},{"photo_id":"1332482520","filename":"file2"},{"photo_id":"1332482537","filename":"file4"},{"photo_id":"1332482513","filename":"file1"},{"photo_id":"1332482505","filename":"file0"},{"photo_id":"1332482534","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332482541":["hashtag1","hashtag2"]},{"1332482505":["hashtag1","hashtag2"]},{"1332482520":["hashtag1","hashtag2"]},{"1332482534":["hashtag1","hashtag2"]},{"1332482537":["hashtag1","hashtag2"]},{"1332482513":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332482541, 1332482505, 1332482520, 1332482534, 1332482537, 1332482513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.834805488586426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:49:32.439204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/44/image_29012025_01_44_55_10437.jpg', '/home/pi/Desktop/images/29012025/01/44/image_29012025_01_45_05_9340.jpg', '/home/pi/Desktop/images/29012025/01/45/image_29012025_01_45_15_10342.jpg', '/home/pi/Desktop/images/29012025/01/45/image_29012025_01_45_24_9425.jpg', '/home/pi/Desktop/images/29012025/01/45/image_29012025_01_45_45_10430.jpg', '/home/pi/Desktop/images/29012025/01/45/image_29012025_01_45_55_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/44/image_29012025_01_44_55_10437.jpg
/home/pi/Desktop/images/29012025/01/44/image_29012025_01_45_05_9340.jpg
/home/pi/Desktop/images/29012025/01/45/image_29012025_01_45_15_10342.jpg
/home/pi/Desktop/images/29012025/01/45/image_29012025_01_45_24_9425.jpg
/home/pi/Desktop/images/29012025/01/45/image_29012025_01_45_45_10430.jpg
/home/pi/Desktop/images/29012025/01/45/image_29012025_01_45_55_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":["1332482578","1332482587","1332482566","1332482560","1332482573","1332482582"],"photo_ids_order":["1332482560","1332482566","1332482573","1332482578","1332482582","1332482587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/75e915d95fbbb51ceea1f9ef2f7c51b9.jpg","text":"TemporaryFile(/tmp/multipartBody2855326503684145571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111833358,"filename":"image_29012025_01_45_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/29/b433d63b7c8c7569e8d663aa77487cca.jpg","text":"TemporaryFile(/tmp/multipartBody7423054082247921060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111833358,"filename":"image_29012025_01_45_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/29/f08570b004d967b27517eaae6e4baff7.jpg","text":"TemporaryFile(/tmp/multipartBody6561480737896965903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111833358,"filename":"image_29012025_01_45_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/29/5634dd7df6514eb8c17582e45d208823.jpg","text":"TemporaryFile(/tmp/multipartBody2539505086755275413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111833358,"filename":"image_29012025_01_44_55_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/29/937d8b9ea769889e821d97f79a4439c7.jpg","text":"TemporaryFile(/tmp/multipartBody3308714906762857824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111833358,"filename":"image_29012025_01_45_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/29/5d94e88bf322fa42347797d7d7b2103b.jpg","text":"TemporaryFile(/tmp/multipartBody21782705519279258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111833358,"filename":"image_29012025_01_45_45_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332482573","file1":"1332482566","file0":"1332482560","file4":"1332482582","file5":"1332482587","file3":"1332482578"},"map_files_photo_id_array":[{"photo_id":"1332482587","filename":"file5"},{"photo_id":"1332482573","filename":"file2"},{"photo_id":"1332482582","filename":"file4"},{"photo_id":"1332482566","filename":"file1"},{"photo_id":"1332482560","filename":"file0"},{"photo_id":"1332482578","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332482578":["hashtag1","hashtag2"]},{"1332482587":["hashtag1","hashtag2"]},{"1332482566":["hashtag1","hashtag2"]},{"1332482560":["hashtag1","hashtag2"]},{"1332482573":["hashtag1","hashtag2"]},{"1332482582":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332482578, 1332482587, 1332482566, 1332482560, 1332482573, 1332482582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62459754943848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:50:32.703703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/45/image_29012025_01_46_05_10360.jpg', '/home/pi/Desktop/images/29012025/01/46/image_29012025_01_46_15_10332.jpg', '/home/pi/Desktop/images/29012025/01/46/image_29012025_01_46_25_9457.jpg', '/home/pi/Desktop/images/29012025/01/46/image_29012025_01_46_35_10580.jpg', '/home/pi/Desktop/images/29012025/01/46/image_29012025_01_46_45_9340.jpg', '/home/pi/Desktop/images/29012025/01/46/image_29012025_01_46_55_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/45/image_29012025_01_46_05_10360.jpg
/home/pi/Desktop/images/29012025/01/46/image_29012025_01_46_15_10332.jpg
/home/pi/Desktop/images/29012025/01/46/image_29012025_01_46_25_9457.jpg
/home/pi/Desktop/images/29012025/01/46/image_29012025_01_46_35_10580.jpg
/home/pi/Desktop/images/29012025/01/46/image_29012025_01_46_45_9340.jpg
/home/pi/Desktop/images/29012025/01/46/image_29012025_01_46_55_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":["1332482737","1332482694","1332482763","1332482876","1332482879","1332482822"],"photo_ids_order":["1332482694","1332482737","1332482763","1332482822","1332482876","1332482879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c7351169deb8b3733434abd440ef84e2.jpg","text":"TemporaryFile(/tmp/multipartBody4010874724426470862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111893651,"filename":"image_29012025_01_46_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/29/7aeed67a39b3eba1449e6f1c8bc94a68.jpg","text":"TemporaryFile(/tmp/multipartBody9176978585368080857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111893651,"filename":"image_29012025_01_46_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/29/95e0945f27af2e9e704e5d51de8ef380.jpg","text":"TemporaryFile(/tmp/multipartBody2369130798136075733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111893651,"filename":"image_29012025_01_46_25_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/29/4d1eeefc616ba8b45b6db47047425a54.jpg","text":"TemporaryFile(/tmp/multipartBody8570589593530208135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111893651,"filename":"image_29012025_01_46_45_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/29/a46ed6c1212f552ea067b3b4787ef2e6.jpg","text":"TemporaryFile(/tmp/multipartBody8472768070457014761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111893651,"filename":"image_29012025_01_46_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/29/d086fdefee5fb244c83261e85a837ede.jpg","text":"TemporaryFile(/tmp/multipartBody8826155334003576695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111893651,"filename":"image_29012025_01_46_35_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332482763","file1":"1332482737","file0":"1332482694","file4":"1332482876","file5":"1332482879","file3":"1332482822"},"map_files_photo_id_array":[{"photo_id":"1332482879","filename":"file5"},{"photo_id":"1332482763","filename":"file2"},{"photo_id":"1332482876","filename":"file4"},{"photo_id":"1332482737","filename":"file1"},{"photo_id":"1332482694","filename":"file0"},{"photo_id":"1332482822","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332482737":["hashtag1","hashtag2"]},{"1332482694":["hashtag1","hashtag2"]},{"1332482763":["hashtag1","hashtag2"]},{"1332482876":["hashtag1","hashtag2"]},{"1332482879":["hashtag1","hashtag2"]},{"1332482822":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332482737, 1332482694, 1332482763, 1332482876, 1332482879, 1332482822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48843765258789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:51:32.977400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/46/image_29012025_01_47_04_9432.jpg', '/home/pi/Desktop/images/29012025/01/47/image_29012025_01_47_15_10348.jpg', '/home/pi/Desktop/images/29012025/01/47/image_29012025_01_47_25_10515.jpg', '/home/pi/Desktop/images/29012025/01/47/image_29012025_01_47_35_9444.jpg', '/home/pi/Desktop/images/29012025/01/47/image_29012025_01_47_45_10398.jpg', '/home/pi/Desktop/images/29012025/01/47/image_29012025_01_47_55_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/46/image_29012025_01_47_04_9432.jpg
/home/pi/Desktop/images/29012025/01/47/image_29012025_01_47_15_10348.jpg
/home/pi/Desktop/images/29012025/01/47/image_29012025_01_47_25_10515.jpg
/home/pi/Desktop/images/29012025/01/47/image_29012025_01_47_35_9444.jpg
/home/pi/Desktop/images/29012025/01/47/image_29012025_01_47_45_10398.jpg
/home/pi/Desktop/images/29012025/01/47/image_29012025_01_47_55_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":["1332483666","1332483540","1332483456","1332483371","1332483595","1332483664"],"photo_ids_order":["1332483371","1332483456","1332483540","1332483595","1332483664","1332483666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/415e5ea18dfba63d1fbff7ea24fc207b.jpg","text":"TemporaryFile(/tmp/multipartBody3014281273676998936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111953895,"filename":"image_29012025_01_47_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/29/adee492921d6777643cec59067ef9e53.jpg","text":"TemporaryFile(/tmp/multipartBody7092360418965988097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111953895,"filename":"image_29012025_01_47_25_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fb6ed390a2a948eb48849875f7e4bba6.jpg","text":"TemporaryFile(/tmp/multipartBody9175912048284179048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111953895,"filename":"image_29012025_01_47_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/29/e0e57d81269560c023766b61782c6811.jpg","text":"TemporaryFile(/tmp/multipartBody651415387380691523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111953895,"filename":"image_29012025_01_47_04_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/29/5b2c46fd70d0d017c69746813f472342.jpg","text":"TemporaryFile(/tmp/multipartBody8226970196292118320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111953895,"filename":"image_29012025_01_47_35_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/29/dcbb0aeee4e1af0430128ebc4b0f97aa.jpg","text":"TemporaryFile(/tmp/multipartBody6345331734548004470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738111953895,"filename":"image_29012025_01_47_45_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332483540","file1":"1332483456","file0":"1332483371","file4":"1332483664","file5":"1332483666","file3":"1332483595"},"map_files_photo_id_array":[{"photo_id":"1332483666","filename":"file5"},{"photo_id":"1332483540","filename":"file2"},{"photo_id":"1332483664","filename":"file4"},{"photo_id":"1332483456","filename":"file1"},{"photo_id":"1332483371","filename":"file0"},{"photo_id":"1332483595","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332483666":["hashtag1","hashtag2"]},{"1332483540":["hashtag1","hashtag2"]},{"1332483456":["hashtag1","hashtag2"]},{"1332483371":["hashtag1","hashtag2"]},{"1332483595":["hashtag1","hashtag2"]},{"1332483664":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332483666, 1332483540, 1332483456, 1332483371, 1332483595, 1332483664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.464948415756226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:52:32.946261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/47/image_29012025_01_48_05_10357.jpg', '/home/pi/Desktop/images/29012025/01/48/image_29012025_01_48_15_10453.jpg', '/home/pi/Desktop/images/29012025/01/48/image_29012025_01_48_44_9338.jpg', '/home/pi/Desktop/images/29012025/01/48/image_29012025_01_48_55_10434.jpg', '/home/pi/Desktop/images/29012025/01/49/image_29012025_01_49_15_9327.jpg', '/home/pi/Desktop/images/29012025/01/49/image_29012025_01_49_25_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/47/image_29012025_01_48_05_10357.jpg
/home/pi/Desktop/images/29012025/01/48/image_29012025_01_48_15_10453.jpg
/home/pi/Desktop/images/29012025/01/48/image_29012025_01_48_44_9338.jpg
/home/pi/Desktop/images/29012025/01/48/image_29012025_01_48_55_10434.jpg
/home/pi/Desktop/images/29012025/01/49/image_29012025_01_49_15_9327.jpg
/home/pi/Desktop/images/29012025/01/49/image_29012025_01_49_25_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":["1332483702","1332483698","1332483863","1332483815","1332483694","1332483688"],"photo_ids_order":["1332483688","1332483694","1332483698","1332483702","1332483815","1332483863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d1dc1122b88fe546d6f592aa084028bf.jpg","text":"TemporaryFile(/tmp/multipartBody2141676055793764477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112013902,"filename":"image_29012025_01_48_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/29/006927d8f461dc3dc3c1e970d6c8f9af.jpg","text":"TemporaryFile(/tmp/multipartBody9105103938206478642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112013902,"filename":"image_29012025_01_48_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/29/5995d3160cc258af647e0f76bf6cf6df.jpg","text":"TemporaryFile(/tmp/multipartBody2465785115333859732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112013902,"filename":"image_29012025_01_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/29/293438f056aa20da07b396ca649aaa2f.jpg","text":"TemporaryFile(/tmp/multipartBody4771298933896784631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112013902,"filename":"image_29012025_01_49_15_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/29/3fdc8429015a61a3bfd1f5922cada256.jpg","text":"TemporaryFile(/tmp/multipartBody2865929733911957517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112013902,"filename":"image_29012025_01_48_15_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/29/8d072bf9fd354fa51aa25e5a51b93faf.jpg","text":"TemporaryFile(/tmp/multipartBody2115926769310532521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112013902,"filename":"image_29012025_01_48_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332483698","file1":"1332483694","file0":"1332483688","file4":"1332483815","file5":"1332483863","file3":"1332483702"},"map_files_photo_id_array":[{"photo_id":"1332483863","filename":"file5"},{"photo_id":"1332483698","filename":"file2"},{"photo_id":"1332483815","filename":"file4"},{"photo_id":"1332483694","filename":"file1"},{"photo_id":"1332483688","filename":"file0"},{"photo_id":"1332483702","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332483702":["hashtag1","hashtag2"]},{"1332483698":["hashtag1","hashtag2"]},{"1332483863":["hashtag1","hashtag2"]},{"1332483815":["hashtag1","hashtag2"]},{"1332483694":["hashtag1","hashtag2"]},{"1332483688":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332483702, 1332483698, 1332483863, 1332483815, 1332483694, 1332483688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.19296717643738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:53:33.256930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/49/image_29012025_01_49_35_10434.jpg', '/home/pi/Desktop/images/29012025/01/49/image_29012025_01_49_45_9347.jpg', '/home/pi/Desktop/images/29012025/01/49/image_29012025_01_49_55_10375.jpg', '/home/pi/Desktop/images/29012025/01/49/image_29012025_01_50_04_9333.jpg', '/home/pi/Desktop/images/29012025/01/50/image_29012025_01_50_15_10340.jpg', '/home/pi/Desktop/images/29012025/01/50/image_29012025_01_50_25_10467.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/49/image_29012025_01_49_35_10434.jpg
/home/pi/Desktop/images/29012025/01/49/image_29012025_01_49_45_9347.jpg
/home/pi/Desktop/images/29012025/01/49/image_29012025_01_49_55_10375.jpg
/home/pi/Desktop/images/29012025/01/49/image_29012025_01_50_04_9333.jpg
/home/pi/Desktop/images/29012025/01/50/image_29012025_01_50_15_10340.jpg
/home/pi/Desktop/images/29012025/01/50/image_29012025_01_50_25_10467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332484317","1332484314","1332484319","1332484279","1332484207","1332484383"],"photo_ids_order":["1332484207","1332484279","1332484314","1332484317","1332484319","1332484383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9f5e11b6c077fde30973b07cbf1535db.jpg","text":"TemporaryFile(/tmp/multipartBody4806182532363999294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112074169,"filename":"image_29012025_01_50_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/29/148c32cbec0be37d08d3abdba29e16ef.jpg","text":"TemporaryFile(/tmp/multipartBody8883972458633096957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112074169,"filename":"image_29012025_01_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/29/e106add385dfa605ddc5fa7f7ea63c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8199732344576363490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112074169,"filename":"image_29012025_01_50_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/29/a2d563123a58be09be9b86dbd98d54cc.jpg","text":"TemporaryFile(/tmp/multipartBody7404818676839217084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112074169,"filename":"image_29012025_01_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/29/01467b6ab70ef173a47fc2a1ed17a997.jpg","text":"TemporaryFile(/tmp/multipartBody3003448498697374556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112074169,"filename":"image_29012025_01_49_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/29/dab291e666c980934c18ccf9f66e0294.jpg","text":"TemporaryFile(/tmp/multipartBody6182645545388669061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112074169,"filename":"image_29012025_01_50_25_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332484314","file1":"1332484279","file0":"1332484207","file4":"1332484319","file5":"1332484383","file3":"1332484317"},"map_files_photo_id_array":[{"photo_id":"1332484383","filename":"file5"},{"photo_id":"1332484314","filename":"file2"},{"photo_id":"1332484319","filename":"file4"},{"photo_id":"1332484279","filename":"file1"},{"photo_id":"1332484207","filename":"file0"},{"photo_id":"1332484317","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332484317":["hashtag1","hashtag2"]},{"1332484314":["hashtag1","hashtag2"]},{"1332484319":["hashtag1","hashtag2"]},{"1332484279":["hashtag1","hashtag2"]},{"1332484207":["hashtag1","hashtag2"]},{"1332484383":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332484317, 1332484314, 1332484319, 1332484279, 1332484207, 1332484383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63496398925781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:54:32.255089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/50/image_29012025_01_50_45_10397.jpg', '/home/pi/Desktop/images/29012025/01/50/image_29012025_01_50_55_10359.jpg', '/home/pi/Desktop/images/29012025/01/51/image_29012025_01_51_24_9460.jpg', '/home/pi/Desktop/images/29012025/01/51/image_29012025_01_51_35_10376.jpg', '/home/pi/Desktop/images/29012025/01/51/image_29012025_01_51_45_10442.jpg', '/home/pi/Desktop/images/29012025/01/51/image_29012025_01_51_55_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/50/image_29012025_01_50_45_10397.jpg
/home/pi/Desktop/images/29012025/01/50/image_29012025_01_50_55_10359.jpg
/home/pi/Desktop/images/29012025/01/51/image_29012025_01_51_24_9460.jpg
/home/pi/Desktop/images/29012025/01/51/image_29012025_01_51_35_10376.jpg
/home/pi/Desktop/images/29012025/01/51/image_29012025_01_51_45_10442.jpg
/home/pi/Desktop/images/29012025/01/51/image_29012025_01_51_55_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":["1332484508","1332484492","1332484486","1332484480","1332484504","1332484497"],"photo_ids_order":["1332484480","1332484486","1332484492","1332484497","1332484504","1332484508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2b4b0439bbc792ce31f1569e4e30dd18.jpg","text":"TemporaryFile(/tmp/multipartBody5009089880230390577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112133180,"filename":"image_29012025_01_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/29/72b1fd91a2a3fc7896443d7c14cad381.jpg","text":"TemporaryFile(/tmp/multipartBody6119791372888626288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112133180,"filename":"image_29012025_01_51_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/29/3977810a9931347e9c70281fa6efd312.jpg","text":"TemporaryFile(/tmp/multipartBody898602201801872562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112133180,"filename":"image_29012025_01_50_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/29/31ec76d547fcc2b1468d851b64ee369a.jpg","text":"TemporaryFile(/tmp/multipartBody9146585283289451309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112133180,"filename":"image_29012025_01_50_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/29/bb84e95976885020ae47a51b282dddc6.jpg","text":"TemporaryFile(/tmp/multipartBody7152526406623594530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112133180,"filename":"image_29012025_01_51_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/29/39c638ed3dcf17cc55a52453af2e580e.jpg","text":"TemporaryFile(/tmp/multipartBody2719784940165722881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112133180,"filename":"image_29012025_01_51_35_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332484492","file1":"1332484486","file0":"1332484480","file4":"1332484504","file5":"1332484508","file3":"1332484497"},"map_files_photo_id_array":[{"photo_id":"1332484508","filename":"file5"},{"photo_id":"1332484492","filename":"file2"},{"photo_id":"1332484504","filename":"file4"},{"photo_id":"1332484486","filename":"file1"},{"photo_id":"1332484480","filename":"file0"},{"photo_id":"1332484497","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332484508":["hashtag1","hashtag2"]},{"1332484492":["hashtag1","hashtag2"]},{"1332484486":["hashtag1","hashtag2"]},{"1332484480":["hashtag1","hashtag2"]},{"1332484504":["hashtag1","hashtag2"]},{"1332484497":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332484508, 1332484492, 1332484486, 1332484480, 1332484504, 1332484497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.847564458847046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:55:32.575991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/51/image_29012025_01_52_05_10469.jpg', '/home/pi/Desktop/images/29012025/01/52/image_29012025_01_52_14_9342.jpg', '/home/pi/Desktop/images/29012025/01/52/image_29012025_01_52_25_10367.jpg', '/home/pi/Desktop/images/29012025/01/52/image_29012025_01_52_35_10484.jpg', '/home/pi/Desktop/images/29012025/01/52/image_29012025_01_52_45_9454.jpg', '/home/pi/Desktop/images/29012025/01/52/image_29012025_01_52_55_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/51/image_29012025_01_52_05_10469.jpg
/home/pi/Desktop/images/29012025/01/52/image_29012025_01_52_14_9342.jpg
/home/pi/Desktop/images/29012025/01/52/image_29012025_01_52_25_10367.jpg
/home/pi/Desktop/images/29012025/01/52/image_29012025_01_52_35_10484.jpg
/home/pi/Desktop/images/29012025/01/52/image_29012025_01_52_45_9454.jpg
/home/pi/Desktop/images/29012025/01/52/image_29012025_01_52_55_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":["1332484869","1332484932","1332484874","1332484853","1332484826","1332484918"],"photo_ids_order":["1332484826","1332484853","1332484869","1332484874","1332484918","1332484932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/275a603caa5629a807290c694afc4d8b.jpg","text":"TemporaryFile(/tmp/multipartBody1387316229432216246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112193487,"filename":"image_29012025_01_52_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/29/3756fcccbb38c9595202fb3f6ecd50f3.jpg","text":"TemporaryFile(/tmp/multipartBody7689592513144408968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112193487,"filename":"image_29012025_01_52_55_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/29/7f61f1752b564b77fd42dc0c0671473d.jpg","text":"TemporaryFile(/tmp/multipartBody4861316823442684511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112193487,"filename":"image_29012025_01_52_35_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/458da6d0b8a3620186ab6a4b2e9562f0.jpg","text":"TemporaryFile(/tmp/multipartBody5012196987594912002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112193487,"filename":"image_29012025_01_52_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/29/c415abcedf33c796af89ccf9be4a9162.jpg","text":"TemporaryFile(/tmp/multipartBody3606399549449691103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112193487,"filename":"image_29012025_01_52_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/29/af3c9a9e5de861a47db799760a603371.jpg","text":"TemporaryFile(/tmp/multipartBody4516446374642274669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112193487,"filename":"image_29012025_01_52_45_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332484869","file1":"1332484853","file0":"1332484826","file4":"1332484918","file5":"1332484932","file3":"1332484874"},"map_files_photo_id_array":[{"photo_id":"1332484932","filename":"file5"},{"photo_id":"1332484869","filename":"file2"},{"photo_id":"1332484918","filename":"file4"},{"photo_id":"1332484853","filename":"file1"},{"photo_id":"1332484826","filename":"file0"},{"photo_id":"1332484874","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332484869":["hashtag1","hashtag2"]},{"1332484932":["hashtag1","hashtag2"]},{"1332484874":["hashtag1","hashtag2"]},{"1332484853":["hashtag1","hashtag2"]},{"1332484826":["hashtag1","hashtag2"]},{"1332484918":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332484869, 1332484932, 1332484874, 1332484853, 1332484826, 1332484918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48377776145935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:56:33.005672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/52/image_29012025_01_53_05_9466.jpg', '/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_15_10668.jpg', '/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_25_9373.jpg', '/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_35_10443.jpg', '/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_45_9372.jpg', '/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_55_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/52/image_29012025_01_53_05_9466.jpg
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_15_10668.jpg
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_25_9373.jpg
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_35_10443.jpg
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_45_9372.jpg
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_55_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.5307481288909912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 01:56:42.927552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/52/image_29012025_01_53_05_9466.jpg', '/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_15_10668.jpg', '/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_25_9373.jpg', '/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_35_10443.jpg', '/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_45_9372.jpg', '/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_55_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/52/image_29012025_01_53_05_9466.jpg
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_15_10668.jpg
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_25_9373.jpg
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_35_10443.jpg
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_45_9372.jpg
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_53_55_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":["1332485165","1332485159","1332485185","1332485182","1332485152","1332485169"],"photo_ids_order":["1332485152","1332485159","1332485165","1332485169","1332485182","1332485185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/562d17857d0db69fb2ec1d41d2ca65f0.jpg","text":"TemporaryFile(/tmp/multipartBody7835484713570126593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112263859,"filename":"image_29012025_01_53_25_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/29/1553fba58b6c5f39c7b4f14ae70faa67.jpg","text":"TemporaryFile(/tmp/multipartBody2968518991439795697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112263859,"filename":"image_29012025_01_53_15_10668.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aea891f41f23fb298e44d4024bac97a0.jpg","text":"TemporaryFile(/tmp/multipartBody8807233363185857911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112263859,"filename":"image_29012025_01_53_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/29/4468a8bd74cd17f2c75b826270e53af4.jpg","text":"TemporaryFile(/tmp/multipartBody1015590999230299908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112263859,"filename":"image_29012025_01_53_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/29/7e59c8dc51d4296c23b0f3da907f4abf.jpg","text":"TemporaryFile(/tmp/multipartBody5591897551568906163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112263859,"filename":"image_29012025_01_53_05_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/29/955930be6b69496a89d30a1730f3c278.jpg","text":"TemporaryFile(/tmp/multipartBody8031148522521734554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112263859,"filename":"image_29012025_01_53_35_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332485165","file1":"1332485159","file0":"1332485152","file4":"1332485182","file5":"1332485185","file3":"1332485169"},"map_files_photo_id_array":[{"photo_id":"1332485185","filename":"file5"},{"photo_id":"1332485165","filename":"file2"},{"photo_id":"1332485182","filename":"file4"},{"photo_id":"1332485159","filename":"file1"},{"photo_id":"1332485152","filename":"file0"},{"photo_id":"1332485169","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332485165":["hashtag1","hashtag2"]},{"1332485159":["hashtag1","hashtag2"]},{"1332485185":["hashtag1","hashtag2"]},{"1332485182":["hashtag1","hashtag2"]},{"1332485152":["hashtag1","hashtag2"]},{"1332485169":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332485165, 1332485159, 1332485185, 1332485182, 1332485152, 1332485169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36684036254883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:57:33.319646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/53/image_29012025_01_54_05_10348.jpg', '/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_15_9442.jpg', '/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_35_9350.jpg', '/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_45_10351.jpg', '/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_24_9353.jpg', '/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_35_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_54_05_10348.jpg
/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_15_9442.jpg
/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_35_9350.jpg
/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_45_10351.jpg
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_24_9353.jpg
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_35_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-29 01:59:03.959775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/53/image_29012025_01_54_05_10348.jpg', '/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_15_9442.jpg', '/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_35_9350.jpg', '/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_45_10351.jpg', '/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_24_9353.jpg', '/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_35_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_54_05_10348.jpg
/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_15_9442.jpg
/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_35_9350.jpg
/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_45_10351.jpg
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_24_9353.jpg
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_35_10373.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.7672824859619141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 01:59:32.711556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/53/image_29012025_01_54_05_10348.jpg', '/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_15_9442.jpg', '/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_35_9350.jpg', '/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_45_10351.jpg', '/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_24_9353.jpg', '/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_35_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/53/image_29012025_01_54_05_10348.jpg
/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_15_9442.jpg
/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_35_9350.jpg
/home/pi/Desktop/images/29012025/01/54/image_29012025_01_54_45_10351.jpg
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_24_9353.jpg
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_35_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":["1332485591","1332485609","1332485600","1332485606","1332485587","1332485595"],"photo_ids_order":["1332485587","1332485591","1332485595","1332485600","1332485606","1332485609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cd7376a61d231a6334dc1eff1f94b633.jpg","text":"TemporaryFile(/tmp/multipartBody1543425552298568908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112433620,"filename":"image_29012025_01_54_15_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/29/d4a422d72a830a331bdad9639d9728b6.jpg","text":"TemporaryFile(/tmp/multipartBody8412434750518095950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112433620,"filename":"image_29012025_01_55_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/29/c96a3a2c16cc498fb229f5c169556dec.jpg","text":"TemporaryFile(/tmp/multipartBody2020077460165831385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112433620,"filename":"image_29012025_01_54_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/29/cb27924118a3694d94b8196a7a54a121.jpg","text":"TemporaryFile(/tmp/multipartBody5468825644952684176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112433620,"filename":"image_29012025_01_55_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/29/ad1074eb6f97d44f3183ad4cffc24e44.jpg","text":"TemporaryFile(/tmp/multipartBody5742566227175631881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112433620,"filename":"image_29012025_01_54_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/29/3c591a0f08fcd1cb7180c15feea7908b.jpg","text":"TemporaryFile(/tmp/multipartBody6941714133550774005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112433620,"filename":"image_29012025_01_54_35_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332485595","file1":"1332485591","file0":"1332485587","file4":"1332485606","file5":"1332485609","file3":"1332485600"},"map_files_photo_id_array":[{"photo_id":"1332485609","filename":"file5"},{"photo_id":"1332485595","filename":"file2"},{"photo_id":"1332485606","filename":"file4"},{"photo_id":"1332485591","filename":"file1"},{"photo_id":"1332485587","filename":"file0"},{"photo_id":"1332485600","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332485591":["hashtag1","hashtag2"]},{"1332485609":["hashtag1","hashtag2"]},{"1332485600":["hashtag1","hashtag2"]},{"1332485606":["hashtag1","hashtag2"]},{"1332485587":["hashtag1","hashtag2"]},{"1332485595":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332485591, 1332485609, 1332485600, 1332485606, 1332485587, 1332485595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.83456587791443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:00:32.940843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_45_10430.jpg', '/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_55_9404.jpg', '/home/pi/Desktop/images/29012025/01/55/image_29012025_01_56_05_10339.jpg', '/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_25_9379.jpg', '/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_35_10404.jpg', '/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_44_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_45_10430.jpg
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_55_9404.jpg
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_56_05_10339.jpg
/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_25_9379.jpg
/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_35_10404.jpg
/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_44_9343.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.7298483848571777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 02:00:42.960320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_45_10430.jpg', '/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_55_9404.jpg', '/home/pi/Desktop/images/29012025/01/55/image_29012025_01_56_05_10339.jpg', '/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_25_9379.jpg', '/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_35_10404.jpg', '/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_44_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_45_10430.jpg
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_55_55_9404.jpg
/home/pi/Desktop/images/29012025/01/55/image_29012025_01_56_05_10339.jpg
/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_25_9379.jpg
/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_35_10404.jpg
/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_44_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332485651","1332485675","1332485671","1332485668","1332485647","1332485664"],"photo_ids_order":["1332485647","1332485651","1332485664","1332485668","1332485671","1332485675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6ab0775c9a63e9835f4e2ef2983be365.jpg","text":"TemporaryFile(/tmp/multipartBody1846894920684485794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112503885,"filename":"image_29012025_01_55_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/29/bba60c900700326b668307e131a8a3a4.jpg","text":"TemporaryFile(/tmp/multipartBody4063048085693723762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112503885,"filename":"image_29012025_01_56_44_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/29/f4fcb49897b13022e9eadef3dbc44bc0.jpg","text":"TemporaryFile(/tmp/multipartBody5251943842926768010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112503885,"filename":"image_29012025_01_56_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/29/2cf9d6d519082901d8b62f5575c979de.jpg","text":"TemporaryFile(/tmp/multipartBody9066032541370972768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112503885,"filename":"image_29012025_01_56_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/29/64fd01baad60d433f170d4c4df2ba1d5.jpg","text":"TemporaryFile(/tmp/multipartBody6561098149564277677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112503885,"filename":"image_29012025_01_55_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/29/6549dc68b6414f7153c6a0c2b2a66a74.jpg","text":"TemporaryFile(/tmp/multipartBody7965892487023295460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112503885,"filename":"image_29012025_01_56_05_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332485664","file1":"1332485651","file0":"1332485647","file4":"1332485671","file5":"1332485675","file3":"1332485668"},"map_files_photo_id_array":[{"photo_id":"1332485675","filename":"file5"},{"photo_id":"1332485664","filename":"file2"},{"photo_id":"1332485671","filename":"file4"},{"photo_id":"1332485651","filename":"file1"},{"photo_id":"1332485647","filename":"file0"},{"photo_id":"1332485668","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332485651":["hashtag1","hashtag2"]},{"1332485675":["hashtag1","hashtag2"]},{"1332485671":["hashtag1","hashtag2"]},{"1332485668":["hashtag1","hashtag2"]},{"1332485647":["hashtag1","hashtag2"]},{"1332485664":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332485651, 1332485675, 1332485671, 1332485668, 1332485647, 1332485664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.775432109832764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:01:33.154316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_55_10388.jpg', '/home/pi/Desktop/images/29012025/01/56/image_29012025_01_57_05_10359.jpg', '/home/pi/Desktop/images/29012025/01/57/image_29012025_01_57_15_9356.jpg', '/home/pi/Desktop/images/29012025/01/57/image_29012025_01_57_25_10401.jpg', '/home/pi/Desktop/images/29012025/01/57/image_29012025_01_57_35_10379.jpg', '/home/pi/Desktop/images/29012025/01/57/image_29012025_01_57_45_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/56/image_29012025_01_56_55_10388.jpg
/home/pi/Desktop/images/29012025/01/56/image_29012025_01_57_05_10359.jpg
/home/pi/Desktop/images/29012025/01/57/image_29012025_01_57_15_9356.jpg
/home/pi/Desktop/images/29012025/01/57/image_29012025_01_57_25_10401.jpg
/home/pi/Desktop/images/29012025/01/57/image_29012025_01_57_35_10379.jpg
/home/pi/Desktop/images/29012025/01/57/image_29012025_01_57_45_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":["1332486422","1332486268","1332486115","1332486324","1332485964","1332485829"],"photo_ids_order":["1332485829","1332485964","1332486115","1332486268","1332486324","1332486422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8363b72c71ba03f8461a16d205d73450.jpg","text":"TemporaryFile(/tmp/multipartBody5045614574750995886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112554095,"filename":"image_29012025_01_57_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/29/5c8cf945785924513398e7a97685110a.jpg","text":"TemporaryFile(/tmp/multipartBody6667246706211158377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112554095,"filename":"image_29012025_01_57_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/29/2aaad308cbe519f0f998c05ab20c8e22.jpg","text":"TemporaryFile(/tmp/multipartBody7943368525354883937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112554095,"filename":"image_29012025_01_57_15_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/29/81343bd3ae3afdd7716e7d49892d8a06.jpg","text":"TemporaryFile(/tmp/multipartBody2014168393408964689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112554095,"filename":"image_29012025_01_57_35_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/29/f0033c96f0bb11b8b2e0674c8e1d773f.jpg","text":"TemporaryFile(/tmp/multipartBody7151171149811131088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112554095,"filename":"image_29012025_01_57_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/29/10b9d90d9d57194d6cd28273213cf8dc.jpg","text":"TemporaryFile(/tmp/multipartBody5705644508944932729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112554095,"filename":"image_29012025_01_56_55_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332486115","file1":"1332485964","file0":"1332485829","file4":"1332486324","file5":"1332486422","file3":"1332486268"},"map_files_photo_id_array":[{"photo_id":"1332486422","filename":"file5"},{"photo_id":"1332486115","filename":"file2"},{"photo_id":"1332486324","filename":"file4"},{"photo_id":"1332485964","filename":"file1"},{"photo_id":"1332485829","filename":"file0"},{"photo_id":"1332486268","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332486422":["hashtag1","hashtag2"]},{"1332486268":["hashtag1","hashtag2"]},{"1332486115":["hashtag1","hashtag2"]},{"1332486324":["hashtag1","hashtag2"]},{"1332485964":["hashtag1","hashtag2"]},{"1332485829":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332486422, 1332486268, 1332486115, 1332486324, 1332485964, 1332485829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.297924757003784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:02:32.320355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/57/image_29012025_01_57_55_10493.jpg', '/home/pi/Desktop/images/29012025/01/57/image_29012025_01_58_05_9351.jpg', '/home/pi/Desktop/images/29012025/01/58/image_29012025_01_58_15_10417.jpg', '/home/pi/Desktop/images/29012025/01/58/image_29012025_01_58_24_9450.jpg', '/home/pi/Desktop/images/29012025/01/58/image_29012025_01_58_35_10373.jpg', '/home/pi/Desktop/images/29012025/01/58/image_29012025_01_58_45_10474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/57/image_29012025_01_57_55_10493.jpg
/home/pi/Desktop/images/29012025/01/57/image_29012025_01_58_05_9351.jpg
/home/pi/Desktop/images/29012025/01/58/image_29012025_01_58_15_10417.jpg
/home/pi/Desktop/images/29012025/01/58/image_29012025_01_58_24_9450.jpg
/home/pi/Desktop/images/29012025/01/58/image_29012025_01_58_35_10373.jpg
/home/pi/Desktop/images/29012025/01/58/image_29012025_01_58_45_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332487051","1332487135","1332486829","1332486943","1332486726","1332486657"],"photo_ids_order":["1332486657","1332486726","1332486829","1332486943","1332487051","1332487135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bf7b1c4f4211c52b4943182215e824ac.jpg","text":"TemporaryFile(/tmp/multipartBody4631166091989572894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112613744,"filename":"image_29012025_01_58_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/29/0a332f4303533e10755df0bffe025fc6.jpg","text":"TemporaryFile(/tmp/multipartBody7321847649982493021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112613744,"filename":"image_29012025_01_58_45_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/29/80e9c295904e9a92bd6e8cc3f6774d00.jpg","text":"TemporaryFile(/tmp/multipartBody1772363462765532036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112613744,"filename":"image_29012025_01_58_15_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/29/6b5dfd72266e8b1467d3af97a616bd73.jpg","text":"TemporaryFile(/tmp/multipartBody5593712286656813050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112613744,"filename":"image_29012025_01_58_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/29/d7f331966381bc037bab0239551e49a0.jpg","text":"TemporaryFile(/tmp/multipartBody6513094455690455929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112613744,"filename":"image_29012025_01_58_05_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/29/8039161e5e26472a37d92057a3f4a9c3.jpg","text":"TemporaryFile(/tmp/multipartBody2742887151381827306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112613744,"filename":"image_29012025_01_57_55_10493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332486829","file1":"1332486726","file0":"1332486657","file4":"1332487051","file5":"1332487135","file3":"1332486943"},"map_files_photo_id_array":[{"photo_id":"1332487135","filename":"file5"},{"photo_id":"1332486829","filename":"file2"},{"photo_id":"1332487051","filename":"file4"},{"photo_id":"1332486726","filename":"file1"},{"photo_id":"1332486657","filename":"file0"},{"photo_id":"1332486943","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332487051":["hashtag1","hashtag2"]},{"1332487135":["hashtag1","hashtag2"]},{"1332486829":["hashtag1","hashtag2"]},{"1332486943":["hashtag1","hashtag2"]},{"1332486726":["hashtag1","hashtag2"]},{"1332486657":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332487051, 1332487135, 1332486829, 1332486943, 1332486726, 1332486657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.11877179145813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:03:32.569496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/01/58/image_29012025_01_58_55_9356.jpg', '/home/pi/Desktop/images/29012025/01/58/image_29012025_01_59_05_10324.jpg', '/home/pi/Desktop/images/29012025/01/59/image_29012025_01_59_25_10358.jpg', '/home/pi/Desktop/images/29012025/01/59/image_29012025_01_59_35_10456.jpg', '/home/pi/Desktop/images/29012025/01/59/image_29012025_01_59_45_9339.jpg', '/home/pi/Desktop/images/29012025/01/59/image_29012025_01_59_55_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/01/58/image_29012025_01_58_55_9356.jpg
/home/pi/Desktop/images/29012025/01/58/image_29012025_01_59_05_10324.jpg
/home/pi/Desktop/images/29012025/01/59/image_29012025_01_59_25_10358.jpg
/home/pi/Desktop/images/29012025/01/59/image_29012025_01_59_35_10456.jpg
/home/pi/Desktop/images/29012025/01/59/image_29012025_01_59_45_9339.jpg
/home/pi/Desktop/images/29012025/01/59/image_29012025_01_59_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":["1332487700","1332487690","1332487692","1332487695","1332487746","1332487731"],"photo_ids_order":["1332487690","1332487692","1332487695","1332487700","1332487731","1332487746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2d61139e5f16297345b103aef20ff03a.jpg","text":"TemporaryFile(/tmp/multipartBody1090847753017980101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112679819,"filename":"image_29012025_01_59_35_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/29/1d9e7b6bc221ca8c64cde48a421be5b8.jpg","text":"TemporaryFile(/tmp/multipartBody5007235750372092077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112679819,"filename":"image_29012025_01_58_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/29/e1ae13ec7fa55242ef376e83cec20adc.jpg","text":"TemporaryFile(/tmp/multipartBody864590365677168887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112679819,"filename":"image_29012025_01_59_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/29/b920e9d6bb3570b7ba5be5ed0f58468e.jpg","text":"TemporaryFile(/tmp/multipartBody8993759193776168723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112679819,"filename":"image_29012025_01_59_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/29/4314b358ecf6124c378b03232e24165c.jpg","text":"TemporaryFile(/tmp/multipartBody7262955213859724871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112679819,"filename":"image_29012025_01_59_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/29/af5ba12bb7cfe9254aa4492e6fd7f829.jpg","text":"TemporaryFile(/tmp/multipartBody1386908187649896543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112679819,"filename":"image_29012025_01_59_45_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332487695","file1":"1332487692","file0":"1332487690","file4":"1332487731","file5":"1332487746","file3":"1332487700"},"map_files_photo_id_array":[{"photo_id":"1332487746","filename":"file5"},{"photo_id":"1332487695","filename":"file2"},{"photo_id":"1332487731","filename":"file4"},{"photo_id":"1332487692","filename":"file1"},{"photo_id":"1332487690","filename":"file0"},{"photo_id":"1332487700","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332487700":["hashtag1","hashtag2"]},{"1332487690":["hashtag1","hashtag2"]},{"1332487692":["hashtag1","hashtag2"]},{"1332487695":["hashtag1","hashtag2"]},{"1332487746":["hashtag1","hashtag2"]},{"1332487731":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332487700, 1332487690, 1332487692, 1332487695, 1332487746, 1332487731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.170344829559326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:04:32.849247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/00/image_29012025_02_00_16_10073.jpg', '/home/pi/Desktop/images/29012025/02/00/image_29012025_02_00_26_10379.jpg', '/home/pi/Desktop/images/29012025/02/00/image_29012025_02_00_37_10386.jpg', '/home/pi/Desktop/images/29012025/02/00/image_29012025_02_00_46_9458.jpg', '/home/pi/Desktop/images/29012025/02/00/image_29012025_02_00_56_10356.jpg', '/home/pi/Desktop/images/29012025/02/00/image_29012025_02_01_06_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/00/image_29012025_02_00_16_10073.jpg
/home/pi/Desktop/images/29012025/02/00/image_29012025_02_00_26_10379.jpg
/home/pi/Desktop/images/29012025/02/00/image_29012025_02_00_37_10386.jpg
/home/pi/Desktop/images/29012025/02/00/image_29012025_02_00_46_9458.jpg
/home/pi/Desktop/images/29012025/02/00/image_29012025_02_00_56_10356.jpg
/home/pi/Desktop/images/29012025/02/00/image_29012025_02_01_06_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":["1332488068","1332488118","1332488171","1332488165","1332488207","1332488114"],"photo_ids_order":["1332488068","1332488114","1332488118","1332488165","1332488171","1332488207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/961dd826498c676b48cf6e707016b909.jpg","text":"TemporaryFile(/tmp/multipartBody5072161219607656286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112733754,"filename":"image_29012025_02_00_16_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/29/fd00e1d40c45b9a12e02ff12b32e72ef.jpg","text":"TemporaryFile(/tmp/multipartBody5847329458393369691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112733754,"filename":"image_29012025_02_00_37_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/29/bca85a4e1cb7aa88dcbf1bcf9873dd6b.jpg","text":"TemporaryFile(/tmp/multipartBody3858823930290080315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112733754,"filename":"image_29012025_02_00_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/29/160a4fc6cd0b02e184a18484566a8d89.jpg","text":"TemporaryFile(/tmp/multipartBody4497219329947251325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112733754,"filename":"image_29012025_02_00_46_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/29/64047dbfe55db17c3d552849d7ef03b9.jpg","text":"TemporaryFile(/tmp/multipartBody8739378187229658560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112733754,"filename":"image_29012025_02_01_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/29/104ab19d0701d215048ec1bdebb16eca.jpg","text":"TemporaryFile(/tmp/multipartBody4640210355289597129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112733754,"filename":"image_29012025_02_00_26_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332488118","file1":"1332488114","file0":"1332488068","file4":"1332488171","file5":"1332488207","file3":"1332488165"},"map_files_photo_id_array":[{"photo_id":"1332488207","filename":"file5"},{"photo_id":"1332488118","filename":"file2"},{"photo_id":"1332488171","filename":"file4"},{"photo_id":"1332488114","filename":"file1"},{"photo_id":"1332488068","filename":"file0"},{"photo_id":"1332488165","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332488068":["hashtag1","hashtag2"]},{"1332488118":["hashtag1","hashtag2"]},{"1332488171":["hashtag1","hashtag2"]},{"1332488165":["hashtag1","hashtag2"]},{"1332488207":["hashtag1","hashtag2"]},{"1332488114":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332488068, 1332488118, 1332488171, 1332488165, 1332488207, 1332488114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.12007808685303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:05:34.014519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/01/image_29012025_02_01_16_10344.jpg', '/home/pi/Desktop/images/29012025/02/01/image_29012025_02_01_27_10379.jpg', '/home/pi/Desktop/images/29012025/02/01/image_29012025_02_01_36_9343.jpg', '/home/pi/Desktop/images/29012025/02/01/image_29012025_02_01_46_10401.jpg', '/home/pi/Desktop/images/29012025/02/01/image_29012025_02_01_57_10362.jpg', '/home/pi/Desktop/images/29012025/02/01/image_29012025_02_02_06_9406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/01/image_29012025_02_01_16_10344.jpg
/home/pi/Desktop/images/29012025/02/01/image_29012025_02_01_27_10379.jpg
/home/pi/Desktop/images/29012025/02/01/image_29012025_02_01_36_9343.jpg
/home/pi/Desktop/images/29012025/02/01/image_29012025_02_01_46_10401.jpg
/home/pi/Desktop/images/29012025/02/01/image_29012025_02_01_57_10362.jpg
/home/pi/Desktop/images/29012025/02/01/image_29012025_02_02_06_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":["1332488614","1332488616","1332488703","1332488681","1332488570","1332488618"],"photo_ids_order":["1332488570","1332488614","1332488616","1332488618","1332488681","1332488703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8f7a5910bfee31740ff7aa831648eb5f.jpg","text":"TemporaryFile(/tmp/multipartBody4019566341828636205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112795370,"filename":"image_29012025_02_01_27_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/29/d3d6a4612be159dfa6c3a1d2fb601848.jpg","text":"TemporaryFile(/tmp/multipartBody7234979004135076749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112795370,"filename":"image_29012025_02_01_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/29/3d8511be3e7f91c1b1a85e36e004bdae.jpg","text":"TemporaryFile(/tmp/multipartBody602497790972600240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112795370,"filename":"image_29012025_02_02_06_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/29/bf8b8d1b0f15bf5e3889c301a52bbabb.jpg","text":"TemporaryFile(/tmp/multipartBody3009178770524736357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112795370,"filename":"image_29012025_02_01_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/29/51df0158a9e4457bbb36621dab6964f6.jpg","text":"TemporaryFile(/tmp/multipartBody2054167858269591418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112795370,"filename":"image_29012025_02_01_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/29/f5c4405be32b162d3879a6b48e04977e.jpg","text":"TemporaryFile(/tmp/multipartBody2050466032149428154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112795370,"filename":"image_29012025_02_01_46_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332488616","file1":"1332488614","file0":"1332488570","file4":"1332488681","file5":"1332488703","file3":"1332488618"},"map_files_photo_id_array":[{"photo_id":"1332488703","filename":"file5"},{"photo_id":"1332488616","filename":"file2"},{"photo_id":"1332488681","filename":"file4"},{"photo_id":"1332488614","filename":"file1"},{"photo_id":"1332488570","filename":"file0"},{"photo_id":"1332488618","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332488614":["hashtag1","hashtag2"]},{"1332488616":["hashtag1","hashtag2"]},{"1332488703":["hashtag1","hashtag2"]},{"1332488681":["hashtag1","hashtag2"]},{"1332488570":["hashtag1","hashtag2"]},{"1332488618":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332488614, 1332488616, 1332488703, 1332488681, 1332488570, 1332488618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83995699882507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:06:33.087136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/02/image_29012025_02_02_17_10352.jpg', '/home/pi/Desktop/images/29012025/02/02/image_29012025_02_02_26_9363.jpg', '/home/pi/Desktop/images/29012025/02/02/image_29012025_02_02_36_10370.jpg', '/home/pi/Desktop/images/29012025/02/02/image_29012025_02_02_47_10348.jpg', '/home/pi/Desktop/images/29012025/02/02/image_29012025_02_02_56_9347.jpg', '/home/pi/Desktop/images/29012025/02/02/image_29012025_02_03_06_10456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/02/image_29012025_02_02_17_10352.jpg
/home/pi/Desktop/images/29012025/02/02/image_29012025_02_02_26_9363.jpg
/home/pi/Desktop/images/29012025/02/02/image_29012025_02_02_36_10370.jpg
/home/pi/Desktop/images/29012025/02/02/image_29012025_02_02_47_10348.jpg
/home/pi/Desktop/images/29012025/02/02/image_29012025_02_02_56_9347.jpg
/home/pi/Desktop/images/29012025/02/02/image_29012025_02_03_06_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":["1332489597","1332489601","1332489591","1332489606","1332489401","1332489169"],"photo_ids_order":["1332489169","1332489401","1332489591","1332489597","1332489601","1332489606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f60542d9c2136e39155cda8fa34ab0cc.jpg","text":"TemporaryFile(/tmp/multipartBody4990037124104508512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112854012,"filename":"image_29012025_02_02_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/29/038711c1d3f2a36f8346224336a83f97.jpg","text":"TemporaryFile(/tmp/multipartBody7999160749964513765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112854012,"filename":"image_29012025_02_02_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/29/48f29f0fa80e44b9c3e7e9018abb2a03.jpg","text":"TemporaryFile(/tmp/multipartBody8502723441131144576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112854012,"filename":"image_29012025_02_02_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/29/680174407727c2c4ecc4511429469426.jpg","text":"TemporaryFile(/tmp/multipartBody8554225601451523647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112854012,"filename":"image_29012025_02_03_06_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/29/fc993a0391c2e1d2a15ef711e70877d0.jpg","text":"TemporaryFile(/tmp/multipartBody4725012132483171369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112854012,"filename":"image_29012025_02_02_26_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/29/e60ba365a9027550c376c00493bf602c.jpg","text":"TemporaryFile(/tmp/multipartBody6082086184702990771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112854012,"filename":"image_29012025_02_02_17_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332489591","file1":"1332489401","file0":"1332489169","file4":"1332489601","file5":"1332489606","file3":"1332489597"},"map_files_photo_id_array":[{"photo_id":"1332489606","filename":"file5"},{"photo_id":"1332489591","filename":"file2"},{"photo_id":"1332489601","filename":"file4"},{"photo_id":"1332489401","filename":"file1"},{"photo_id":"1332489169","filename":"file0"},{"photo_id":"1332489597","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332489597":["hashtag1","hashtag2"]},{"1332489601":["hashtag1","hashtag2"]},{"1332489591":["hashtag1","hashtag2"]},{"1332489606":["hashtag1","hashtag2"]},{"1332489401":["hashtag1","hashtag2"]},{"1332489169":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332489597, 1332489601, 1332489591, 1332489606, 1332489401, 1332489169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73691749572754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:07:32.412292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/03/image_29012025_02_03_17_10384.jpg', '/home/pi/Desktop/images/29012025/02/03/image_29012025_02_03_26_9466.jpg', '/home/pi/Desktop/images/29012025/02/03/image_29012025_02_03_37_10405.jpg', '/home/pi/Desktop/images/29012025/02/03/image_29012025_02_03_46_9335.jpg', '/home/pi/Desktop/images/29012025/02/03/image_29012025_02_03_56_10434.jpg', '/home/pi/Desktop/images/29012025/02/03/image_29012025_02_04_07_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/03/image_29012025_02_03_17_10384.jpg
/home/pi/Desktop/images/29012025/02/03/image_29012025_02_03_26_9466.jpg
/home/pi/Desktop/images/29012025/02/03/image_29012025_02_03_37_10405.jpg
/home/pi/Desktop/images/29012025/02/03/image_29012025_02_03_46_9335.jpg
/home/pi/Desktop/images/29012025/02/03/image_29012025_02_03_56_10434.jpg
/home/pi/Desktop/images/29012025/02/03/image_29012025_02_04_07_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":["1332489840","1332489848","1332489844","1332489853","1332489856","1332489808"],"photo_ids_order":["1332489808","1332489840","1332489844","1332489848","1332489853","1332489856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0afccafacd0094a610a0c98bbe93e23c.jpg","text":"TemporaryFile(/tmp/multipartBody2173550970118070600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112913321,"filename":"image_29012025_02_03_26_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/29/d398ddc858cfff1d831c537b0f86f92d.jpg","text":"TemporaryFile(/tmp/multipartBody6837230178770607450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112913321,"filename":"image_29012025_02_03_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/29/5f68c06d99fd3d2ad3a366401de5b5b3.jpg","text":"TemporaryFile(/tmp/multipartBody462903503919942976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112913321,"filename":"image_29012025_02_03_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/29/dc0590d46a45c6a8b096c8da7f7ccc25.jpg","text":"TemporaryFile(/tmp/multipartBody6829722284977199890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112913321,"filename":"image_29012025_02_03_56_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/29/fa35384d860569de894c8a0bdffbb8a5.jpg","text":"TemporaryFile(/tmp/multipartBody8983516736370460926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112913321,"filename":"image_29012025_02_04_07_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/29/05ab8e9cd317154637ef112c474e2658.jpg","text":"TemporaryFile(/tmp/multipartBody2867524886406062488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112913321,"filename":"image_29012025_02_03_17_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332489844","file1":"1332489840","file0":"1332489808","file4":"1332489853","file5":"1332489856","file3":"1332489848"},"map_files_photo_id_array":[{"photo_id":"1332489856","filename":"file5"},{"photo_id":"1332489844","filename":"file2"},{"photo_id":"1332489853","filename":"file4"},{"photo_id":"1332489840","filename":"file1"},{"photo_id":"1332489808","filename":"file0"},{"photo_id":"1332489848","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332489840":["hashtag1","hashtag2"]},{"1332489848":["hashtag1","hashtag2"]},{"1332489844":["hashtag1","hashtag2"]},{"1332489853":["hashtag1","hashtag2"]},{"1332489856":["hashtag1","hashtag2"]},{"1332489808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332489840, 1332489848, 1332489844, 1332489853, 1332489856, 1332489808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.810211420059204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:08:32.572574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/04/image_29012025_02_04_16_9482.jpg', '/home/pi/Desktop/images/29012025/02/04/image_29012025_02_04_27_10334.jpg', '/home/pi/Desktop/images/29012025/02/04/image_29012025_02_04_36_9333.jpg', '/home/pi/Desktop/images/29012025/02/04/image_29012025_02_04_47_10604.jpg', '/home/pi/Desktop/images/29012025/02/04/image_29012025_02_04_56_9345.jpg', '/home/pi/Desktop/images/29012025/02/04/image_29012025_02_05_06_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/04/image_29012025_02_04_16_9482.jpg
/home/pi/Desktop/images/29012025/02/04/image_29012025_02_04_27_10334.jpg
/home/pi/Desktop/images/29012025/02/04/image_29012025_02_04_36_9333.jpg
/home/pi/Desktop/images/29012025/02/04/image_29012025_02_04_47_10604.jpg
/home/pi/Desktop/images/29012025/02/04/image_29012025_02_04_56_9345.jpg
/home/pi/Desktop/images/29012025/02/04/image_29012025_02_05_06_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":["1332490249","1332490077","1332490329","1332489872","1332490160","1332489952"],"photo_ids_order":["1332489872","1332489952","1332490077","1332490160","1332490249","1332490329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d7a461319e2d0deebd0962f947b61f72.jpg","text":"TemporaryFile(/tmp/multipartBody878674122438586729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112973490,"filename":"image_29012025_02_04_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/29/6bf3e5af59b9fc4b6d90deb4ecf19371.jpg","text":"TemporaryFile(/tmp/multipartBody4701428346152369976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112973490,"filename":"image_29012025_02_04_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/29/0231d1d7e57674e31314fab79c553d0e.jpg","text":"TemporaryFile(/tmp/multipartBody5271680620962682147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112973490,"filename":"image_29012025_02_05_06_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/29/621304fa49791bb7936c306e9fab0801.jpg","text":"TemporaryFile(/tmp/multipartBody4217577518170425394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112973490,"filename":"image_29012025_02_04_16_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/29/d9d93b700e98e7fc3d86397da34b57ec.jpg","text":"TemporaryFile(/tmp/multipartBody2724624735280681642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112973490,"filename":"image_29012025_02_04_47_10604.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fb39c046590ba953fb280903dfaec7e0.jpg","text":"TemporaryFile(/tmp/multipartBody6076726819912849260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738112973490,"filename":"image_29012025_02_04_27_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332490077","file1":"1332489952","file0":"1332489872","file4":"1332490249","file5":"1332490329","file3":"1332490160"},"map_files_photo_id_array":[{"photo_id":"1332490329","filename":"file5"},{"photo_id":"1332490077","filename":"file2"},{"photo_id":"1332490249","filename":"file4"},{"photo_id":"1332489952","filename":"file1"},{"photo_id":"1332489872","filename":"file0"},{"photo_id":"1332490160","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332490249":["hashtag1","hashtag2"]},{"1332490077":["hashtag1","hashtag2"]},{"1332490329":["hashtag1","hashtag2"]},{"1332489872":["hashtag1","hashtag2"]},{"1332490160":["hashtag1","hashtag2"]},{"1332489952":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332490249, 1332490077, 1332490329, 1332489872, 1332490160, 1332489952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.922497510910034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:09:32.757291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/05/image_29012025_02_05_17_10402.jpg', '/home/pi/Desktop/images/29012025/02/05/image_29012025_02_05_26_9470.jpg', '/home/pi/Desktop/images/29012025/02/05/image_29012025_02_05_36_10014.jpg', '/home/pi/Desktop/images/29012025/02/05/image_29012025_02_05_47_10354.jpg', '/home/pi/Desktop/images/29012025/02/05/image_29012025_02_05_56_9435.jpg', '/home/pi/Desktop/images/29012025/02/05/image_29012025_02_06_06_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/05/image_29012025_02_05_17_10402.jpg
/home/pi/Desktop/images/29012025/02/05/image_29012025_02_05_26_9470.jpg
/home/pi/Desktop/images/29012025/02/05/image_29012025_02_05_36_10014.jpg
/home/pi/Desktop/images/29012025/02/05/image_29012025_02_05_47_10354.jpg
/home/pi/Desktop/images/29012025/02/05/image_29012025_02_05_56_9435.jpg
/home/pi/Desktop/images/29012025/02/05/image_29012025_02_06_06_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":["1332490600","1332490596","1332490641","1332490644","1332490653","1332490649"],"photo_ids_order":["1332490596","1332490600","1332490641","1332490644","1332490649","1332490653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5edba05e0eccdd68cdee265d4f88e88d.jpg","text":"TemporaryFile(/tmp/multipartBody8288642275980404001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113033684,"filename":"image_29012025_02_05_26_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/29/d566830c32e915e546c10930b2c044f5.jpg","text":"TemporaryFile(/tmp/multipartBody2389595529535163687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113033684,"filename":"image_29012025_02_05_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/29/bf5dc7a5bcd2ef8b0f73e03a304d3d54.jpg","text":"TemporaryFile(/tmp/multipartBody8505851424141952334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113033684,"filename":"image_29012025_02_05_36_10014.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3575c69d154e1bc66bb3e3ff9eafdf78.jpg","text":"TemporaryFile(/tmp/multipartBody4311646179319469193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113033684,"filename":"image_29012025_02_05_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/29/7e7a271a172938916d77b0d6f0ea1829.jpg","text":"TemporaryFile(/tmp/multipartBody7944806313727570646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113033684,"filename":"image_29012025_02_06_06_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/29/9c088fe76a899ad17e0f244fa75f06d1.jpg","text":"TemporaryFile(/tmp/multipartBody8316692466250165625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113033684,"filename":"image_29012025_02_05_56_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332490641","file1":"1332490600","file0":"1332490596","file4":"1332490649","file5":"1332490653","file3":"1332490644"},"map_files_photo_id_array":[{"photo_id":"1332490653","filename":"file5"},{"photo_id":"1332490641","filename":"file2"},{"photo_id":"1332490649","filename":"file4"},{"photo_id":"1332490600","filename":"file1"},{"photo_id":"1332490596","filename":"file0"},{"photo_id":"1332490644","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332490600":["hashtag1","hashtag2"]},{"1332490596":["hashtag1","hashtag2"]},{"1332490641":["hashtag1","hashtag2"]},{"1332490644":["hashtag1","hashtag2"]},{"1332490653":["hashtag1","hashtag2"]},{"1332490649":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332490600, 1332490596, 1332490641, 1332490644, 1332490653, 1332490649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.56213355064392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:10:32.943135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/06/image_29012025_02_06_17_10050.jpg', '/home/pi/Desktop/images/29012025/02/06/image_29012025_02_06_26_9331.jpg', '/home/pi/Desktop/images/29012025/02/06/image_29012025_02_06_37_10962.jpg', '/home/pi/Desktop/images/29012025/02/06/image_29012025_02_06_46_9446.jpg', '/home/pi/Desktop/images/29012025/02/06/image_29012025_02_06_57_10396.jpg', '/home/pi/Desktop/images/29012025/02/06/image_29012025_02_07_06_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/06/image_29012025_02_06_17_10050.jpg
/home/pi/Desktop/images/29012025/02/06/image_29012025_02_06_26_9331.jpg
/home/pi/Desktop/images/29012025/02/06/image_29012025_02_06_37_10962.jpg
/home/pi/Desktop/images/29012025/02/06/image_29012025_02_06_46_9446.jpg
/home/pi/Desktop/images/29012025/02/06/image_29012025_02_06_57_10396.jpg
/home/pi/Desktop/images/29012025/02/06/image_29012025_02_07_06_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":["1332491091","1332490989","1332490974","1332491092","1332491077","1332491035"],"photo_ids_order":["1332490974","1332490989","1332491035","1332491077","1332491091","1332491092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c4db71251e41a4c9f60686293d2b95c3.jpg","text":"TemporaryFile(/tmp/multipartBody5148702751040426883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113093858,"filename":"image_29012025_02_06_57_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/29/37c729db6b3a05eb0840e41eb2fdc730.jpg","text":"TemporaryFile(/tmp/multipartBody2284061537318878181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113093858,"filename":"image_29012025_02_06_26_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/29/9984a4bae9dce1c74df2a81d6361269b.jpg","text":"TemporaryFile(/tmp/multipartBody3212633594728863169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113093858,"filename":"image_29012025_02_06_17_10050.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4195f8f6b529f4493233b28baf41315b.jpg","text":"TemporaryFile(/tmp/multipartBody6639228081788656425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113093858,"filename":"image_29012025_02_07_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/29/96d3f94fa228ed6584491f06cb9c35ad.jpg","text":"TemporaryFile(/tmp/multipartBody9181849272936256857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113093858,"filename":"image_29012025_02_06_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/29/615748bf167fe309aa973fe220503ea1.jpg","text":"TemporaryFile(/tmp/multipartBody4251435289964386236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113093858,"filename":"image_29012025_02_06_37_10962.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332491035","file1":"1332490989","file0":"1332490974","file4":"1332491091","file5":"1332491092","file3":"1332491077"},"map_files_photo_id_array":[{"photo_id":"1332491092","filename":"file5"},{"photo_id":"1332491035","filename":"file2"},{"photo_id":"1332491091","filename":"file4"},{"photo_id":"1332490989","filename":"file1"},{"photo_id":"1332490974","filename":"file0"},{"photo_id":"1332491077","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332491091":["hashtag1","hashtag2"]},{"1332490989":["hashtag1","hashtag2"]},{"1332490974":["hashtag1","hashtag2"]},{"1332491092":["hashtag1","hashtag2"]},{"1332491077":["hashtag1","hashtag2"]},{"1332491035":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332491091, 1332490989, 1332490974, 1332491092, 1332491077, 1332491035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25608801841736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:11:33.153642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/07/image_29012025_02_07_16_10458.jpg', '/home/pi/Desktop/images/29012025/02/07/image_29012025_02_07_26_9362.jpg', '/home/pi/Desktop/images/29012025/02/07/image_29012025_02_07_36_10402.jpg', '/home/pi/Desktop/images/29012025/02/07/image_29012025_02_07_47_10362.jpg', '/home/pi/Desktop/images/29012025/02/07/image_29012025_02_07_56_9411.jpg', '/home/pi/Desktop/images/29012025/02/07/image_29012025_02_08_06_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/07/image_29012025_02_07_16_10458.jpg
/home/pi/Desktop/images/29012025/02/07/image_29012025_02_07_26_9362.jpg
/home/pi/Desktop/images/29012025/02/07/image_29012025_02_07_36_10402.jpg
/home/pi/Desktop/images/29012025/02/07/image_29012025_02_07_47_10362.jpg
/home/pi/Desktop/images/29012025/02/07/image_29012025_02_07_56_9411.jpg
/home/pi/Desktop/images/29012025/02/07/image_29012025_02_08_06_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":["1332491133","1332491127","1332491136","1332491130","1332491152","1332491122"],"photo_ids_order":["1332491122","1332491127","1332491130","1332491133","1332491136","1332491152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/22fe380edc39d26d79277f548cc1837b.jpg","text":"TemporaryFile(/tmp/multipartBody8085461592148859425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113154079,"filename":"image_29012025_02_07_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/29/7c4a7fe51bc912137addc730a223cbca.jpg","text":"TemporaryFile(/tmp/multipartBody5799372735652777518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113154079,"filename":"image_29012025_02_07_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/29/a7a26bf85d9e73143b94c744dd9e31d2.jpg","text":"TemporaryFile(/tmp/multipartBody8198586064907309318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113154079,"filename":"image_29012025_02_07_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/29/768d5cdb4a4b71bf8f6ed82b46a61e0f.jpg","text":"TemporaryFile(/tmp/multipartBody9123328543597456978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113154079,"filename":"image_29012025_02_07_36_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/29/2f2d74853567d74ea94be30c19236d87.jpg","text":"TemporaryFile(/tmp/multipartBody4786671100662324546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113154079,"filename":"image_29012025_02_08_06_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/29/c7f49dbd7a22f548a0d3e542c750ab7d.jpg","text":"TemporaryFile(/tmp/multipartBody6022642441057631690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113154079,"filename":"image_29012025_02_07_16_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332491130","file1":"1332491127","file0":"1332491122","file4":"1332491136","file5":"1332491152","file3":"1332491133"},"map_files_photo_id_array":[{"photo_id":"1332491152","filename":"file5"},{"photo_id":"1332491130","filename":"file2"},{"photo_id":"1332491136","filename":"file4"},{"photo_id":"1332491127","filename":"file1"},{"photo_id":"1332491122","filename":"file0"},{"photo_id":"1332491133","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332491133":["hashtag1","hashtag2"]},{"1332491127":["hashtag1","hashtag2"]},{"1332491136":["hashtag1","hashtag2"]},{"1332491130":["hashtag1","hashtag2"]},{"1332491152":["hashtag1","hashtag2"]},{"1332491122":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332491133, 1332491127, 1332491136, 1332491130, 1332491152, 1332491122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.527947187423706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:12:32.386778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/08/image_29012025_02_08_17_10353.jpg', '/home/pi/Desktop/images/29012025/02/08/image_29012025_02_08_26_9422.jpg', '/home/pi/Desktop/images/29012025/02/08/image_29012025_02_08_37_10358.jpg', '/home/pi/Desktop/images/29012025/02/08/image_29012025_02_08_46_9383.jpg', '/home/pi/Desktop/images/29012025/02/08/image_29012025_02_08_56_10480.jpg', '/home/pi/Desktop/images/29012025/02/08/image_29012025_02_09_07_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/08/image_29012025_02_08_17_10353.jpg
/home/pi/Desktop/images/29012025/02/08/image_29012025_02_08_26_9422.jpg
/home/pi/Desktop/images/29012025/02/08/image_29012025_02_08_37_10358.jpg
/home/pi/Desktop/images/29012025/02/08/image_29012025_02_08_46_9383.jpg
/home/pi/Desktop/images/29012025/02/08/image_29012025_02_08_56_10480.jpg
/home/pi/Desktop/images/29012025/02/08/image_29012025_02_09_07_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":["1332491187","1332491220","1332491202","1332491192","1332491197","1332491216"],"photo_ids_order":["1332491187","1332491192","1332491197","1332491202","1332491216","1332491220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9f4ec518184a29f0caf01769d3881790.jpg","text":"TemporaryFile(/tmp/multipartBody6236563672391221598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113213322,"filename":"image_29012025_02_08_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/29/b98916f0414d8e4805c314379c02ec1f.jpg","text":"TemporaryFile(/tmp/multipartBody6796542692251804271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113213322,"filename":"image_29012025_02_09_07_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/29/5337e55cf1ea1a7456625b38ad2aa7fc.jpg","text":"TemporaryFile(/tmp/multipartBody4236567720381720079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113213322,"filename":"image_29012025_02_08_46_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/29/6d2a58477e57d00cba2b4d69628e3918.jpg","text":"TemporaryFile(/tmp/multipartBody1642949623165348012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113213322,"filename":"image_29012025_02_08_26_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/29/e70d9afa1f20cdea2388334411783905.jpg","text":"TemporaryFile(/tmp/multipartBody3569474293804194764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113213322,"filename":"image_29012025_02_08_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/29/63113d513c62a59f6e39e41b0d0e455d.jpg","text":"TemporaryFile(/tmp/multipartBody7173919023036788511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113213322,"filename":"image_29012025_02_08_56_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332491197","file1":"1332491192","file0":"1332491187","file4":"1332491216","file5":"1332491220","file3":"1332491202"},"map_files_photo_id_array":[{"photo_id":"1332491220","filename":"file5"},{"photo_id":"1332491197","filename":"file2"},{"photo_id":"1332491216","filename":"file4"},{"photo_id":"1332491192","filename":"file1"},{"photo_id":"1332491187","filename":"file0"},{"photo_id":"1332491202","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332491187":["hashtag1","hashtag2"]},{"1332491220":["hashtag1","hashtag2"]},{"1332491202":["hashtag1","hashtag2"]},{"1332491192":["hashtag1","hashtag2"]},{"1332491197":["hashtag1","hashtag2"]},{"1332491216":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332491187, 1332491220, 1332491202, 1332491192, 1332491197, 1332491216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.284724712371826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:13:32.696643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_16_9407.jpg', '/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_27_10356.jpg', '/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_57_10355.jpg', '/home/pi/Desktop/images/29012025/02/09/image_29012025_02_10_06_9352.jpg', '/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_27_10359.jpg', '/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_36_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_16_9407.jpg
/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_27_10356.jpg
/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_57_10355.jpg
/home/pi/Desktop/images/29012025/02/09/image_29012025_02_10_06_9352.jpg
/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_27_10359.jpg
/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_36_9452.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.5213756561279297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 02:13:42.650091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_16_9407.jpg', '/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_27_10356.jpg', '/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_57_10355.jpg', '/home/pi/Desktop/images/29012025/02/09/image_29012025_02_10_06_9352.jpg', '/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_27_10359.jpg', '/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_36_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_16_9407.jpg
/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_27_10356.jpg
/home/pi/Desktop/images/29012025/02/09/image_29012025_02_09_57_10355.jpg
/home/pi/Desktop/images/29012025/02/09/image_29012025_02_10_06_9352.jpg
/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_27_10359.jpg
/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_36_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332491271","1332491259","1332491285","1332491279","1332491266","1332491263"],"photo_ids_order":["1332491259","1332491263","1332491266","1332491271","1332491279","1332491285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c6a4ebab89dcdafec2deee9ac0790fb5.jpg","text":"TemporaryFile(/tmp/multipartBody7571202910283941138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113283557,"filename":"image_29012025_02_10_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/29/76b4246e12dfebc628c4956f2e17f368.jpg","text":"TemporaryFile(/tmp/multipartBody8771699174400209757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113283557,"filename":"image_29012025_02_09_16_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/29/2ad001ffa7bc363e6d316a4ec16806cb.jpg","text":"TemporaryFile(/tmp/multipartBody3606134879470758984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113283557,"filename":"image_29012025_02_10_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/29/cb2ecab4ac08031a81c635b2817726ea.jpg","text":"TemporaryFile(/tmp/multipartBody6891364226652948429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113283557,"filename":"image_29012025_02_10_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/29/f7e5a16a5136857bb3505b116157a2be.jpg","text":"TemporaryFile(/tmp/multipartBody3591490269487588306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113283557,"filename":"image_29012025_02_09_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/29/d7813c56bd746a3ea75d982a15816ad8.jpg","text":"TemporaryFile(/tmp/multipartBody4895117020261531801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113283557,"filename":"image_29012025_02_09_27_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332491266","file1":"1332491263","file0":"1332491259","file4":"1332491279","file5":"1332491285","file3":"1332491271"},"map_files_photo_id_array":[{"photo_id":"1332491285","filename":"file5"},{"photo_id":"1332491266","filename":"file2"},{"photo_id":"1332491279","filename":"file4"},{"photo_id":"1332491263","filename":"file1"},{"photo_id":"1332491259","filename":"file0"},{"photo_id":"1332491271","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332491271":["hashtag1","hashtag2"]},{"1332491259":["hashtag1","hashtag2"]},{"1332491285":["hashtag1","hashtag2"]},{"1332491279":["hashtag1","hashtag2"]},{"1332491266":["hashtag1","hashtag2"]},{"1332491263":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332491271, 1332491259, 1332491285, 1332491279, 1332491266, 1332491263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.572832345962524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:14:32.882387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_47_10361.jpg', '/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_56_9412.jpg', '/home/pi/Desktop/images/29012025/02/10/image_29012025_02_11_06_10343.jpg', '/home/pi/Desktop/images/29012025/02/11/image_29012025_02_11_26_9429.jpg', '/home/pi/Desktop/images/29012025/02/11/image_29012025_02_11_36_10355.jpg', '/home/pi/Desktop/images/29012025/02/11/image_29012025_02_11_47_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_47_10361.jpg
/home/pi/Desktop/images/29012025/02/10/image_29012025_02_10_56_9412.jpg
/home/pi/Desktop/images/29012025/02/10/image_29012025_02_11_06_10343.jpg
/home/pi/Desktop/images/29012025/02/11/image_29012025_02_11_26_9429.jpg
/home/pi/Desktop/images/29012025/02/11/image_29012025_02_11_36_10355.jpg
/home/pi/Desktop/images/29012025/02/11/image_29012025_02_11_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":["1332491326","1332491352","1332491349","1332491345","1332491339","1332491356"],"photo_ids_order":["1332491326","1332491339","1332491345","1332491349","1332491352","1332491356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e81cff7b0559d4024a31b0f1c3ec11bc.jpg","text":"TemporaryFile(/tmp/multipartBody3565094135267632706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113333816,"filename":"image_29012025_02_10_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/29/97411042f985c9c6eea81c31376bb043.jpg","text":"TemporaryFile(/tmp/multipartBody2652621814953824159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113333816,"filename":"image_29012025_02_11_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/29/13c2e69b400d3247cdc0abfb834a5b7c.jpg","text":"TemporaryFile(/tmp/multipartBody5280842834049171972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113333816,"filename":"image_29012025_02_11_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/29/4d2a33b0638a97f66c7064e1bfcc856e.jpg","text":"TemporaryFile(/tmp/multipartBody6812214814161984564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113333816,"filename":"image_29012025_02_11_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/29/740a2da59732a36f92bde18b5ae92dcf.jpg","text":"TemporaryFile(/tmp/multipartBody872680112702544482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113333816,"filename":"image_29012025_02_10_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/29/081d3d9b84711c73a9d81d7b64a25976.jpg","text":"TemporaryFile(/tmp/multipartBody2026437554753316817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113333816,"filename":"image_29012025_02_11_47_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332491345","file1":"1332491339","file0":"1332491326","file4":"1332491352","file5":"1332491356","file3":"1332491349"},"map_files_photo_id_array":[{"photo_id":"1332491356","filename":"file5"},{"photo_id":"1332491345","filename":"file2"},{"photo_id":"1332491352","filename":"file4"},{"photo_id":"1332491339","filename":"file1"},{"photo_id":"1332491326","filename":"file0"},{"photo_id":"1332491349","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332491326":["hashtag1","hashtag2"]},{"1332491352":["hashtag1","hashtag2"]},{"1332491349":["hashtag1","hashtag2"]},{"1332491345":["hashtag1","hashtag2"]},{"1332491339":["hashtag1","hashtag2"]},{"1332491356":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332491326, 1332491352, 1332491349, 1332491345, 1332491339, 1332491356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9128577709198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:15:33.043318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/11/image_29012025_02_11_56_9354.jpg', '/home/pi/Desktop/images/29012025/02/11/image_29012025_02_12_07_10333.jpg', '/home/pi/Desktop/images/29012025/02/12/image_29012025_02_12_16_9346.jpg', '/home/pi/Desktop/images/29012025/02/12/image_29012025_02_12_26_10453.jpg', '/home/pi/Desktop/images/29012025/02/12/image_29012025_02_12_37_10365.jpg', '/home/pi/Desktop/images/29012025/02/12/image_29012025_02_12_46_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/11/image_29012025_02_11_56_9354.jpg
/home/pi/Desktop/images/29012025/02/11/image_29012025_02_12_07_10333.jpg
/home/pi/Desktop/images/29012025/02/12/image_29012025_02_12_16_9346.jpg
/home/pi/Desktop/images/29012025/02/12/image_29012025_02_12_26_10453.jpg
/home/pi/Desktop/images/29012025/02/12/image_29012025_02_12_37_10365.jpg
/home/pi/Desktop/images/29012025/02/12/image_29012025_02_12_46_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":["1332491926","1332491706","1332491582","1332491936","1332491843","1332491491"],"photo_ids_order":["1332491491","1332491582","1332491706","1332491843","1332491926","1332491936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d623d6526060ef55115223e6eea87f92.jpg","text":"TemporaryFile(/tmp/multipartBody1245765177228713315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113393984,"filename":"image_29012025_02_12_37_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/29/a6ee5bb9bcc211d5897f10175d0942aa.jpg","text":"TemporaryFile(/tmp/multipartBody8836013764483674452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113393984,"filename":"image_29012025_02_12_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/29/836957cd12773a34946f2a09931946b3.jpg","text":"TemporaryFile(/tmp/multipartBody2140602826404587451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113393984,"filename":"image_29012025_02_12_07_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/29/6dd1bd306830d3f84f0195e15a4c1d8a.jpg","text":"TemporaryFile(/tmp/multipartBody8854203459628330698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113393984,"filename":"image_29012025_02_12_46_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/29/3326cb622cbc996fb45e19028cc1e16c.jpg","text":"TemporaryFile(/tmp/multipartBody8447974167905387598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113393984,"filename":"image_29012025_02_12_26_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/29/e408c946be8904a13ad3eea60c83ce5b.jpg","text":"TemporaryFile(/tmp/multipartBody4912982832600277861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113393984,"filename":"image_29012025_02_11_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332491706","file1":"1332491582","file0":"1332491491","file4":"1332491926","file5":"1332491936","file3":"1332491843"},"map_files_photo_id_array":[{"photo_id":"1332491936","filename":"file5"},{"photo_id":"1332491706","filename":"file2"},{"photo_id":"1332491926","filename":"file4"},{"photo_id":"1332491582","filename":"file1"},{"photo_id":"1332491491","filename":"file0"},{"photo_id":"1332491843","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332491926":["hashtag1","hashtag2"]},{"1332491706":["hashtag1","hashtag2"]},{"1332491582":["hashtag1","hashtag2"]},{"1332491936":["hashtag1","hashtag2"]},{"1332491843":["hashtag1","hashtag2"]},{"1332491491":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332491926, 1332491706, 1332491582, 1332491936, 1332491843, 1332491491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.225844383239746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:16:32.314266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/12/image_29012025_02_12_56_10372.jpg', '/home/pi/Desktop/images/29012025/02/12/image_29012025_02_13_07_10384.jpg', '/home/pi/Desktop/images/29012025/02/13/image_29012025_02_13_16_9388.jpg', '/home/pi/Desktop/images/29012025/02/13/image_29012025_02_13_27_10353.jpg', '/home/pi/Desktop/images/29012025/02/13/image_29012025_02_13_36_9346.jpg', '/home/pi/Desktop/images/29012025/02/13/image_29012025_02_13_46_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/12/image_29012025_02_12_56_10372.jpg
/home/pi/Desktop/images/29012025/02/12/image_29012025_02_13_07_10384.jpg
/home/pi/Desktop/images/29012025/02/13/image_29012025_02_13_16_9388.jpg
/home/pi/Desktop/images/29012025/02/13/image_29012025_02_13_27_10353.jpg
/home/pi/Desktop/images/29012025/02/13/image_29012025_02_13_36_9346.jpg
/home/pi/Desktop/images/29012025/02/13/image_29012025_02_13_46_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":["1332491961","1332492054","1332492000","1332492074","1332492076","1332492073"],"photo_ids_order":["1332491961","1332492000","1332492054","1332492073","1332492074","1332492076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fec47256963593d98c620404403a4c0e.jpg","text":"TemporaryFile(/tmp/multipartBody8189090640893739359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113453223,"filename":"image_29012025_02_12_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/29/7dbe3c8d941094aa58025f06ed671743.jpg","text":"TemporaryFile(/tmp/multipartBody3071497123957045254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113453223,"filename":"image_29012025_02_13_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/29/a88f78054e833e8ebbcb814058e1b51c.jpg","text":"TemporaryFile(/tmp/multipartBody6475124780444161851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113453223,"filename":"image_29012025_02_13_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/29/76e6da42c07255589240b039ea0b479e.jpg","text":"TemporaryFile(/tmp/multipartBody8069825236446585164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113453223,"filename":"image_29012025_02_13_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/29/39d5c8219f916c39fb02de49ac4a43ca.jpg","text":"TemporaryFile(/tmp/multipartBody4713837984058093076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113453223,"filename":"image_29012025_02_13_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/29/d69ed89480891347d6ff6880af31f384.jpg","text":"TemporaryFile(/tmp/multipartBody476329484709982828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113453223,"filename":"image_29012025_02_13_27_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332492054","file1":"1332492000","file0":"1332491961","file4":"1332492074","file5":"1332492076","file3":"1332492073"},"map_files_photo_id_array":[{"photo_id":"1332492076","filename":"file5"},{"photo_id":"1332492054","filename":"file2"},{"photo_id":"1332492074","filename":"file4"},{"photo_id":"1332492000","filename":"file1"},{"photo_id":"1332491961","filename":"file0"},{"photo_id":"1332492073","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332491961":["hashtag1","hashtag2"]},{"1332492054":["hashtag1","hashtag2"]},{"1332492000":["hashtag1","hashtag2"]},{"1332492074":["hashtag1","hashtag2"]},{"1332492076":["hashtag1","hashtag2"]},{"1332492073":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332491961, 1332492054, 1332492000, 1332492074, 1332492076, 1332492073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32162833213806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:17:32.477912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/13/image_29012025_02_13_57_10354.jpg', '/home/pi/Desktop/images/29012025/02/13/image_29012025_02_14_06_9399.jpg', '/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_16_10334.jpg', '/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_27_10372.jpg', '/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_36_9378.jpg', '/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_47_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/13/image_29012025_02_13_57_10354.jpg
/home/pi/Desktop/images/29012025/02/13/image_29012025_02_14_06_9399.jpg
/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_16_10334.jpg
/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_27_10372.jpg
/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_36_9378.jpg
/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_47_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":["1332492240","1332492219","1332492213","1332492193","1332492184","1332492235"],"photo_ids_order":["1332492184","1332492193","1332492213","1332492219","1332492235","1332492240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7b239acd463d13ce1ab180781256e479.jpg","text":"TemporaryFile(/tmp/multipartBody1101915859570603236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113513388,"filename":"image_29012025_02_14_47_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/29/1b9f1663a54fab7a9ce5f299f9b888eb.jpg","text":"TemporaryFile(/tmp/multipartBody5209698591861984434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113513388,"filename":"image_29012025_02_14_27_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/29/e0ed2be3f8c0bd663c8fb1a68edbe66d.jpg","text":"TemporaryFile(/tmp/multipartBody1612985936811097795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113513388,"filename":"image_29012025_02_14_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/29/d402bec74766997a372c4ae4d66d5522.jpg","text":"TemporaryFile(/tmp/multipartBody7164221579795935264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113513388,"filename":"image_29012025_02_14_06_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/29/80d2b40579a0ebc46f3d964c64a53287.jpg","text":"TemporaryFile(/tmp/multipartBody4971239336428939914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113513388,"filename":"image_29012025_02_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/29/eff9cdc78d33abcfc68aba0280a9203d.jpg","text":"TemporaryFile(/tmp/multipartBody8676205044807616156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113513388,"filename":"image_29012025_02_14_36_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332492213","file1":"1332492193","file0":"1332492184","file4":"1332492235","file5":"1332492240","file3":"1332492219"},"map_files_photo_id_array":[{"photo_id":"1332492240","filename":"file5"},{"photo_id":"1332492213","filename":"file2"},{"photo_id":"1332492235","filename":"file4"},{"photo_id":"1332492193","filename":"file1"},{"photo_id":"1332492184","filename":"file0"},{"photo_id":"1332492219","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332492240":["hashtag1","hashtag2"]},{"1332492219":["hashtag1","hashtag2"]},{"1332492213":["hashtag1","hashtag2"]},{"1332492193":["hashtag1","hashtag2"]},{"1332492184":["hashtag1","hashtag2"]},{"1332492235":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332492240, 1332492219, 1332492213, 1332492193, 1332492184, 1332492235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.58340644836426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:18:32.718538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_56_9368.jpg', '/home/pi/Desktop/images/29012025/02/14/image_29012025_02_15_06_10393.jpg', '/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_17_10441.jpg', '/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_26_9495.jpg', '/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_37_10357.jpg', '/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_46_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_56_9368.jpg
/home/pi/Desktop/images/29012025/02/14/image_29012025_02_15_06_10393.jpg
/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_17_10441.jpg
/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_26_9495.jpg
/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_37_10357.jpg
/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_46_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.5180032253265381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 02:18:42.720157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_56_9368.jpg', '/home/pi/Desktop/images/29012025/02/14/image_29012025_02_15_06_10393.jpg', '/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_17_10441.jpg', '/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_26_9495.jpg', '/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_37_10357.jpg', '/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_46_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/14/image_29012025_02_14_56_9368.jpg
/home/pi/Desktop/images/29012025/02/14/image_29012025_02_15_06_10393.jpg
/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_17_10441.jpg
/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_26_9495.jpg
/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_37_10357.jpg
/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_46_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":["1332492351","1332492296","1332492299","1332492302","1332492346","1332492291"],"photo_ids_order":["1332492291","1332492296","1332492299","1332492302","1332492346","1332492351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/837317c20783fccb0f0c7710df89049d.jpg","text":"TemporaryFile(/tmp/multipartBody5344097534526340969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113583640,"filename":"image_29012025_02_15_46_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/29/ad5f30bdf5bfd7171a59aa1be49d3f6c.jpg","text":"TemporaryFile(/tmp/multipartBody8080710593508838655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113583640,"filename":"image_29012025_02_15_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/29/5512796fcc3a6f31039d5779fe4f8912.jpg","text":"TemporaryFile(/tmp/multipartBody2925007858843472564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113583640,"filename":"image_29012025_02_15_17_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/29/665ac47f5a4c87ce67a2cde7823e0265.jpg","text":"TemporaryFile(/tmp/multipartBody6610729304861076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113583640,"filename":"image_29012025_02_15_26_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/29/8913a31357c7b10ad9cf09ce4ac56715.jpg","text":"TemporaryFile(/tmp/multipartBody3797786290720381579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113583640,"filename":"image_29012025_02_15_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/29/ceb8895601b3700014a811e7fcc28f66.jpg","text":"TemporaryFile(/tmp/multipartBody5033851027282715820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113583640,"filename":"image_29012025_02_14_56_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332492299","file1":"1332492296","file0":"1332492291","file4":"1332492346","file5":"1332492351","file3":"1332492302"},"map_files_photo_id_array":[{"photo_id":"1332492351","filename":"file5"},{"photo_id":"1332492299","filename":"file2"},{"photo_id":"1332492346","filename":"file4"},{"photo_id":"1332492296","filename":"file1"},{"photo_id":"1332492291","filename":"file0"},{"photo_id":"1332492302","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332492351":["hashtag1","hashtag2"]},{"1332492296":["hashtag1","hashtag2"]},{"1332492299":["hashtag1","hashtag2"]},{"1332492302":["hashtag1","hashtag2"]},{"1332492346":["hashtag1","hashtag2"]},{"1332492291":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332492351, 1332492296, 1332492299, 1332492302, 1332492346, 1332492291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.852999448776245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:19:32.906958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_56_10435.jpg', '/home/pi/Desktop/images/29012025/02/15/image_29012025_02_16_07_10363.jpg', '/home/pi/Desktop/images/29012025/02/16/image_29012025_02_16_16_9417.jpg', '/home/pi/Desktop/images/29012025/02/16/image_29012025_02_16_26_10353.jpg', '/home/pi/Desktop/images/29012025/02/16/image_29012025_02_16_36_9336.jpg', '/home/pi/Desktop/images/29012025/02/16/image_29012025_02_16_46_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/15/image_29012025_02_15_56_10435.jpg
/home/pi/Desktop/images/29012025/02/15/image_29012025_02_16_07_10363.jpg
/home/pi/Desktop/images/29012025/02/16/image_29012025_02_16_16_9417.jpg
/home/pi/Desktop/images/29012025/02/16/image_29012025_02_16_26_10353.jpg
/home/pi/Desktop/images/29012025/02/16/image_29012025_02_16_36_9336.jpg
/home/pi/Desktop/images/29012025/02/16/image_29012025_02_16_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":["1332492429","1332492416","1332492419","1332492421","1332492390","1332492387"],"photo_ids_order":["1332492387","1332492390","1332492416","1332492419","1332492421","1332492429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a97c313f8d23c35ce74fdd45f7377bd2.jpg","text":"TemporaryFile(/tmp/multipartBody9093038476354497237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113633807,"filename":"image_29012025_02_16_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/29/7b6a917520dae4282415bd8149ee6ec3.jpg","text":"TemporaryFile(/tmp/multipartBody1851764034278785611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113633807,"filename":"image_29012025_02_16_16_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/29/a430ca5123617bfe652587bd9d43dca7.jpg","text":"TemporaryFile(/tmp/multipartBody3905195186599101316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113633807,"filename":"image_29012025_02_16_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/29/8abf29ddea85b31578f0c9a4e3be8bf1.jpg","text":"TemporaryFile(/tmp/multipartBody4597569472321304494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113633807,"filename":"image_29012025_02_16_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/29/6af815aea71a6cf4b53f71cfdf423a7c.jpg","text":"TemporaryFile(/tmp/multipartBody998048572472863347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113633807,"filename":"image_29012025_02_16_07_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/29/a7ebaa898f0ada20189d173cbcf1e529.jpg","text":"TemporaryFile(/tmp/multipartBody656471784056234681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113633807,"filename":"image_29012025_02_15_56_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332492416","file1":"1332492390","file0":"1332492387","file4":"1332492421","file5":"1332492429","file3":"1332492419"},"map_files_photo_id_array":[{"photo_id":"1332492429","filename":"file5"},{"photo_id":"1332492416","filename":"file2"},{"photo_id":"1332492421","filename":"file4"},{"photo_id":"1332492390","filename":"file1"},{"photo_id":"1332492387","filename":"file0"},{"photo_id":"1332492419","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332492429":["hashtag1","hashtag2"]},{"1332492416":["hashtag1","hashtag2"]},{"1332492419":["hashtag1","hashtag2"]},{"1332492421":["hashtag1","hashtag2"]},{"1332492390":["hashtag1","hashtag2"]},{"1332492387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332492429, 1332492416, 1332492419, 1332492421, 1332492390, 1332492387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29179072380066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:20:33.155029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/16/image_29012025_02_16_57_10365.jpg', '/home/pi/Desktop/images/29012025/02/16/image_29012025_02_17_06_9337.jpg', '/home/pi/Desktop/images/29012025/02/17/image_29012025_02_17_36_9421.jpg', '/home/pi/Desktop/images/29012025/02/17/image_29012025_02_17_47_10349.jpg', '/home/pi/Desktop/images/29012025/02/17/image_29012025_02_17_56_9352.jpg', '/home/pi/Desktop/images/29012025/02/17/image_29012025_02_18_06_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/16/image_29012025_02_16_57_10365.jpg
/home/pi/Desktop/images/29012025/02/16/image_29012025_02_17_06_9337.jpg
/home/pi/Desktop/images/29012025/02/17/image_29012025_02_17_36_9421.jpg
/home/pi/Desktop/images/29012025/02/17/image_29012025_02_17_47_10349.jpg
/home/pi/Desktop/images/29012025/02/17/image_29012025_02_17_56_9352.jpg
/home/pi/Desktop/images/29012025/02/17/image_29012025_02_18_06_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332492540","1332492741","1332492568","1332492523","1332492517","1332492529"],"photo_ids_order":["1332492517","1332492523","1332492529","1332492540","1332492568","1332492741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b5bc63323dcf21704403ae68aef28b2f.jpg","text":"TemporaryFile(/tmp/multipartBody4381230828721977324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113694052,"filename":"image_29012025_02_17_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/29/6b7c4a4b358534864b8d110b78ed1720.jpg","text":"TemporaryFile(/tmp/multipartBody7709090415217410045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113694052,"filename":"image_29012025_02_18_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/29/50f30c76990e6e7fc5e725ecd07c30c3.jpg","text":"TemporaryFile(/tmp/multipartBody8003164851390793270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113694052,"filename":"image_29012025_02_17_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/29/fcf35299dda4726f7c2db3b2663a9aef.jpg","text":"TemporaryFile(/tmp/multipartBody5984516556891870169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113694052,"filename":"image_29012025_02_17_06_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/29/f5fd53099765cc87ab91904fcb34230e.jpg","text":"TemporaryFile(/tmp/multipartBody1879214672755631794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113694052,"filename":"image_29012025_02_16_57_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/29/de1df89c0ff50385be372a1ba1b63d45.jpg","text":"TemporaryFile(/tmp/multipartBody8162995792474252397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113694052,"filename":"image_29012025_02_17_36_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332492529","file1":"1332492523","file0":"1332492517","file4":"1332492568","file5":"1332492741","file3":"1332492540"},"map_files_photo_id_array":[{"photo_id":"1332492741","filename":"file5"},{"photo_id":"1332492529","filename":"file2"},{"photo_id":"1332492568","filename":"file4"},{"photo_id":"1332492523","filename":"file1"},{"photo_id":"1332492517","filename":"file0"},{"photo_id":"1332492540","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332492540":["hashtag1","hashtag2"]},{"1332492741":["hashtag1","hashtag2"]},{"1332492568":["hashtag1","hashtag2"]},{"1332492523":["hashtag1","hashtag2"]},{"1332492517":["hashtag1","hashtag2"]},{"1332492529":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332492540, 1332492741, 1332492568, 1332492523, 1332492517, 1332492529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96943688392639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:21:32.378461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/18/image_29012025_02_18_26_9443.jpg', '/home/pi/Desktop/images/29012025/02/18/image_29012025_02_18_37_10414.jpg', '/home/pi/Desktop/images/29012025/02/18/image_29012025_02_18_46_9384.jpg', '/home/pi/Desktop/images/29012025/02/18/image_29012025_02_18_56_10336.jpg', '/home/pi/Desktop/images/29012025/02/18/image_29012025_02_19_07_10382.jpg', '/home/pi/Desktop/images/29012025/02/19/image_29012025_02_19_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/18/image_29012025_02_18_26_9443.jpg
/home/pi/Desktop/images/29012025/02/18/image_29012025_02_18_37_10414.jpg
/home/pi/Desktop/images/29012025/02/18/image_29012025_02_18_46_9384.jpg
/home/pi/Desktop/images/29012025/02/18/image_29012025_02_18_56_10336.jpg
/home/pi/Desktop/images/29012025/02/18/image_29012025_02_19_07_10382.jpg
/home/pi/Desktop/images/29012025/02/19/image_29012025_02_19_16_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":["1332493460","1332493484","1332493471","1332493465","1332493474","1332493468"],"photo_ids_order":["1332493460","1332493465","1332493468","1332493471","1332493474","1332493484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bf45dbaf9ad6477bdb954cc996473f61.jpg","text":"TemporaryFile(/tmp/multipartBody891683456772778989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113753303,"filename":"image_29012025_02_18_26_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/29/f3a6859b6c5ae44ac433d927529611cb.jpg","text":"TemporaryFile(/tmp/multipartBody6710275366792991452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113753303,"filename":"image_29012025_02_19_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/29/3f70520dd7070a773f8e6ec6d4e14de3.jpg","text":"TemporaryFile(/tmp/multipartBody29626533995870483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113753303,"filename":"image_29012025_02_18_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/29/5c4b97182143161eca30a3d615a28b87.jpg","text":"TemporaryFile(/tmp/multipartBody8308400291761440124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113753303,"filename":"image_29012025_02_18_37_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/29/af48584dcd882a5baf1949ecc064020d.jpg","text":"TemporaryFile(/tmp/multipartBody8393879877047873395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113753303,"filename":"image_29012025_02_19_07_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/29/094d4aec47a1dfc45009a893d4bf8141.jpg","text":"TemporaryFile(/tmp/multipartBody4150427804960465194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113753303,"filename":"image_29012025_02_18_46_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332493468","file1":"1332493465","file0":"1332493460","file4":"1332493474","file5":"1332493484","file3":"1332493471"},"map_files_photo_id_array":[{"photo_id":"1332493484","filename":"file5"},{"photo_id":"1332493468","filename":"file2"},{"photo_id":"1332493474","filename":"file4"},{"photo_id":"1332493465","filename":"file1"},{"photo_id":"1332493460","filename":"file0"},{"photo_id":"1332493471","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332493460":["hashtag1","hashtag2"]},{"1332493484":["hashtag1","hashtag2"]},{"1332493471":["hashtag1","hashtag2"]},{"1332493465":["hashtag1","hashtag2"]},{"1332493474":["hashtag1","hashtag2"]},{"1332493468":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332493460, 1332493484, 1332493471, 1332493465, 1332493474, 1332493468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93263816833496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:22:32.712903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/19/image_29012025_02_19_26_10352.jpg', '/home/pi/Desktop/images/29012025/02/19/image_29012025_02_19_37_10361.jpg', '/home/pi/Desktop/images/29012025/02/19/image_29012025_02_19_46_9475.jpg', '/home/pi/Desktop/images/29012025/02/19/image_29012025_02_19_57_10376.jpg', '/home/pi/Desktop/images/29012025/02/19/image_29012025_02_20_06_9383.jpg', '/home/pi/Desktop/images/29012025/02/20/image_29012025_02_20_16_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/19/image_29012025_02_19_26_10352.jpg
/home/pi/Desktop/images/29012025/02/19/image_29012025_02_19_37_10361.jpg
/home/pi/Desktop/images/29012025/02/19/image_29012025_02_19_46_9475.jpg
/home/pi/Desktop/images/29012025/02/19/image_29012025_02_19_57_10376.jpg
/home/pi/Desktop/images/29012025/02/19/image_29012025_02_20_06_9383.jpg
/home/pi/Desktop/images/29012025/02/20/image_29012025_02_20_16_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":["1332493891","1332493897","1332493849","1332493846","1332493797","1332493902"],"photo_ids_order":["1332493797","1332493846","1332493849","1332493891","1332493897","1332493902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ee1ddd75fdbda994dae53e4a7e60a390.jpg","text":"TemporaryFile(/tmp/multipartBody6115317820845335857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113813634,"filename":"image_29012025_02_19_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/29/b30e54dd4d8ea8477358a88da3b6e348.jpg","text":"TemporaryFile(/tmp/multipartBody6242749724661706185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113813634,"filename":"image_29012025_02_20_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/29/93493bf4793958b717a9b4f2460abe01.jpg","text":"TemporaryFile(/tmp/multipartBody6519214859669023787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113813634,"filename":"image_29012025_02_19_46_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/29/5624d413ec902ed23c03d22b00fa1ce6.jpg","text":"TemporaryFile(/tmp/multipartBody5156486268845874893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113813634,"filename":"image_29012025_02_19_37_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/29/db4b3f6a2e02a8a14ba453757614d692.jpg","text":"TemporaryFile(/tmp/multipartBody3181223663897573465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113813634,"filename":"image_29012025_02_19_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/29/d2a70f5deb2121e7d8027f477dc645b3.jpg","text":"TemporaryFile(/tmp/multipartBody5460698203183584167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113813634,"filename":"image_29012025_02_20_16_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332493849","file1":"1332493846","file0":"1332493797","file4":"1332493897","file5":"1332493902","file3":"1332493891"},"map_files_photo_id_array":[{"photo_id":"1332493902","filename":"file5"},{"photo_id":"1332493849","filename":"file2"},{"photo_id":"1332493897","filename":"file4"},{"photo_id":"1332493846","filename":"file1"},{"photo_id":"1332493797","filename":"file0"},{"photo_id":"1332493891","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332493891":["hashtag1","hashtag2"]},{"1332493897":["hashtag1","hashtag2"]},{"1332493849":["hashtag1","hashtag2"]},{"1332493846":["hashtag1","hashtag2"]},{"1332493797":["hashtag1","hashtag2"]},{"1332493902":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332493891, 1332493897, 1332493849, 1332493846, 1332493797, 1332493902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.836754322052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:23:32.819393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/20/image_29012025_02_20_27_10382.jpg', '/home/pi/Desktop/images/29012025/02/20/image_29012025_02_20_36_9412.jpg', '/home/pi/Desktop/images/29012025/02/20/image_29012025_02_20_46_10345.jpg', '/home/pi/Desktop/images/29012025/02/20/image_29012025_02_20_57_10366.jpg', '/home/pi/Desktop/images/29012025/02/20/image_29012025_02_21_06_9368.jpg', '/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_26_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/20/image_29012025_02_20_27_10382.jpg
/home/pi/Desktop/images/29012025/02/20/image_29012025_02_20_36_9412.jpg
/home/pi/Desktop/images/29012025/02/20/image_29012025_02_20_46_10345.jpg
/home/pi/Desktop/images/29012025/02/20/image_29012025_02_20_57_10366.jpg
/home/pi/Desktop/images/29012025/02/20/image_29012025_02_21_06_9368.jpg
/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_26_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":["1332494264","1332493979","1332493925","1332494160","1332493920","1332494060"],"photo_ids_order":["1332493920","1332493925","1332493979","1332494060","1332494160","1332494264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fde808dfe56577411cd793906d8cc26c.jpg","text":"TemporaryFile(/tmp/multipartBody9137520558791630638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113873735,"filename":"image_29012025_02_21_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/29/bfe46918355dccf1866b575b9de346ce.jpg","text":"TemporaryFile(/tmp/multipartBody3753448700728934740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113873735,"filename":"image_29012025_02_20_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/29/f636312a7d7bcac6dec29888d73abd15.jpg","text":"TemporaryFile(/tmp/multipartBody2775366898017443263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113873735,"filename":"image_29012025_02_20_36_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/29/ea9fe9c0459195e73e2235cfa814b829.jpg","text":"TemporaryFile(/tmp/multipartBody1400082299001775907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113873735,"filename":"image_29012025_02_21_06_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/29/d8d6725c39fc04609a060635e277886e.jpg","text":"TemporaryFile(/tmp/multipartBody4909247293415154623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113873735,"filename":"image_29012025_02_20_27_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/29/d8b467e21a7d3eb3a40be8f79dfce62b.jpg","text":"TemporaryFile(/tmp/multipartBody7188241797082418726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113873735,"filename":"image_29012025_02_20_57_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332493979","file1":"1332493925","file0":"1332493920","file4":"1332494160","file5":"1332494264","file3":"1332494060"},"map_files_photo_id_array":[{"photo_id":"1332494264","filename":"file5"},{"photo_id":"1332493979","filename":"file2"},{"photo_id":"1332494160","filename":"file4"},{"photo_id":"1332493925","filename":"file1"},{"photo_id":"1332493920","filename":"file0"},{"photo_id":"1332494060","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332494264":["hashtag1","hashtag2"]},{"1332493979":["hashtag1","hashtag2"]},{"1332493925":["hashtag1","hashtag2"]},{"1332494160":["hashtag1","hashtag2"]},{"1332493920":["hashtag1","hashtag2"]},{"1332494060":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332494264, 1332493979, 1332493925, 1332494160, 1332493920, 1332494060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52504110336304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:24:33.056134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_36_10432.jpg', '/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_47_10368.jpg', '/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_56_9371.jpg', '/home/pi/Desktop/images/29012025/02/21/image_29012025_02_22_06_10349.jpg', '/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_26_10377.jpg', '/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_37_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_36_10432.jpg
/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_47_10368.jpg
/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_56_9371.jpg
/home/pi/Desktop/images/29012025/02/21/image_29012025_02_22_06_10349.jpg
/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_26_10377.jpg
/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_37_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.538280725479126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 02:24:43.015786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_36_10432.jpg', '/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_47_10368.jpg', '/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_56_9371.jpg', '/home/pi/Desktop/images/29012025/02/21/image_29012025_02_22_06_10349.jpg', '/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_26_10377.jpg', '/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_37_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_36_10432.jpg
/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_47_10368.jpg
/home/pi/Desktop/images/29012025/02/21/image_29012025_02_21_56_9371.jpg
/home/pi/Desktop/images/29012025/02/21/image_29012025_02_22_06_10349.jpg
/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_26_10377.jpg
/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_37_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":["1332495388","1332495580","1332495538","1332495211","1332495582","1332495051"],"photo_ids_order":["1332495051","1332495211","1332495388","1332495538","1332495580","1332495582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f08fb7db74d4f34ef1da7ccf96a94349.jpg","text":"TemporaryFile(/tmp/multipartBody7621715376548429348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113943946,"filename":"image_29012025_02_21_56_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/29/ad91f19028e9b3b0bc4421c973027d9f.jpg","text":"TemporaryFile(/tmp/multipartBody1567441888769297077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113943946,"filename":"image_29012025_02_22_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/29/b60fd1e366db0fcfdaaf32f3c792cbef.jpg","text":"TemporaryFile(/tmp/multipartBody5066684671951602796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113943946,"filename":"image_29012025_02_22_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/29/0807b2b46b78dbf9beddb7a49f50915c.jpg","text":"TemporaryFile(/tmp/multipartBody5359683803947998431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113943946,"filename":"image_29012025_02_21_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/29/a8bb5d53c53cf9c14ad5137f95cf9261.jpg","text":"TemporaryFile(/tmp/multipartBody4445462018969350721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113943946,"filename":"image_29012025_02_22_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/29/3da8d3bd3d32727cb9dde56782873063.jpg","text":"TemporaryFile(/tmp/multipartBody2933240580689025723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113943946,"filename":"image_29012025_02_21_36_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332495388","file1":"1332495211","file0":"1332495051","file4":"1332495580","file5":"1332495582","file3":"1332495538"},"map_files_photo_id_array":[{"photo_id":"1332495582","filename":"file5"},{"photo_id":"1332495388","filename":"file2"},{"photo_id":"1332495580","filename":"file4"},{"photo_id":"1332495211","filename":"file1"},{"photo_id":"1332495051","filename":"file0"},{"photo_id":"1332495538","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332495388":["hashtag1","hashtag2"]},{"1332495580":["hashtag1","hashtag2"]},{"1332495538":["hashtag1","hashtag2"]},{"1332495211":["hashtag1","hashtag2"]},{"1332495582":["hashtag1","hashtag2"]},{"1332495051":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332495388, 1332495580, 1332495538, 1332495211, 1332495582, 1332495051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.74306869506836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:25:32.378712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_46_9343.jpg', '/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_56_10366.jpg', '/home/pi/Desktop/images/29012025/02/22/image_29012025_02_23_07_10339.jpg', '/home/pi/Desktop/images/29012025/02/23/image_29012025_02_23_16_9404.jpg', '/home/pi/Desktop/images/29012025/02/23/image_29012025_02_23_26_10377.jpg', '/home/pi/Desktop/images/29012025/02/23/image_29012025_02_23_37_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_46_9343.jpg
/home/pi/Desktop/images/29012025/02/22/image_29012025_02_22_56_10366.jpg
/home/pi/Desktop/images/29012025/02/22/image_29012025_02_23_07_10339.jpg
/home/pi/Desktop/images/29012025/02/23/image_29012025_02_23_16_9404.jpg
/home/pi/Desktop/images/29012025/02/23/image_29012025_02_23_26_10377.jpg
/home/pi/Desktop/images/29012025/02/23/image_29012025_02_23_37_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":["1332495614","1332495618","1332495606","1332495644","1332495632","1332495611"],"photo_ids_order":["1332495606","1332495611","1332495614","1332495618","1332495632","1332495644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/497a30b534c3954d75d4f10e843d136e.jpg","text":"TemporaryFile(/tmp/multipartBody6357399847383169560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113993308,"filename":"image_29012025_02_23_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/29/7223c9913eef99727409415c8fda5e06.jpg","text":"TemporaryFile(/tmp/multipartBody4316293492074035715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113993308,"filename":"image_29012025_02_23_16_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/29/8656eb8f6aa209df4aff1c2f1333a085.jpg","text":"TemporaryFile(/tmp/multipartBody610938399532886296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113993308,"filename":"image_29012025_02_22_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/29/b38574d2439186da68f84785ce7570ab.jpg","text":"TemporaryFile(/tmp/multipartBody4664381953902880589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113993308,"filename":"image_29012025_02_23_37_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/29/9d18bede65b6702fa368e69419f8b448.jpg","text":"TemporaryFile(/tmp/multipartBody6510385523705892423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113993308,"filename":"image_29012025_02_23_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/29/862e6e23f67c9b9b43a01651e3a848dd.jpg","text":"TemporaryFile(/tmp/multipartBody819114921798252947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738113993308,"filename":"image_29012025_02_22_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332495614","file1":"1332495611","file0":"1332495606","file4":"1332495632","file5":"1332495644","file3":"1332495618"},"map_files_photo_id_array":[{"photo_id":"1332495644","filename":"file5"},{"photo_id":"1332495614","filename":"file2"},{"photo_id":"1332495632","filename":"file4"},{"photo_id":"1332495611","filename":"file1"},{"photo_id":"1332495606","filename":"file0"},{"photo_id":"1332495618","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332495614":["hashtag1","hashtag2"]},{"1332495618":["hashtag1","hashtag2"]},{"1332495606":["hashtag1","hashtag2"]},{"1332495644":["hashtag1","hashtag2"]},{"1332495632":["hashtag1","hashtag2"]},{"1332495611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332495614, 1332495618, 1332495606, 1332495644, 1332495632, 1332495611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.243258237838745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:26:32.441880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/23/image_29012025_02_23_46_9357.jpg', '/home/pi/Desktop/images/29012025/02/23/image_29012025_02_23_57_10367.jpg', '/home/pi/Desktop/images/29012025/02/23/image_29012025_02_24_06_9332.jpg', '/home/pi/Desktop/images/29012025/02/24/image_29012025_02_24_16_10340.jpg', '/home/pi/Desktop/images/29012025/02/24/image_29012025_02_24_27_10445.jpg', '/home/pi/Desktop/images/29012025/02/24/image_29012025_02_24_36_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/23/image_29012025_02_23_46_9357.jpg
/home/pi/Desktop/images/29012025/02/23/image_29012025_02_23_57_10367.jpg
/home/pi/Desktop/images/29012025/02/23/image_29012025_02_24_06_9332.jpg
/home/pi/Desktop/images/29012025/02/24/image_29012025_02_24_16_10340.jpg
/home/pi/Desktop/images/29012025/02/24/image_29012025_02_24_27_10445.jpg
/home/pi/Desktop/images/29012025/02/24/image_29012025_02_24_36_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":["1332496453","1332496309","1332496371","1332496236","1332496385","1332496351"],"photo_ids_order":["1332496236","1332496309","1332496351","1332496371","1332496385","1332496453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/06cbd4e845eb637e03eaef49292887bb.jpg","text":"TemporaryFile(/tmp/multipartBody4247641377771871484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114053354,"filename":"image_29012025_02_24_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/29/904bf874aefc498824009f0836ba0d17.jpg","text":"TemporaryFile(/tmp/multipartBody2759080129207406164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114053354,"filename":"image_29012025_02_23_57_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/29/6ecfd9ac05f4a0a28dc3d98fa3ee2584.jpg","text":"TemporaryFile(/tmp/multipartBody2649159747554463510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114053354,"filename":"image_29012025_02_24_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/29/04c2db63f929f9e8338641e7121976c1.jpg","text":"TemporaryFile(/tmp/multipartBody3642670259265671044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114053354,"filename":"image_29012025_02_23_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/29/99600538c411d019dddbdae3b3bea864.jpg","text":"TemporaryFile(/tmp/multipartBody3025357496950607955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114053354,"filename":"image_29012025_02_24_27_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/29/91a5c25d1bb8d03d631f618265e769ea.jpg","text":"TemporaryFile(/tmp/multipartBody3922727142823076998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114053354,"filename":"image_29012025_02_24_06_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332496351","file1":"1332496309","file0":"1332496236","file4":"1332496385","file5":"1332496453","file3":"1332496371"},"map_files_photo_id_array":[{"photo_id":"1332496453","filename":"file5"},{"photo_id":"1332496351","filename":"file2"},{"photo_id":"1332496385","filename":"file4"},{"photo_id":"1332496309","filename":"file1"},{"photo_id":"1332496236","filename":"file0"},{"photo_id":"1332496371","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332496453":["hashtag1","hashtag2"]},{"1332496309":["hashtag1","hashtag2"]},{"1332496371":["hashtag1","hashtag2"]},{"1332496236":["hashtag1","hashtag2"]},{"1332496385":["hashtag1","hashtag2"]},{"1332496351":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332496453, 1332496309, 1332496371, 1332496236, 1332496385, 1332496351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.70989751815796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:27:32.655289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/24/image_29012025_02_24_46_10370.jpg', '/home/pi/Desktop/images/29012025/02/24/image_29012025_02_24_57_10357.jpg', '/home/pi/Desktop/images/29012025/02/24/image_29012025_02_25_06_9463.jpg', '/home/pi/Desktop/images/29012025/02/25/image_29012025_02_25_17_10447.jpg', '/home/pi/Desktop/images/29012025/02/25/image_29012025_02_25_26_9351.jpg', '/home/pi/Desktop/images/29012025/02/25/image_29012025_02_25_36_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/24/image_29012025_02_24_46_10370.jpg
/home/pi/Desktop/images/29012025/02/24/image_29012025_02_24_57_10357.jpg
/home/pi/Desktop/images/29012025/02/24/image_29012025_02_25_06_9463.jpg
/home/pi/Desktop/images/29012025/02/25/image_29012025_02_25_17_10447.jpg
/home/pi/Desktop/images/29012025/02/25/image_29012025_02_25_26_9351.jpg
/home/pi/Desktop/images/29012025/02/25/image_29012025_02_25_36_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":["1332496513","1332496507","1332496503","1332496517","1332496495","1332496498"],"photo_ids_order":["1332496495","1332496498","1332496503","1332496507","1332496513","1332496517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c1a5fd2ebd3cec2ad4b453ef53bd888a.jpg","text":"TemporaryFile(/tmp/multipartBody4397967321899060100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114113559,"filename":"image_29012025_02_25_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/29/093a0f1d5232b6f68342270ccfc75bca.jpg","text":"TemporaryFile(/tmp/multipartBody7638030372817111925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114113559,"filename":"image_29012025_02_25_17_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/29/9ebe31d77d40a2372d69c2223c663109.jpg","text":"TemporaryFile(/tmp/multipartBody2515045995171802986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114113559,"filename":"image_29012025_02_25_06_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/29/bba9ea1af08c03fb4aca74acc9aa14cd.jpg","text":"TemporaryFile(/tmp/multipartBody1397357300125878627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114113559,"filename":"image_29012025_02_25_36_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/29/ac9376bb0ff0b1cb610d089112545e4e.jpg","text":"TemporaryFile(/tmp/multipartBody2429672844061922073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114113559,"filename":"image_29012025_02_24_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/29/95de982e6608f670d0e7e3c5a156201f.jpg","text":"TemporaryFile(/tmp/multipartBody4295068398767248824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114113559,"filename":"image_29012025_02_24_57_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332496503","file1":"1332496498","file0":"1332496495","file4":"1332496513","file5":"1332496517","file3":"1332496507"},"map_files_photo_id_array":[{"photo_id":"1332496517","filename":"file5"},{"photo_id":"1332496503","filename":"file2"},{"photo_id":"1332496513","filename":"file4"},{"photo_id":"1332496498","filename":"file1"},{"photo_id":"1332496495","filename":"file0"},{"photo_id":"1332496507","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332496513":["hashtag1","hashtag2"]},{"1332496507":["hashtag1","hashtag2"]},{"1332496503":["hashtag1","hashtag2"]},{"1332496517":["hashtag1","hashtag2"]},{"1332496495":["hashtag1","hashtag2"]},{"1332496498":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332496513, 1332496507, 1332496503, 1332496517, 1332496495, 1332496498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09601187705994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:28:32.966469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/25/image_29012025_02_25_47_10401.jpg', '/home/pi/Desktop/images/29012025/02/25/image_29012025_02_25_56_9363.jpg', '/home/pi/Desktop/images/29012025/02/25/image_29012025_02_26_07_10351.jpg', '/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_16_9415.jpg', '/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_26_10457.jpg', '/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_37_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/25/image_29012025_02_25_47_10401.jpg
/home/pi/Desktop/images/29012025/02/25/image_29012025_02_25_56_9363.jpg
/home/pi/Desktop/images/29012025/02/25/image_29012025_02_26_07_10351.jpg
/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_16_9415.jpg
/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_26_10457.jpg
/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_37_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":["1332496581","1332496557","1332496571","1332496550","1332496544","1332496538"],"photo_ids_order":["1332496538","1332496544","1332496550","1332496557","1332496571","1332496581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f0e3fb8efd37035bf2888dc4c13b6e8d.jpg","text":"TemporaryFile(/tmp/multipartBody8456682054273112750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114173875,"filename":"image_29012025_02_26_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/29/924a82d237148be95fa9a6278ef6f325.jpg","text":"TemporaryFile(/tmp/multipartBody2827973628496675168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114173875,"filename":"image_29012025_02_26_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/29/544ebf92b8363377ab9aa388374abb23.jpg","text":"TemporaryFile(/tmp/multipartBody4133062021567869503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114173875,"filename":"image_29012025_02_26_26_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/29/53d37a3bc436ea1d7939a227a7cb5619.jpg","text":"TemporaryFile(/tmp/multipartBody5458953156153758079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114173875,"filename":"image_29012025_02_26_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/29/08694b521f8e5cdd4a88cd21f22b5d0d.jpg","text":"TemporaryFile(/tmp/multipartBody5853327284001987789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114173875,"filename":"image_29012025_02_25_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/29/edb229a8dd07682d4c0e0345a36a4c5d.jpg","text":"TemporaryFile(/tmp/multipartBody7754427560622442353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114173875,"filename":"image_29012025_02_25_47_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332496550","file1":"1332496544","file0":"1332496538","file4":"1332496571","file5":"1332496581","file3":"1332496557"},"map_files_photo_id_array":[{"photo_id":"1332496581","filename":"file5"},{"photo_id":"1332496550","filename":"file2"},{"photo_id":"1332496571","filename":"file4"},{"photo_id":"1332496544","filename":"file1"},{"photo_id":"1332496538","filename":"file0"},{"photo_id":"1332496557","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332496581":["hashtag1","hashtag2"]},{"1332496557":["hashtag1","hashtag2"]},{"1332496571":["hashtag1","hashtag2"]},{"1332496550":["hashtag1","hashtag2"]},{"1332496544":["hashtag1","hashtag2"]},{"1332496538":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332496581, 1332496557, 1332496571, 1332496550, 1332496544, 1332496538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.7194550037384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:29:33.128502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_46_9401.jpg', '/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_57_10463.jpg', '/home/pi/Desktop/images/29012025/02/26/image_29012025_02_27_06_9479.jpg', '/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_17_10453.jpg', '/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_26_9444.jpg', '/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_36_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_46_9401.jpg
/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_57_10463.jpg
/home/pi/Desktop/images/29012025/02/26/image_29012025_02_27_06_9479.jpg
/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_17_10453.jpg
/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_26_9444.jpg
/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_36_10434.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.5133922100067139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 02:29:43.191609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_46_9401.jpg', '/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_57_10463.jpg', '/home/pi/Desktop/images/29012025/02/26/image_29012025_02_27_06_9479.jpg', '/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_17_10453.jpg', '/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_26_9444.jpg', '/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_36_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_46_9401.jpg
/home/pi/Desktop/images/29012025/02/26/image_29012025_02_26_57_10463.jpg
/home/pi/Desktop/images/29012025/02/26/image_29012025_02_27_06_9479.jpg
/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_17_10453.jpg
/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_26_9444.jpg
/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_36_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332496668","1332496653","1332496641","1332496646","1332496649","1332496637"],"photo_ids_order":["1332496637","1332496641","1332496646","1332496649","1332496653","1332496668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7b1ebea1cf2d3ec75300e20cbfb01408.jpg","text":"TemporaryFile(/tmp/multipartBody7047517721860788415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114244129,"filename":"image_29012025_02_27_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/29/f5c4856d43e639e0db20e96a1da9b56e.jpg","text":"TemporaryFile(/tmp/multipartBody8823699020227751196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114244129,"filename":"image_29012025_02_27_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/29/a00c8a7ad97d93dfbab6bc9a1b0c856d.jpg","text":"TemporaryFile(/tmp/multipartBody8769720603341185206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114244129,"filename":"image_29012025_02_26_57_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/29/b28174ef3d708657ad1f66adbc1e328c.jpg","text":"TemporaryFile(/tmp/multipartBody4132417657141011531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114244129,"filename":"image_29012025_02_27_06_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/29/3f26d5b3bc404214ada35bbc4f8008d8.jpg","text":"TemporaryFile(/tmp/multipartBody1148357983927477541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114244129,"filename":"image_29012025_02_27_17_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/29/66e32d5fd6d566f5cda1a3b6cc40004f.jpg","text":"TemporaryFile(/tmp/multipartBody5180957082413223883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114244129,"filename":"image_29012025_02_26_46_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332496646","file1":"1332496641","file0":"1332496637","file4":"1332496653","file5":"1332496668","file3":"1332496649"},"map_files_photo_id_array":[{"photo_id":"1332496668","filename":"file5"},{"photo_id":"1332496646","filename":"file2"},{"photo_id":"1332496653","filename":"file4"},{"photo_id":"1332496641","filename":"file1"},{"photo_id":"1332496637","filename":"file0"},{"photo_id":"1332496649","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332496668":["hashtag1","hashtag2"]},{"1332496653":["hashtag1","hashtag2"]},{"1332496641":["hashtag1","hashtag2"]},{"1332496646":["hashtag1","hashtag2"]},{"1332496649":["hashtag1","hashtag2"]},{"1332496637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332496668, 1332496653, 1332496641, 1332496646, 1332496649, 1332496637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08773112297058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:30:32.263803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_46_9409.jpg', '/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_56_10353.jpg', '/home/pi/Desktop/images/29012025/02/27/image_29012025_02_28_07_10423.jpg', '/home/pi/Desktop/images/29012025/02/28/image_29012025_02_28_16_9337.jpg', '/home/pi/Desktop/images/29012025/02/28/image_29012025_02_28_26_10366.jpg', '/home/pi/Desktop/images/29012025/02/28/image_29012025_02_28_37_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_46_9409.jpg
/home/pi/Desktop/images/29012025/02/27/image_29012025_02_27_56_10353.jpg
/home/pi/Desktop/images/29012025/02/27/image_29012025_02_28_07_10423.jpg
/home/pi/Desktop/images/29012025/02/28/image_29012025_02_28_16_9337.jpg
/home/pi/Desktop/images/29012025/02/28/image_29012025_02_28_26_10366.jpg
/home/pi/Desktop/images/29012025/02/28/image_29012025_02_28_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":["1332496708","1332496704","1332496697","1332496700","1332496703","1332496706"],"photo_ids_order":["1332496697","1332496700","1332496703","1332496704","1332496706","1332496708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f17ed185753a32ff7f85410aef508378.jpg","text":"TemporaryFile(/tmp/multipartBody6444080892580473010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114293176,"filename":"image_29012025_02_28_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/29/25cb74d743acdde9a21fe4b4fb77246c.jpg","text":"TemporaryFile(/tmp/multipartBody4963395068484672300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114293176,"filename":"image_29012025_02_28_16_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/29/b75596faae5c228fe4ee6dbca1ae80b2.jpg","text":"TemporaryFile(/tmp/multipartBody450297972500411886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114293176,"filename":"image_29012025_02_27_46_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/29/9ebd51b79391676e37696ab9c5d96dec.jpg","text":"TemporaryFile(/tmp/multipartBody6485688119031329056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114293176,"filename":"image_29012025_02_27_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/29/f922975645e10db3e7ca65fc55e761b8.jpg","text":"TemporaryFile(/tmp/multipartBody7089553794014664062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114293176,"filename":"image_29012025_02_28_07_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/29/c6d89c4f0ea389a75021823e4957ca6b.jpg","text":"TemporaryFile(/tmp/multipartBody6741963392466660724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114293176,"filename":"image_29012025_02_28_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332496703","file1":"1332496700","file0":"1332496697","file4":"1332496706","file5":"1332496708","file3":"1332496704"},"map_files_photo_id_array":[{"photo_id":"1332496708","filename":"file5"},{"photo_id":"1332496703","filename":"file2"},{"photo_id":"1332496706","filename":"file4"},{"photo_id":"1332496700","filename":"file1"},{"photo_id":"1332496697","filename":"file0"},{"photo_id":"1332496704","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332496708":["hashtag1","hashtag2"]},{"1332496704":["hashtag1","hashtag2"]},{"1332496697":["hashtag1","hashtag2"]},{"1332496700":["hashtag1","hashtag2"]},{"1332496703":["hashtag1","hashtag2"]},{"1332496706":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332496708, 1332496704, 1332496697, 1332496700, 1332496703, 1332496706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.509233474731445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:31:32.552226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/28/image_29012025_02_28_46_9351.jpg', '/home/pi/Desktop/images/29012025/02/28/image_29012025_02_28_56_10362.jpg', '/home/pi/Desktop/images/29012025/02/28/image_29012025_02_29_07_10405.jpg', '/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_16_9367.jpg', '/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_27_10460.jpg', '/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_36_9374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/28/image_29012025_02_28_46_9351.jpg
/home/pi/Desktop/images/29012025/02/28/image_29012025_02_28_56_10362.jpg
/home/pi/Desktop/images/29012025/02/28/image_29012025_02_29_07_10405.jpg
/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_16_9367.jpg
/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_27_10460.jpg
/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_36_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332496828","1332496839","1332496844","1332496847","1332496841","1332496835"],"photo_ids_order":["1332496828","1332496835","1332496839","1332496841","1332496844","1332496847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0a0f73fa491223f2460adf1a91a63040.jpg","text":"TemporaryFile(/tmp/multipartBody2177329226027591215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114353463,"filename":"image_29012025_02_28_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/29/70787b1ebb1e41c28ed749a172c60907.jpg","text":"TemporaryFile(/tmp/multipartBody5533765868829491317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114353463,"filename":"image_29012025_02_29_07_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/29/1d5a1ef42ac5706ce57d19aaa322a61b.jpg","text":"TemporaryFile(/tmp/multipartBody4340802418446245383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114353463,"filename":"image_29012025_02_29_27_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/29/79a2ea80ce311b43ee00a800c364f54d.jpg","text":"TemporaryFile(/tmp/multipartBody522860472219247913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114353463,"filename":"image_29012025_02_29_36_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/29/2a5ef0e8ce152a8174858a87fc280536.jpg","text":"TemporaryFile(/tmp/multipartBody5798094967785196088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114353463,"filename":"image_29012025_02_29_16_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/29/d88490bb29e566c12ff57261f387688a.jpg","text":"TemporaryFile(/tmp/multipartBody1237662071454669134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114353463,"filename":"image_29012025_02_28_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332496839","file1":"1332496835","file0":"1332496828","file4":"1332496844","file5":"1332496847","file3":"1332496841"},"map_files_photo_id_array":[{"photo_id":"1332496847","filename":"file5"},{"photo_id":"1332496839","filename":"file2"},{"photo_id":"1332496844","filename":"file4"},{"photo_id":"1332496835","filename":"file1"},{"photo_id":"1332496828","filename":"file0"},{"photo_id":"1332496841","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332496828":["hashtag1","hashtag2"]},{"1332496839":["hashtag1","hashtag2"]},{"1332496844":["hashtag1","hashtag2"]},{"1332496847":["hashtag1","hashtag2"]},{"1332496841":["hashtag1","hashtag2"]},{"1332496835":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332496828, 1332496839, 1332496844, 1332496847, 1332496841, 1332496835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47019624710083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:32:32.765720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_46_10456.jpg', '/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_57_10349.jpg', '/home/pi/Desktop/images/29012025/02/29/image_29012025_02_30_06_9358.jpg', '/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_17_10349.jpg', '/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_47_10346.jpg', '/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_56_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_46_10456.jpg
/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_57_10349.jpg
/home/pi/Desktop/images/29012025/02/29/image_29012025_02_30_06_9358.jpg
/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_17_10349.jpg
/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_47_10346.jpg
/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_56_9345.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.5380809307098389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 02:32:42.747140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_46_10456.jpg', '/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_57_10349.jpg', '/home/pi/Desktop/images/29012025/02/29/image_29012025_02_30_06_9358.jpg', '/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_17_10349.jpg', '/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_47_10346.jpg', '/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_56_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_46_10456.jpg
/home/pi/Desktop/images/29012025/02/29/image_29012025_02_29_57_10349.jpg
/home/pi/Desktop/images/29012025/02/29/image_29012025_02_30_06_9358.jpg
/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_17_10349.jpg
/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_47_10346.jpg
/home/pi/Desktop/images/29012025/02/30/image_29012025_02_30_56_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":["1332496927","1332496909","1332496905","1332496889","1332496922","1332496882"],"photo_ids_order":["1332496882","1332496889","1332496905","1332496909","1332496922","1332496927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bfd29c296a4aa8991b5005167b039c23.jpg","text":"TemporaryFile(/tmp/multipartBody6303060320597115215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114423657,"filename":"image_29012025_02_30_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/29/b5498128389e5f26976ad8d90b2b92ea.jpg","text":"TemporaryFile(/tmp/multipartBody4868069760017990160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114423657,"filename":"image_29012025_02_30_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/29/cc7614df3a9c01d7106b8faa382afd4a.jpg","text":"TemporaryFile(/tmp/multipartBody949341011135954911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114423657,"filename":"image_29012025_02_30_06_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/29/718a0665239ea33f1636e6bd0dd61a1a.jpg","text":"TemporaryFile(/tmp/multipartBody783161322570011769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114423657,"filename":"image_29012025_02_29_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/29/351c8d9d4f38cc4f430d5c89a0d3c4ad.jpg","text":"TemporaryFile(/tmp/multipartBody2272885899026710263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114423657,"filename":"image_29012025_02_30_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/29/7c0654fc2858717b52c88a597934efd3.jpg","text":"TemporaryFile(/tmp/multipartBody8187609306050693261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114423657,"filename":"image_29012025_02_29_46_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332496905","file1":"1332496889","file0":"1332496882","file4":"1332496922","file5":"1332496927","file3":"1332496909"},"map_files_photo_id_array":[{"photo_id":"1332496927","filename":"file5"},{"photo_id":"1332496905","filename":"file2"},{"photo_id":"1332496922","filename":"file4"},{"photo_id":"1332496889","filename":"file1"},{"photo_id":"1332496882","filename":"file0"},{"photo_id":"1332496909","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332496927":["hashtag1","hashtag2"]},{"1332496909":["hashtag1","hashtag2"]},{"1332496905":["hashtag1","hashtag2"]},{"1332496889":["hashtag1","hashtag2"]},{"1332496922":["hashtag1","hashtag2"]},{"1332496882":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332496927, 1332496909, 1332496905, 1332496889, 1332496922, 1332496882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.341787815093994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:33:32.983511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/30/image_29012025_02_31_06_10357.jpg', '/home/pi/Desktop/images/29012025/02/31/image_29012025_02_31_17_10344.jpg', '/home/pi/Desktop/images/29012025/02/31/image_29012025_02_31_26_9330.jpg', '/home/pi/Desktop/images/29012025/02/31/image_29012025_02_31_36_10438.jpg', '/home/pi/Desktop/images/29012025/02/31/image_29012025_02_31_47_10325.jpg', '/home/pi/Desktop/images/29012025/02/31/image_29012025_02_31_56_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/30/image_29012025_02_31_06_10357.jpg
/home/pi/Desktop/images/29012025/02/31/image_29012025_02_31_17_10344.jpg
/home/pi/Desktop/images/29012025/02/31/image_29012025_02_31_26_9330.jpg
/home/pi/Desktop/images/29012025/02/31/image_29012025_02_31_36_10438.jpg
/home/pi/Desktop/images/29012025/02/31/image_29012025_02_31_47_10325.jpg
/home/pi/Desktop/images/29012025/02/31/image_29012025_02_31_56_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":["1332496977","1332496971","1332496965","1332496959","1332496974","1332496968"],"photo_ids_order":["1332496959","1332496965","1332496968","1332496971","1332496974","1332496977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ab3c728671ca2428f7aa22fa2c2befe8.jpg","text":"TemporaryFile(/tmp/multipartBody7512450730327152869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114473889,"filename":"image_29012025_02_31_56_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/29/830586c6528051ed13b3b75102b7c1db.jpg","text":"TemporaryFile(/tmp/multipartBody5209246431708322318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114473889,"filename":"image_29012025_02_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/29/52b5acbc370c9b9ea4bf152d3bdce813.jpg","text":"TemporaryFile(/tmp/multipartBody1531688943880167080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114473889,"filename":"image_29012025_02_31_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/29/3031fcdfb18507ca82154ebb55574eff.jpg","text":"TemporaryFile(/tmp/multipartBody511128945843258626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114473889,"filename":"image_29012025_02_31_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/29/71d95cc8a9492a4102c6c76f5e21840f.jpg","text":"TemporaryFile(/tmp/multipartBody2854666249347861733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114473889,"filename":"image_29012025_02_31_47_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/29/0ef7923b30099df1f6c624eb394584c4.jpg","text":"TemporaryFile(/tmp/multipartBody3491512669477325453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114473889,"filename":"image_29012025_02_31_26_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332496968","file1":"1332496965","file0":"1332496959","file4":"1332496974","file5":"1332496977","file3":"1332496971"},"map_files_photo_id_array":[{"photo_id":"1332496977","filename":"file5"},{"photo_id":"1332496968","filename":"file2"},{"photo_id":"1332496974","filename":"file4"},{"photo_id":"1332496965","filename":"file1"},{"photo_id":"1332496959","filename":"file0"},{"photo_id":"1332496971","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332496977":["hashtag1","hashtag2"]},{"1332496971":["hashtag1","hashtag2"]},{"1332496965":["hashtag1","hashtag2"]},{"1332496959":["hashtag1","hashtag2"]},{"1332496974":["hashtag1","hashtag2"]},{"1332496968":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332496977, 1332496971, 1332496965, 1332496959, 1332496974, 1332496968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.301973819732666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:34:32.261536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/31/image_29012025_02_32_07_10348.jpg', '/home/pi/Desktop/images/29012025/02/32/image_29012025_02_32_16_9332.jpg', '/home/pi/Desktop/images/29012025/02/32/image_29012025_02_32_26_10444.jpg', '/home/pi/Desktop/images/29012025/02/32/image_29012025_02_32_37_10426.jpg', '/home/pi/Desktop/images/29012025/02/32/image_29012025_02_32_46_9394.jpg', '/home/pi/Desktop/images/29012025/02/32/image_29012025_02_32_57_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/31/image_29012025_02_32_07_10348.jpg
/home/pi/Desktop/images/29012025/02/32/image_29012025_02_32_16_9332.jpg
/home/pi/Desktop/images/29012025/02/32/image_29012025_02_32_26_10444.jpg
/home/pi/Desktop/images/29012025/02/32/image_29012025_02_32_37_10426.jpg
/home/pi/Desktop/images/29012025/02/32/image_29012025_02_32_46_9394.jpg
/home/pi/Desktop/images/29012025/02/32/image_29012025_02_32_57_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":["1332497004","1332497444","1332497281","1332497129","1332497683","1332497533"],"photo_ids_order":["1332497004","1332497129","1332497281","1332497444","1332497533","1332497683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5db848fa5375034997ec525b32303030.jpg","text":"TemporaryFile(/tmp/multipartBody8569255523600067940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114533194,"filename":"image_29012025_02_32_07_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/29/ffa1aae3c363b5ff5a3c9abf7f02272e.jpg","text":"TemporaryFile(/tmp/multipartBody1473050807332439927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114533194,"filename":"image_29012025_02_32_37_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/29/03d279ef7f285f327110e3f34f8fcd67.jpg","text":"TemporaryFile(/tmp/multipartBody8760388605616227616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114533194,"filename":"image_29012025_02_32_26_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/29/2c0a12bbe7bfb6f54e3128698d00b8cb.jpg","text":"TemporaryFile(/tmp/multipartBody7799543736610006097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114533194,"filename":"image_29012025_02_32_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/29/204255e0f3734df2467d840eb0339853.jpg","text":"TemporaryFile(/tmp/multipartBody3953217477805122076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114533194,"filename":"image_29012025_02_32_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/29/0b3b05e2a5b4e05e2787e36b3581dc39.jpg","text":"TemporaryFile(/tmp/multipartBody5244577341494787756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114533194,"filename":"image_29012025_02_32_46_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332497281","file1":"1332497129","file0":"1332497004","file4":"1332497533","file5":"1332497683","file3":"1332497444"},"map_files_photo_id_array":[{"photo_id":"1332497683","filename":"file5"},{"photo_id":"1332497281","filename":"file2"},{"photo_id":"1332497533","filename":"file4"},{"photo_id":"1332497129","filename":"file1"},{"photo_id":"1332497004","filename":"file0"},{"photo_id":"1332497444","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332497004":["hashtag1","hashtag2"]},{"1332497444":["hashtag1","hashtag2"]},{"1332497281":["hashtag1","hashtag2"]},{"1332497129":["hashtag1","hashtag2"]},{"1332497683":["hashtag1","hashtag2"]},{"1332497533":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332497004, 1332497444, 1332497281, 1332497129, 1332497683, 1332497533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.969839572906494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:35:32.406425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/32/image_29012025_02_33_06_9337.jpg', '/home/pi/Desktop/images/29012025/02/33/image_29012025_02_33_16_10453.jpg', '/home/pi/Desktop/images/29012025/02/33/image_29012025_02_33_27_10359.jpg', '/home/pi/Desktop/images/29012025/02/33/image_29012025_02_33_36_9329.jpg', '/home/pi/Desktop/images/29012025/02/33/image_29012025_02_33_46_10416.jpg', '/home/pi/Desktop/images/29012025/02/33/image_29012025_02_33_57_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/32/image_29012025_02_33_06_9337.jpg
/home/pi/Desktop/images/29012025/02/33/image_29012025_02_33_16_10453.jpg
/home/pi/Desktop/images/29012025/02/33/image_29012025_02_33_27_10359.jpg
/home/pi/Desktop/images/29012025/02/33/image_29012025_02_33_36_9329.jpg
/home/pi/Desktop/images/29012025/02/33/image_29012025_02_33_46_10416.jpg
/home/pi/Desktop/images/29012025/02/33/image_29012025_02_33_57_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":["1332497853","1332498080","1332497873","1332497876","1332497861","1332497887"],"photo_ids_order":["1332497853","1332497861","1332497873","1332497876","1332497887","1332498080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a2269921e616a2455a5518172f310a3e.jpg","text":"TemporaryFile(/tmp/multipartBody2346956760619729156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114593312,"filename":"image_29012025_02_33_06_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/29/2b31eb41304b69d957d15f983461530c.jpg","text":"TemporaryFile(/tmp/multipartBody8803214498259574883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114593312,"filename":"image_29012025_02_33_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/29/37e24d1c28c7898e39adc8d6844eb18b.jpg","text":"TemporaryFile(/tmp/multipartBody7944705317460798236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114593312,"filename":"image_29012025_02_33_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/29/41d6e0384570a17c8c0f57fc1668c551.jpg","text":"TemporaryFile(/tmp/multipartBody978459311429860499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114593312,"filename":"image_29012025_02_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/29/9b6e3db2c3e32a5112fc88b547a1a82f.jpg","text":"TemporaryFile(/tmp/multipartBody3072867548999302754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114593312,"filename":"image_29012025_02_33_16_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/29/77ced5920ce40e9d02341d275b5e5980.jpg","text":"TemporaryFile(/tmp/multipartBody8319191621554950059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114593312,"filename":"image_29012025_02_33_46_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332497873","file1":"1332497861","file0":"1332497853","file4":"1332497887","file5":"1332498080","file3":"1332497876"},"map_files_photo_id_array":[{"photo_id":"1332498080","filename":"file5"},{"photo_id":"1332497873","filename":"file2"},{"photo_id":"1332497887","filename":"file4"},{"photo_id":"1332497861","filename":"file1"},{"photo_id":"1332497853","filename":"file0"},{"photo_id":"1332497876","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332497853":["hashtag1","hashtag2"]},{"1332498080":["hashtag1","hashtag2"]},{"1332497873":["hashtag1","hashtag2"]},{"1332497876":["hashtag1","hashtag2"]},{"1332497861":["hashtag1","hashtag2"]},{"1332497887":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332497853, 1332498080, 1332497873, 1332497876, 1332497861, 1332497887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.59935760498047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:36:32.766395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/33/image_29012025_02_34_06_9375.jpg', '/home/pi/Desktop/images/29012025/02/34/image_29012025_02_34_17_10360.jpg', '/home/pi/Desktop/images/29012025/02/34/image_29012025_02_34_26_9350.jpg', '/home/pi/Desktop/images/29012025/02/34/image_29012025_02_34_36_10359.jpg', '/home/pi/Desktop/images/29012025/02/34/image_29012025_02_34_56_9462.jpg', '/home/pi/Desktop/images/29012025/02/34/image_29012025_02_35_06_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/33/image_29012025_02_34_06_9375.jpg
/home/pi/Desktop/images/29012025/02/34/image_29012025_02_34_17_10360.jpg
/home/pi/Desktop/images/29012025/02/34/image_29012025_02_34_26_9350.jpg
/home/pi/Desktop/images/29012025/02/34/image_29012025_02_34_36_10359.jpg
/home/pi/Desktop/images/29012025/02/34/image_29012025_02_34_56_9462.jpg
/home/pi/Desktop/images/29012025/02/34/image_29012025_02_35_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":["1332498179","1332498173","1332498167","1332498161","1332498155","1332498181"],"photo_ids_order":["1332498155","1332498161","1332498167","1332498173","1332498179","1332498181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1407db38929d458dc36da70dd7123009.jpg","text":"TemporaryFile(/tmp/multipartBody7757501201241793106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114653675,"filename":"image_29012025_02_34_56_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/29/05fa822de8b29b806592fa3d26b3b6ea.jpg","text":"TemporaryFile(/tmp/multipartBody4521780018233175063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114653675,"filename":"image_29012025_02_34_36_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/29/772f3bf4774662f8f5c3adbba3ffe35d.jpg","text":"TemporaryFile(/tmp/multipartBody581893508900304369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114653675,"filename":"image_29012025_02_34_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/29/1f1a5cc83a067c57a7cd2d65219d08e1.jpg","text":"TemporaryFile(/tmp/multipartBody1986776207190002781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114653675,"filename":"image_29012025_02_34_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/29/891f50ff428898d3b58ef5c0b1ddbf0a.jpg","text":"TemporaryFile(/tmp/multipartBody3634060632448205975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114653675,"filename":"image_29012025_02_34_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/29/256e1533e06ba8801157450f295a436b.jpg","text":"TemporaryFile(/tmp/multipartBody1290436872872567677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114653675,"filename":"image_29012025_02_35_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332498167","file1":"1332498161","file0":"1332498155","file4":"1332498179","file5":"1332498181","file3":"1332498173"},"map_files_photo_id_array":[{"photo_id":"1332498181","filename":"file5"},{"photo_id":"1332498167","filename":"file2"},{"photo_id":"1332498179","filename":"file4"},{"photo_id":"1332498161","filename":"file1"},{"photo_id":"1332498155","filename":"file0"},{"photo_id":"1332498173","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332498179":["hashtag1","hashtag2"]},{"1332498173":["hashtag1","hashtag2"]},{"1332498167":["hashtag1","hashtag2"]},{"1332498161":["hashtag1","hashtag2"]},{"1332498155":["hashtag1","hashtag2"]},{"1332498181":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332498179, 1332498173, 1332498167, 1332498161, 1332498155, 1332498181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.943620681762695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:37:32.883247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/35/image_29012025_02_35_17_10333.jpg', '/home/pi/Desktop/images/29012025/02/35/image_29012025_02_35_26_9383.jpg', '/home/pi/Desktop/images/29012025/02/35/image_29012025_02_35_37_10380.jpg', '/home/pi/Desktop/images/29012025/02/35/image_29012025_02_35_46_9356.jpg', '/home/pi/Desktop/images/29012025/02/35/image_29012025_02_35_56_10364.jpg', '/home/pi/Desktop/images/29012025/02/35/image_29012025_02_36_07_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/35/image_29012025_02_35_17_10333.jpg
/home/pi/Desktop/images/29012025/02/35/image_29012025_02_35_26_9383.jpg
/home/pi/Desktop/images/29012025/02/35/image_29012025_02_35_37_10380.jpg
/home/pi/Desktop/images/29012025/02/35/image_29012025_02_35_46_9356.jpg
/home/pi/Desktop/images/29012025/02/35/image_29012025_02_35_56_10364.jpg
/home/pi/Desktop/images/29012025/02/35/image_29012025_02_36_07_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":["1332498222","1332498216","1332498219","1332498213","1332498208","1332498217"],"photo_ids_order":["1332498208","1332498213","1332498216","1332498217","1332498219","1332498222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c040e97470cd283fd9cda3926276bbd6.jpg","text":"TemporaryFile(/tmp/multipartBody6805072629462504128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114713797,"filename":"image_29012025_02_36_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/29/134926e05430a6919ab9e1f46ec739ef.jpg","text":"TemporaryFile(/tmp/multipartBody5099078265324875637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114713797,"filename":"image_29012025_02_35_37_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/29/5f303d29eccc229259ad6c01a0072c2b.jpg","text":"TemporaryFile(/tmp/multipartBody3649907755522147364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114713797,"filename":"image_29012025_02_35_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/29/4dc1fb9eac69929245822972866c7d33.jpg","text":"TemporaryFile(/tmp/multipartBody5555029723126807803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114713797,"filename":"image_29012025_02_35_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/29/d36bfa1c1017eb7636f41ebff4fca02e.jpg","text":"TemporaryFile(/tmp/multipartBody7983025277090444780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114713797,"filename":"image_29012025_02_35_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/29/35eec60bc6db5e932a16d911b5991db3.jpg","text":"TemporaryFile(/tmp/multipartBody3761675683510116541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114713797,"filename":"image_29012025_02_35_46_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332498216","file1":"1332498213","file0":"1332498208","file4":"1332498219","file5":"1332498222","file3":"1332498217"},"map_files_photo_id_array":[{"photo_id":"1332498222","filename":"file5"},{"photo_id":"1332498216","filename":"file2"},{"photo_id":"1332498219","filename":"file4"},{"photo_id":"1332498213","filename":"file1"},{"photo_id":"1332498208","filename":"file0"},{"photo_id":"1332498217","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332498222":["hashtag1","hashtag2"]},{"1332498216":["hashtag1","hashtag2"]},{"1332498219":["hashtag1","hashtag2"]},{"1332498213":["hashtag1","hashtag2"]},{"1332498208":["hashtag1","hashtag2"]},{"1332498217":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332498222, 1332498216, 1332498219, 1332498213, 1332498208, 1332498217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42529535293579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:38:33.052162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/36/image_29012025_02_36_16_9329.jpg', '/home/pi/Desktop/images/29012025/02/36/image_29012025_02_36_26_10357.jpg', '/home/pi/Desktop/images/29012025/02/36/image_29012025_02_36_46_9423.jpg', '/home/pi/Desktop/images/29012025/02/36/image_29012025_02_36_56_10430.jpg', '/home/pi/Desktop/images/29012025/02/36/image_29012025_02_37_07_10335.jpg', '/home/pi/Desktop/images/29012025/02/37/image_29012025_02_37_16_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/36/image_29012025_02_36_16_9329.jpg
/home/pi/Desktop/images/29012025/02/36/image_29012025_02_36_26_10357.jpg
/home/pi/Desktop/images/29012025/02/36/image_29012025_02_36_46_9423.jpg
/home/pi/Desktop/images/29012025/02/36/image_29012025_02_36_56_10430.jpg
/home/pi/Desktop/images/29012025/02/36/image_29012025_02_37_07_10335.jpg
/home/pi/Desktop/images/29012025/02/37/image_29012025_02_37_16_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":["1332498276","1332498255","1332498263","1332498260","1332498268","1332498282"],"photo_ids_order":["1332498255","1332498260","1332498263","1332498268","1332498276","1332498282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c8c9d54cab7434dd91fa818833adb097.jpg","text":"TemporaryFile(/tmp/multipartBody5372086184156956322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114773974,"filename":"image_29012025_02_37_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/29/76a456ff114ad80ee69e56c7cb8d506e.jpg","text":"TemporaryFile(/tmp/multipartBody1360400257509137955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114773974,"filename":"image_29012025_02_36_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/29/3e04345ae8312a7c3b213aa8c6955f1c.jpg","text":"TemporaryFile(/tmp/multipartBody2341297443948614042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114773974,"filename":"image_29012025_02_36_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/29/24112929589808ea9d32522328cd5625.jpg","text":"TemporaryFile(/tmp/multipartBody1302803704316619349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114773974,"filename":"image_29012025_02_36_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/29/64920151ec74d29d44e1cad93f52009b.jpg","text":"TemporaryFile(/tmp/multipartBody4396486701152332533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114773974,"filename":"image_29012025_02_36_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/29/8a459a1101e0765f0a5b52ac89041ddf.jpg","text":"TemporaryFile(/tmp/multipartBody6147762134265478551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114773974,"filename":"image_29012025_02_37_16_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332498263","file1":"1332498260","file0":"1332498255","file4":"1332498276","file5":"1332498282","file3":"1332498268"},"map_files_photo_id_array":[{"photo_id":"1332498282","filename":"file5"},{"photo_id":"1332498263","filename":"file2"},{"photo_id":"1332498276","filename":"file4"},{"photo_id":"1332498260","filename":"file1"},{"photo_id":"1332498255","filename":"file0"},{"photo_id":"1332498268","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332498276":["hashtag1","hashtag2"]},{"1332498255":["hashtag1","hashtag2"]},{"1332498263":["hashtag1","hashtag2"]},{"1332498260":["hashtag1","hashtag2"]},{"1332498268":["hashtag1","hashtag2"]},{"1332498282":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332498276, 1332498255, 1332498263, 1332498260, 1332498268, 1332498282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6681067943573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:39:32.257564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/37/image_29012025_02_37_27_10452.jpg', '/home/pi/Desktop/images/29012025/02/37/image_29012025_02_37_36_9337.jpg', '/home/pi/Desktop/images/29012025/02/37/image_29012025_02_37_46_10493.jpg', '/home/pi/Desktop/images/29012025/02/37/image_29012025_02_37_57_10351.jpg', '/home/pi/Desktop/images/29012025/02/37/image_29012025_02_38_06_9367.jpg', '/home/pi/Desktop/images/29012025/02/38/image_29012025_02_38_17_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/37/image_29012025_02_37_27_10452.jpg
/home/pi/Desktop/images/29012025/02/37/image_29012025_02_37_36_9337.jpg
/home/pi/Desktop/images/29012025/02/37/image_29012025_02_37_46_10493.jpg
/home/pi/Desktop/images/29012025/02/37/image_29012025_02_37_57_10351.jpg
/home/pi/Desktop/images/29012025/02/37/image_29012025_02_38_06_9367.jpg
/home/pi/Desktop/images/29012025/02/38/image_29012025_02_38_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":["1332498354","1332498357","1332498383","1332498349","1332498463","1332498459"],"photo_ids_order":["1332498349","1332498354","1332498357","1332498383","1332498459","1332498463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f41c0ef2daa9c427563f10fd669d7892.jpg","text":"TemporaryFile(/tmp/multipartBody8556944490653608917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114833181,"filename":"image_29012025_02_37_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/29/39dcd575d2ebcd86312b2616ec803ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1602877875636917022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114833181,"filename":"image_29012025_02_37_46_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/29/e72ac07b77db3b8465a0a29b33a84022.jpg","text":"TemporaryFile(/tmp/multipartBody6671684973203826002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114833181,"filename":"image_29012025_02_37_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/29/a206dd7f079a196185993c8451e37b9a.jpg","text":"TemporaryFile(/tmp/multipartBody859167954907943149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114833181,"filename":"image_29012025_02_37_27_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/29/5f85cf3c3ac7585e1d46768e010ec367.jpg","text":"TemporaryFile(/tmp/multipartBody8333459637978463828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114833181,"filename":"image_29012025_02_38_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/29/4dc7327baff0b7fe3cbfc269178a588f.jpg","text":"TemporaryFile(/tmp/multipartBody9139779715965846708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114833181,"filename":"image_29012025_02_38_06_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332498357","file1":"1332498354","file0":"1332498349","file4":"1332498459","file5":"1332498463","file3":"1332498383"},"map_files_photo_id_array":[{"photo_id":"1332498463","filename":"file5"},{"photo_id":"1332498357","filename":"file2"},{"photo_id":"1332498459","filename":"file4"},{"photo_id":"1332498354","filename":"file1"},{"photo_id":"1332498349","filename":"file0"},{"photo_id":"1332498383","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332498354":["hashtag1","hashtag2"]},{"1332498357":["hashtag1","hashtag2"]},{"1332498383":["hashtag1","hashtag2"]},{"1332498349":["hashtag1","hashtag2"]},{"1332498463":["hashtag1","hashtag2"]},{"1332498459":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332498354, 1332498357, 1332498383, 1332498349, 1332498463, 1332498459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.670695066452026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:40:32.448398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/38/image_29012025_02_38_26_9362.jpg', '/home/pi/Desktop/images/29012025/02/38/image_29012025_02_38_36_10341.jpg', '/home/pi/Desktop/images/29012025/02/38/image_29012025_02_38_47_10332.jpg', '/home/pi/Desktop/images/29012025/02/38/image_29012025_02_38_56_9339.jpg', '/home/pi/Desktop/images/29012025/02/38/image_29012025_02_39_06_10358.jpg', '/home/pi/Desktop/images/29012025/02/39/image_29012025_02_39_17_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/38/image_29012025_02_38_26_9362.jpg
/home/pi/Desktop/images/29012025/02/38/image_29012025_02_38_36_10341.jpg
/home/pi/Desktop/images/29012025/02/38/image_29012025_02_38_47_10332.jpg
/home/pi/Desktop/images/29012025/02/38/image_29012025_02_38_56_9339.jpg
/home/pi/Desktop/images/29012025/02/38/image_29012025_02_39_06_10358.jpg
/home/pi/Desktop/images/29012025/02/39/image_29012025_02_39_17_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":["1332498525","1332498507","1332498512","1332498509","1332498503","1332498492"],"photo_ids_order":["1332498492","1332498503","1332498507","1332498509","1332498512","1332498525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/084536ca761addce57eb1ac95ac9c21b.jpg","text":"TemporaryFile(/tmp/multipartBody6861863928719039036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114893365,"filename":"image_29012025_02_39_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/29/f7f5c7e877fdfa3ba994a3faf3b729a1.jpg","text":"TemporaryFile(/tmp/multipartBody7123140080405672991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114893365,"filename":"image_29012025_02_38_47_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/29/2f61355cd7d860cdab88830b318b98c5.jpg","text":"TemporaryFile(/tmp/multipartBody6766292890762683114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114893365,"filename":"image_29012025_02_39_06_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/29/a80f55f0ef6b8c7717f48df35914a57a.jpg","text":"TemporaryFile(/tmp/multipartBody2256300646113048193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114893365,"filename":"image_29012025_02_38_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/29/bd6c53a5321cbec5a995d642dbc8326f.jpg","text":"TemporaryFile(/tmp/multipartBody264450580487160415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114893365,"filename":"image_29012025_02_38_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/29/26ed7478d75087dbe6d4108027548944.jpg","text":"TemporaryFile(/tmp/multipartBody969214033513206379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114893365,"filename":"image_29012025_02_38_26_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332498507","file1":"1332498503","file0":"1332498492","file4":"1332498512","file5":"1332498525","file3":"1332498509"},"map_files_photo_id_array":[{"photo_id":"1332498525","filename":"file5"},{"photo_id":"1332498507","filename":"file2"},{"photo_id":"1332498512","filename":"file4"},{"photo_id":"1332498503","filename":"file1"},{"photo_id":"1332498492","filename":"file0"},{"photo_id":"1332498509","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332498525":["hashtag1","hashtag2"]},{"1332498507":["hashtag1","hashtag2"]},{"1332498512":["hashtag1","hashtag2"]},{"1332498509":["hashtag1","hashtag2"]},{"1332498503":["hashtag1","hashtag2"]},{"1332498492":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332498525, 1332498507, 1332498512, 1332498509, 1332498503, 1332498492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.995426654815674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:41:32.674110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/39/image_29012025_02_39_26_9366.jpg', '/home/pi/Desktop/images/29012025/02/39/image_29012025_02_39_36_10350.jpg', '/home/pi/Desktop/images/29012025/02/39/image_29012025_02_40_06_10438.jpg', '/home/pi/Desktop/images/29012025/02/40/image_29012025_02_40_17_10331.jpg', '/home/pi/Desktop/images/29012025/02/40/image_29012025_02_40_26_9384.jpg', '/home/pi/Desktop/images/29012025/02/40/image_29012025_02_40_37_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/39/image_29012025_02_39_26_9366.jpg
/home/pi/Desktop/images/29012025/02/39/image_29012025_02_39_36_10350.jpg
/home/pi/Desktop/images/29012025/02/39/image_29012025_02_40_06_10438.jpg
/home/pi/Desktop/images/29012025/02/40/image_29012025_02_40_17_10331.jpg
/home/pi/Desktop/images/29012025/02/40/image_29012025_02_40_26_9384.jpg
/home/pi/Desktop/images/29012025/02/40/image_29012025_02_40_37_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":["1332498568","1332498588","1332498582","1332498591","1332498585","1332498564"],"photo_ids_order":["1332498564","1332498568","1332498582","1332498585","1332498588","1332498591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d7a5a17083028d03756daa738ccc13ad.jpg","text":"TemporaryFile(/tmp/multipartBody4668776945322597474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114953583,"filename":"image_29012025_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/29/91f1c686ef3b06eb80680794fa3ba755.jpg","text":"TemporaryFile(/tmp/multipartBody7055261603429747448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114953583,"filename":"image_29012025_02_40_26_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/29/1c56a42caa3b4735b69d9fb97bb655a8.jpg","text":"TemporaryFile(/tmp/multipartBody476423727891472549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114953583,"filename":"image_29012025_02_40_06_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/29/7c91815bb3f0d7ccfacb2a39a2e1a278.jpg","text":"TemporaryFile(/tmp/multipartBody2021711255645842081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114953583,"filename":"image_29012025_02_40_37_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/29/46b05906a494685a067a193ec5d69125.jpg","text":"TemporaryFile(/tmp/multipartBody3891513939467154593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114953583,"filename":"image_29012025_02_40_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/29/70cc7ef8f9e86ef6d25e4c680ffa724e.jpg","text":"TemporaryFile(/tmp/multipartBody1620657841233755236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738114953583,"filename":"image_29012025_02_39_26_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332498582","file1":"1332498568","file0":"1332498564","file4":"1332498588","file5":"1332498591","file3":"1332498585"},"map_files_photo_id_array":[{"photo_id":"1332498591","filename":"file5"},{"photo_id":"1332498582","filename":"file2"},{"photo_id":"1332498588","filename":"file4"},{"photo_id":"1332498568","filename":"file1"},{"photo_id":"1332498564","filename":"file0"},{"photo_id":"1332498585","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332498568":["hashtag1","hashtag2"]},{"1332498588":["hashtag1","hashtag2"]},{"1332498582":["hashtag1","hashtag2"]},{"1332498591":["hashtag1","hashtag2"]},{"1332498585":["hashtag1","hashtag2"]},{"1332498564":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332498568, 1332498588, 1332498582, 1332498591, 1332498585, 1332498564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04954552650452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:42:33.000641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/40/image_29012025_02_40_46_9343.jpg', '/home/pi/Desktop/images/29012025/02/40/image_29012025_02_40_56_10365.jpg', '/home/pi/Desktop/images/29012025/02/40/image_29012025_02_41_07_10411.jpg', '/home/pi/Desktop/images/29012025/02/41/image_29012025_02_41_16_9351.jpg', '/home/pi/Desktop/images/29012025/02/41/image_29012025_02_41_26_10343.jpg', '/home/pi/Desktop/images/29012025/02/41/image_29012025_02_41_46_9458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/40/image_29012025_02_40_46_9343.jpg
/home/pi/Desktop/images/29012025/02/40/image_29012025_02_40_56_10365.jpg
/home/pi/Desktop/images/29012025/02/40/image_29012025_02_41_07_10411.jpg
/home/pi/Desktop/images/29012025/02/41/image_29012025_02_41_16_9351.jpg
/home/pi/Desktop/images/29012025/02/41/image_29012025_02_41_26_10343.jpg
/home/pi/Desktop/images/29012025/02/41/image_29012025_02_41_46_9458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332498884","1332498893","1332498851","1332498857","1332498868","1332498861"],"photo_ids_order":["1332498851","1332498857","1332498861","1332498868","1332498884","1332498893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b3e2e4156e9c369e408f8facc7f25643.jpg","text":"TemporaryFile(/tmp/multipartBody6103072647607430647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115013912,"filename":"image_29012025_02_41_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/29/20774be4b0b80bbed115c6fd4850e251.jpg","text":"TemporaryFile(/tmp/multipartBody1516824025916921962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115013912,"filename":"image_29012025_02_41_46_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/29/e86653bb749ad5907f7f52dee4f15a2e.jpg","text":"TemporaryFile(/tmp/multipartBody8394435815414274675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115013912,"filename":"image_29012025_02_40_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/29/24ed3e827c432d291ff08b53dd4841a6.jpg","text":"TemporaryFile(/tmp/multipartBody4390199004119593601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115013912,"filename":"image_29012025_02_40_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/29/3c92e99f02af7fc178459db44100a27e.jpg","text":"TemporaryFile(/tmp/multipartBody2352507668674085545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115013912,"filename":"image_29012025_02_41_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/29/67eb54f6819e87f30f6125f7f34d0fc2.jpg","text":"TemporaryFile(/tmp/multipartBody4364892738692764135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115013912,"filename":"image_29012025_02_41_07_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332498861","file1":"1332498857","file0":"1332498851","file4":"1332498884","file5":"1332498893","file3":"1332498868"},"map_files_photo_id_array":[{"photo_id":"1332498893","filename":"file5"},{"photo_id":"1332498861","filename":"file2"},{"photo_id":"1332498884","filename":"file4"},{"photo_id":"1332498857","filename":"file1"},{"photo_id":"1332498851","filename":"file0"},{"photo_id":"1332498868","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332498884":["hashtag1","hashtag2"]},{"1332498893":["hashtag1","hashtag2"]},{"1332498851":["hashtag1","hashtag2"]},{"1332498857":["hashtag1","hashtag2"]},{"1332498868":["hashtag1","hashtag2"]},{"1332498861":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332498884, 1332498893, 1332498851, 1332498857, 1332498868, 1332498861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2321138381958 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:43:33.132117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/41/image_29012025_02_41_57_10367.jpg', '/home/pi/Desktop/images/29012025/02/41/image_29012025_02_42_06_9335.jpg', '/home/pi/Desktop/images/29012025/02/42/image_29012025_02_42_16_10342.jpg', '/home/pi/Desktop/images/29012025/02/42/image_29012025_02_42_27_10359.jpg', '/home/pi/Desktop/images/29012025/02/42/image_29012025_02_42_36_9504.jpg', '/home/pi/Desktop/images/29012025/02/42/image_29012025_02_42_46_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/41/image_29012025_02_41_57_10367.jpg
/home/pi/Desktop/images/29012025/02/41/image_29012025_02_42_06_9335.jpg
/home/pi/Desktop/images/29012025/02/42/image_29012025_02_42_16_10342.jpg
/home/pi/Desktop/images/29012025/02/42/image_29012025_02_42_27_10359.jpg
/home/pi/Desktop/images/29012025/02/42/image_29012025_02_42_36_9504.jpg
/home/pi/Desktop/images/29012025/02/42/image_29012025_02_42_46_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":["1332498942","1332498936","1332498927","1332498946","1332498931","1332498940"],"photo_ids_order":["1332498927","1332498931","1332498936","1332498940","1332498942","1332498946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c3e22d220fb0e053d695e62952014147.jpg","text":"TemporaryFile(/tmp/multipartBody5366420614836084796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115074058,"filename":"image_29012025_02_42_36_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1d81fd03b5ee74b1281bab0be51a66a1.jpg","text":"TemporaryFile(/tmp/multipartBody5426894358586158595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115074058,"filename":"image_29012025_02_42_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/29/8db36263f53d505114bfb46f1caa8362.jpg","text":"TemporaryFile(/tmp/multipartBody5575749882922941711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115074058,"filename":"image_29012025_02_41_57_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/29/f0aee0284a313b1bfe6bb3e87b31c437.jpg","text":"TemporaryFile(/tmp/multipartBody4374002752462096143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115074058,"filename":"image_29012025_02_42_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/29/e6e8a66aa629d01b2b00e513cf68868f.jpg","text":"TemporaryFile(/tmp/multipartBody635158927447517916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115074058,"filename":"image_29012025_02_42_06_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/29/02eee8667507a841affd7fff130efae6.jpg","text":"TemporaryFile(/tmp/multipartBody5025602402559140120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115074058,"filename":"image_29012025_02_42_27_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332498936","file1":"1332498931","file0":"1332498927","file4":"1332498942","file5":"1332498946","file3":"1332498940"},"map_files_photo_id_array":[{"photo_id":"1332498946","filename":"file5"},{"photo_id":"1332498936","filename":"file2"},{"photo_id":"1332498942","filename":"file4"},{"photo_id":"1332498931","filename":"file1"},{"photo_id":"1332498927","filename":"file0"},{"photo_id":"1332498940","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332498942":["hashtag1","hashtag2"]},{"1332498936":["hashtag1","hashtag2"]},{"1332498927":["hashtag1","hashtag2"]},{"1332498946":["hashtag1","hashtag2"]},{"1332498931":["hashtag1","hashtag2"]},{"1332498940":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332498942, 1332498936, 1332498927, 1332498946, 1332498931, 1332498940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79147458076477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:44:32.464131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/42/image_29012025_02_42_57_10342.jpg', '/home/pi/Desktop/images/29012025/02/42/image_29012025_02_43_06_9473.jpg', '/home/pi/Desktop/images/29012025/02/43/image_29012025_02_43_17_10339.jpg', '/home/pi/Desktop/images/29012025/02/43/image_29012025_02_43_26_9350.jpg', '/home/pi/Desktop/images/29012025/02/43/image_29012025_02_43_36_10432.jpg', '/home/pi/Desktop/images/29012025/02/43/image_29012025_02_43_56_9475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/42/image_29012025_02_42_57_10342.jpg
/home/pi/Desktop/images/29012025/02/42/image_29012025_02_43_06_9473.jpg
/home/pi/Desktop/images/29012025/02/43/image_29012025_02_43_17_10339.jpg
/home/pi/Desktop/images/29012025/02/43/image_29012025_02_43_26_9350.jpg
/home/pi/Desktop/images/29012025/02/43/image_29012025_02_43_36_10432.jpg
/home/pi/Desktop/images/29012025/02/43/image_29012025_02_43_56_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":["1332498980","1332498977","1332499007","1332498988","1332499021","1332499017"],"photo_ids_order":["1332498977","1332498980","1332498988","1332499007","1332499017","1332499021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/668d8a54283b60a78509559add4c28d0.jpg","text":"TemporaryFile(/tmp/multipartBody8316887913196344440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115133370,"filename":"image_29012025_02_43_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/29/c1fd73d6f684a1d213c3fba0a97e57b7.jpg","text":"TemporaryFile(/tmp/multipartBody8844312055551400300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115133370,"filename":"image_29012025_02_42_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/29/beb2b44c0e50b919280a141217f54e92.jpg","text":"TemporaryFile(/tmp/multipartBody5975087219397451116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115133370,"filename":"image_29012025_02_43_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/29/33e2b4222ae0a0bcfb038cece668aca8.jpg","text":"TemporaryFile(/tmp/multipartBody3451642151615713861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115133370,"filename":"image_29012025_02_43_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/29/829277f8169689bceb16de1803baffc9.jpg","text":"TemporaryFile(/tmp/multipartBody512889720367839390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115133370,"filename":"image_29012025_02_43_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/29/8db89b835e537c2f98738771a17c41a4.jpg","text":"TemporaryFile(/tmp/multipartBody45780840717488269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115133370,"filename":"image_29012025_02_43_36_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332498988","file1":"1332498980","file0":"1332498977","file4":"1332499017","file5":"1332499021","file3":"1332499007"},"map_files_photo_id_array":[{"photo_id":"1332499021","filename":"file5"},{"photo_id":"1332498988","filename":"file2"},{"photo_id":"1332499017","filename":"file4"},{"photo_id":"1332498980","filename":"file1"},{"photo_id":"1332498977","filename":"file0"},{"photo_id":"1332499007","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332498980":["hashtag1","hashtag2"]},{"1332498977":["hashtag1","hashtag2"]},{"1332499007":["hashtag1","hashtag2"]},{"1332498988":["hashtag1","hashtag2"]},{"1332499021":["hashtag1","hashtag2"]},{"1332499017":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332498980, 1332498977, 1332499007, 1332498988, 1332499021, 1332499017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5936484336853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:45:32.509130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/43/image_29012025_02_44_07_10340.jpg', '/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_16_9334.jpg', '/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_26_10466.jpg', '/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_37_10336.jpg', '/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_46_9328.jpg', '/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_56_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/43/image_29012025_02_44_07_10340.jpg
/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_16_9334.jpg
/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_26_10466.jpg
/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_37_10336.jpg
/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_46_9328.jpg
/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_56_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.5155706405639648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 02:45:42.572406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/43/image_29012025_02_44_07_10340.jpg', '/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_16_9334.jpg', '/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_26_10466.jpg', '/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_37_10336.jpg', '/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_46_9328.jpg', '/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_56_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/43/image_29012025_02_44_07_10340.jpg
/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_16_9334.jpg
/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_26_10466.jpg
/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_37_10336.jpg
/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_46_9328.jpg
/home/pi/Desktop/images/29012025/02/44/image_29012025_02_44_56_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":["1332499110","1332499094","1332499073","1332499096","1332499077","1332499089"],"photo_ids_order":["1332499073","1332499077","1332499089","1332499094","1332499096","1332499110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f456814e02e17b8637c89848fe1385eb.jpg","text":"TemporaryFile(/tmp/multipartBody2164793622506372118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115203474,"filename":"image_29012025_02_44_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/29/483580c979cc40a451b3a9d16580ec56.jpg","text":"TemporaryFile(/tmp/multipartBody754004210612365881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115203474,"filename":"image_29012025_02_44_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/29/16e8492896b790511916b7ede4d1ad69.jpg","text":"TemporaryFile(/tmp/multipartBody777956939171902094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115203474,"filename":"image_29012025_02_44_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/29/235adb3d1350b08be9c1220af5bb9019.jpg","text":"TemporaryFile(/tmp/multipartBody908819491841793689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115203474,"filename":"image_29012025_02_44_46_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/29/f61693d5302d9a574c59cb6c4577b1fb.jpg","text":"TemporaryFile(/tmp/multipartBody3787752993753534756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115203474,"filename":"image_29012025_02_44_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/29/133ccdcf2de7af460b66be5311a24929.jpg","text":"TemporaryFile(/tmp/multipartBody3106540465534551557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115203474,"filename":"image_29012025_02_44_26_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332499089","file1":"1332499077","file0":"1332499073","file4":"1332499096","file5":"1332499110","file3":"1332499094"},"map_files_photo_id_array":[{"photo_id":"1332499110","filename":"file5"},{"photo_id":"1332499089","filename":"file2"},{"photo_id":"1332499096","filename":"file4"},{"photo_id":"1332499077","filename":"file1"},{"photo_id":"1332499073","filename":"file0"},{"photo_id":"1332499094","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332499110":["hashtag1","hashtag2"]},{"1332499094":["hashtag1","hashtag2"]},{"1332499073":["hashtag1","hashtag2"]},{"1332499096":["hashtag1","hashtag2"]},{"1332499077":["hashtag1","hashtag2"]},{"1332499089":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332499110, 1332499094, 1332499073, 1332499096, 1332499077, 1332499089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43674945831299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:46:32.882562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/44/image_29012025_02_45_07_10326.jpg', '/home/pi/Desktop/images/29012025/02/45/image_29012025_02_45_16_9327.jpg', '/home/pi/Desktop/images/29012025/02/45/image_29012025_02_45_26_10351.jpg', '/home/pi/Desktop/images/29012025/02/45/image_29012025_02_45_37_10398.jpg', '/home/pi/Desktop/images/29012025/02/45/image_29012025_02_45_46_9491.jpg', '/home/pi/Desktop/images/29012025/02/45/image_29012025_02_45_57_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/44/image_29012025_02_45_07_10326.jpg
/home/pi/Desktop/images/29012025/02/45/image_29012025_02_45_16_9327.jpg
/home/pi/Desktop/images/29012025/02/45/image_29012025_02_45_26_10351.jpg
/home/pi/Desktop/images/29012025/02/45/image_29012025_02_45_37_10398.jpg
/home/pi/Desktop/images/29012025/02/45/image_29012025_02_45_46_9491.jpg
/home/pi/Desktop/images/29012025/02/45/image_29012025_02_45_57_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":["1332499775","1332499877","1332499589","1332499415","1332499501","1332499680"],"photo_ids_order":["1332499415","1332499501","1332499589","1332499680","1332499775","1332499877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/88af1c90a4b497d0b08bd45ff9ab841b.jpg","text":"TemporaryFile(/tmp/multipartBody6529048181031293151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115253814,"filename":"image_29012025_02_45_46_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/29/a867000c9700a85d1425befb4c05f005.jpg","text":"TemporaryFile(/tmp/multipartBody6160812131689431182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115253814,"filename":"image_29012025_02_45_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/29/82aa0021e7ad1c4fb9df23a3161190b1.jpg","text":"TemporaryFile(/tmp/multipartBody537141474257642680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115253814,"filename":"image_29012025_02_45_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/29/a5c5ecca7bdae3fe49c10c10791f248b.jpg","text":"TemporaryFile(/tmp/multipartBody5610503609841616815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115253814,"filename":"image_29012025_02_45_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/29/b02aa72f9fdc191f6e71895dfc4e71f8.jpg","text":"TemporaryFile(/tmp/multipartBody5399969752338706729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115253814,"filename":"image_29012025_02_45_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/29/b567d8913d531fbde993f5dc940a08d2.jpg","text":"TemporaryFile(/tmp/multipartBody1570803814608013124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115253814,"filename":"image_29012025_02_45_37_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332499589","file1":"1332499501","file0":"1332499415","file4":"1332499775","file5":"1332499877","file3":"1332499680"},"map_files_photo_id_array":[{"photo_id":"1332499877","filename":"file5"},{"photo_id":"1332499589","filename":"file2"},{"photo_id":"1332499775","filename":"file4"},{"photo_id":"1332499501","filename":"file1"},{"photo_id":"1332499415","filename":"file0"},{"photo_id":"1332499680","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332499775":["hashtag1","hashtag2"]},{"1332499877":["hashtag1","hashtag2"]},{"1332499589":["hashtag1","hashtag2"]},{"1332499415":["hashtag1","hashtag2"]},{"1332499501":["hashtag1","hashtag2"]},{"1332499680":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332499775, 1332499877, 1332499589, 1332499415, 1332499501, 1332499680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.201226472854614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:47:32.912188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/45/image_29012025_02_46_06_9360.jpg', '/home/pi/Desktop/images/29012025/02/46/image_29012025_02_46_16_10409.jpg', '/home/pi/Desktop/images/29012025/02/46/image_29012025_02_46_27_10413.jpg', '/home/pi/Desktop/images/29012025/02/46/image_29012025_02_46_56_9339.jpg', '/home/pi/Desktop/images/29012025/02/46/image_29012025_02_47_06_10441.jpg', '/home/pi/Desktop/images/29012025/02/47/image_29012025_02_47_17_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/45/image_29012025_02_46_06_9360.jpg
/home/pi/Desktop/images/29012025/02/46/image_29012025_02_46_16_10409.jpg
/home/pi/Desktop/images/29012025/02/46/image_29012025_02_46_27_10413.jpg
/home/pi/Desktop/images/29012025/02/46/image_29012025_02_46_56_9339.jpg
/home/pi/Desktop/images/29012025/02/46/image_29012025_02_47_06_10441.jpg
/home/pi/Desktop/images/29012025/02/47/image_29012025_02_47_17_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":["1332500138","1332500105","1332500094","1332500112","1332500109","1332500100"],"photo_ids_order":["1332500094","1332500100","1332500105","1332500109","1332500112","1332500138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d404fbb20ed3ba01c8495df78722c0ab.jpg","text":"TemporaryFile(/tmp/multipartBody6224265469965131253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115313849,"filename":"image_29012025_02_47_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/29/eba21257797a3a0f483c4e37c1c2a807.jpg","text":"TemporaryFile(/tmp/multipartBody4991406888860192446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115313849,"filename":"image_29012025_02_46_27_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/29/375f654c4f168209e7ff06c31e7e3380.jpg","text":"TemporaryFile(/tmp/multipartBody444244091297493446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115313849,"filename":"image_29012025_02_46_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/29/0c32cee91312df8dbe60bd2ff6b9abc4.jpg","text":"TemporaryFile(/tmp/multipartBody4773879216193031011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115313849,"filename":"image_29012025_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/29/9ddeab9c65a15bba8e9a1e27fcb31171.jpg","text":"TemporaryFile(/tmp/multipartBody6492877192521536010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115313849,"filename":"image_29012025_02_46_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/29/cf321290cbe76abe5dc746e942a00223.jpg","text":"TemporaryFile(/tmp/multipartBody5167352342442623716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115313849,"filename":"image_29012025_02_46_16_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332500105","file1":"1332500100","file0":"1332500094","file4":"1332500112","file5":"1332500138","file3":"1332500109"},"map_files_photo_id_array":[{"photo_id":"1332500138","filename":"file5"},{"photo_id":"1332500105","filename":"file2"},{"photo_id":"1332500112","filename":"file4"},{"photo_id":"1332500100","filename":"file1"},{"photo_id":"1332500094","filename":"file0"},{"photo_id":"1332500109","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332500138":["hashtag1","hashtag2"]},{"1332500105":["hashtag1","hashtag2"]},{"1332500094":["hashtag1","hashtag2"]},{"1332500112":["hashtag1","hashtag2"]},{"1332500109":["hashtag1","hashtag2"]},{"1332500100":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332500138, 1332500105, 1332500094, 1332500112, 1332500109, 1332500100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78383135795593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:48:33.088026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/47/image_29012025_02_47_26_9411.jpg', '/home/pi/Desktop/images/29012025/02/47/image_29012025_02_47_47_10351.jpg', '/home/pi/Desktop/images/29012025/02/47/image_29012025_02_47_56_9388.jpg', '/home/pi/Desktop/images/29012025/02/47/image_29012025_02_48_07_10361.jpg', '/home/pi/Desktop/images/29012025/02/48/image_29012025_02_48_16_9321.jpg', '/home/pi/Desktop/images/29012025/02/48/image_29012025_02_48_26_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/47/image_29012025_02_47_26_9411.jpg
/home/pi/Desktop/images/29012025/02/47/image_29012025_02_47_47_10351.jpg
/home/pi/Desktop/images/29012025/02/47/image_29012025_02_47_56_9388.jpg
/home/pi/Desktop/images/29012025/02/47/image_29012025_02_48_07_10361.jpg
/home/pi/Desktop/images/29012025/02/48/image_29012025_02_48_16_9321.jpg
/home/pi/Desktop/images/29012025/02/48/image_29012025_02_48_26_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":["1332500485","1332500479","1332500467","1332500482","1332500483","1332500477"],"photo_ids_order":["1332500467","1332500477","1332500479","1332500482","1332500483","1332500485"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3e71bd11408911c98abe0b9e3a1fff36.jpg","text":"TemporaryFile(/tmp/multipartBody3146031102132527296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115373992,"filename":"image_29012025_02_48_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/29/79d500df7b2dfbd8ff57778e676cc1bd.jpg","text":"TemporaryFile(/tmp/multipartBody4702445777702728340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115373992,"filename":"image_29012025_02_47_56_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/29/08d6d78ae72dad96d9bac5678c337264.jpg","text":"TemporaryFile(/tmp/multipartBody7851942179568983563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115373992,"filename":"image_29012025_02_47_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/29/f1b8a3431ed4e304ac8d282341eec7b3.jpg","text":"TemporaryFile(/tmp/multipartBody5612593058076248807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115373992,"filename":"image_29012025_02_48_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/29/6bef05d5fc6c9af3e512cd3332816bc1.jpg","text":"TemporaryFile(/tmp/multipartBody1401851394173979240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115373992,"filename":"image_29012025_02_48_16_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/29/73b3c51be6511beb19e97f2624b49fb8.jpg","text":"TemporaryFile(/tmp/multipartBody2117874902472337998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115373992,"filename":"image_29012025_02_47_47_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332500479","file1":"1332500477","file0":"1332500467","file4":"1332500483","file5":"1332500485","file3":"1332500482"},"map_files_photo_id_array":[{"photo_id":"1332500485","filename":"file5"},{"photo_id":"1332500479","filename":"file2"},{"photo_id":"1332500483","filename":"file4"},{"photo_id":"1332500477","filename":"file1"},{"photo_id":"1332500467","filename":"file0"},{"photo_id":"1332500482","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332500485":["hashtag1","hashtag2"]},{"1332500479":["hashtag1","hashtag2"]},{"1332500467":["hashtag1","hashtag2"]},{"1332500482":["hashtag1","hashtag2"]},{"1332500483":["hashtag1","hashtag2"]},{"1332500477":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332500485, 1332500479, 1332500467, 1332500482, 1332500483, 1332500477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56172561645508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:49:32.350241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/48/image_29012025_02_48_37_10338.jpg', '/home/pi/Desktop/images/29012025/02/48/image_29012025_02_48_46_9345.jpg', '/home/pi/Desktop/images/29012025/02/48/image_29012025_02_48_56_10428.jpg', '/home/pi/Desktop/images/29012025/02/48/image_29012025_02_49_07_10347.jpg', '/home/pi/Desktop/images/29012025/02/49/image_29012025_02_49_16_9373.jpg', '/home/pi/Desktop/images/29012025/02/49/image_29012025_02_49_27_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/48/image_29012025_02_48_37_10338.jpg
/home/pi/Desktop/images/29012025/02/48/image_29012025_02_48_46_9345.jpg
/home/pi/Desktop/images/29012025/02/48/image_29012025_02_48_56_10428.jpg
/home/pi/Desktop/images/29012025/02/48/image_29012025_02_49_07_10347.jpg
/home/pi/Desktop/images/29012025/02/49/image_29012025_02_49_16_9373.jpg
/home/pi/Desktop/images/29012025/02/49/image_29012025_02_49_27_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":["1332500513","1332500507","1332500501","1332500503","1332500531","1332500510"],"photo_ids_order":["1332500501","1332500503","1332500507","1332500510","1332500513","1332500531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fdf4659423508741603627e6c1ef5b61.jpg","text":"TemporaryFile(/tmp/multipartBody2551218323635664459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115433274,"filename":"image_29012025_02_49_16_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/29/78dc7fb13854a084e637834f3f8a1e40.jpg","text":"TemporaryFile(/tmp/multipartBody3620392371574932365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115433274,"filename":"image_29012025_02_48_56_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/29/a72c24d75ceaa3cd85dd2e3ebc2836e7.jpg","text":"TemporaryFile(/tmp/multipartBody4526903743461978432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115433274,"filename":"image_29012025_02_48_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/29/d6aa2036a18689499b041e1d9a946a3b.jpg","text":"TemporaryFile(/tmp/multipartBody8278982208986947883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115433274,"filename":"image_29012025_02_48_46_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/29/522d5c6b72992826b4ebaa230307d4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7907318048009787542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115433274,"filename":"image_29012025_02_49_27_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/29/788df3989a66c514819e6fdd62891b7f.jpg","text":"TemporaryFile(/tmp/multipartBody4165634985080399339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115433274,"filename":"image_29012025_02_49_07_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332500507","file1":"1332500503","file0":"1332500501","file4":"1332500513","file5":"1332500531","file3":"1332500510"},"map_files_photo_id_array":[{"photo_id":"1332500531","filename":"file5"},{"photo_id":"1332500507","filename":"file2"},{"photo_id":"1332500513","filename":"file4"},{"photo_id":"1332500503","filename":"file1"},{"photo_id":"1332500501","filename":"file0"},{"photo_id":"1332500510","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332500513":["hashtag1","hashtag2"]},{"1332500507":["hashtag1","hashtag2"]},{"1332500501":["hashtag1","hashtag2"]},{"1332500503":["hashtag1","hashtag2"]},{"1332500531":["hashtag1","hashtag2"]},{"1332500510":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332500513, 1332500507, 1332500501, 1332500503, 1332500531, 1332500510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.03820466995239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:50:32.569663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/49/image_29012025_02_49_46_10395.jpg', '/home/pi/Desktop/images/29012025/02/49/image_29012025_02_49_57_10361.jpg', '/home/pi/Desktop/images/29012025/02/49/image_29012025_02_50_06_9342.jpg', '/home/pi/Desktop/images/29012025/02/50/image_29012025_02_50_16_10352.jpg', '/home/pi/Desktop/images/29012025/02/50/image_29012025_02_50_27_10385.jpg', '/home/pi/Desktop/images/29012025/02/50/image_29012025_02_50_36_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/49/image_29012025_02_49_46_10395.jpg
/home/pi/Desktop/images/29012025/02/49/image_29012025_02_49_57_10361.jpg
/home/pi/Desktop/images/29012025/02/49/image_29012025_02_50_06_9342.jpg
/home/pi/Desktop/images/29012025/02/50/image_29012025_02_50_16_10352.jpg
/home/pi/Desktop/images/29012025/02/50/image_29012025_02_50_27_10385.jpg
/home/pi/Desktop/images/29012025/02/50/image_29012025_02_50_36_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":["1332500650","1332500566","1332500961","1332500559","1332500870","1332500744"],"photo_ids_order":["1332500559","1332500566","1332500650","1332500744","1332500870","1332500961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/724acf0ee1e192f8c5cfdbb302fd7721.jpg","text":"TemporaryFile(/tmp/multipartBody8478259180286845385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115493483,"filename":"image_29012025_02_50_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/29/5a0a8e82c78215a85fc883340bd63b44.jpg","text":"TemporaryFile(/tmp/multipartBody8699725969734520343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115493483,"filename":"image_29012025_02_49_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/29/46276d09e12c0820d75b2d2fdaf072be.jpg","text":"TemporaryFile(/tmp/multipartBody5468452631013698959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115493483,"filename":"image_29012025_02_50_36_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/29/5b5d179cbd1500298c7c98afe5c499f4.jpg","text":"TemporaryFile(/tmp/multipartBody2681567447354859278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115493483,"filename":"image_29012025_02_49_46_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/29/9fe26783bdf99aefb2261a884da85148.jpg","text":"TemporaryFile(/tmp/multipartBody6948972839497392281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115493483,"filename":"image_29012025_02_50_27_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/29/24f1e4134f128080db360304906e0756.jpg","text":"TemporaryFile(/tmp/multipartBody7635422960643002619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115493483,"filename":"image_29012025_02_50_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332500650","file1":"1332500566","file0":"1332500559","file4":"1332500870","file5":"1332500961","file3":"1332500744"},"map_files_photo_id_array":[{"photo_id":"1332500961","filename":"file5"},{"photo_id":"1332500650","filename":"file2"},{"photo_id":"1332500870","filename":"file4"},{"photo_id":"1332500566","filename":"file1"},{"photo_id":"1332500559","filename":"file0"},{"photo_id":"1332500744","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332500650":["hashtag1","hashtag2"]},{"1332500566":["hashtag1","hashtag2"]},{"1332500961":["hashtag1","hashtag2"]},{"1332500559":["hashtag1","hashtag2"]},{"1332500870":["hashtag1","hashtag2"]},{"1332500744":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332500650, 1332500566, 1332500961, 1332500559, 1332500870, 1332500744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.664751291275024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:51:33.786450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/50/image_29012025_02_50_57_10350.jpg', '/home/pi/Desktop/images/29012025/02/50/image_29012025_02_51_06_9380.jpg', '/home/pi/Desktop/images/29012025/02/51/image_29012025_02_51_26_9427.jpg', '/home/pi/Desktop/images/29012025/02/51/image_29012025_02_51_36_10458.jpg', '/home/pi/Desktop/images/29012025/02/51/image_29012025_02_51_47_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/50/image_29012025_02_50_57_10350.jpg
/home/pi/Desktop/images/29012025/02/50/image_29012025_02_51_06_9380.jpg
/home/pi/Desktop/images/29012025/02/51/image_29012025_02_51_26_9427.jpg
/home/pi/Desktop/images/29012025/02/51/image_29012025_02_51_36_10458.jpg
/home/pi/Desktop/images/29012025/02/51/image_29012025_02_51_47_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":["1332501613","1332501616","1332501615","1332501618","1332501620"],"photo_ids_order":["1332501613","1332501615","1332501616","1332501618","1332501620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2134eb1b0ba07ecbdeb49fd714bb42a9.jpg","text":"TemporaryFile(/tmp/multipartBody1573106295999669446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115554687,"filename":"image_29012025_02_50_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/29/efbf37e6e6687c4286a0b4852ca39971.jpg","text":"TemporaryFile(/tmp/multipartBody1597007912301175051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115554687,"filename":"image_29012025_02_51_26_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/29/7fee7d0dc7ef04347f093cd7787ad538.jpg","text":"TemporaryFile(/tmp/multipartBody4100100543211124218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115554687,"filename":"image_29012025_02_51_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/29/acfd232c8c9d0a948f34b40aa592a2ab.jpg","text":"TemporaryFile(/tmp/multipartBody4537742360736008915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115554687,"filename":"image_29012025_02_51_36_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/29/e62bb3f1d0b52d4cd6ea3f78cfb03905.jpg","text":"TemporaryFile(/tmp/multipartBody627602108434112126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115554687,"filename":"image_29012025_02_51_47_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332501616","file1":"1332501615","file0":"1332501613","file4":"1332501620","file3":"1332501618"},"map_files_photo_id_array":[{"photo_id":"1332501616","filename":"file2"},{"photo_id":"1332501620","filename":"file4"},{"photo_id":"1332501615","filename":"file1"},{"photo_id":"1332501613","filename":"file0"},{"photo_id":"1332501618","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332501613":["hashtag1","hashtag2"]},{"1332501616":["hashtag1","hashtag2"]},{"1332501615":["hashtag1","hashtag2"]},{"1332501618":["hashtag1","hashtag2"]},{"1332501620":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332501613, 1332501616, 1332501615, 1332501618, 1332501620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.929117918014526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:52:32.829848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/51/image_29012025_02_51_56_9379.jpg', '/home/pi/Desktop/images/29012025/02/51/image_29012025_02_52_07_10383.jpg', '/home/pi/Desktop/images/29012025/02/52/image_29012025_02_52_16_9338.jpg', '/home/pi/Desktop/images/29012025/02/52/image_29012025_02_52_26_10349.jpg', '/home/pi/Desktop/images/29012025/02/52/image_29012025_02_52_37_10423.jpg', '/home/pi/Desktop/images/29012025/02/52/image_29012025_02_52_46_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/51/image_29012025_02_51_56_9379.jpg
/home/pi/Desktop/images/29012025/02/51/image_29012025_02_52_07_10383.jpg
/home/pi/Desktop/images/29012025/02/52/image_29012025_02_52_16_9338.jpg
/home/pi/Desktop/images/29012025/02/52/image_29012025_02_52_26_10349.jpg
/home/pi/Desktop/images/29012025/02/52/image_29012025_02_52_37_10423.jpg
/home/pi/Desktop/images/29012025/02/52/image_29012025_02_52_46_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":["1332501864","1332501846","1332502096","1332502594","1332502741","1332502324"],"photo_ids_order":["1332501846","1332501864","1332502096","1332502324","1332502594","1332502741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f26681e7bdc470007bc61bd8fe5c56d7.jpg","text":"TemporaryFile(/tmp/multipartBody1024755826125892929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115613743,"filename":"image_29012025_02_52_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/29/5374fdbb42eb4a98205b5d02e768778c.jpg","text":"TemporaryFile(/tmp/multipartBody7569960414390176451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115613743,"filename":"image_29012025_02_51_56_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/29/58776dab235d9141daa20f95ea3e3850.jpg","text":"TemporaryFile(/tmp/multipartBody5058409282413683232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115613743,"filename":"image_29012025_02_52_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/29/a27a3e0f56b4f432f4085104f05e03a8.jpg","text":"TemporaryFile(/tmp/multipartBody7423931386770384535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115613743,"filename":"image_29012025_02_52_37_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/29/2be8ecaeecbed554b80eaf53c8c4c3cc.jpg","text":"TemporaryFile(/tmp/multipartBody1960239154729324736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115613743,"filename":"image_29012025_02_52_46_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/29/f1c22c6e7901232053f10039861bd94b.jpg","text":"TemporaryFile(/tmp/multipartBody4094665511444624215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115613743,"filename":"image_29012025_02_52_26_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332502096","file1":"1332501864","file0":"1332501846","file4":"1332502594","file5":"1332502741","file3":"1332502324"},"map_files_photo_id_array":[{"photo_id":"1332502741","filename":"file5"},{"photo_id":"1332502096","filename":"file2"},{"photo_id":"1332502594","filename":"file4"},{"photo_id":"1332501864","filename":"file1"},{"photo_id":"1332501846","filename":"file0"},{"photo_id":"1332502324","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332501864":["hashtag1","hashtag2"]},{"1332501846":["hashtag1","hashtag2"]},{"1332502096":["hashtag1","hashtag2"]},{"1332502594":["hashtag1","hashtag2"]},{"1332502741":["hashtag1","hashtag2"]},{"1332502324":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332501864, 1332501846, 1332502096, 1332502594, 1332502741, 1332502324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55183482170105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:53:33.135176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/52/image_29012025_02_52_56_10459.jpg', '/home/pi/Desktop/images/29012025/02/52/image_29012025_02_53_06_9386.jpg', '/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_16_10335.jpg', '/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_27_10352.jpg', '/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_36_9320.jpg', '/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_46_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/52/image_29012025_02_52_56_10459.jpg
/home/pi/Desktop/images/29012025/02/52/image_29012025_02_53_06_9386.jpg
/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_16_10335.jpg
/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_27_10352.jpg
/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_36_9320.jpg
/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_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":["1332502986","1332502980","1332502982","1332502991","1332502976","1332502984"],"photo_ids_order":["1332502976","1332502980","1332502982","1332502984","1332502986","1332502991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b777d56f7faa2d9f5f8da4b6c5e83bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6603832101280546843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115674044,"filename":"image_29012025_02_53_36_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/29/4f4e6e27971bd69e253a0fa2010e3682.jpg","text":"TemporaryFile(/tmp/multipartBody6330138627680484144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115674044,"filename":"image_29012025_02_53_06_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/29/0da4380b4e01a74bf6028e13b3c87c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1586431980068646757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115674044,"filename":"image_29012025_02_53_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/29/ec69b0d4ac3231348c4ccff82c6fc5ab.jpg","text":"TemporaryFile(/tmp/multipartBody551900634492485713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115674044,"filename":"image_29012025_02_53_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/29/276ee1c79d68435520d4ec9724219e72.jpg","text":"TemporaryFile(/tmp/multipartBody5366077615894205739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115674044,"filename":"image_29012025_02_52_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/29/07ecec70f18dfa20812d660a14cc810f.jpg","text":"TemporaryFile(/tmp/multipartBody961140989688388578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115674044,"filename":"image_29012025_02_53_27_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332502982","file1":"1332502980","file0":"1332502976","file4":"1332502986","file5":"1332502991","file3":"1332502984"},"map_files_photo_id_array":[{"photo_id":"1332502991","filename":"file5"},{"photo_id":"1332502982","filename":"file2"},{"photo_id":"1332502986","filename":"file4"},{"photo_id":"1332502980","filename":"file1"},{"photo_id":"1332502976","filename":"file0"},{"photo_id":"1332502984","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332502986":["hashtag1","hashtag2"]},{"1332502980":["hashtag1","hashtag2"]},{"1332502982":["hashtag1","hashtag2"]},{"1332502991":["hashtag1","hashtag2"]},{"1332502976":["hashtag1","hashtag2"]},{"1332502984":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332502986, 1332502980, 1332502982, 1332502991, 1332502976, 1332502984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36226773262024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:54:32.327967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_57_10352.jpg', '/home/pi/Desktop/images/29012025/02/53/image_29012025_02_54_06_9363.jpg', '/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_16_10447.jpg', '/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_27_10363.jpg', '/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_36_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_57_10352.jpg
/home/pi/Desktop/images/29012025/02/53/image_29012025_02_54_06_9363.jpg
/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_16_10447.jpg
/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_27_10363.jpg
/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_36_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.5064442157745361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 02:54:42.416481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_57_10352.jpg', '/home/pi/Desktop/images/29012025/02/53/image_29012025_02_54_06_9363.jpg', '/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_16_10447.jpg', '/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_27_10363.jpg', '/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_36_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/53/image_29012025_02_53_57_10352.jpg
/home/pi/Desktop/images/29012025/02/53/image_29012025_02_54_06_9363.jpg
/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_16_10447.jpg
/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_27_10363.jpg
/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_36_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":["1332503508","1332503494","1332503509","1332503458","1332503091"],"photo_ids_order":["1332503091","1332503458","1332503494","1332503508","1332503509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/feeba85cff5601953276919d32aa564d.jpg","text":"TemporaryFile(/tmp/multipartBody6607052025242101295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115743315,"filename":"image_29012025_02_54_27_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/29/a74ea608a2a76bbaf37afe604a397af0.jpg","text":"TemporaryFile(/tmp/multipartBody1733214583682231622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115743315,"filename":"image_29012025_02_54_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/29/42614371b37ea9d7932af4bf9f88d6e9.jpg","text":"TemporaryFile(/tmp/multipartBody4971063952763272894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115743315,"filename":"image_29012025_02_54_36_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/29/e715048e8e7361b2b19e20ba5528529c.jpg","text":"TemporaryFile(/tmp/multipartBody2429722776643955242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115743315,"filename":"image_29012025_02_54_06_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/29/4e4523c0e4d5164ac46381a585d6b76b.jpg","text":"TemporaryFile(/tmp/multipartBody5493794450633505939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115743315,"filename":"image_29012025_02_53_57_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332503494","file1":"1332503458","file0":"1332503091","file4":"1332503509","file3":"1332503508"},"map_files_photo_id_array":[{"photo_id":"1332503494","filename":"file2"},{"photo_id":"1332503509","filename":"file4"},{"photo_id":"1332503458","filename":"file1"},{"photo_id":"1332503091","filename":"file0"},{"photo_id":"1332503508","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332503508":["hashtag1","hashtag2"]},{"1332503494":["hashtag1","hashtag2"]},{"1332503509":["hashtag1","hashtag2"]},{"1332503458":["hashtag1","hashtag2"]},{"1332503091":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332503508, 1332503494, 1332503509, 1332503458, 1332503091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.17872619628906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:55:32.553967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_56_9351.jpg', '/home/pi/Desktop/images/29012025/02/54/image_29012025_02_55_06_10430.jpg', '/home/pi/Desktop/images/29012025/02/55/image_29012025_02_55_17_10347.jpg', '/home/pi/Desktop/images/29012025/02/55/image_29012025_02_55_26_9340.jpg', '/home/pi/Desktop/images/29012025/02/55/image_29012025_02_55_36_10444.jpg', '/home/pi/Desktop/images/29012025/02/55/image_29012025_02_55_47_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/54/image_29012025_02_54_56_9351.jpg
/home/pi/Desktop/images/29012025/02/54/image_29012025_02_55_06_10430.jpg
/home/pi/Desktop/images/29012025/02/55/image_29012025_02_55_17_10347.jpg
/home/pi/Desktop/images/29012025/02/55/image_29012025_02_55_26_9340.jpg
/home/pi/Desktop/images/29012025/02/55/image_29012025_02_55_36_10444.jpg
/home/pi/Desktop/images/29012025/02/55/image_29012025_02_55_47_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":["1332503733","1332503741","1332503735","1332503729","1332503738","1332503726"],"photo_ids_order":["1332503726","1332503729","1332503733","1332503735","1332503738","1332503741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a4d37e355484706a78e2c174de07dcbb.jpg","text":"TemporaryFile(/tmp/multipartBody1767685711071397098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115793485,"filename":"image_29012025_02_55_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/29/06b999ad6597125a4dd69ce032d5c2d2.jpg","text":"TemporaryFile(/tmp/multipartBody3326989942947687751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115793485,"filename":"image_29012025_02_55_47_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/29/fd05ddbf2beafbc52f596b91bebd0158.jpg","text":"TemporaryFile(/tmp/multipartBody2682229731223474428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115793485,"filename":"image_29012025_02_55_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/29/5b167864cdcc6a90f93bdb4df5b2ddba.jpg","text":"TemporaryFile(/tmp/multipartBody9110609282665187432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115793485,"filename":"image_29012025_02_55_06_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/29/a242d267de9ce88533a9b075bef9b661.jpg","text":"TemporaryFile(/tmp/multipartBody38852589738916978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115793485,"filename":"image_29012025_02_55_36_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/29/8d1d00982f3d3531a761a04971d5d5f4.jpg","text":"TemporaryFile(/tmp/multipartBody3958737792062974401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115793485,"filename":"image_29012025_02_54_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332503733","file1":"1332503729","file0":"1332503726","file4":"1332503738","file5":"1332503741","file3":"1332503735"},"map_files_photo_id_array":[{"photo_id":"1332503741","filename":"file5"},{"photo_id":"1332503733","filename":"file2"},{"photo_id":"1332503738","filename":"file4"},{"photo_id":"1332503729","filename":"file1"},{"photo_id":"1332503726","filename":"file0"},{"photo_id":"1332503735","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332503733":["hashtag1","hashtag2"]},{"1332503741":["hashtag1","hashtag2"]},{"1332503735":["hashtag1","hashtag2"]},{"1332503729":["hashtag1","hashtag2"]},{"1332503738":["hashtag1","hashtag2"]},{"1332503726":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332503733, 1332503741, 1332503735, 1332503729, 1332503738, 1332503726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39389777183533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:56:32.680979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/55/image_29012025_02_55_56_9457.jpg', '/home/pi/Desktop/images/29012025/02/55/image_29012025_02_56_07_10361.jpg', '/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_16_9341.jpg', '/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_26_10466.jpg', '/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_37_10336.jpg', '/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_46_9456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/55/image_29012025_02_55_56_9457.jpg
/home/pi/Desktop/images/29012025/02/55/image_29012025_02_56_07_10361.jpg
/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_16_9341.jpg
/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_26_10466.jpg
/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_37_10336.jpg
/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_46_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332503904","1332503990","1332503890","1332504133","1332504127","1332504138"],"photo_ids_order":["1332503890","1332503904","1332503990","1332504127","1332504133","1332504138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/927f9661c4e72bea00585a5f60cab5ad.jpg","text":"TemporaryFile(/tmp/multipartBody8711206735801552610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115853592,"filename":"image_29012025_02_56_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/29/3293849c705b400245126c851013b602.jpg","text":"TemporaryFile(/tmp/multipartBody1144512852935911115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115853592,"filename":"image_29012025_02_56_16_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/29/a836215466f6ee1d599bba644041a6ba.jpg","text":"TemporaryFile(/tmp/multipartBody4674478790912004758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115853592,"filename":"image_29012025_02_55_56_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/29/f486a5972fbbe8dd5bc3fc3bcff436fe.jpg","text":"TemporaryFile(/tmp/multipartBody9013215675048550489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115853592,"filename":"image_29012025_02_56_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/29/f70b04b436054728f1604c91c8c3c93f.jpg","text":"TemporaryFile(/tmp/multipartBody7546249536404246672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115853592,"filename":"image_29012025_02_56_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/29/00881eaea7432d05f0309eb6c0094aef.jpg","text":"TemporaryFile(/tmp/multipartBody1066840465346930311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738115853592,"filename":"image_29012025_02_56_46_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332503990","file1":"1332503904","file0":"1332503890","file4":"1332504133","file5":"1332504138","file3":"1332504127"},"map_files_photo_id_array":[{"photo_id":"1332504138","filename":"file5"},{"photo_id":"1332503990","filename":"file2"},{"photo_id":"1332504133","filename":"file4"},{"photo_id":"1332503904","filename":"file1"},{"photo_id":"1332503890","filename":"file0"},{"photo_id":"1332504127","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332503904":["hashtag1","hashtag2"]},{"1332503990":["hashtag1","hashtag2"]},{"1332503890":["hashtag1","hashtag2"]},{"1332504133":["hashtag1","hashtag2"]},{"1332504127":["hashtag1","hashtag2"]},{"1332504138":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332503904, 1332503990, 1332503890, 1332504133, 1332504127, 1332504138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40485405921936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 02:57:32.920900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_57_10353.jpg', '/home/pi/Desktop/images/29012025/02/56/image_29012025_02_57_06_9320.jpg', '/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_16_10337.jpg', '/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_27_10357.jpg', '/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_36_9350.jpg', '/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_46_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_57_10353.jpg
/home/pi/Desktop/images/29012025/02/56/image_29012025_02_57_06_9320.jpg
/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_16_10337.jpg
/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_27_10357.jpg
/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_36_9350.jpg
/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_46_10335.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-29 02:59:03.570058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_57_10353.jpg', '/home/pi/Desktop/images/29012025/02/56/image_29012025_02_57_06_9320.jpg', '/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_16_10337.jpg', '/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_27_10357.jpg', '/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_36_9350.jpg', '/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_46_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/56/image_29012025_02_56_57_10353.jpg
/home/pi/Desktop/images/29012025/02/56/image_29012025_02_57_06_9320.jpg
/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_16_10337.jpg
/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_27_10357.jpg
/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_36_9350.jpg
/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_46_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":["1332504395","1332504352","1332504390","1332504381","1332504366","1332504348"],"photo_ids_order":["1332504348","1332504352","1332504366","1332504381","1332504390","1332504395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7e0a0231babaef99220b7d9fb7c29016.jpg","text":"TemporaryFile(/tmp/multipartBody2540436067346158518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116004662,"filename":"image_29012025_02_57_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/29/6b38df01b19bbacb560c7593caddadc9.jpg","text":"TemporaryFile(/tmp/multipartBody7339729455754914206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116004662,"filename":"image_29012025_02_57_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/29/2a7fe8c0c35e973430f99bb996126e56.jpg","text":"TemporaryFile(/tmp/multipartBody506080065586044541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116004662,"filename":"image_29012025_02_57_36_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/29/3ae96ef1096aafd3417b15aee5e33ccb.jpg","text":"TemporaryFile(/tmp/multipartBody5491359556790926852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116004662,"filename":"image_29012025_02_57_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/29/74175167af0769ad88af1c9c20dce87f.jpg","text":"TemporaryFile(/tmp/multipartBody4841755485591532354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116004662,"filename":"image_29012025_02_57_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/29/46e8ebc5dd5c4b1769fc2886bfc7bbd5.jpg","text":"TemporaryFile(/tmp/multipartBody7676143147798841863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116004662,"filename":"image_29012025_02_56_57_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332504366","file1":"1332504352","file0":"1332504348","file4":"1332504390","file5":"1332504395","file3":"1332504381"},"map_files_photo_id_array":[{"photo_id":"1332504395","filename":"file5"},{"photo_id":"1332504366","filename":"file2"},{"photo_id":"1332504390","filename":"file4"},{"photo_id":"1332504352","filename":"file1"},{"photo_id":"1332504348","filename":"file0"},{"photo_id":"1332504381","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332504395":["hashtag1","hashtag2"]},{"1332504352":["hashtag1","hashtag2"]},{"1332504390":["hashtag1","hashtag2"]},{"1332504381":["hashtag1","hashtag2"]},{"1332504366":["hashtag1","hashtag2"]},{"1332504348":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332504395, 1332504352, 1332504390, 1332504381, 1332504366, 1332504348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.29353666305542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 02:59:52.519241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/41/image_23012025_23_41_36_9334.jpg', '/home/pi/Desktop/images/23012025/23/41/image_23012025_23_41_46_10404.jpg', '/home/pi/Desktop/images/23012025/23/41/image_23012025_23_41_57_10353.jpg', '/home/pi/Desktop/images/23012025/23/41/image_23012025_23_42_06_9376.jpg', '/home/pi/Desktop/images/23012025/23/42/image_23012025_23_42_27_10372.jpg', '/home/pi/Desktop/images/23012025/23/42/image_23012025_23_42_36_9322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/41/image_23012025_23_41_36_9334.jpg
/home/pi/Desktop/images/23012025/23/41/image_23012025_23_41_46_10404.jpg
/home/pi/Desktop/images/23012025/23/41/image_23012025_23_41_57_10353.jpg
/home/pi/Desktop/images/23012025/23/41/image_23012025_23_42_06_9376.jpg
/home/pi/Desktop/images/23012025/23/42/image_23012025_23_42_27_10372.jpg
/home/pi/Desktop/images/23012025/23/42/image_23012025_23_42_36_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332504429","1332504422","1332504431","1332504424","1332504433","1332504436"],"photo_ids_order":["1332504422","1332504424","1332504429","1332504431","1332504433","1332504436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e4b2513733848bcdff94650a897c1516.jpg","text":"TemporaryFile(/tmp/multipartBody6193537126621473890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116054542,"filename":"image_23012025_23_41_57_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/29/e5b0fc4aa373450599a659fe7e507b78.jpg","text":"TemporaryFile(/tmp/multipartBody6752435536201824131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116054542,"filename":"image_23012025_23_41_36_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/29/07d26623ebbc74e91f80a538daa9f369.jpg","text":"TemporaryFile(/tmp/multipartBody8089855148418021805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116054542,"filename":"image_23012025_23_42_06_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/29/434258cb9e3ae753df0c9a8d437c81de.jpg","text":"TemporaryFile(/tmp/multipartBody1030458081822419171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116054542,"filename":"image_23012025_23_41_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/29/110df10235423a57634baee6aadb445c.jpg","text":"TemporaryFile(/tmp/multipartBody2432450807481475894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116054542,"filename":"image_23012025_23_42_27_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/29/0dce4bc6e69fd56bd26320d327f07a1a.jpg","text":"TemporaryFile(/tmp/multipartBody3616234260004932439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116054542,"filename":"image_23012025_23_42_36_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332504429","file1":"1332504424","file0":"1332504422","file4":"1332504433","file5":"1332504436","file3":"1332504431"},"map_files_photo_id_array":[{"photo_id":"1332504436","filename":"file5"},{"photo_id":"1332504429","filename":"file2"},{"photo_id":"1332504433","filename":"file4"},{"photo_id":"1332504424","filename":"file1"},{"photo_id":"1332504422","filename":"file0"},{"photo_id":"1332504431","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332504429":["hashtag1","hashtag2"]},{"1332504422":["hashtag1","hashtag2"]},{"1332504431":["hashtag1","hashtag2"]},{"1332504424":["hashtag1","hashtag2"]},{"1332504433":["hashtag1","hashtag2"]},{"1332504436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332504429, 1332504422, 1332504431, 1332504424, 1332504433, 1332504436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.880364656448364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 03:00:42.729436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_57_10358.jpg', '/home/pi/Desktop/images/29012025/02/57/image_29012025_02_58_06_9464.jpg', '/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_17_10442.jpg', '/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_26_9348.jpg', '/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_36_10432.jpg', '/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_47_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/57/image_29012025_02_57_57_10358.jpg
/home/pi/Desktop/images/29012025/02/57/image_29012025_02_58_06_9464.jpg
/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_17_10442.jpg
/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_26_9348.jpg
/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_36_10432.jpg
/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_47_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":["1332504452","1332504455","1332504484","1332504442","1332504445","1332504448"],"photo_ids_order":["1332504442","1332504445","1332504448","1332504452","1332504455","1332504484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b65adb02ec38341ea65efa88c8ee256c.jpg","text":"TemporaryFile(/tmp/multipartBody1639487747843850391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116103644,"filename":"image_29012025_02_58_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/29/d499800b89218dff22d74e24fe2514e0.jpg","text":"TemporaryFile(/tmp/multipartBody8245040933944962227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116103644,"filename":"image_29012025_02_58_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/29/a07b268829352fa841d42726cfbb06b8.jpg","text":"TemporaryFile(/tmp/multipartBody8324350122585758928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116103644,"filename":"image_29012025_02_58_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/29/ffee2ae0090692cf78ba50f263451ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8323996305623866370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116103644,"filename":"image_29012025_02_57_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/29/0691b0ba0df9f7facd2435b97b0d1775.jpg","text":"TemporaryFile(/tmp/multipartBody706544455428885777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116103644,"filename":"image_29012025_02_58_06_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/29/1508d1f446d2f57a47c396178034409b.jpg","text":"TemporaryFile(/tmp/multipartBody1873664374017552730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116103644,"filename":"image_29012025_02_58_17_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332504448","file1":"1332504445","file0":"1332504442","file4":"1332504455","file5":"1332504484","file3":"1332504452"},"map_files_photo_id_array":[{"photo_id":"1332504484","filename":"file5"},{"photo_id":"1332504448","filename":"file2"},{"photo_id":"1332504455","filename":"file4"},{"photo_id":"1332504445","filename":"file1"},{"photo_id":"1332504442","filename":"file0"},{"photo_id":"1332504452","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332504452":["hashtag1","hashtag2"]},{"1332504455":["hashtag1","hashtag2"]},{"1332504484":["hashtag1","hashtag2"]},{"1332504442":["hashtag1","hashtag2"]},{"1332504445":["hashtag1","hashtag2"]},{"1332504448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332504452, 1332504455, 1332504484, 1332504442, 1332504445, 1332504448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.78428673744202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:01:33.063411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_56_9356.jpg', '/home/pi/Desktop/images/29012025/02/58/image_29012025_02_59_06_10447.jpg', '/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_17_10351.jpg', '/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_26_9444.jpg', '/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_37_10358.jpg', '/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_46_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_56_9356.jpg
/home/pi/Desktop/images/29012025/02/58/image_29012025_02_59_06_10447.jpg
/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_17_10351.jpg
/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_26_9444.jpg
/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_37_10358.jpg
/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_46_9328.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.5433101654052734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 03:01:43.039774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_56_9356.jpg', '/home/pi/Desktop/images/29012025/02/58/image_29012025_02_59_06_10447.jpg', '/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_17_10351.jpg', '/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_26_9444.jpg', '/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_37_10358.jpg', '/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_46_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/58/image_29012025_02_58_56_9356.jpg
/home/pi/Desktop/images/29012025/02/58/image_29012025_02_59_06_10447.jpg
/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_17_10351.jpg
/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_26_9444.jpg
/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_37_10358.jpg
/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_46_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332504680","1332504557","1332504560","1332504613","1332504607","1332504639"],"photo_ids_order":["1332504557","1332504560","1332504607","1332504613","1332504639","1332504680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/69056b47fdc441c3cad3a141310cc6b9.jpg","text":"TemporaryFile(/tmp/multipartBody8864790644336859312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116163986,"filename":"image_29012025_02_59_46_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/29/30694ae6087eda52ec995e257177a7e1.jpg","text":"TemporaryFile(/tmp/multipartBody5711833316924894798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116163986,"filename":"image_29012025_02_58_56_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/29/de9c38ffb8f5a505bb4758fcb610e591.jpg","text":"TemporaryFile(/tmp/multipartBody7011033084528833449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116163986,"filename":"image_29012025_02_59_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/29/e24f7bd164751fe99f1843141e849888.jpg","text":"TemporaryFile(/tmp/multipartBody6302842270450102408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116163986,"filename":"image_29012025_02_59_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/29/1d22c36030c73ebae5c346f2c8db73fd.jpg","text":"TemporaryFile(/tmp/multipartBody8508697553357498770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116163986,"filename":"image_29012025_02_59_17_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/29/0f7d0df20bc53bcf87f51e4c63813046.jpg","text":"TemporaryFile(/tmp/multipartBody8162355028467611569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116163986,"filename":"image_29012025_02_59_37_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332504607","file1":"1332504560","file0":"1332504557","file4":"1332504639","file5":"1332504680","file3":"1332504613"},"map_files_photo_id_array":[{"photo_id":"1332504680","filename":"file5"},{"photo_id":"1332504607","filename":"file2"},{"photo_id":"1332504639","filename":"file4"},{"photo_id":"1332504560","filename":"file1"},{"photo_id":"1332504557","filename":"file0"},{"photo_id":"1332504613","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332504680":["hashtag1","hashtag2"]},{"1332504557":["hashtag1","hashtag2"]},{"1332504560":["hashtag1","hashtag2"]},{"1332504613":["hashtag1","hashtag2"]},{"1332504607":["hashtag1","hashtag2"]},{"1332504639":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332504680, 1332504557, 1332504560, 1332504613, 1332504607, 1332504639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19844913482666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:02:32.199634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_56_10476.jpg', '/home/pi/Desktop/images/29012025/03/00/image_29012025_03_00_15_10078.jpg', '/home/pi/Desktop/images/29012025/03/00/image_29012025_03_00_26_10364.jpg', '/home/pi/Desktop/images/29012025/03/00/image_29012025_03_00_36_10400.jpg', '/home/pi/Desktop/images/29012025/03/00/image_29012025_03_00_46_9374.jpg', '/home/pi/Desktop/images/29012025/03/00/image_29012025_03_00_56_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/02/59/image_29012025_02_59_56_10476.jpg
/home/pi/Desktop/images/29012025/03/00/image_29012025_03_00_15_10078.jpg
/home/pi/Desktop/images/29012025/03/00/image_29012025_03_00_26_10364.jpg
/home/pi/Desktop/images/29012025/03/00/image_29012025_03_00_36_10400.jpg
/home/pi/Desktop/images/29012025/03/00/image_29012025_03_00_46_9374.jpg
/home/pi/Desktop/images/29012025/03/00/image_29012025_03_00_56_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":["1332504695","1332504689","1332504686","1332504697","1332504700","1332504692"],"photo_ids_order":["1332504686","1332504689","1332504692","1332504695","1332504697","1332504700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cca5d017a2bcd629ab1f187a1472dfc7.jpg","text":"TemporaryFile(/tmp/multipartBody5401925922309455584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116213120,"filename":"image_29012025_03_00_36_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/29/f5bd01e1ab922304c42ed59e8d34efa8.jpg","text":"TemporaryFile(/tmp/multipartBody7944736929459309008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116213120,"filename":"image_29012025_03_00_15_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d25bcaf283618ee3d4048f832c14e09c.jpg","text":"TemporaryFile(/tmp/multipartBody5507202460181415529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116213120,"filename":"image_29012025_02_59_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/29/c54e33f6c821aff5d7da997f0ecdd7aa.jpg","text":"TemporaryFile(/tmp/multipartBody2744824081705994764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116213120,"filename":"image_29012025_03_00_46_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/29/1a440ece35ebe12d25612932aa74aff5.jpg","text":"TemporaryFile(/tmp/multipartBody4329988458989537337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116213120,"filename":"image_29012025_03_00_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/29/755af138534135f037402fc72b1661e6.jpg","text":"TemporaryFile(/tmp/multipartBody2799436013276925386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116213120,"filename":"image_29012025_03_00_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332504692","file1":"1332504689","file0":"1332504686","file4":"1332504697","file5":"1332504700","file3":"1332504695"},"map_files_photo_id_array":[{"photo_id":"1332504700","filename":"file5"},{"photo_id":"1332504692","filename":"file2"},{"photo_id":"1332504697","filename":"file4"},{"photo_id":"1332504689","filename":"file1"},{"photo_id":"1332504686","filename":"file0"},{"photo_id":"1332504695","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332504695":["hashtag1","hashtag2"]},{"1332504689":["hashtag1","hashtag2"]},{"1332504686":["hashtag1","hashtag2"]},{"1332504697":["hashtag1","hashtag2"]},{"1332504700":["hashtag1","hashtag2"]},{"1332504692":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332504695, 1332504689, 1332504686, 1332504697, 1332504700, 1332504692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.408141136169434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:03:32.386110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/00/image_29012025_03_01_06_10440.jpg', '/home/pi/Desktop/images/29012025/03/01/image_29012025_03_01_16_9357.jpg', '/home/pi/Desktop/images/29012025/03/01/image_29012025_03_01_26_10360.jpg', '/home/pi/Desktop/images/29012025/03/01/image_29012025_03_01_35_9385.jpg', '/home/pi/Desktop/images/29012025/03/01/image_29012025_03_01_46_10348.jpg', '/home/pi/Desktop/images/29012025/03/01/image_29012025_03_01_56_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/00/image_29012025_03_01_06_10440.jpg
/home/pi/Desktop/images/29012025/03/01/image_29012025_03_01_16_9357.jpg
/home/pi/Desktop/images/29012025/03/01/image_29012025_03_01_26_10360.jpg
/home/pi/Desktop/images/29012025/03/01/image_29012025_03_01_35_9385.jpg
/home/pi/Desktop/images/29012025/03/01/image_29012025_03_01_46_10348.jpg
/home/pi/Desktop/images/29012025/03/01/image_29012025_03_01_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":["1332504746","1332504800","1332504722","1332504775","1332504754","1332504726"],"photo_ids_order":["1332504722","1332504726","1332504746","1332504754","1332504775","1332504800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/239391776440ba2dc695ad06941bbc0d.jpg","text":"TemporaryFile(/tmp/multipartBody1603443364415846235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116273307,"filename":"image_29012025_03_01_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/29/a1f4dbc62ebecc1abfb6130fc5c5c155.jpg","text":"TemporaryFile(/tmp/multipartBody3126688030087690309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116273307,"filename":"image_29012025_03_01_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/29/b4271fa97960ebfaa85695e658b02b9b.jpg","text":"TemporaryFile(/tmp/multipartBody7236673396485622249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116273307,"filename":"image_29012025_03_01_06_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/29/d266f982642f994b51ec9a685ebc3fed.jpg","text":"TemporaryFile(/tmp/multipartBody4384957916028582798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116273307,"filename":"image_29012025_03_01_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/29/ddcb086755b8aaebec6c9f8cbf828164.jpg","text":"TemporaryFile(/tmp/multipartBody2510653438672417656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116273307,"filename":"image_29012025_03_01_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/29/3b888c6ef65222392dc0c5113041c90e.jpg","text":"TemporaryFile(/tmp/multipartBody8467112512053049071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116273307,"filename":"image_29012025_03_01_16_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332504746","file1":"1332504726","file0":"1332504722","file4":"1332504775","file5":"1332504800","file3":"1332504754"},"map_files_photo_id_array":[{"photo_id":"1332504800","filename":"file5"},{"photo_id":"1332504746","filename":"file2"},{"photo_id":"1332504775","filename":"file4"},{"photo_id":"1332504726","filename":"file1"},{"photo_id":"1332504722","filename":"file0"},{"photo_id":"1332504754","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332504746":["hashtag1","hashtag2"]},{"1332504800":["hashtag1","hashtag2"]},{"1332504722":["hashtag1","hashtag2"]},{"1332504775":["hashtag1","hashtag2"]},{"1332504754":["hashtag1","hashtag2"]},{"1332504726":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332504746, 1332504800, 1332504722, 1332504775, 1332504754, 1332504726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.917611837387085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:04:32.646601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/01/image_29012025_03_02_06_9342.jpg', '/home/pi/Desktop/images/29012025/03/02/image_29012025_03_02_16_10395.jpg', '/home/pi/Desktop/images/29012025/03/02/image_29012025_03_02_25_9419.jpg', '/home/pi/Desktop/images/29012025/03/02/image_29012025_03_02_36_10340.jpg', '/home/pi/Desktop/images/29012025/03/02/image_29012025_03_02_46_10376.jpg', '/home/pi/Desktop/images/29012025/03/02/image_29012025_03_02_55_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/01/image_29012025_03_02_06_9342.jpg
/home/pi/Desktop/images/29012025/03/02/image_29012025_03_02_16_10395.jpg
/home/pi/Desktop/images/29012025/03/02/image_29012025_03_02_25_9419.jpg
/home/pi/Desktop/images/29012025/03/02/image_29012025_03_02_36_10340.jpg
/home/pi/Desktop/images/29012025/03/02/image_29012025_03_02_46_10376.jpg
/home/pi/Desktop/images/29012025/03/02/image_29012025_03_02_55_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":["1332504854","1332504857","1332504851","1332504848","1332504844","1332504840"],"photo_ids_order":["1332504840","1332504844","1332504848","1332504851","1332504854","1332504857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0c3ab395f76a1ca5297979fa2bf9cacb.jpg","text":"TemporaryFile(/tmp/multipartBody4731748078614524604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116333588,"filename":"image_29012025_03_02_46_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/29/717674e1df432c168796e8a1c6f3c083.jpg","text":"TemporaryFile(/tmp/multipartBody9115918249299007938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116333588,"filename":"image_29012025_03_02_55_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/29/28f3f82497e9bea3f737d4b5e2e21fb8.jpg","text":"TemporaryFile(/tmp/multipartBody4930961951564418094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116333588,"filename":"image_29012025_03_02_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/29/0d0318603ecc4e85ac53daf99905abd5.jpg","text":"TemporaryFile(/tmp/multipartBody5092168807139937601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116333588,"filename":"image_29012025_03_02_25_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/29/34ced284b621e07ff96ffe272fbe969c.jpg","text":"TemporaryFile(/tmp/multipartBody5635552070811694126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116333588,"filename":"image_29012025_03_02_16_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/29/168b35dbc2f7d751c36cf6b1b2effd4b.jpg","text":"TemporaryFile(/tmp/multipartBody4653329069163226369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116333588,"filename":"image_29012025_03_02_06_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332504848","file1":"1332504844","file0":"1332504840","file4":"1332504854","file5":"1332504857","file3":"1332504851"},"map_files_photo_id_array":[{"photo_id":"1332504857","filename":"file5"},{"photo_id":"1332504848","filename":"file2"},{"photo_id":"1332504854","filename":"file4"},{"photo_id":"1332504844","filename":"file1"},{"photo_id":"1332504840","filename":"file0"},{"photo_id":"1332504851","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332504854":["hashtag1","hashtag2"]},{"1332504857":["hashtag1","hashtag2"]},{"1332504851":["hashtag1","hashtag2"]},{"1332504848":["hashtag1","hashtag2"]},{"1332504844":["hashtag1","hashtag2"]},{"1332504840":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332504854, 1332504857, 1332504851, 1332504848, 1332504844, 1332504840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.003846168518066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:05:32.899060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/02/image_29012025_03_03_06_10346.jpg', '/home/pi/Desktop/images/29012025/03/03/image_29012025_03_03_16_10393.jpg', '/home/pi/Desktop/images/29012025/03/03/image_29012025_03_03_26_9362.jpg', '/home/pi/Desktop/images/29012025/03/03/image_29012025_03_03_36_10387.jpg', '/home/pi/Desktop/images/29012025/03/03/image_29012025_03_03_45_9403.jpg', '/home/pi/Desktop/images/29012025/03/03/image_29012025_03_03_56_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/02/image_29012025_03_03_06_10346.jpg
/home/pi/Desktop/images/29012025/03/03/image_29012025_03_03_16_10393.jpg
/home/pi/Desktop/images/29012025/03/03/image_29012025_03_03_26_9362.jpg
/home/pi/Desktop/images/29012025/03/03/image_29012025_03_03_36_10387.jpg
/home/pi/Desktop/images/29012025/03/03/image_29012025_03_03_45_9403.jpg
/home/pi/Desktop/images/29012025/03/03/image_29012025_03_03_56_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":["1332504903","1332504905","1332504908","1332504886","1332504987","1332504899"],"photo_ids_order":["1332504886","1332504899","1332504903","1332504905","1332504908","1332504987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cdb44e38676d5fb129b3aabbc83a4c0b.jpg","text":"TemporaryFile(/tmp/multipartBody4680865905514155013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116393816,"filename":"image_29012025_03_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/29/cf604f9779517ad29e6684959464a5d3.jpg","text":"TemporaryFile(/tmp/multipartBody1802662576422708082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116393816,"filename":"image_29012025_03_03_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/29/2be15330a8e4a652e90d6ae0da79750d.jpg","text":"TemporaryFile(/tmp/multipartBody2818150869335298760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116393816,"filename":"image_29012025_03_03_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/29/eb3090697d041a3a7f96f61848c03697.jpg","text":"TemporaryFile(/tmp/multipartBody902303024909888352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116393816,"filename":"image_29012025_03_03_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/29/63d22581c2635c5cc68dcada3c8d62e3.jpg","text":"TemporaryFile(/tmp/multipartBody3175736770192730039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116393816,"filename":"image_29012025_03_03_56_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/29/776d967cccc92e887bca656e656657c6.jpg","text":"TemporaryFile(/tmp/multipartBody8377928621786394760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116393816,"filename":"image_29012025_03_03_16_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332504903","file1":"1332504899","file0":"1332504886","file4":"1332504908","file5":"1332504987","file3":"1332504905"},"map_files_photo_id_array":[{"photo_id":"1332504987","filename":"file5"},{"photo_id":"1332504903","filename":"file2"},{"photo_id":"1332504908","filename":"file4"},{"photo_id":"1332504899","filename":"file1"},{"photo_id":"1332504886","filename":"file0"},{"photo_id":"1332504905","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332504903":["hashtag1","hashtag2"]},{"1332504905":["hashtag1","hashtag2"]},{"1332504908":["hashtag1","hashtag2"]},{"1332504886":["hashtag1","hashtag2"]},{"1332504987":["hashtag1","hashtag2"]},{"1332504899":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332504903, 1332504905, 1332504908, 1332504886, 1332504987, 1332504899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.641915798187256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:06:33.060710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/03/image_29012025_03_04_06_10472.jpg', '/home/pi/Desktop/images/29012025/03/04/image_29012025_03_04_16_9345.jpg', '/home/pi/Desktop/images/29012025/03/04/image_29012025_03_04_26_10378.jpg', '/home/pi/Desktop/images/29012025/03/04/image_29012025_03_04_35_9367.jpg', '/home/pi/Desktop/images/29012025/03/04/image_29012025_03_04_46_10357.jpg', '/home/pi/Desktop/images/29012025/03/04/image_29012025_03_04_56_10554.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/03/image_29012025_03_04_06_10472.jpg
/home/pi/Desktop/images/29012025/03/04/image_29012025_03_04_16_9345.jpg
/home/pi/Desktop/images/29012025/03/04/image_29012025_03_04_26_10378.jpg
/home/pi/Desktop/images/29012025/03/04/image_29012025_03_04_35_9367.jpg
/home/pi/Desktop/images/29012025/03/04/image_29012025_03_04_46_10357.jpg
/home/pi/Desktop/images/29012025/03/04/image_29012025_03_04_56_10554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332505684","1332505702","1332505711","1332505705","1332505707","1332505688"],"photo_ids_order":["1332505684","1332505688","1332505702","1332505705","1332505707","1332505711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/df66f498d8b70b40f43673722ba896a3.jpg","text":"TemporaryFile(/tmp/multipartBody8889975100824915378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116453975,"filename":"image_29012025_03_04_06_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/29/b1a56bb1450373980a3d8e428e3ddba2.jpg","text":"TemporaryFile(/tmp/multipartBody2306996343298776371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116453975,"filename":"image_29012025_03_04_26_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/29/56ff999629a70d40d48256d8bf1e36f7.jpg","text":"TemporaryFile(/tmp/multipartBody8084353629767313632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116453975,"filename":"image_29012025_03_04_56_10554.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d7d1a67478f31e3ed6f8143b3217abce.jpg","text":"TemporaryFile(/tmp/multipartBody13012240569931970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116453975,"filename":"image_29012025_03_04_35_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/29/313e39beab6316b8119bddd0f4f898e0.jpg","text":"TemporaryFile(/tmp/multipartBody1516090252015054315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116453975,"filename":"image_29012025_03_04_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/29/dcf0916046237846da67ae0a7b16ba38.jpg","text":"TemporaryFile(/tmp/multipartBody2361939898064765615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116453975,"filename":"image_29012025_03_04_16_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332505702","file1":"1332505688","file0":"1332505684","file4":"1332505707","file5":"1332505711","file3":"1332505705"},"map_files_photo_id_array":[{"photo_id":"1332505711","filename":"file5"},{"photo_id":"1332505702","filename":"file2"},{"photo_id":"1332505707","filename":"file4"},{"photo_id":"1332505688","filename":"file1"},{"photo_id":"1332505684","filename":"file0"},{"photo_id":"1332505705","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332505684":["hashtag1","hashtag2"]},{"1332505702":["hashtag1","hashtag2"]},{"1332505711":["hashtag1","hashtag2"]},{"1332505705":["hashtag1","hashtag2"]},{"1332505707":["hashtag1","hashtag2"]},{"1332505688":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332505684, 1332505702, 1332505711, 1332505705, 1332505707, 1332505688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5883264541626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:07:32.151309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/04/image_29012025_03_05_06_9335.jpg', '/home/pi/Desktop/images/29012025/03/05/image_29012025_03_05_16_10344.jpg', '/home/pi/Desktop/images/29012025/03/05/image_29012025_03_05_25_9360.jpg', '/home/pi/Desktop/images/29012025/03/05/image_29012025_03_05_36_10449.jpg', '/home/pi/Desktop/images/29012025/03/05/image_29012025_03_05_46_10483.jpg', '/home/pi/Desktop/images/29012025/03/05/image_29012025_03_05_56_9377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/04/image_29012025_03_05_06_9335.jpg
/home/pi/Desktop/images/29012025/03/05/image_29012025_03_05_16_10344.jpg
/home/pi/Desktop/images/29012025/03/05/image_29012025_03_05_25_9360.jpg
/home/pi/Desktop/images/29012025/03/05/image_29012025_03_05_36_10449.jpg
/home/pi/Desktop/images/29012025/03/05/image_29012025_03_05_46_10483.jpg
/home/pi/Desktop/images/29012025/03/05/image_29012025_03_05_56_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332506105","1332505919","1332506122","1332506125","1332505774","1332506168"],"photo_ids_order":["1332505774","1332505919","1332506105","1332506122","1332506125","1332506168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7cb9aa9045dc0dc9316cf189048f8a92.jpg","text":"TemporaryFile(/tmp/multipartBody1917708457061211279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116513087,"filename":"image_29012025_03_05_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/29/74513266b4e41bf9293ea9efb9ceb5c6.jpg","text":"TemporaryFile(/tmp/multipartBody682682154904854152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116513087,"filename":"image_29012025_03_05_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/29/2e93c5d48b258e7fed19c30cb7b876ea.jpg","text":"TemporaryFile(/tmp/multipartBody3842471733375849029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116513087,"filename":"image_29012025_03_05_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/29/6a020a976d1deffda016ea466ac88cf0.jpg","text":"TemporaryFile(/tmp/multipartBody8372155193446321979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116513087,"filename":"image_29012025_03_05_46_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/29/585abd912856e1dc542c4d52bf69ba97.jpg","text":"TemporaryFile(/tmp/multipartBody8316939168265136583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116513087,"filename":"image_29012025_03_05_06_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/29/d7bc11b7d482bf2e16d3692bb72126b6.jpg","text":"TemporaryFile(/tmp/multipartBody2916799786293114579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116513087,"filename":"image_29012025_03_05_56_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332506105","file1":"1332505919","file0":"1332505774","file4":"1332506125","file5":"1332506168","file3":"1332506122"},"map_files_photo_id_array":[{"photo_id":"1332506168","filename":"file5"},{"photo_id":"1332506105","filename":"file2"},{"photo_id":"1332506125","filename":"file4"},{"photo_id":"1332505919","filename":"file1"},{"photo_id":"1332505774","filename":"file0"},{"photo_id":"1332506122","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332506105":["hashtag1","hashtag2"]},{"1332505919":["hashtag1","hashtag2"]},{"1332506122":["hashtag1","hashtag2"]},{"1332506125":["hashtag1","hashtag2"]},{"1332505774":["hashtag1","hashtag2"]},{"1332506168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332506105, 1332505919, 1332506122, 1332506125, 1332505774, 1332506168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.448161602020264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:08:32.542371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/05/image_29012025_03_06_06_10358.jpg', '/home/pi/Desktop/images/29012025/03/06/image_29012025_03_06_15_9392.jpg', '/home/pi/Desktop/images/29012025/03/06/image_29012025_03_06_26_10455.jpg', '/home/pi/Desktop/images/29012025/03/06/image_29012025_03_06_36_10450.jpg', '/home/pi/Desktop/images/29012025/03/06/image_29012025_03_06_46_9348.jpg', '/home/pi/Desktop/images/29012025/03/06/image_29012025_03_06_56_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/05/image_29012025_03_06_06_10358.jpg
/home/pi/Desktop/images/29012025/03/06/image_29012025_03_06_15_9392.jpg
/home/pi/Desktop/images/29012025/03/06/image_29012025_03_06_26_10455.jpg
/home/pi/Desktop/images/29012025/03/06/image_29012025_03_06_36_10450.jpg
/home/pi/Desktop/images/29012025/03/06/image_29012025_03_06_46_9348.jpg
/home/pi/Desktop/images/29012025/03/06/image_29012025_03_06_56_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":["1332506284","1332506269","1332506289","1332506286","1332506282","1332506264"],"photo_ids_order":["1332506264","1332506269","1332506282","1332506284","1332506286","1332506289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/47b20df4bc182c314b8a64cb45ee3174.jpg","text":"TemporaryFile(/tmp/multipartBody798603549347016691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116573471,"filename":"image_29012025_03_06_36_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/29/5b10141228a32a94aba158a03bba0b7f.jpg","text":"TemporaryFile(/tmp/multipartBody8016270883668008845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116573471,"filename":"image_29012025_03_06_15_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/29/acdc9ce8de0a733b282f960a3b7a6e1a.jpg","text":"TemporaryFile(/tmp/multipartBody859375401682717074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116573471,"filename":"image_29012025_03_06_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/29/f6031cf863f9c145c71fbbf6c4f5e01c.jpg","text":"TemporaryFile(/tmp/multipartBody3423391209859376818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116573471,"filename":"image_29012025_03_06_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/29/cf47d2487feec3243fb2ff132b0f587f.jpg","text":"TemporaryFile(/tmp/multipartBody6813373468851218148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116573471,"filename":"image_29012025_03_06_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/29/4cf7c143353be6f8ee9bfa771161e57f.jpg","text":"TemporaryFile(/tmp/multipartBody6286081759193677467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116573471,"filename":"image_29012025_03_06_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332506282","file1":"1332506269","file0":"1332506264","file4":"1332506286","file5":"1332506289","file3":"1332506284"},"map_files_photo_id_array":[{"photo_id":"1332506289","filename":"file5"},{"photo_id":"1332506282","filename":"file2"},{"photo_id":"1332506286","filename":"file4"},{"photo_id":"1332506269","filename":"file1"},{"photo_id":"1332506264","filename":"file0"},{"photo_id":"1332506284","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332506284":["hashtag1","hashtag2"]},{"1332506269":["hashtag1","hashtag2"]},{"1332506289":["hashtag1","hashtag2"]},{"1332506286":["hashtag1","hashtag2"]},{"1332506282":["hashtag1","hashtag2"]},{"1332506264":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332506284, 1332506269, 1332506289, 1332506286, 1332506282, 1332506264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5667290687561 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:09:34.120499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/06/image_29012025_03_07_05_9401.jpg', '/home/pi/Desktop/images/29012025/03/07/image_29012025_03_07_26_10403.jpg', '/home/pi/Desktop/images/29012025/03/07/image_29012025_03_07_36_9414.jpg', '/home/pi/Desktop/images/29012025/03/07/image_29012025_03_07_46_10360.jpg', '/home/pi/Desktop/images/29012025/03/07/image_29012025_03_07_55_9392.jpg', '/home/pi/Desktop/images/29012025/03/07/image_29012025_03_08_06_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/06/image_29012025_03_07_05_9401.jpg
/home/pi/Desktop/images/29012025/03/07/image_29012025_03_07_26_10403.jpg
/home/pi/Desktop/images/29012025/03/07/image_29012025_03_07_36_9414.jpg
/home/pi/Desktop/images/29012025/03/07/image_29012025_03_07_46_10360.jpg
/home/pi/Desktop/images/29012025/03/07/image_29012025_03_07_55_9392.jpg
/home/pi/Desktop/images/29012025/03/07/image_29012025_03_08_06_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":["1332507040","1332506893","1332506977","1332507120","1332506732","1332506807"],"photo_ids_order":["1332506732","1332506807","1332506893","1332506977","1332507040","1332507120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/44b8983c630cc39e9b020a52cb9b1ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4907593706605143741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116635062,"filename":"image_29012025_03_07_55_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/29/55095f65b2d0a65aeb9e4e4b3af12542.jpg","text":"TemporaryFile(/tmp/multipartBody6988293476862922543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116635062,"filename":"image_29012025_03_07_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/29/03492fc0af93d5dea187408354f3ec4a.jpg","text":"TemporaryFile(/tmp/multipartBody7036554078478743684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116635062,"filename":"image_29012025_03_07_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/29/8af94cd308ff13e81ef2d9b99027eb13.jpg","text":"TemporaryFile(/tmp/multipartBody4527995924663690165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116635062,"filename":"image_29012025_03_08_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/29/3ae9227f05c461f444199ad2ad312510.jpg","text":"TemporaryFile(/tmp/multipartBody8431457231289680658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116635062,"filename":"image_29012025_03_07_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/29/0b5ff99c9b757a798d482afddc74c804.jpg","text":"TemporaryFile(/tmp/multipartBody7236190403003833590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116635062,"filename":"image_29012025_03_07_26_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332506893","file1":"1332506807","file0":"1332506732","file4":"1332507040","file5":"1332507120","file3":"1332506977"},"map_files_photo_id_array":[{"photo_id":"1332507120","filename":"file5"},{"photo_id":"1332506893","filename":"file2"},{"photo_id":"1332507040","filename":"file4"},{"photo_id":"1332506807","filename":"file1"},{"photo_id":"1332506732","filename":"file0"},{"photo_id":"1332506977","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332507040":["hashtag1","hashtag2"]},{"1332506893":["hashtag1","hashtag2"]},{"1332506977":["hashtag1","hashtag2"]},{"1332507120":["hashtag1","hashtag2"]},{"1332506732":["hashtag1","hashtag2"]},{"1332506807":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332507040, 1332506893, 1332506977, 1332507120, 1332506732, 1332506807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.3165602684021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:10:32.821478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/08/image_29012025_03_08_25_9447.jpg', '/home/pi/Desktop/images/29012025/03/08/image_29012025_03_08_36_10341.jpg', '/home/pi/Desktop/images/29012025/03/08/image_29012025_03_08_56_9433.jpg', '/home/pi/Desktop/images/29012025/03/08/image_29012025_03_09_06_10347.jpg', '/home/pi/Desktop/images/29012025/03/09/image_29012025_03_09_15_9441.jpg', '/home/pi/Desktop/images/29012025/03/09/image_29012025_03_09_26_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/08/image_29012025_03_08_25_9447.jpg
/home/pi/Desktop/images/29012025/03/08/image_29012025_03_08_36_10341.jpg
/home/pi/Desktop/images/29012025/03/08/image_29012025_03_08_56_9433.jpg
/home/pi/Desktop/images/29012025/03/08/image_29012025_03_09_06_10347.jpg
/home/pi/Desktop/images/29012025/03/09/image_29012025_03_09_15_9441.jpg
/home/pi/Desktop/images/29012025/03/09/image_29012025_03_09_26_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":["1332507183","1332507186","1332507179","1332507170","1332507173","1332507176"],"photo_ids_order":["1332507170","1332507173","1332507176","1332507179","1332507183","1332507186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/91bce460a011ddde961b4405a12cc082.jpg","text":"TemporaryFile(/tmp/multipartBody3045159912652959476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116693736,"filename":"image_29012025_03_09_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/29/b6096b394d221da167717361e5349d09.jpg","text":"TemporaryFile(/tmp/multipartBody3138430692789735739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116693736,"filename":"image_29012025_03_09_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/29/c5b381c3bcc17959313013e209077be4.jpg","text":"TemporaryFile(/tmp/multipartBody2453362954432043551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116693736,"filename":"image_29012025_03_09_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/29/5d336d6bd44c9bee08f98e5372952a67.jpg","text":"TemporaryFile(/tmp/multipartBody7908057196063439151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116693736,"filename":"image_29012025_03_08_25_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/29/f4cc42b215eb930f1de68b912efb2c97.jpg","text":"TemporaryFile(/tmp/multipartBody710481284561315520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116693736,"filename":"image_29012025_03_08_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/29/f297236200d00e55cdb6c6c2fce0936d.jpg","text":"TemporaryFile(/tmp/multipartBody699157852811099454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116693736,"filename":"image_29012025_03_08_56_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332507176","file1":"1332507173","file0":"1332507170","file4":"1332507183","file5":"1332507186","file3":"1332507179"},"map_files_photo_id_array":[{"photo_id":"1332507186","filename":"file5"},{"photo_id":"1332507176","filename":"file2"},{"photo_id":"1332507183","filename":"file4"},{"photo_id":"1332507173","filename":"file1"},{"photo_id":"1332507170","filename":"file0"},{"photo_id":"1332507179","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332507183":["hashtag1","hashtag2"]},{"1332507186":["hashtag1","hashtag2"]},{"1332507179":["hashtag1","hashtag2"]},{"1332507170":["hashtag1","hashtag2"]},{"1332507173":["hashtag1","hashtag2"]},{"1332507176":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332507183, 1332507186, 1332507179, 1332507170, 1332507173, 1332507176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.824214696884155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:11:32.940814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/09/image_29012025_03_09_36_10459.jpg', '/home/pi/Desktop/images/29012025/03/09/image_29012025_03_09_46_9363.jpg', '/home/pi/Desktop/images/29012025/03/09/image_29012025_03_09_56_10372.jpg', '/home/pi/Desktop/images/29012025/03/09/image_29012025_03_10_05_9345.jpg', '/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_16_10384.jpg', '/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_26_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/09/image_29012025_03_09_36_10459.jpg
/home/pi/Desktop/images/29012025/03/09/image_29012025_03_09_46_9363.jpg
/home/pi/Desktop/images/29012025/03/09/image_29012025_03_09_56_10372.jpg
/home/pi/Desktop/images/29012025/03/09/image_29012025_03_10_05_9345.jpg
/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_16_10384.jpg
/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_26_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":["1332507232","1332507474","1332507477","1332507398","1332507302","1332507239"],"photo_ids_order":["1332507232","1332507239","1332507302","1332507398","1332507474","1332507477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9dea6b13659ceedb9d4a3fd637e74e2a.jpg","text":"TemporaryFile(/tmp/multipartBody2795523215666801147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116753854,"filename":"image_29012025_03_09_36_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/29/a26921ee89ca5eb5e62dbde89a32be4b.jpg","text":"TemporaryFile(/tmp/multipartBody7173240915166684749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116753854,"filename":"image_29012025_03_10_16_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/29/9e152ffeda7f4f50599403d688c4c761.jpg","text":"TemporaryFile(/tmp/multipartBody2574528335940704268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116753854,"filename":"image_29012025_03_10_26_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/29/9d05757c0e5b12e1bc6fecbca4c7a6ff.jpg","text":"TemporaryFile(/tmp/multipartBody6739615802568780427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116753854,"filename":"image_29012025_03_10_05_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/29/95d61062fff0af0cd25ed2114c5c156f.jpg","text":"TemporaryFile(/tmp/multipartBody6298691269390580344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116753854,"filename":"image_29012025_03_09_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/29/9a31ad39c01c7b450387de116d111c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4245023795093171027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116753854,"filename":"image_29012025_03_09_46_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332507302","file1":"1332507239","file0":"1332507232","file4":"1332507474","file5":"1332507477","file3":"1332507398"},"map_files_photo_id_array":[{"photo_id":"1332507477","filename":"file5"},{"photo_id":"1332507302","filename":"file2"},{"photo_id":"1332507474","filename":"file4"},{"photo_id":"1332507239","filename":"file1"},{"photo_id":"1332507232","filename":"file0"},{"photo_id":"1332507398","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332507232":["hashtag1","hashtag2"]},{"1332507474":["hashtag1","hashtag2"]},{"1332507477":["hashtag1","hashtag2"]},{"1332507398":["hashtag1","hashtag2"]},{"1332507302":["hashtag1","hashtag2"]},{"1332507239":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332507232, 1332507474, 1332507477, 1332507398, 1332507302, 1332507239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08093857765198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:12:33.155650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_36_9462.jpg', '/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_46_10374.jpg', '/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_56_9525.jpg', '/home/pi/Desktop/images/29012025/03/10/image_29012025_03_11_06_10355.jpg', '/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_16_10356.jpg', '/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_26_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_36_9462.jpg
/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_46_10374.jpg
/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_56_9525.jpg
/home/pi/Desktop/images/29012025/03/10/image_29012025_03_11_06_10355.jpg
/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_16_10356.jpg
/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_26_9449.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.5197582244873047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 03:12:43.121934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_36_9462.jpg', '/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_46_10374.jpg', '/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_56_9525.jpg', '/home/pi/Desktop/images/29012025/03/10/image_29012025_03_11_06_10355.jpg', '/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_16_10356.jpg', '/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_26_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_36_9462.jpg
/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_46_10374.jpg
/home/pi/Desktop/images/29012025/03/10/image_29012025_03_10_56_9525.jpg
/home/pi/Desktop/images/29012025/03/10/image_29012025_03_11_06_10355.jpg
/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_16_10356.jpg
/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_26_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332507861","1332507762","1332507822","1332507773","1332507767","1332507859"],"photo_ids_order":["1332507762","1332507767","1332507773","1332507822","1332507859","1332507861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f95ee5acf7f83db1da1aa60619b2146c.jpg","text":"TemporaryFile(/tmp/multipartBody1004059748606438114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116824029,"filename":"image_29012025_03_11_26_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/29/540c76eb6f4bd943bfb997e48a6b8272.jpg","text":"TemporaryFile(/tmp/multipartBody894186251366286982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116824029,"filename":"image_29012025_03_10_36_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/29/d098236665e97008a979873063c12b1a.jpg","text":"TemporaryFile(/tmp/multipartBody5383686177259085430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116824029,"filename":"image_29012025_03_11_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/29/199dbe9c11054609a08c81be82b19b85.jpg","text":"TemporaryFile(/tmp/multipartBody161047227537793411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116824029,"filename":"image_29012025_03_10_56_9525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b009c715859b867744169ddfbdf7a68e.jpg","text":"TemporaryFile(/tmp/multipartBody192582708449036089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116824029,"filename":"image_29012025_03_10_46_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/29/7f89b5e9768bc3e333fe6b2d69d93a70.jpg","text":"TemporaryFile(/tmp/multipartBody160882193967336141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116824029,"filename":"image_29012025_03_11_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332507773","file1":"1332507767","file0":"1332507762","file4":"1332507859","file5":"1332507861","file3":"1332507822"},"map_files_photo_id_array":[{"photo_id":"1332507861","filename":"file5"},{"photo_id":"1332507773","filename":"file2"},{"photo_id":"1332507859","filename":"file4"},{"photo_id":"1332507767","filename":"file1"},{"photo_id":"1332507762","filename":"file0"},{"photo_id":"1332507822","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332507861":["hashtag1","hashtag2"]},{"1332507762":["hashtag1","hashtag2"]},{"1332507822":["hashtag1","hashtag2"]},{"1332507773":["hashtag1","hashtag2"]},{"1332507767":["hashtag1","hashtag2"]},{"1332507859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332507861, 1332507762, 1332507822, 1332507773, 1332507767, 1332507859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.094746112823486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:13:32.293729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_36_10421.jpg', '/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_46_9384.jpg', '/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_56_10439.jpg', '/home/pi/Desktop/images/29012025/03/11/image_29012025_03_12_06_10347.jpg', '/home/pi/Desktop/images/29012025/03/12/image_29012025_03_12_16_9340.jpg', '/home/pi/Desktop/images/29012025/03/12/image_29012025_03_12_26_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_36_10421.jpg
/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_46_9384.jpg
/home/pi/Desktop/images/29012025/03/11/image_29012025_03_11_56_10439.jpg
/home/pi/Desktop/images/29012025/03/11/image_29012025_03_12_06_10347.jpg
/home/pi/Desktop/images/29012025/03/12/image_29012025_03_12_16_9340.jpg
/home/pi/Desktop/images/29012025/03/12/image_29012025_03_12_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":["1332508041","1332508032","1332508026","1332508002","1332508004","1332507892"],"photo_ids_order":["1332507892","1332508002","1332508004","1332508026","1332508032","1332508041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0df60045f1c1505ed56336467f0ba946.jpg","text":"TemporaryFile(/tmp/multipartBody4161872765971086007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116873216,"filename":"image_29012025_03_12_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/29/405800a622acc46a1574a1e0cf06e7d3.jpg","text":"TemporaryFile(/tmp/multipartBody2021452842335634743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116873216,"filename":"image_29012025_03_12_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/29/675124465f4268f5326169c910fad930.jpg","text":"TemporaryFile(/tmp/multipartBody2830603978432433268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116873216,"filename":"image_29012025_03_12_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/29/165238e0454786ea8d82913cc3b10f08.jpg","text":"TemporaryFile(/tmp/multipartBody5990982624346559817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116873216,"filename":"image_29012025_03_11_46_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/29/00f314d65918d5ca3d893d7b5897b319.jpg","text":"TemporaryFile(/tmp/multipartBody8237368571312130789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116873216,"filename":"image_29012025_03_11_56_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/29/e1e56b642909b09075c6cda1867f4fbe.jpg","text":"TemporaryFile(/tmp/multipartBody6843941897228600446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116873216,"filename":"image_29012025_03_11_36_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332508004","file1":"1332508002","file0":"1332507892","file4":"1332508032","file5":"1332508041","file3":"1332508026"},"map_files_photo_id_array":[{"photo_id":"1332508041","filename":"file5"},{"photo_id":"1332508004","filename":"file2"},{"photo_id":"1332508032","filename":"file4"},{"photo_id":"1332508002","filename":"file1"},{"photo_id":"1332507892","filename":"file0"},{"photo_id":"1332508026","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332508041":["hashtag1","hashtag2"]},{"1332508032":["hashtag1","hashtag2"]},{"1332508026":["hashtag1","hashtag2"]},{"1332508002":["hashtag1","hashtag2"]},{"1332508004":["hashtag1","hashtag2"]},{"1332507892":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332508041, 1332508032, 1332508026, 1332508002, 1332508004, 1332507892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.14684200286865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:14:32.763333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/12/image_29012025_03_12_35_9436.jpg', '/home/pi/Desktop/images/29012025/03/12/image_29012025_03_12_46_10366.jpg', '/home/pi/Desktop/images/29012025/03/12/image_29012025_03_12_56_10503.jpg', '/home/pi/Desktop/images/29012025/03/12/image_29012025_03_13_06_9386.jpg', '/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_16_10329.jpg', '/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_25_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/12/image_29012025_03_12_35_9436.jpg
/home/pi/Desktop/images/29012025/03/12/image_29012025_03_12_46_10366.jpg
/home/pi/Desktop/images/29012025/03/12/image_29012025_03_12_56_10503.jpg
/home/pi/Desktop/images/29012025/03/12/image_29012025_03_13_06_9386.jpg
/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_16_10329.jpg
/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_25_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":["1332508239","1332508256","1332508124","1332508252","1332508246","1332508234"],"photo_ids_order":["1332508124","1332508234","1332508239","1332508246","1332508252","1332508256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/de53ea11315303fdc248798e5e900241.jpg","text":"TemporaryFile(/tmp/multipartBody3940363836862438614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116933685,"filename":"image_29012025_03_12_56_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/29/e0e511a6ab324a28d1b35ee63fd08a09.jpg","text":"TemporaryFile(/tmp/multipartBody1649809640475128571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116933685,"filename":"image_29012025_03_13_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/29/2a5850e9597620f3e68b6a7ea887920c.jpg","text":"TemporaryFile(/tmp/multipartBody1543325692730490771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116933685,"filename":"image_29012025_03_12_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/29/9111230ee029ba67055ce916d7b9f510.jpg","text":"TemporaryFile(/tmp/multipartBody1018227933808121970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116933685,"filename":"image_29012025_03_13_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/29/91a26ad637ac435fd8a3d9a9e901b5df.jpg","text":"TemporaryFile(/tmp/multipartBody2005473070122134959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116933685,"filename":"image_29012025_03_13_06_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/29/2c13cfdd05a5f95e3341048a4e6c56a6.jpg","text":"TemporaryFile(/tmp/multipartBody148540756121386773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738116933685,"filename":"image_29012025_03_12_46_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332508239","file1":"1332508234","file0":"1332508124","file4":"1332508252","file5":"1332508256","file3":"1332508246"},"map_files_photo_id_array":[{"photo_id":"1332508256","filename":"file5"},{"photo_id":"1332508239","filename":"file2"},{"photo_id":"1332508252","filename":"file4"},{"photo_id":"1332508234","filename":"file1"},{"photo_id":"1332508124","filename":"file0"},{"photo_id":"1332508246","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332508239":["hashtag1","hashtag2"]},{"1332508256":["hashtag1","hashtag2"]},{"1332508124":["hashtag1","hashtag2"]},{"1332508252":["hashtag1","hashtag2"]},{"1332508246":["hashtag1","hashtag2"]},{"1332508234":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332508239, 1332508256, 1332508124, 1332508252, 1332508246, 1332508234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59773373603821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:15:33.012911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_36_10412.jpg', '/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_46_10424.jpg', '/home/pi/Desktop/images/29012025/03/13/image_29012025_03_14_06_10419.jpg', '/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_15_9386.jpg', '/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_26_10358.jpg', '/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_56_10478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_36_10412.jpg
/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_46_10424.jpg
/home/pi/Desktop/images/29012025/03/13/image_29012025_03_14_06_10419.jpg
/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_15_9386.jpg
/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_26_10358.jpg
/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_56_10478.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.5218353271484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 03:15:42.882059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_36_10412.jpg', '/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_46_10424.jpg', '/home/pi/Desktop/images/29012025/03/13/image_29012025_03_14_06_10419.jpg', '/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_15_9386.jpg', '/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_26_10358.jpg', '/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_56_10478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_36_10412.jpg
/home/pi/Desktop/images/29012025/03/13/image_29012025_03_13_46_10424.jpg
/home/pi/Desktop/images/29012025/03/13/image_29012025_03_14_06_10419.jpg
/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_15_9386.jpg
/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_26_10358.jpg
/home/pi/Desktop/images/29012025/03/14/image_29012025_03_14_56_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332508300","1332508302","1332508292","1332508285","1332508288","1332508296"],"photo_ids_order":["1332508285","1332508288","1332508292","1332508296","1332508300","1332508302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e982bd751fc0094572c69ed6a94ef239.jpg","text":"TemporaryFile(/tmp/multipartBody2109263111298972091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117003826,"filename":"image_29012025_03_14_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/29/811f216da6f740fea9492f1295154e31.jpg","text":"TemporaryFile(/tmp/multipartBody5725615810456479892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117003826,"filename":"image_29012025_03_14_56_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/29/de7e006f48ccf6dba1c01464f41e1740.jpg","text":"TemporaryFile(/tmp/multipartBody2530698683068230801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117003826,"filename":"image_29012025_03_14_06_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/29/7bbf6b131bc17d697a10625e6eb4f3fe.jpg","text":"TemporaryFile(/tmp/multipartBody6637270822636415740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117003826,"filename":"image_29012025_03_13_36_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/29/17b3175fbbdce0ef0fb20b5b41ee5563.jpg","text":"TemporaryFile(/tmp/multipartBody2949827636258171018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117003826,"filename":"image_29012025_03_13_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/29/f48c149f9e670916083f140dee966b8b.jpg","text":"TemporaryFile(/tmp/multipartBody3122998745344380433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117003826,"filename":"image_29012025_03_14_15_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332508292","file1":"1332508288","file0":"1332508285","file4":"1332508300","file5":"1332508302","file3":"1332508296"},"map_files_photo_id_array":[{"photo_id":"1332508302","filename":"file5"},{"photo_id":"1332508292","filename":"file2"},{"photo_id":"1332508300","filename":"file4"},{"photo_id":"1332508288","filename":"file1"},{"photo_id":"1332508285","filename":"file0"},{"photo_id":"1332508296","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332508300":["hashtag1","hashtag2"]},{"1332508302":["hashtag1","hashtag2"]},{"1332508292":["hashtag1","hashtag2"]},{"1332508285":["hashtag1","hashtag2"]},{"1332508288":["hashtag1","hashtag2"]},{"1332508296":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332508300, 1332508302, 1332508292, 1332508285, 1332508288, 1332508296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99490761756897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:16:32.290187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/14/image_29012025_03_15_05_9341.jpg', '/home/pi/Desktop/images/29012025/03/15/image_29012025_03_15_16_10342.jpg', '/home/pi/Desktop/images/29012025/03/15/image_29012025_03_15_26_10479.jpg', '/home/pi/Desktop/images/29012025/03/15/image_29012025_03_15_36_9334.jpg', '/home/pi/Desktop/images/29012025/03/15/image_29012025_03_15_46_10362.jpg', '/home/pi/Desktop/images/29012025/03/15/image_29012025_03_15_55_9394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/14/image_29012025_03_15_05_9341.jpg
/home/pi/Desktop/images/29012025/03/15/image_29012025_03_15_16_10342.jpg
/home/pi/Desktop/images/29012025/03/15/image_29012025_03_15_26_10479.jpg
/home/pi/Desktop/images/29012025/03/15/image_29012025_03_15_36_9334.jpg
/home/pi/Desktop/images/29012025/03/15/image_29012025_03_15_46_10362.jpg
/home/pi/Desktop/images/29012025/03/15/image_29012025_03_15_55_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":["1332508315","1332508341","1332508320","1332508328","1332508348","1332508324"],"photo_ids_order":["1332508315","1332508320","1332508324","1332508328","1332508341","1332508348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/411ff424b0e811ef2fdba2ad199837b5.jpg","text":"TemporaryFile(/tmp/multipartBody3050286888647435895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117053231,"filename":"image_29012025_03_15_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/29/088702eddb120abbd9751648005a1a38.jpg","text":"TemporaryFile(/tmp/multipartBody4073430155584782249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117053231,"filename":"image_29012025_03_15_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/29/a277b28aa2f31abe9acddb31134e6c56.jpg","text":"TemporaryFile(/tmp/multipartBody8520809986195445044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117053231,"filename":"image_29012025_03_15_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/29/5389e84092dab7613c44cd4faae94ad7.jpg","text":"TemporaryFile(/tmp/multipartBody4587872908906158252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117053231,"filename":"image_29012025_03_15_36_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/29/c20d430bad8392bf7ea0483cc6a94981.jpg","text":"TemporaryFile(/tmp/multipartBody4989494006838157282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117053231,"filename":"image_29012025_03_15_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/29/15ae09c1089a4bf6eb06f075c8179320.jpg","text":"TemporaryFile(/tmp/multipartBody6614481776620695404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117053231,"filename":"image_29012025_03_15_26_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332508324","file1":"1332508320","file0":"1332508315","file4":"1332508341","file5":"1332508348","file3":"1332508328"},"map_files_photo_id_array":[{"photo_id":"1332508348","filename":"file5"},{"photo_id":"1332508324","filename":"file2"},{"photo_id":"1332508341","filename":"file4"},{"photo_id":"1332508320","filename":"file1"},{"photo_id":"1332508315","filename":"file0"},{"photo_id":"1332508328","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332508315":["hashtag1","hashtag2"]},{"1332508341":["hashtag1","hashtag2"]},{"1332508320":["hashtag1","hashtag2"]},{"1332508328":["hashtag1","hashtag2"]},{"1332508348":["hashtag1","hashtag2"]},{"1332508324":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332508315, 1332508341, 1332508320, 1332508328, 1332508348, 1332508324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29572081565857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:17:32.524874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/15/image_29012025_03_16_06_10365.jpg', '/home/pi/Desktop/images/29012025/03/16/image_29012025_03_16_16_10396.jpg', '/home/pi/Desktop/images/29012025/03/16/image_29012025_03_16_25_9349.jpg', '/home/pi/Desktop/images/29012025/03/16/image_29012025_03_16_36_10351.jpg', '/home/pi/Desktop/images/29012025/03/16/image_29012025_03_16_46_10385.jpg', '/home/pi/Desktop/images/29012025/03/16/image_29012025_03_16_56_9460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/15/image_29012025_03_16_06_10365.jpg
/home/pi/Desktop/images/29012025/03/16/image_29012025_03_16_16_10396.jpg
/home/pi/Desktop/images/29012025/03/16/image_29012025_03_16_25_9349.jpg
/home/pi/Desktop/images/29012025/03/16/image_29012025_03_16_36_10351.jpg
/home/pi/Desktop/images/29012025/03/16/image_29012025_03_16_46_10385.jpg
/home/pi/Desktop/images/29012025/03/16/image_29012025_03_16_56_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":["1332508408","1332508398","1332508401","1332508410","1332508405","1332508395"],"photo_ids_order":["1332508395","1332508398","1332508401","1332508405","1332508408","1332508410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0b8997614c63ef3c6ca7df2fb0c0aabe.jpg","text":"TemporaryFile(/tmp/multipartBody5138292753060666638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117113434,"filename":"image_29012025_03_16_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/29/1634c3f5ec5665dbd798b1af95b73a03.jpg","text":"TemporaryFile(/tmp/multipartBody5232125238135837761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117113434,"filename":"image_29012025_03_16_16_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/29/2b77ca8ee6a51ad25e5ff6b936f4b9d6.jpg","text":"TemporaryFile(/tmp/multipartBody5636045853175633673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117113434,"filename":"image_29012025_03_16_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/29/579cabd736764eb0beae2d7eb9245597.jpg","text":"TemporaryFile(/tmp/multipartBody8479031389109604378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117113434,"filename":"image_29012025_03_16_56_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/29/407426af0cbdab7446ffc7c9ecd123a7.jpg","text":"TemporaryFile(/tmp/multipartBody1673577900626021599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117113434,"filename":"image_29012025_03_16_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/29/083eebcbdc061086022a3ebe6a91c91a.jpg","text":"TemporaryFile(/tmp/multipartBody3173493682809089706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117113434,"filename":"image_29012025_03_16_06_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332508401","file1":"1332508398","file0":"1332508395","file4":"1332508408","file5":"1332508410","file3":"1332508405"},"map_files_photo_id_array":[{"photo_id":"1332508410","filename":"file5"},{"photo_id":"1332508401","filename":"file2"},{"photo_id":"1332508408","filename":"file4"},{"photo_id":"1332508398","filename":"file1"},{"photo_id":"1332508395","filename":"file0"},{"photo_id":"1332508405","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332508408":["hashtag1","hashtag2"]},{"1332508398":["hashtag1","hashtag2"]},{"1332508401":["hashtag1","hashtag2"]},{"1332508410":["hashtag1","hashtag2"]},{"1332508405":["hashtag1","hashtag2"]},{"1332508395":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332508408, 1332508398, 1332508401, 1332508410, 1332508405, 1332508395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1709520816803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:18:32.832639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/16/image_29012025_03_17_06_10486.jpg', '/home/pi/Desktop/images/29012025/03/17/image_29012025_03_17_15_9325.jpg', '/home/pi/Desktop/images/29012025/03/17/image_29012025_03_17_26_10378.jpg', '/home/pi/Desktop/images/29012025/03/17/image_29012025_03_17_36_10353.jpg', '/home/pi/Desktop/images/29012025/03/17/image_29012025_03_17_46_9339.jpg', '/home/pi/Desktop/images/29012025/03/17/image_29012025_03_17_56_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/16/image_29012025_03_17_06_10486.jpg
/home/pi/Desktop/images/29012025/03/17/image_29012025_03_17_15_9325.jpg
/home/pi/Desktop/images/29012025/03/17/image_29012025_03_17_26_10378.jpg
/home/pi/Desktop/images/29012025/03/17/image_29012025_03_17_36_10353.jpg
/home/pi/Desktop/images/29012025/03/17/image_29012025_03_17_46_9339.jpg
/home/pi/Desktop/images/29012025/03/17/image_29012025_03_17_56_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":["1332508434","1332508437","1332508425","1332508419","1332508421","1332508429"],"photo_ids_order":["1332508419","1332508421","1332508425","1332508429","1332508434","1332508437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cdd2459c1c9b49ecd60828509b811fcb.jpg","text":"TemporaryFile(/tmp/multipartBody8962409420079463299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117173768,"filename":"image_29012025_03_17_46_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/29/16bdb11673688b0f1c8b5d6a87b2ab74.jpg","text":"TemporaryFile(/tmp/multipartBody4440678442485657497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117173768,"filename":"image_29012025_03_17_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/29/3ede5b435c40dea650dfc77455fcbd81.jpg","text":"TemporaryFile(/tmp/multipartBody1679297113450375529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117173768,"filename":"image_29012025_03_17_26_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/29/e6282f25160f2552508a66657de96c2e.jpg","text":"TemporaryFile(/tmp/multipartBody2316390738038579086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117173768,"filename":"image_29012025_03_17_06_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c0f8bfdae415d22a8f4e7ff3b9345f58.jpg","text":"TemporaryFile(/tmp/multipartBody6239486239037071904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117173768,"filename":"image_29012025_03_17_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/29/fa28f83e92f06bce245c27232486f6a6.jpg","text":"TemporaryFile(/tmp/multipartBody6168409934944771269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117173768,"filename":"image_29012025_03_17_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332508425","file1":"1332508421","file0":"1332508419","file4":"1332508434","file5":"1332508437","file3":"1332508429"},"map_files_photo_id_array":[{"photo_id":"1332508437","filename":"file5"},{"photo_id":"1332508425","filename":"file2"},{"photo_id":"1332508434","filename":"file4"},{"photo_id":"1332508421","filename":"file1"},{"photo_id":"1332508419","filename":"file0"},{"photo_id":"1332508429","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332508434":["hashtag1","hashtag2"]},{"1332508437":["hashtag1","hashtag2"]},{"1332508425":["hashtag1","hashtag2"]},{"1332508419":["hashtag1","hashtag2"]},{"1332508421":["hashtag1","hashtag2"]},{"1332508429":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332508434, 1332508437, 1332508425, 1332508419, 1332508421, 1332508429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34297776222229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:19:33.133955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/17/image_29012025_03_18_05_9383.jpg', '/home/pi/Desktop/images/29012025/03/18/image_29012025_03_18_16_10344.jpg', '/home/pi/Desktop/images/29012025/03/18/image_29012025_03_18_26_10471.jpg', '/home/pi/Desktop/images/29012025/03/18/image_29012025_03_18_36_9363.jpg', '/home/pi/Desktop/images/29012025/03/18/image_29012025_03_18_46_10356.jpg', '/home/pi/Desktop/images/29012025/03/18/image_29012025_03_18_56_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/17/image_29012025_03_18_05_9383.jpg
/home/pi/Desktop/images/29012025/03/18/image_29012025_03_18_16_10344.jpg
/home/pi/Desktop/images/29012025/03/18/image_29012025_03_18_26_10471.jpg
/home/pi/Desktop/images/29012025/03/18/image_29012025_03_18_36_9363.jpg
/home/pi/Desktop/images/29012025/03/18/image_29012025_03_18_46_10356.jpg
/home/pi/Desktop/images/29012025/03/18/image_29012025_03_18_56_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":["1332509103","1332509486","1332508895","1332509292","1332508687","1332508489"],"photo_ids_order":["1332508489","1332508687","1332508895","1332509103","1332509292","1332509486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cfe4a6d9d2924d7ba1200e04957ac83b.jpg","text":"TemporaryFile(/tmp/multipartBody8220823169379200958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117234055,"filename":"image_29012025_03_18_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/29/655faafa2ebc8e1ae767abf5f2176365.jpg","text":"TemporaryFile(/tmp/multipartBody875094683826229384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117234055,"filename":"image_29012025_03_18_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/29/48b3c953d3bd4d43f16566745fa0949d.jpg","text":"TemporaryFile(/tmp/multipartBody7214223996133388885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117234055,"filename":"image_29012025_03_18_26_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/29/feb671b2fc6581aeceb68fccf8d7e149.jpg","text":"TemporaryFile(/tmp/multipartBody7539800812154930760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117234055,"filename":"image_29012025_03_18_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/29/83e924fc6248fd09bd8a75d184f87024.jpg","text":"TemporaryFile(/tmp/multipartBody1120564704586182696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117234055,"filename":"image_29012025_03_18_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/29/68356ef7341d5f27fa08baeb3602a420.jpg","text":"TemporaryFile(/tmp/multipartBody2291581791838916827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117234055,"filename":"image_29012025_03_18_05_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332508895","file1":"1332508687","file0":"1332508489","file4":"1332509292","file5":"1332509486","file3":"1332509103"},"map_files_photo_id_array":[{"photo_id":"1332509486","filename":"file5"},{"photo_id":"1332508895","filename":"file2"},{"photo_id":"1332509292","filename":"file4"},{"photo_id":"1332508687","filename":"file1"},{"photo_id":"1332508489","filename":"file0"},{"photo_id":"1332509103","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332509103":["hashtag1","hashtag2"]},{"1332509486":["hashtag1","hashtag2"]},{"1332508895":["hashtag1","hashtag2"]},{"1332509292":["hashtag1","hashtag2"]},{"1332508687":["hashtag1","hashtag2"]},{"1332508489":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332509103, 1332509486, 1332508895, 1332509292, 1332508687, 1332508489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.97907280921936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:20:32.271902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/18/image_29012025_03_19_06_9342.jpg', '/home/pi/Desktop/images/29012025/03/19/image_29012025_03_19_16_10357.jpg', '/home/pi/Desktop/images/29012025/03/19/image_29012025_03_19_26_10347.jpg', '/home/pi/Desktop/images/29012025/03/19/image_29012025_03_19_36_9354.jpg', '/home/pi/Desktop/images/29012025/03/19/image_29012025_03_19_46_10366.jpg', '/home/pi/Desktop/images/29012025/03/19/image_29012025_03_19_55_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/18/image_29012025_03_19_06_9342.jpg
/home/pi/Desktop/images/29012025/03/19/image_29012025_03_19_16_10357.jpg
/home/pi/Desktop/images/29012025/03/19/image_29012025_03_19_26_10347.jpg
/home/pi/Desktop/images/29012025/03/19/image_29012025_03_19_36_9354.jpg
/home/pi/Desktop/images/29012025/03/19/image_29012025_03_19_46_10366.jpg
/home/pi/Desktop/images/29012025/03/19/image_29012025_03_19_55_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332509526","1332509714","1332509755","1332509941","1332509704","1332509707"],"photo_ids_order":["1332509526","1332509704","1332509707","1332509714","1332509755","1332509941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/030ee551e55311df65365dc2f580238d.jpg","text":"TemporaryFile(/tmp/multipartBody7228371098512813494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117293307,"filename":"image_29012025_03_19_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/29/073b33d0104429f46660785ad98d2b2e.jpg","text":"TemporaryFile(/tmp/multipartBody68878913230340658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117293307,"filename":"image_29012025_03_19_36_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/29/b6d12add851788ebfed14b34128a60dc.jpg","text":"TemporaryFile(/tmp/multipartBody3999154210404765752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117293307,"filename":"image_29012025_03_19_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/29/7aaac4d5c144368a6ff5fe957928b3a0.jpg","text":"TemporaryFile(/tmp/multipartBody4151654852764355611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117293307,"filename":"image_29012025_03_19_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/29/773f90584d367a34d500717c03c99aec.jpg","text":"TemporaryFile(/tmp/multipartBody2896091934254554343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117293307,"filename":"image_29012025_03_19_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/29/73024be2adb1b544107813b2b4071b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2187125797460854557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117293307,"filename":"image_29012025_03_19_26_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332509707","file1":"1332509704","file0":"1332509526","file4":"1332509755","file5":"1332509941","file3":"1332509714"},"map_files_photo_id_array":[{"photo_id":"1332509941","filename":"file5"},{"photo_id":"1332509707","filename":"file2"},{"photo_id":"1332509755","filename":"file4"},{"photo_id":"1332509704","filename":"file1"},{"photo_id":"1332509526","filename":"file0"},{"photo_id":"1332509714","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332509526":["hashtag1","hashtag2"]},{"1332509714":["hashtag1","hashtag2"]},{"1332509755":["hashtag1","hashtag2"]},{"1332509941":["hashtag1","hashtag2"]},{"1332509704":["hashtag1","hashtag2"]},{"1332509707":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332509526, 1332509714, 1332509755, 1332509941, 1332509704, 1332509707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12423062324524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:21:32.673256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/19/image_29012025_03_20_06_10435.jpg', '/home/pi/Desktop/images/29012025/03/20/image_29012025_03_20_26_10370.jpg', '/home/pi/Desktop/images/29012025/03/20/image_29012025_03_20_36_10357.jpg', '/home/pi/Desktop/images/29012025/03/20/image_29012025_03_20_45_9403.jpg', '/home/pi/Desktop/images/29012025/03/20/image_29012025_03_20_56_10376.jpg', '/home/pi/Desktop/images/29012025/03/20/image_29012025_03_21_06_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/19/image_29012025_03_20_06_10435.jpg
/home/pi/Desktop/images/29012025/03/20/image_29012025_03_20_26_10370.jpg
/home/pi/Desktop/images/29012025/03/20/image_29012025_03_20_36_10357.jpg
/home/pi/Desktop/images/29012025/03/20/image_29012025_03_20_45_9403.jpg
/home/pi/Desktop/images/29012025/03/20/image_29012025_03_20_56_10376.jpg
/home/pi/Desktop/images/29012025/03/20/image_29012025_03_21_06_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":["1332510138","1332510141","1332510129","1332510149","1332510152","1332510146"],"photo_ids_order":["1332510129","1332510138","1332510141","1332510146","1332510149","1332510152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5cd53105e637214e9df3fdf132d57dec.jpg","text":"TemporaryFile(/tmp/multipartBody4521122795014054469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117353606,"filename":"image_29012025_03_20_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/29/a8a798e54a4b48ba48ef2b9bcc16b695.jpg","text":"TemporaryFile(/tmp/multipartBody1624175008891716696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117353606,"filename":"image_29012025_03_20_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/29/1fda9a91cb8670da0e3582d8f1209a23.jpg","text":"TemporaryFile(/tmp/multipartBody5672782222595077250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117353606,"filename":"image_29012025_03_20_06_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/29/c35228b2fab6e125ad1891e3dec0f52b.jpg","text":"TemporaryFile(/tmp/multipartBody2973004191209489330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117353606,"filename":"image_29012025_03_20_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/29/d12ca30216ac9842f27335eb62a7fc8b.jpg","text":"TemporaryFile(/tmp/multipartBody2598347154520670218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117353606,"filename":"image_29012025_03_21_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/29/1713574b6c461d3d14da87fab76db724.jpg","text":"TemporaryFile(/tmp/multipartBody6645820668733745338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117353606,"filename":"image_29012025_03_20_45_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332510141","file1":"1332510138","file0":"1332510129","file4":"1332510149","file5":"1332510152","file3":"1332510146"},"map_files_photo_id_array":[{"photo_id":"1332510152","filename":"file5"},{"photo_id":"1332510141","filename":"file2"},{"photo_id":"1332510149","filename":"file4"},{"photo_id":"1332510138","filename":"file1"},{"photo_id":"1332510129","filename":"file0"},{"photo_id":"1332510146","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332510138":["hashtag1","hashtag2"]},{"1332510141":["hashtag1","hashtag2"]},{"1332510129":["hashtag1","hashtag2"]},{"1332510149":["hashtag1","hashtag2"]},{"1332510152":["hashtag1","hashtag2"]},{"1332510146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332510138, 1332510141, 1332510129, 1332510149, 1332510152, 1332510146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70474052429199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:22:32.933980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/21/image_29012025_03_21_26_10425.jpg', '/home/pi/Desktop/images/29012025/03/21/image_29012025_03_21_35_9351.jpg', '/home/pi/Desktop/images/29012025/03/21/image_29012025_03_21_46_10412.jpg', '/home/pi/Desktop/images/29012025/03/21/image_29012025_03_21_55_9612.jpg', '/home/pi/Desktop/images/29012025/03/21/image_29012025_03_22_06_10335.jpg', '/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_16_10464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/21/image_29012025_03_21_26_10425.jpg
/home/pi/Desktop/images/29012025/03/21/image_29012025_03_21_35_9351.jpg
/home/pi/Desktop/images/29012025/03/21/image_29012025_03_21_46_10412.jpg
/home/pi/Desktop/images/29012025/03/21/image_29012025_03_21_55_9612.jpg
/home/pi/Desktop/images/29012025/03/21/image_29012025_03_22_06_10335.jpg
/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_16_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332510162","1332510363","1332510179","1332510280","1332510166","1332510373"],"photo_ids_order":["1332510162","1332510166","1332510179","1332510280","1332510363","1332510373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fde7085c2ac74c1c1adabcc9623b2542.jpg","text":"TemporaryFile(/tmp/multipartBody2120084645638451495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117413835,"filename":"image_29012025_03_21_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/29/5e3741c8fbe6f9a6c6871e511f310297.jpg","text":"TemporaryFile(/tmp/multipartBody3699680548810582147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117413835,"filename":"image_29012025_03_22_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/29/6f3bbb37196e17b6d9bde80dbc0c5f41.jpg","text":"TemporaryFile(/tmp/multipartBody8685943763726904530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117413835,"filename":"image_29012025_03_21_46_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/29/7ea09a76b76f710e1f929dfc8ab178cc.jpg","text":"TemporaryFile(/tmp/multipartBody8743791826080782232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117413835,"filename":"image_29012025_03_21_55_9612.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ae613bb8ee003cdad190cd4e7407c53d.jpg","text":"TemporaryFile(/tmp/multipartBody8730064306568033066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117413835,"filename":"image_29012025_03_21_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/29/cd83550db870f3645234bc3358c70ea4.jpg","text":"TemporaryFile(/tmp/multipartBody8908765022680823117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117413835,"filename":"image_29012025_03_22_16_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332510179","file1":"1332510166","file0":"1332510162","file4":"1332510363","file5":"1332510373","file3":"1332510280"},"map_files_photo_id_array":[{"photo_id":"1332510373","filename":"file5"},{"photo_id":"1332510179","filename":"file2"},{"photo_id":"1332510363","filename":"file4"},{"photo_id":"1332510166","filename":"file1"},{"photo_id":"1332510162","filename":"file0"},{"photo_id":"1332510280","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332510162":["hashtag1","hashtag2"]},{"1332510363":["hashtag1","hashtag2"]},{"1332510179":["hashtag1","hashtag2"]},{"1332510280":["hashtag1","hashtag2"]},{"1332510166":["hashtag1","hashtag2"]},{"1332510373":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332510162, 1332510363, 1332510179, 1332510280, 1332510166, 1332510373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18187952041626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:23:33.070311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_26_9363.jpg', '/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_36_10362.jpg', '/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_56_9360.jpg', '/home/pi/Desktop/images/29012025/03/22/image_29012025_03_23_06_10346.jpg', '/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_15_9403.jpg', '/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_26_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_26_9363.jpg
/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_36_10362.jpg
/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_56_9360.jpg
/home/pi/Desktop/images/29012025/03/22/image_29012025_03_23_06_10346.jpg
/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_15_9403.jpg
/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_26_10377.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.5520956516265869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 03:23:43.101011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_26_9363.jpg', '/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_36_10362.jpg', '/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_56_9360.jpg', '/home/pi/Desktop/images/29012025/03/22/image_29012025_03_23_06_10346.jpg', '/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_15_9403.jpg', '/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_26_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_26_9363.jpg
/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_36_10362.jpg
/home/pi/Desktop/images/29012025/03/22/image_29012025_03_22_56_9360.jpg
/home/pi/Desktop/images/29012025/03/22/image_29012025_03_23_06_10346.jpg
/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_15_9403.jpg
/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_26_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332510492","1332510489","1332510396","1332510494","1332510496","1332510390"],"photo_ids_order":["1332510390","1332510396","1332510489","1332510492","1332510494","1332510496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fa8c49961ae1ccee8391619377a14ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8486752511989147719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117484015,"filename":"image_29012025_03_23_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/29/c1e6890d09eb12b62a00f529e35b3f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7144284837296218584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117484015,"filename":"image_29012025_03_22_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/29/14146527abcc3b8a0effbf6f0306693a.jpg","text":"TemporaryFile(/tmp/multipartBody4930654231947851764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117484015,"filename":"image_29012025_03_22_36_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/29/1d964793cab0b806b282a8d98a304163.jpg","text":"TemporaryFile(/tmp/multipartBody6418135880316026794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117484015,"filename":"image_29012025_03_23_15_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/29/13ef2c9f09f4e8394d7f6afe3b5887b1.jpg","text":"TemporaryFile(/tmp/multipartBody2773237643101093328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117484015,"filename":"image_29012025_03_23_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/29/b045b99595814881f5ec56b81404c979.jpg","text":"TemporaryFile(/tmp/multipartBody4919589447854486133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117484015,"filename":"image_29012025_03_22_26_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332510489","file1":"1332510396","file0":"1332510390","file4":"1332510494","file5":"1332510496","file3":"1332510492"},"map_files_photo_id_array":[{"photo_id":"1332510496","filename":"file5"},{"photo_id":"1332510489","filename":"file2"},{"photo_id":"1332510494","filename":"file4"},{"photo_id":"1332510396","filename":"file1"},{"photo_id":"1332510390","filename":"file0"},{"photo_id":"1332510492","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332510492":["hashtag1","hashtag2"]},{"1332510489":["hashtag1","hashtag2"]},{"1332510396":["hashtag1","hashtag2"]},{"1332510494":["hashtag1","hashtag2"]},{"1332510496":["hashtag1","hashtag2"]},{"1332510390":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332510492, 1332510489, 1332510396, 1332510494, 1332510496, 1332510390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22375726699829 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:24:32.257195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_36_10384.jpg', '/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_46_9338.jpg', '/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_56_10364.jpg', '/home/pi/Desktop/images/29012025/03/23/image_29012025_03_24_05_9484.jpg', '/home/pi/Desktop/images/29012025/03/24/image_29012025_03_24_16_10423.jpg', '/home/pi/Desktop/images/29012025/03/24/image_29012025_03_24_26_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_36_10384.jpg
/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_46_9338.jpg
/home/pi/Desktop/images/29012025/03/23/image_29012025_03_23_56_10364.jpg
/home/pi/Desktop/images/29012025/03/23/image_29012025_03_24_05_9484.jpg
/home/pi/Desktop/images/29012025/03/24/image_29012025_03_24_16_10423.jpg
/home/pi/Desktop/images/29012025/03/24/image_29012025_03_24_26_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":["1332510502","1332510516","1332510513","1332510509","1332510506","1332510511"],"photo_ids_order":["1332510502","1332510506","1332510509","1332510511","1332510513","1332510516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/768200e7d613893df9cef46b1d880c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3878152445216486723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117533194,"filename":"image_29012025_03_23_36_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/29/3af2cc215ed3a29ec0ab37d87a4f0cdc.jpg","text":"TemporaryFile(/tmp/multipartBody642902115338324581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117533194,"filename":"image_29012025_03_24_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/29/12e5e24e16626b5594873fbbd98d5c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3995528829039657948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117533194,"filename":"image_29012025_03_24_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/29/50d266641924c25c411b7e876c5fe8d1.jpg","text":"TemporaryFile(/tmp/multipartBody6027191602412402165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117533194,"filename":"image_29012025_03_23_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/29/5cf7f7e97d6ed4ec61a04caf8992c753.jpg","text":"TemporaryFile(/tmp/multipartBody1729961682398410278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117533194,"filename":"image_29012025_03_23_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/29/f21903518e7f0cf82b861704ea55e40c.jpg","text":"TemporaryFile(/tmp/multipartBody9037529174036694363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117533194,"filename":"image_29012025_03_24_05_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332510509","file1":"1332510506","file0":"1332510502","file4":"1332510513","file5":"1332510516","file3":"1332510511"},"map_files_photo_id_array":[{"photo_id":"1332510516","filename":"file5"},{"photo_id":"1332510509","filename":"file2"},{"photo_id":"1332510513","filename":"file4"},{"photo_id":"1332510506","filename":"file1"},{"photo_id":"1332510502","filename":"file0"},{"photo_id":"1332510511","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332510502":["hashtag1","hashtag2"]},{"1332510516":["hashtag1","hashtag2"]},{"1332510513":["hashtag1","hashtag2"]},{"1332510509":["hashtag1","hashtag2"]},{"1332510506":["hashtag1","hashtag2"]},{"1332510511":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332510502, 1332510516, 1332510513, 1332510509, 1332510506, 1332510511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71492075920105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:25:32.572953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/24/image_29012025_03_24_36_9353.jpg', '/home/pi/Desktop/images/29012025/03/24/image_29012025_03_24_46_10343.jpg', '/home/pi/Desktop/images/29012025/03/24/image_29012025_03_24_55_9473.jpg', '/home/pi/Desktop/images/29012025/03/25/image_29012025_03_25_16_10452.jpg', '/home/pi/Desktop/images/29012025/03/25/image_29012025_03_25_26_9335.jpg', '/home/pi/Desktop/images/29012025/03/25/image_29012025_03_25_36_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/24/image_29012025_03_24_36_9353.jpg
/home/pi/Desktop/images/29012025/03/24/image_29012025_03_24_46_10343.jpg
/home/pi/Desktop/images/29012025/03/24/image_29012025_03_24_55_9473.jpg
/home/pi/Desktop/images/29012025/03/25/image_29012025_03_25_16_10452.jpg
/home/pi/Desktop/images/29012025/03/25/image_29012025_03_25_26_9335.jpg
/home/pi/Desktop/images/29012025/03/25/image_29012025_03_25_36_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":["1332510546","1332510540","1332510530","1332510527","1332510536","1332510544"],"photo_ids_order":["1332510527","1332510530","1332510536","1332510540","1332510544","1332510546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d38250bcd9bb11c0546de04a1399fc94.jpg","text":"TemporaryFile(/tmp/multipartBody8422421509240506609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117593493,"filename":"image_29012025_03_25_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/29/6dcc0357420883ce3098f693b082b704.jpg","text":"TemporaryFile(/tmp/multipartBody6552325075716109557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117593493,"filename":"image_29012025_03_25_16_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/29/cb7b87dcb0969fa61b35597a24bc27de.jpg","text":"TemporaryFile(/tmp/multipartBody8284662405772224936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117593493,"filename":"image_29012025_03_24_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/29/2f74fe3796fdbc87e0b5bf71e639dfa1.jpg","text":"TemporaryFile(/tmp/multipartBody1383464188875816497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117593493,"filename":"image_29012025_03_24_36_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/29/15c4922308c04337ee69059ee90d3ace.jpg","text":"TemporaryFile(/tmp/multipartBody7423497338022498662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117593493,"filename":"image_29012025_03_24_55_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/29/84094b9190fcbee7220111095b8a26e7.jpg","text":"TemporaryFile(/tmp/multipartBody4631479394171249442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117593493,"filename":"image_29012025_03_25_26_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332510536","file1":"1332510530","file0":"1332510527","file4":"1332510544","file5":"1332510546","file3":"1332510540"},"map_files_photo_id_array":[{"photo_id":"1332510546","filename":"file5"},{"photo_id":"1332510536","filename":"file2"},{"photo_id":"1332510544","filename":"file4"},{"photo_id":"1332510530","filename":"file1"},{"photo_id":"1332510527","filename":"file0"},{"photo_id":"1332510540","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332510546":["hashtag1","hashtag2"]},{"1332510540":["hashtag1","hashtag2"]},{"1332510530":["hashtag1","hashtag2"]},{"1332510527":["hashtag1","hashtag2"]},{"1332510536":["hashtag1","hashtag2"]},{"1332510544":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332510546, 1332510540, 1332510530, 1332510527, 1332510536, 1332510544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95595359802246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:26:32.716716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/25/image_29012025_03_25_46_10342.jpg', '/home/pi/Desktop/images/29012025/03/25/image_29012025_03_25_56_9347.jpg', '/home/pi/Desktop/images/29012025/03/25/image_29012025_03_26_06_10355.jpg', '/home/pi/Desktop/images/29012025/03/26/image_29012025_03_26_15_9438.jpg', '/home/pi/Desktop/images/29012025/03/26/image_29012025_03_26_26_10366.jpg', '/home/pi/Desktop/images/29012025/03/26/image_29012025_03_26_36_10498.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/25/image_29012025_03_25_46_10342.jpg
/home/pi/Desktop/images/29012025/03/25/image_29012025_03_25_56_9347.jpg
/home/pi/Desktop/images/29012025/03/25/image_29012025_03_26_06_10355.jpg
/home/pi/Desktop/images/29012025/03/26/image_29012025_03_26_15_9438.jpg
/home/pi/Desktop/images/29012025/03/26/image_29012025_03_26_26_10366.jpg
/home/pi/Desktop/images/29012025/03/26/image_29012025_03_26_36_10498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332510599","1332510563","1332510554","1332510568","1332510559","1332510582"],"photo_ids_order":["1332510554","1332510559","1332510563","1332510568","1332510582","1332510599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0ceb277d495d5e52a866be20b13b6726.jpg","text":"TemporaryFile(/tmp/multipartBody3584085645989671137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117653629,"filename":"image_29012025_03_26_36_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ddd3f4c2b1b34fd3c238bfb9c533a844.jpg","text":"TemporaryFile(/tmp/multipartBody2505281296626347205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117653629,"filename":"image_29012025_03_26_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/29/058ab287fa8339a04a0bbd43bf421ccf.jpg","text":"TemporaryFile(/tmp/multipartBody1569143407639680544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117653629,"filename":"image_29012025_03_25_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/29/2aa2c4f5184d93608954064f626c037f.jpg","text":"TemporaryFile(/tmp/multipartBody8246667230063035293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117653629,"filename":"image_29012025_03_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/29/1e58ea2e2206ab041c0b9d9175bf9bd7.jpg","text":"TemporaryFile(/tmp/multipartBody4615111580088084657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117653629,"filename":"image_29012025_03_25_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/29/59b7dcfaed6020498fcd047e6deab628.jpg","text":"TemporaryFile(/tmp/multipartBody7416407526029816675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117653629,"filename":"image_29012025_03_26_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332510563","file1":"1332510559","file0":"1332510554","file4":"1332510582","file5":"1332510599","file3":"1332510568"},"map_files_photo_id_array":[{"photo_id":"1332510599","filename":"file5"},{"photo_id":"1332510563","filename":"file2"},{"photo_id":"1332510582","filename":"file4"},{"photo_id":"1332510559","filename":"file1"},{"photo_id":"1332510554","filename":"file0"},{"photo_id":"1332510568","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332510599":["hashtag1","hashtag2"]},{"1332510563":["hashtag1","hashtag2"]},{"1332510554":["hashtag1","hashtag2"]},{"1332510568":["hashtag1","hashtag2"]},{"1332510559":["hashtag1","hashtag2"]},{"1332510582":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332510599, 1332510563, 1332510554, 1332510568, 1332510559, 1332510582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.489519119262695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:27:32.938844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/26/image_29012025_03_26_46_9357.jpg', '/home/pi/Desktop/images/29012025/03/26/image_29012025_03_26_56_10428.jpg', '/home/pi/Desktop/images/29012025/03/26/image_29012025_03_27_05_9339.jpg', '/home/pi/Desktop/images/29012025/03/27/image_29012025_03_27_16_10331.jpg', '/home/pi/Desktop/images/29012025/03/27/image_29012025_03_27_26_10449.jpg', '/home/pi/Desktop/images/29012025/03/27/image_29012025_03_27_36_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/26/image_29012025_03_26_46_9357.jpg
/home/pi/Desktop/images/29012025/03/26/image_29012025_03_26_56_10428.jpg
/home/pi/Desktop/images/29012025/03/26/image_29012025_03_27_05_9339.jpg
/home/pi/Desktop/images/29012025/03/27/image_29012025_03_27_16_10331.jpg
/home/pi/Desktop/images/29012025/03/27/image_29012025_03_27_26_10449.jpg
/home/pi/Desktop/images/29012025/03/27/image_29012025_03_27_36_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":["1332510675","1332510677","1332510638","1332510641","1332510673","1332510643"],"photo_ids_order":["1332510638","1332510641","1332510643","1332510673","1332510675","1332510677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d9ce1bf19a185946078254ab7c947b09.jpg","text":"TemporaryFile(/tmp/multipartBody3692698549071750109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117713847,"filename":"image_29012025_03_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/29/de228e47b6e6fc9343a3b122444b8de1.jpg","text":"TemporaryFile(/tmp/multipartBody6568846444387399621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117713847,"filename":"image_29012025_03_27_36_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/29/30b9aa01a3f9dc931c242f3887153adb.jpg","text":"TemporaryFile(/tmp/multipartBody7256401851062863118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117713847,"filename":"image_29012025_03_26_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/29/49f74138e109c5d243cef63481c8e365.jpg","text":"TemporaryFile(/tmp/multipartBody8332102477841693174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117713847,"filename":"image_29012025_03_26_56_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/29/4904d7cc4b39ecc2483b88ef5aa8e16b.jpg","text":"TemporaryFile(/tmp/multipartBody2248185893848429031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117713847,"filename":"image_29012025_03_27_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/29/62f9bf1ea4ed85cde14e1644c664e5f7.jpg","text":"TemporaryFile(/tmp/multipartBody3369917205028614046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117713847,"filename":"image_29012025_03_27_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332510643","file1":"1332510641","file0":"1332510638","file4":"1332510675","file5":"1332510677","file3":"1332510673"},"map_files_photo_id_array":[{"photo_id":"1332510677","filename":"file5"},{"photo_id":"1332510643","filename":"file2"},{"photo_id":"1332510675","filename":"file4"},{"photo_id":"1332510641","filename":"file1"},{"photo_id":"1332510638","filename":"file0"},{"photo_id":"1332510673","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332510675":["hashtag1","hashtag2"]},{"1332510677":["hashtag1","hashtag2"]},{"1332510638":["hashtag1","hashtag2"]},{"1332510641":["hashtag1","hashtag2"]},{"1332510673":["hashtag1","hashtag2"]},{"1332510643":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332510675, 1332510677, 1332510638, 1332510641, 1332510673, 1332510643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14762210845947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:28:33.219376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/27/image_29012025_03_27_46_10352.jpg', '/home/pi/Desktop/images/29012025/03/27/image_29012025_03_27_56_10382.jpg', '/home/pi/Desktop/images/29012025/03/27/image_29012025_03_28_06_9338.jpg', '/home/pi/Desktop/images/29012025/03/28/image_29012025_03_28_16_10330.jpg', '/home/pi/Desktop/images/29012025/03/28/image_29012025_03_28_25_9405.jpg', '/home/pi/Desktop/images/29012025/03/28/image_29012025_03_28_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/27/image_29012025_03_27_46_10352.jpg
/home/pi/Desktop/images/29012025/03/27/image_29012025_03_27_56_10382.jpg
/home/pi/Desktop/images/29012025/03/27/image_29012025_03_28_06_9338.jpg
/home/pi/Desktop/images/29012025/03/28/image_29012025_03_28_16_10330.jpg
/home/pi/Desktop/images/29012025/03/28/image_29012025_03_28_25_9405.jpg
/home/pi/Desktop/images/29012025/03/28/image_29012025_03_28_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":["1332510690","1332510744","1332510738","1332510719","1332510713","1332510733"],"photo_ids_order":["1332510690","1332510713","1332510719","1332510733","1332510738","1332510744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c641c1f9ab231ec6ef2fb225a689f6b9.jpg","text":"TemporaryFile(/tmp/multipartBody2904910669417336194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117774135,"filename":"image_29012025_03_27_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/29/02a504461d4f0a89f6ed9258b59cff58.jpg","text":"TemporaryFile(/tmp/multipartBody1825610178685172571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117774135,"filename":"image_29012025_03_28_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/29/49e6bfccd4852acab5476fa2b26f9fd6.jpg","text":"TemporaryFile(/tmp/multipartBody1145801244373147625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117774135,"filename":"image_29012025_03_28_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/29/d479ce4e8234686f86306f7abd3b15ef.jpg","text":"TemporaryFile(/tmp/multipartBody4101929203576503701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117774135,"filename":"image_29012025_03_28_06_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/29/718134f122614982df1c9a7f329daeec.jpg","text":"TemporaryFile(/tmp/multipartBody717061094619848688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117774135,"filename":"image_29012025_03_27_56_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/29/b4cd390ff94ba2da4d2a4afdcb08de8b.jpg","text":"TemporaryFile(/tmp/multipartBody5698851349749498944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117774135,"filename":"image_29012025_03_28_16_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332510719","file1":"1332510713","file0":"1332510690","file4":"1332510738","file5":"1332510744","file3":"1332510733"},"map_files_photo_id_array":[{"photo_id":"1332510744","filename":"file5"},{"photo_id":"1332510719","filename":"file2"},{"photo_id":"1332510738","filename":"file4"},{"photo_id":"1332510713","filename":"file1"},{"photo_id":"1332510690","filename":"file0"},{"photo_id":"1332510733","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332510690":["hashtag1","hashtag2"]},{"1332510744":["hashtag1","hashtag2"]},{"1332510738":["hashtag1","hashtag2"]},{"1332510719":["hashtag1","hashtag2"]},{"1332510713":["hashtag1","hashtag2"]},{"1332510733":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332510690, 1332510744, 1332510738, 1332510719, 1332510713, 1332510733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66724944114685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:29:32.434833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/28/image_29012025_03_28_46_10361.jpg', '/home/pi/Desktop/images/29012025/03/28/image_29012025_03_28_55_9376.jpg', '/home/pi/Desktop/images/29012025/03/28/image_29012025_03_29_06_10365.jpg', '/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_16_10404.jpg', '/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_26_9406.jpg', '/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_36_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/28/image_29012025_03_28_46_10361.jpg
/home/pi/Desktop/images/29012025/03/28/image_29012025_03_28_55_9376.jpg
/home/pi/Desktop/images/29012025/03/28/image_29012025_03_29_06_10365.jpg
/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_16_10404.jpg
/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_26_9406.jpg
/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_36_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":["1332510774","1332510782","1332510790","1332510784","1332510787","1332510780"],"photo_ids_order":["1332510774","1332510780","1332510782","1332510784","1332510787","1332510790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/85b10f38d51ddccaa911a8947b614f3a.jpg","text":"TemporaryFile(/tmp/multipartBody2358475330628019962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117833345,"filename":"image_29012025_03_28_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/29/085f0623f4987cac4bdc451a1453b2d4.jpg","text":"TemporaryFile(/tmp/multipartBody8233349266914623556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117833345,"filename":"image_29012025_03_29_06_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/29/d2acfa7e4704ba9b38c94da840ea5c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3765724648435312610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117833345,"filename":"image_29012025_03_29_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/29/b8880ceb678b10cca6280f8f824d717e.jpg","text":"TemporaryFile(/tmp/multipartBody5041184426607836108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117833345,"filename":"image_29012025_03_29_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/29/faef4593129f82e5f9377434db218538.jpg","text":"TemporaryFile(/tmp/multipartBody9069145714405593682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117833345,"filename":"image_29012025_03_29_26_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/29/b4c52d2f1ca5e66f47a601e9a5fc442c.jpg","text":"TemporaryFile(/tmp/multipartBody4598025607384039243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117833345,"filename":"image_29012025_03_28_55_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332510782","file1":"1332510780","file0":"1332510774","file4":"1332510787","file5":"1332510790","file3":"1332510784"},"map_files_photo_id_array":[{"photo_id":"1332510790","filename":"file5"},{"photo_id":"1332510782","filename":"file2"},{"photo_id":"1332510787","filename":"file4"},{"photo_id":"1332510780","filename":"file1"},{"photo_id":"1332510774","filename":"file0"},{"photo_id":"1332510784","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332510774":["hashtag1","hashtag2"]},{"1332510782":["hashtag1","hashtag2"]},{"1332510790":["hashtag1","hashtag2"]},{"1332510784":["hashtag1","hashtag2"]},{"1332510787":["hashtag1","hashtag2"]},{"1332510780":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332510774, 1332510782, 1332510790, 1332510784, 1332510787, 1332510780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.189152002334595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:30:32.565658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_46_10341.jpg', '/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_56_9441.jpg', '/home/pi/Desktop/images/29012025/03/29/image_29012025_03_30_05_9712.jpg', '/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_16_10326.jpg', '/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_26_10405.jpg', '/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_36_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_46_10341.jpg
/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_56_9441.jpg
/home/pi/Desktop/images/29012025/03/29/image_29012025_03_30_05_9712.jpg
/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_16_10326.jpg
/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_26_10405.jpg
/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_36_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.5171144008636475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 03:30:42.619396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_46_10341.jpg', '/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_56_9441.jpg', '/home/pi/Desktop/images/29012025/03/29/image_29012025_03_30_05_9712.jpg', '/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_16_10326.jpg', '/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_26_10405.jpg', '/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_36_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_46_10341.jpg
/home/pi/Desktop/images/29012025/03/29/image_29012025_03_29_56_9441.jpg
/home/pi/Desktop/images/29012025/03/29/image_29012025_03_30_05_9712.jpg
/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_16_10326.jpg
/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_26_10405.jpg
/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_36_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":["1332510831","1332510839","1332510824","1332510841","1332510835","1332510838"],"photo_ids_order":["1332510824","1332510831","1332510835","1332510838","1332510839","1332510841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/28d2690f0f7cf3b5da5f74f0768e5a92.jpg","text":"TemporaryFile(/tmp/multipartBody2536627783274852162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117903531,"filename":"image_29012025_03_29_56_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/29/945b9f6156bdf3caed57619fd1e01b2c.jpg","text":"TemporaryFile(/tmp/multipartBody713681697753771244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117903531,"filename":"image_29012025_03_30_26_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/29/6e1ba34b85f73d1c96a5fb2d4ebe8100.jpg","text":"TemporaryFile(/tmp/multipartBody3889333434242205406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117903531,"filename":"image_29012025_03_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/29/b0592c6d2e524b000595284730388f76.jpg","text":"TemporaryFile(/tmp/multipartBody7983883114761851097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117903531,"filename":"image_29012025_03_30_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/29/816aa3a9376ff9b7d2a7ba0a2358592f.jpg","text":"TemporaryFile(/tmp/multipartBody6094540611009454379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117903531,"filename":"image_29012025_03_30_05_9712.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/703b633da17eb4a5d85ed767ff5c8eff.jpg","text":"TemporaryFile(/tmp/multipartBody7959019384476165615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117903531,"filename":"image_29012025_03_30_16_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332510835","file1":"1332510831","file0":"1332510824","file4":"1332510839","file5":"1332510841","file3":"1332510838"},"map_files_photo_id_array":[{"photo_id":"1332510841","filename":"file5"},{"photo_id":"1332510835","filename":"file2"},{"photo_id":"1332510839","filename":"file4"},{"photo_id":"1332510831","filename":"file1"},{"photo_id":"1332510824","filename":"file0"},{"photo_id":"1332510838","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332510831":["hashtag1","hashtag2"]},{"1332510839":["hashtag1","hashtag2"]},{"1332510824":["hashtag1","hashtag2"]},{"1332510841":["hashtag1","hashtag2"]},{"1332510835":["hashtag1","hashtag2"]},{"1332510838":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332510831, 1332510839, 1332510824, 1332510841, 1332510835, 1332510838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78526997566223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:31:32.891359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_46_10354.jpg', '/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_56_10367.jpg', '/home/pi/Desktop/images/29012025/03/30/image_29012025_03_31_06_9331.jpg', '/home/pi/Desktop/images/29012025/03/31/image_29012025_03_31_16_10342.jpg', '/home/pi/Desktop/images/29012025/03/31/image_29012025_03_31_25_9449.jpg', '/home/pi/Desktop/images/29012025/03/31/image_29012025_03_31_36_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_46_10354.jpg
/home/pi/Desktop/images/29012025/03/30/image_29012025_03_30_56_10367.jpg
/home/pi/Desktop/images/29012025/03/30/image_29012025_03_31_06_9331.jpg
/home/pi/Desktop/images/29012025/03/31/image_29012025_03_31_16_10342.jpg
/home/pi/Desktop/images/29012025/03/31/image_29012025_03_31_25_9449.jpg
/home/pi/Desktop/images/29012025/03/31/image_29012025_03_31_36_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":["1332510861","1332510867","1332510855","1332510849","1332510869","1332510865"],"photo_ids_order":["1332510849","1332510855","1332510861","1332510865","1332510867","1332510869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a191ac9587a568f50b90e6481b513f88.jpg","text":"TemporaryFile(/tmp/multipartBody820347766462577110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117953800,"filename":"image_29012025_03_31_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/29/f345564c59d54967efad1cf551318f45.jpg","text":"TemporaryFile(/tmp/multipartBody3156955152375036069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117953800,"filename":"image_29012025_03_31_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/29/091012298fb67b387d2e5d2dbd32a370.jpg","text":"TemporaryFile(/tmp/multipartBody6041360942566574421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117953800,"filename":"image_29012025_03_30_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/29/f11cfad887f4c67452cee51b649969d8.jpg","text":"TemporaryFile(/tmp/multipartBody6624405099711592262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117953800,"filename":"image_29012025_03_30_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/29/c58093e07e8f6135f8ce58275fa540d9.jpg","text":"TemporaryFile(/tmp/multipartBody1208776494729442662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117953800,"filename":"image_29012025_03_31_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/29/4963f23b290d2d59f218f32265d68b4e.jpg","text":"TemporaryFile(/tmp/multipartBody3914461732272524955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738117953800,"filename":"image_29012025_03_31_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332510861","file1":"1332510855","file0":"1332510849","file4":"1332510867","file5":"1332510869","file3":"1332510865"},"map_files_photo_id_array":[{"photo_id":"1332510869","filename":"file5"},{"photo_id":"1332510861","filename":"file2"},{"photo_id":"1332510867","filename":"file4"},{"photo_id":"1332510855","filename":"file1"},{"photo_id":"1332510849","filename":"file0"},{"photo_id":"1332510865","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332510861":["hashtag1","hashtag2"]},{"1332510867":["hashtag1","hashtag2"]},{"1332510855":["hashtag1","hashtag2"]},{"1332510849":["hashtag1","hashtag2"]},{"1332510869":["hashtag1","hashtag2"]},{"1332510865":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332510861, 1332510867, 1332510855, 1332510849, 1332510869, 1332510865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.008933305740356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:32:32.954249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/31/image_29012025_03_31_46_10434.jpg', '/home/pi/Desktop/images/29012025/03/31/image_29012025_03_31_56_9351.jpg', '/home/pi/Desktop/images/29012025/03/31/image_29012025_03_32_06_10355.jpg', '/home/pi/Desktop/images/29012025/03/32/image_29012025_03_32_15_9378.jpg', '/home/pi/Desktop/images/29012025/03/32/image_29012025_03_32_26_10366.jpg', '/home/pi/Desktop/images/29012025/03/32/image_29012025_03_32_36_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/31/image_29012025_03_31_46_10434.jpg
/home/pi/Desktop/images/29012025/03/31/image_29012025_03_31_56_9351.jpg
/home/pi/Desktop/images/29012025/03/31/image_29012025_03_32_06_10355.jpg
/home/pi/Desktop/images/29012025/03/32/image_29012025_03_32_15_9378.jpg
/home/pi/Desktop/images/29012025/03/32/image_29012025_03_32_26_10366.jpg
/home/pi/Desktop/images/29012025/03/32/image_29012025_03_32_36_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":["1332511071","1332511065","1332511073","1332511060","1332511068","1332511062"],"photo_ids_order":["1332511060","1332511062","1332511065","1332511068","1332511071","1332511073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0a4886a327235305c6a915df0a65dc96.jpg","text":"TemporaryFile(/tmp/multipartBody1912414997403471207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118013860,"filename":"image_29012025_03_32_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/29/858d98545ca96d44087c73576dac6014.jpg","text":"TemporaryFile(/tmp/multipartBody585923395809656243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118013860,"filename":"image_29012025_03_32_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/29/573fca7e310cf27fede1a35ed36ef7cd.jpg","text":"TemporaryFile(/tmp/multipartBody2291639574577232778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118013860,"filename":"image_29012025_03_32_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/29/fd01e15f23d2b5b51369749b61224ca8.jpg","text":"TemporaryFile(/tmp/multipartBody8513363787911350134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118013860,"filename":"image_29012025_03_31_46_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/29/50e77474a9629579aedba066dfb88b11.jpg","text":"TemporaryFile(/tmp/multipartBody1744522868450282657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118013860,"filename":"image_29012025_03_32_15_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/29/6ae89101ef55031f926b9c5946dc7767.jpg","text":"TemporaryFile(/tmp/multipartBody6308065433793076496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118013860,"filename":"image_29012025_03_31_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332511065","file1":"1332511062","file0":"1332511060","file4":"1332511071","file5":"1332511073","file3":"1332511068"},"map_files_photo_id_array":[{"photo_id":"1332511073","filename":"file5"},{"photo_id":"1332511065","filename":"file2"},{"photo_id":"1332511071","filename":"file4"},{"photo_id":"1332511062","filename":"file1"},{"photo_id":"1332511060","filename":"file0"},{"photo_id":"1332511068","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332511071":["hashtag1","hashtag2"]},{"1332511065":["hashtag1","hashtag2"]},{"1332511073":["hashtag1","hashtag2"]},{"1332511060":["hashtag1","hashtag2"]},{"1332511068":["hashtag1","hashtag2"]},{"1332511062":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332511071, 1332511065, 1332511073, 1332511060, 1332511068, 1332511062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.733074426651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:33:33.158418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/32/image_29012025_03_32_45_9340.jpg', '/home/pi/Desktop/images/29012025/03/32/image_29012025_03_32_56_10383.jpg', '/home/pi/Desktop/images/29012025/03/32/image_29012025_03_33_06_10421.jpg', '/home/pi/Desktop/images/29012025/03/33/image_29012025_03_33_16_9348.jpg', '/home/pi/Desktop/images/29012025/03/33/image_29012025_03_33_26_10387.jpg', '/home/pi/Desktop/images/29012025/03/33/image_29012025_03_33_36_9951.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/32/image_29012025_03_32_45_9340.jpg
/home/pi/Desktop/images/29012025/03/32/image_29012025_03_32_56_10383.jpg
/home/pi/Desktop/images/29012025/03/32/image_29012025_03_33_06_10421.jpg
/home/pi/Desktop/images/29012025/03/33/image_29012025_03_33_16_9348.jpg
/home/pi/Desktop/images/29012025/03/33/image_29012025_03_33_26_10387.jpg
/home/pi/Desktop/images/29012025/03/33/image_29012025_03_33_36_9951.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332511143","1332511139","1332511147","1332511117","1332511149","1332511134"],"photo_ids_order":["1332511117","1332511134","1332511139","1332511143","1332511147","1332511149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7712a602b589b38620b295b4ed8d6f56.jpg","text":"TemporaryFile(/tmp/multipartBody3758649912378665645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118074075,"filename":"image_29012025_03_33_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/29/28271e1e311fb131e54f06e1c83d8d93.jpg","text":"TemporaryFile(/tmp/multipartBody3398924116047813852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118074075,"filename":"image_29012025_03_33_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/29/fe857259772bcde8f6de54a597be9f7b.jpg","text":"TemporaryFile(/tmp/multipartBody2807304955460432276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118074075,"filename":"image_29012025_03_33_26_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/29/f7853f8c66277b16ed2a92dbfe34f609.jpg","text":"TemporaryFile(/tmp/multipartBody814960145884201210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118074075,"filename":"image_29012025_03_32_45_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/29/148870a192748f4b18e0bc8297abbc71.jpg","text":"TemporaryFile(/tmp/multipartBody6980389687142275027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118074075,"filename":"image_29012025_03_33_36_9951.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0d1b96ba0beb470c67dbbfeb181c1f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6188568249801207505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118074075,"filename":"image_29012025_03_32_56_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332511139","file1":"1332511134","file0":"1332511117","file4":"1332511147","file5":"1332511149","file3":"1332511143"},"map_files_photo_id_array":[{"photo_id":"1332511149","filename":"file5"},{"photo_id":"1332511139","filename":"file2"},{"photo_id":"1332511147","filename":"file4"},{"photo_id":"1332511134","filename":"file1"},{"photo_id":"1332511117","filename":"file0"},{"photo_id":"1332511143","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332511143":["hashtag1","hashtag2"]},{"1332511139":["hashtag1","hashtag2"]},{"1332511147":["hashtag1","hashtag2"]},{"1332511117":["hashtag1","hashtag2"]},{"1332511149":["hashtag1","hashtag2"]},{"1332511134":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332511143, 1332511139, 1332511147, 1332511117, 1332511149, 1332511134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0868353843689 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:34:32.296444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/33/image_29012025_03_33_46_10365.jpg', '/home/pi/Desktop/images/29012025/03/33/image_29012025_03_33_56_9353.jpg', '/home/pi/Desktop/images/29012025/03/33/image_29012025_03_34_06_10443.jpg', '/home/pi/Desktop/images/29012025/03/34/image_29012025_03_34_15_9331.jpg', '/home/pi/Desktop/images/29012025/03/34/image_29012025_03_34_26_10342.jpg', '/home/pi/Desktop/images/29012025/03/34/image_29012025_03_34_36_10475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/33/image_29012025_03_33_46_10365.jpg
/home/pi/Desktop/images/29012025/03/33/image_29012025_03_33_56_9353.jpg
/home/pi/Desktop/images/29012025/03/33/image_29012025_03_34_06_10443.jpg
/home/pi/Desktop/images/29012025/03/34/image_29012025_03_34_15_9331.jpg
/home/pi/Desktop/images/29012025/03/34/image_29012025_03_34_26_10342.jpg
/home/pi/Desktop/images/29012025/03/34/image_29012025_03_34_36_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":["1332511164","1332511158","1332511184","1332511180","1332511167","1332511161"],"photo_ids_order":["1332511158","1332511161","1332511164","1332511167","1332511180","1332511184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4fabcc8cacb4dd95d816d7ab8983db5c.jpg","text":"TemporaryFile(/tmp/multipartBody8610063687204052723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118133238,"filename":"image_29012025_03_34_06_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/29/69c101bec20d0f122b64f8999900aaee.jpg","text":"TemporaryFile(/tmp/multipartBody3157723697377002156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118133238,"filename":"image_29012025_03_33_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/29/9516c752a8f61a08fea6b5c392b0de5e.jpg","text":"TemporaryFile(/tmp/multipartBody6493808745174497422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118133238,"filename":"image_29012025_03_34_36_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/29/7646ff3266924bcba4a5276170e067e1.jpg","text":"TemporaryFile(/tmp/multipartBody6794815782446966241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118133238,"filename":"image_29012025_03_34_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/29/978e7211f7cb0377ce4de8e6f4f8bf40.jpg","text":"TemporaryFile(/tmp/multipartBody7810606887788141443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118133238,"filename":"image_29012025_03_34_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/29/e226696f299ce4c16061ac9331ff2eb2.jpg","text":"TemporaryFile(/tmp/multipartBody3756215990219673970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118133238,"filename":"image_29012025_03_33_56_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332511164","file1":"1332511161","file0":"1332511158","file4":"1332511180","file5":"1332511184","file3":"1332511167"},"map_files_photo_id_array":[{"photo_id":"1332511184","filename":"file5"},{"photo_id":"1332511164","filename":"file2"},{"photo_id":"1332511180","filename":"file4"},{"photo_id":"1332511161","filename":"file1"},{"photo_id":"1332511158","filename":"file0"},{"photo_id":"1332511167","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332511164":["hashtag1","hashtag2"]},{"1332511158":["hashtag1","hashtag2"]},{"1332511184":["hashtag1","hashtag2"]},{"1332511180":["hashtag1","hashtag2"]},{"1332511167":["hashtag1","hashtag2"]},{"1332511161":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332511164, 1332511158, 1332511184, 1332511180, 1332511167, 1332511161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.655356645584106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:35:32.469194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/34/image_29012025_03_34_46_9331.jpg', '/home/pi/Desktop/images/29012025/03/34/image_29012025_03_34_56_10372.jpg', '/home/pi/Desktop/images/29012025/03/34/image_29012025_03_35_06_10346.jpg', '/home/pi/Desktop/images/29012025/03/35/image_29012025_03_35_16_9326.jpg', '/home/pi/Desktop/images/29012025/03/35/image_29012025_03_35_26_10362.jpg', '/home/pi/Desktop/images/29012025/03/35/image_29012025_03_35_46_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/34/image_29012025_03_34_46_9331.jpg
/home/pi/Desktop/images/29012025/03/34/image_29012025_03_34_56_10372.jpg
/home/pi/Desktop/images/29012025/03/34/image_29012025_03_35_06_10346.jpg
/home/pi/Desktop/images/29012025/03/35/image_29012025_03_35_16_9326.jpg
/home/pi/Desktop/images/29012025/03/35/image_29012025_03_35_26_10362.jpg
/home/pi/Desktop/images/29012025/03/35/image_29012025_03_35_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":["1332511239","1332511230","1332511224","1332511227","1332511235","1332511238"],"photo_ids_order":["1332511224","1332511227","1332511230","1332511235","1332511238","1332511239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/95897cb1c5cb8036bef5070c79ed7034.jpg","text":"TemporaryFile(/tmp/multipartBody3452381001481463177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118193381,"filename":"image_29012025_03_35_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/29/6b77c751eda6c5bdb13b06684ef144b9.jpg","text":"TemporaryFile(/tmp/multipartBody7829644231303794138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118193381,"filename":"image_29012025_03_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/29/66da9d9f24612b45d890d0eb394c68c8.jpg","text":"TemporaryFile(/tmp/multipartBody8785219512364168554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118193381,"filename":"image_29012025_03_34_46_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/29/227ae894f392a56dfa2e150b3abe0d6a.jpg","text":"TemporaryFile(/tmp/multipartBody1861772881698409664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118193381,"filename":"image_29012025_03_34_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/29/64dac7dca8704ff421a871bf7fab630b.jpg","text":"TemporaryFile(/tmp/multipartBody5768939599344254570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118193381,"filename":"image_29012025_03_35_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/29/a1116b7ed1a4cdef9dde18de528f02b4.jpg","text":"TemporaryFile(/tmp/multipartBody3157272908912930996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118193381,"filename":"image_29012025_03_35_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332511230","file1":"1332511227","file0":"1332511224","file4":"1332511238","file5":"1332511239","file3":"1332511235"},"map_files_photo_id_array":[{"photo_id":"1332511239","filename":"file5"},{"photo_id":"1332511230","filename":"file2"},{"photo_id":"1332511238","filename":"file4"},{"photo_id":"1332511227","filename":"file1"},{"photo_id":"1332511224","filename":"file0"},{"photo_id":"1332511235","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332511239":["hashtag1","hashtag2"]},{"1332511230":["hashtag1","hashtag2"]},{"1332511224":["hashtag1","hashtag2"]},{"1332511227":["hashtag1","hashtag2"]},{"1332511235":["hashtag1","hashtag2"]},{"1332511238":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332511239, 1332511230, 1332511224, 1332511227, 1332511235, 1332511238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90670728683472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:36:32.763024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/35/image_29012025_03_35_56_10362.jpg', '/home/pi/Desktop/images/29012025/03/35/image_29012025_03_36_06_9324.jpg', '/home/pi/Desktop/images/29012025/03/36/image_29012025_03_36_16_10358.jpg', '/home/pi/Desktop/images/29012025/03/36/image_29012025_03_36_26_10355.jpg', '/home/pi/Desktop/images/29012025/03/36/image_29012025_03_36_36_9338.jpg', '/home/pi/Desktop/images/29012025/03/36/image_29012025_03_36_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/35/image_29012025_03_35_56_10362.jpg
/home/pi/Desktop/images/29012025/03/35/image_29012025_03_36_06_9324.jpg
/home/pi/Desktop/images/29012025/03/36/image_29012025_03_36_16_10358.jpg
/home/pi/Desktop/images/29012025/03/36/image_29012025_03_36_26_10355.jpg
/home/pi/Desktop/images/29012025/03/36/image_29012025_03_36_36_9338.jpg
/home/pi/Desktop/images/29012025/03/36/image_29012025_03_36_46_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":["1332511361","1332511250","1332511355","1332511366","1332511363","1332511359"],"photo_ids_order":["1332511250","1332511355","1332511359","1332511361","1332511363","1332511366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/66608e2aaa90be5528ccb6cb8bed351b.jpg","text":"TemporaryFile(/tmp/multipartBody3826212837459276765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118253683,"filename":"image_29012025_03_36_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/29/fcca84ec0ce3458e3ca67b2e6fa36f92.jpg","text":"TemporaryFile(/tmp/multipartBody8004281603545371388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118253683,"filename":"image_29012025_03_35_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/29/ab1bc4ed043e70e4d89ab3a1577a85ea.jpg","text":"TemporaryFile(/tmp/multipartBody4823000682789029172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118253683,"filename":"image_29012025_03_36_06_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/29/762f9ee42e45d443387231664e9fcd34.jpg","text":"TemporaryFile(/tmp/multipartBody2843915575343063487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118253683,"filename":"image_29012025_03_36_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/29/50dc31047554aefc1ba3a4ae2b887916.jpg","text":"TemporaryFile(/tmp/multipartBody4308385495246864797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118253683,"filename":"image_29012025_03_36_36_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/29/7a455645df5df833918587bdb0fdea86.jpg","text":"TemporaryFile(/tmp/multipartBody4109467982556167226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118253683,"filename":"image_29012025_03_36_16_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332511359","file1":"1332511355","file0":"1332511250","file4":"1332511363","file5":"1332511366","file3":"1332511361"},"map_files_photo_id_array":[{"photo_id":"1332511366","filename":"file5"},{"photo_id":"1332511359","filename":"file2"},{"photo_id":"1332511363","filename":"file4"},{"photo_id":"1332511355","filename":"file1"},{"photo_id":"1332511250","filename":"file0"},{"photo_id":"1332511361","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332511361":["hashtag1","hashtag2"]},{"1332511250":["hashtag1","hashtag2"]},{"1332511355":["hashtag1","hashtag2"]},{"1332511366":["hashtag1","hashtag2"]},{"1332511363":["hashtag1","hashtag2"]},{"1332511359":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332511361, 1332511250, 1332511355, 1332511366, 1332511363, 1332511359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24164128303528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:37:32.890207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/36/image_29012025_03_36_55_9398.jpg', '/home/pi/Desktop/images/29012025/03/36/image_29012025_03_37_06_10345.jpg', '/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_16_10355.jpg', '/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_25_9348.jpg', '/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_36_10349.jpg', '/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_46_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/36/image_29012025_03_36_55_9398.jpg
/home/pi/Desktop/images/29012025/03/36/image_29012025_03_37_06_10345.jpg
/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_16_10355.jpg
/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_25_9348.jpg
/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_36_10349.jpg
/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_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":["1332512692","1332512683","1332512614","1332512670","1332512460","1332512681"],"photo_ids_order":["1332512460","1332512614","1332512670","1332512681","1332512683","1332512692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/346cb3e5f30195162e658ce200165af8.jpg","text":"TemporaryFile(/tmp/multipartBody1044850778941598626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118313810,"filename":"image_29012025_03_37_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/29/4571b0c7b21c70cdbf4579382a499d26.jpg","text":"TemporaryFile(/tmp/multipartBody5318786172237218390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118313810,"filename":"image_29012025_03_37_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/29/1f70f702d4bdfa643a9317bde9ab5ea5.jpg","text":"TemporaryFile(/tmp/multipartBody5858306781034042576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118313810,"filename":"image_29012025_03_37_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/29/9cee287bdf67055f2808ce3c231cf36a.jpg","text":"TemporaryFile(/tmp/multipartBody7168487083965967212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118313810,"filename":"image_29012025_03_37_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/29/df8595f46ffec98541f45a85af3e1c6f.jpg","text":"TemporaryFile(/tmp/multipartBody6481697258315845225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118313810,"filename":"image_29012025_03_36_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/29/bad65a23edffb2f91dc171e3a12f04ab.jpg","text":"TemporaryFile(/tmp/multipartBody5509119662309040208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118313810,"filename":"image_29012025_03_37_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332512670","file1":"1332512614","file0":"1332512460","file4":"1332512683","file5":"1332512692","file3":"1332512681"},"map_files_photo_id_array":[{"photo_id":"1332512692","filename":"file5"},{"photo_id":"1332512670","filename":"file2"},{"photo_id":"1332512683","filename":"file4"},{"photo_id":"1332512614","filename":"file1"},{"photo_id":"1332512460","filename":"file0"},{"photo_id":"1332512681","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332512692":["hashtag1","hashtag2"]},{"1332512683":["hashtag1","hashtag2"]},{"1332512614":["hashtag1","hashtag2"]},{"1332512670":["hashtag1","hashtag2"]},{"1332512460":["hashtag1","hashtag2"]},{"1332512681":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332512692, 1332512683, 1332512614, 1332512670, 1332512460, 1332512681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.88920187950134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:38:33.149863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_56_9362.jpg', '/home/pi/Desktop/images/29012025/03/37/image_29012025_03_38_06_10384.jpg', '/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_15_9419.jpg', '/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_26_10371.jpg', '/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_36_10356.jpg', '/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_45_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_56_9362.jpg
/home/pi/Desktop/images/29012025/03/37/image_29012025_03_38_06_10384.jpg
/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_15_9419.jpg
/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_26_10371.jpg
/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_36_10356.jpg
/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_45_9383.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.5202159881591797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 03:38:43.153302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_56_9362.jpg', '/home/pi/Desktop/images/29012025/03/37/image_29012025_03_38_06_10384.jpg', '/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_15_9419.jpg', '/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_26_10371.jpg', '/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_36_10356.jpg', '/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_45_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/37/image_29012025_03_37_56_9362.jpg
/home/pi/Desktop/images/29012025/03/37/image_29012025_03_38_06_10384.jpg
/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_15_9419.jpg
/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_26_10371.jpg
/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_36_10356.jpg
/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_45_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332513137","1332512872","1332513093","1332512746","1332513144","1332512739"],"photo_ids_order":["1332512739","1332512746","1332512872","1332513093","1332513137","1332513144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/452925dc1e0494def5758194ac10f317.jpg","text":"TemporaryFile(/tmp/multipartBody9206724032126952284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118384059,"filename":"image_29012025_03_38_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/29/3501942fd7d36353a74dd9c0f79c7efb.jpg","text":"TemporaryFile(/tmp/multipartBody8145198837254024082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118384059,"filename":"image_29012025_03_38_15_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/29/b3e0c08e076349f175d07fb6387f0520.jpg","text":"TemporaryFile(/tmp/multipartBody295099031699314312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118384059,"filename":"image_29012025_03_38_26_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/29/6b1cf808de0f301854eb2255818b1953.jpg","text":"TemporaryFile(/tmp/multipartBody4156960300117803893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118384059,"filename":"image_29012025_03_38_06_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/29/e6f410e729c6f2078a7c53cc5aa77b47.jpg","text":"TemporaryFile(/tmp/multipartBody5283880907064248358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118384059,"filename":"image_29012025_03_38_45_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/29/8a8ad1dc56ab386b5b268b73756bdd58.jpg","text":"TemporaryFile(/tmp/multipartBody5954570551219656604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118384059,"filename":"image_29012025_03_37_56_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332512872","file1":"1332512746","file0":"1332512739","file4":"1332513137","file5":"1332513144","file3":"1332513093"},"map_files_photo_id_array":[{"photo_id":"1332513144","filename":"file5"},{"photo_id":"1332512872","filename":"file2"},{"photo_id":"1332513137","filename":"file4"},{"photo_id":"1332512746","filename":"file1"},{"photo_id":"1332512739","filename":"file0"},{"photo_id":"1332513093","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332513137":["hashtag1","hashtag2"]},{"1332512872":["hashtag1","hashtag2"]},{"1332513093":["hashtag1","hashtag2"]},{"1332512746":["hashtag1","hashtag2"]},{"1332513144":["hashtag1","hashtag2"]},{"1332512739":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332513137, 1332512872, 1332513093, 1332512746, 1332513144, 1332512739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90195679664612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:39:32.383724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_56_10377.jpg', '/home/pi/Desktop/images/29012025/03/38/image_29012025_03_39_06_10372.jpg', '/home/pi/Desktop/images/29012025/03/39/image_29012025_03_39_16_9337.jpg', '/home/pi/Desktop/images/29012025/03/39/image_29012025_03_39_26_10328.jpg', '/home/pi/Desktop/images/29012025/03/39/image_29012025_03_39_36_10343.jpg', '/home/pi/Desktop/images/29012025/03/39/image_29012025_03_39_46_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/38/image_29012025_03_38_56_10377.jpg
/home/pi/Desktop/images/29012025/03/38/image_29012025_03_39_06_10372.jpg
/home/pi/Desktop/images/29012025/03/39/image_29012025_03_39_16_9337.jpg
/home/pi/Desktop/images/29012025/03/39/image_29012025_03_39_26_10328.jpg
/home/pi/Desktop/images/29012025/03/39/image_29012025_03_39_36_10343.jpg
/home/pi/Desktop/images/29012025/03/39/image_29012025_03_39_46_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":["1332513283","1332513316","1332513261","1332513249","1332513266","1332513332"],"photo_ids_order":["1332513249","1332513261","1332513266","1332513283","1332513316","1332513332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7314d88056d4ffdfcfb5c14d226d30e6.jpg","text":"TemporaryFile(/tmp/multipartBody2596494772714742490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118433288,"filename":"image_29012025_03_39_26_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/29/9638a70f3d4e7a4201080a7a6d959770.jpg","text":"TemporaryFile(/tmp/multipartBody308678927641844522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118433288,"filename":"image_29012025_03_39_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/29/d3a39d54e2e042047291cf422f7dbab7.jpg","text":"TemporaryFile(/tmp/multipartBody5592013035805504905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118433288,"filename":"image_29012025_03_39_06_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/29/6be92cd2656e0df97e4f14390bb2a769.jpg","text":"TemporaryFile(/tmp/multipartBody6099970954269593654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118433288,"filename":"image_29012025_03_38_56_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/29/d156ba149b5565bb14d6a13e449f7e42.jpg","text":"TemporaryFile(/tmp/multipartBody1087789845353217263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118433288,"filename":"image_29012025_03_39_16_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/29/96fd739c7cac4fa41979ec5f070a98d5.jpg","text":"TemporaryFile(/tmp/multipartBody1042845054184002564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118433288,"filename":"image_29012025_03_39_46_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332513266","file1":"1332513261","file0":"1332513249","file4":"1332513316","file5":"1332513332","file3":"1332513283"},"map_files_photo_id_array":[{"photo_id":"1332513332","filename":"file5"},{"photo_id":"1332513266","filename":"file2"},{"photo_id":"1332513316","filename":"file4"},{"photo_id":"1332513261","filename":"file1"},{"photo_id":"1332513249","filename":"file0"},{"photo_id":"1332513283","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332513283":["hashtag1","hashtag2"]},{"1332513316":["hashtag1","hashtag2"]},{"1332513261":["hashtag1","hashtag2"]},{"1332513249":["hashtag1","hashtag2"]},{"1332513266":["hashtag1","hashtag2"]},{"1332513332":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332513283, 1332513316, 1332513261, 1332513249, 1332513266, 1332513332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52587389945984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:40:32.384035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/39/image_29012025_03_39_56_10362.jpg', '/home/pi/Desktop/images/29012025/03/39/image_29012025_03_40_05_9444.jpg', '/home/pi/Desktop/images/29012025/03/40/image_29012025_03_40_16_10336.jpg', '/home/pi/Desktop/images/29012025/03/40/image_29012025_03_40_26_10371.jpg', '/home/pi/Desktop/images/29012025/03/40/image_29012025_03_40_35_9386.jpg', '/home/pi/Desktop/images/29012025/03/40/image_29012025_03_40_46_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/39/image_29012025_03_39_56_10362.jpg
/home/pi/Desktop/images/29012025/03/39/image_29012025_03_40_05_9444.jpg
/home/pi/Desktop/images/29012025/03/40/image_29012025_03_40_16_10336.jpg
/home/pi/Desktop/images/29012025/03/40/image_29012025_03_40_26_10371.jpg
/home/pi/Desktop/images/29012025/03/40/image_29012025_03_40_35_9386.jpg
/home/pi/Desktop/images/29012025/03/40/image_29012025_03_40_46_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":["1332513348","1332513342","1332513336","1332513351","1332513345","1332513339"],"photo_ids_order":["1332513336","1332513339","1332513342","1332513345","1332513348","1332513351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bcc385702d04887ae5c69f6ee4fcde1f.jpg","text":"TemporaryFile(/tmp/multipartBody4716892247984947657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118493294,"filename":"image_29012025_03_40_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/29/31a40dd5a00981b157cfc34fb6c6dcff.jpg","text":"TemporaryFile(/tmp/multipartBody2373927813361119030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118493294,"filename":"image_29012025_03_40_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/29/a86231b080b5bcaa1b0ee58a1dfd67e1.jpg","text":"TemporaryFile(/tmp/multipartBody4556335263144948157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118493294,"filename":"image_29012025_03_39_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/29/564a716ad2bbd0e05119425a050a5c58.jpg","text":"TemporaryFile(/tmp/multipartBody1706726384669460403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118493294,"filename":"image_29012025_03_40_46_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/29/ee47344fe3c3e7f8b8f228ac55137f44.jpg","text":"TemporaryFile(/tmp/multipartBody223140456319796075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118493294,"filename":"image_29012025_03_40_26_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/29/d8febbc440f5ba7bb0d02636e8c3a844.jpg","text":"TemporaryFile(/tmp/multipartBody58769491924934869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118493294,"filename":"image_29012025_03_40_05_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332513342","file1":"1332513339","file0":"1332513336","file4":"1332513348","file5":"1332513351","file3":"1332513345"},"map_files_photo_id_array":[{"photo_id":"1332513351","filename":"file5"},{"photo_id":"1332513342","filename":"file2"},{"photo_id":"1332513348","filename":"file4"},{"photo_id":"1332513339","filename":"file1"},{"photo_id":"1332513336","filename":"file0"},{"photo_id":"1332513345","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332513348":["hashtag1","hashtag2"]},{"1332513342":["hashtag1","hashtag2"]},{"1332513336":["hashtag1","hashtag2"]},{"1332513351":["hashtag1","hashtag2"]},{"1332513345":["hashtag1","hashtag2"]},{"1332513339":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332513348, 1332513342, 1332513336, 1332513351, 1332513345, 1332513339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44477462768555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:41:32.622970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/40/image_29012025_03_40_56_10386.jpg', '/home/pi/Desktop/images/29012025/03/40/image_29012025_03_41_06_9346.jpg', '/home/pi/Desktop/images/29012025/03/41/image_29012025_03_41_16_10370.jpg', '/home/pi/Desktop/images/29012025/03/41/image_29012025_03_41_26_10368.jpg', '/home/pi/Desktop/images/29012025/03/41/image_29012025_03_41_36_9416.jpg', '/home/pi/Desktop/images/29012025/03/41/image_29012025_03_41_46_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/40/image_29012025_03_40_56_10386.jpg
/home/pi/Desktop/images/29012025/03/40/image_29012025_03_41_06_9346.jpg
/home/pi/Desktop/images/29012025/03/41/image_29012025_03_41_16_10370.jpg
/home/pi/Desktop/images/29012025/03/41/image_29012025_03_41_26_10368.jpg
/home/pi/Desktop/images/29012025/03/41/image_29012025_03_41_36_9416.jpg
/home/pi/Desktop/images/29012025/03/41/image_29012025_03_41_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":["1332513496","1332513661","1332513420","1332513587","1332513362","1332513374"],"photo_ids_order":["1332513362","1332513374","1332513420","1332513496","1332513587","1332513661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8f7e557b1630228eaca9a3e613406e73.jpg","text":"TemporaryFile(/tmp/multipartBody8622179798202267355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118553533,"filename":"image_29012025_03_41_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/29/0d943130bb1ca52ac81ba12059b276c9.jpg","text":"TemporaryFile(/tmp/multipartBody1753702112967209205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118553533,"filename":"image_29012025_03_41_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/29/81d649b43b18335679a21d98f0195dcc.jpg","text":"TemporaryFile(/tmp/multipartBody6886123309141697392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118553533,"filename":"image_29012025_03_41_16_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/29/7a389dc1a5234ad770f3910f387aef2f.jpg","text":"TemporaryFile(/tmp/multipartBody5467178444575793787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118553533,"filename":"image_29012025_03_41_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/29/1522e5813d3be88834820ef15a823cb2.jpg","text":"TemporaryFile(/tmp/multipartBody4854854376254261573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118553533,"filename":"image_29012025_03_40_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/29/9e37a59085d37b73003e2b6ceb469963.jpg","text":"TemporaryFile(/tmp/multipartBody92688955413686770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118553533,"filename":"image_29012025_03_41_06_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332513420","file1":"1332513374","file0":"1332513362","file4":"1332513587","file5":"1332513661","file3":"1332513496"},"map_files_photo_id_array":[{"photo_id":"1332513661","filename":"file5"},{"photo_id":"1332513420","filename":"file2"},{"photo_id":"1332513587","filename":"file4"},{"photo_id":"1332513374","filename":"file1"},{"photo_id":"1332513362","filename":"file0"},{"photo_id":"1332513496","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332513496":["hashtag1","hashtag2"]},{"1332513661":["hashtag1","hashtag2"]},{"1332513420":["hashtag1","hashtag2"]},{"1332513587":["hashtag1","hashtag2"]},{"1332513362":["hashtag1","hashtag2"]},{"1332513374":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332513496, 1332513661, 1332513420, 1332513587, 1332513362, 1332513374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.26381874084473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:42:32.885414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/41/image_29012025_03_41_55_9374.jpg', '/home/pi/Desktop/images/29012025/03/41/image_29012025_03_42_06_10362.jpg', '/home/pi/Desktop/images/29012025/03/42/image_29012025_03_42_16_10419.jpg', '/home/pi/Desktop/images/29012025/03/42/image_29012025_03_42_26_9335.jpg', '/home/pi/Desktop/images/29012025/03/42/image_29012025_03_42_36_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/41/image_29012025_03_41_55_9374.jpg
/home/pi/Desktop/images/29012025/03/41/image_29012025_03_42_06_10362.jpg
/home/pi/Desktop/images/29012025/03/42/image_29012025_03_42_16_10419.jpg
/home/pi/Desktop/images/29012025/03/42/image_29012025_03_42_26_9335.jpg
/home/pi/Desktop/images/29012025/03/42/image_29012025_03_42_36_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":["1332514258","1332514126","1332514044","1332514212","1332514256"],"photo_ids_order":["1332514044","1332514126","1332514212","1332514256","1332514258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0d824eff6ceaf8bb54f64b5918a8cb2d.jpg","text":"TemporaryFile(/tmp/multipartBody3263993685591788926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118613771,"filename":"image_29012025_03_42_36_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/29/a63b8ec7d515c44bb72a8a32024e97ef.jpg","text":"TemporaryFile(/tmp/multipartBody3466540302602317184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118613771,"filename":"image_29012025_03_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/29/c706552c2ba8ad0f6033c8060b99d6d2.jpg","text":"TemporaryFile(/tmp/multipartBody7731531478073401215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118613771,"filename":"image_29012025_03_41_55_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/29/3cda00acb3b7c2da7ec104655d186550.jpg","text":"TemporaryFile(/tmp/multipartBody3213842256768858391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118613771,"filename":"image_29012025_03_42_16_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/29/1f6e87a670d227cbaadc628baf211ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8605591645026154094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118613771,"filename":"image_29012025_03_42_26_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332514212","file1":"1332514126","file0":"1332514044","file4":"1332514258","file3":"1332514256"},"map_files_photo_id_array":[{"photo_id":"1332514212","filename":"file2"},{"photo_id":"1332514258","filename":"file4"},{"photo_id":"1332514126","filename":"file1"},{"photo_id":"1332514044","filename":"file0"},{"photo_id":"1332514256","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332514258":["hashtag1","hashtag2"]},{"1332514126":["hashtag1","hashtag2"]},{"1332514044":["hashtag1","hashtag2"]},{"1332514212":["hashtag1","hashtag2"]},{"1332514256":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332514258, 1332514126, 1332514044, 1332514212, 1332514256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.77056813240051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:43:33.135191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/42/image_29012025_03_42_45_9442.jpg', '/home/pi/Desktop/images/29012025/03/42/image_29012025_03_43_06_10469.jpg', '/home/pi/Desktop/images/29012025/03/43/image_29012025_03_43_16_9338.jpg', '/home/pi/Desktop/images/29012025/03/43/image_29012025_03_43_26_10435.jpg', '/home/pi/Desktop/images/29012025/03/43/image_29012025_03_43_35_9401.jpg', '/home/pi/Desktop/images/29012025/03/43/image_29012025_03_43_46_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/42/image_29012025_03_42_45_9442.jpg
/home/pi/Desktop/images/29012025/03/42/image_29012025_03_43_06_10469.jpg
/home/pi/Desktop/images/29012025/03/43/image_29012025_03_43_16_9338.jpg
/home/pi/Desktop/images/29012025/03/43/image_29012025_03_43_26_10435.jpg
/home/pi/Desktop/images/29012025/03/43/image_29012025_03_43_35_9401.jpg
/home/pi/Desktop/images/29012025/03/43/image_29012025_03_43_46_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332514375","1332514344","1332514347","1332514341","1332514382","1332514385"],"photo_ids_order":["1332514341","1332514344","1332514347","1332514375","1332514382","1332514385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b55be1a14e66db38450f74101e400e37.jpg","text":"TemporaryFile(/tmp/multipartBody7801235566701684738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118674035,"filename":"image_29012025_03_43_26_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/29/70542b11a765c50c49d08345350d6d06.jpg","text":"TemporaryFile(/tmp/multipartBody1244765736654945277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118674035,"filename":"image_29012025_03_43_06_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/29/1514e2bdbbb0be44ee9639560b5fa287.jpg","text":"TemporaryFile(/tmp/multipartBody4687216320251453173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118674035,"filename":"image_29012025_03_43_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/29/92507291a61568fd6c4d4fe20ecffafc.jpg","text":"TemporaryFile(/tmp/multipartBody5285546091904794682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118674035,"filename":"image_29012025_03_42_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/29/d077e131b97c9c70b4f37223343c9058.jpg","text":"TemporaryFile(/tmp/multipartBody999827225802033401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118674035,"filename":"image_29012025_03_43_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/29/47d6fb3d2a6e4e0b759340dea1dabf3c.jpg","text":"TemporaryFile(/tmp/multipartBody5094494100599262901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118674035,"filename":"image_29012025_03_43_46_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332514347","file1":"1332514344","file0":"1332514341","file4":"1332514382","file5":"1332514385","file3":"1332514375"},"map_files_photo_id_array":[{"photo_id":"1332514385","filename":"file5"},{"photo_id":"1332514347","filename":"file2"},{"photo_id":"1332514382","filename":"file4"},{"photo_id":"1332514344","filename":"file1"},{"photo_id":"1332514341","filename":"file0"},{"photo_id":"1332514375","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332514375":["hashtag1","hashtag2"]},{"1332514344":["hashtag1","hashtag2"]},{"1332514347":["hashtag1","hashtag2"]},{"1332514341":["hashtag1","hashtag2"]},{"1332514382":["hashtag1","hashtag2"]},{"1332514385":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332514375, 1332514344, 1332514347, 1332514341, 1332514382, 1332514385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.69976615905762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:44:33.113863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/43/image_29012025_03_43_56_10401.jpg', '/home/pi/Desktop/images/29012025/03/43/image_29012025_03_44_06_9422.jpg', '/home/pi/Desktop/images/29012025/03/44/image_29012025_03_44_16_10412.jpg', '/home/pi/Desktop/images/29012025/03/44/image_29012025_03_44_25_9439.jpg', '/home/pi/Desktop/images/29012025/03/44/image_29012025_03_44_36_10362.jpg', '/home/pi/Desktop/images/29012025/03/44/image_29012025_03_44_46_10082.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/43/image_29012025_03_43_56_10401.jpg
/home/pi/Desktop/images/29012025/03/43/image_29012025_03_44_06_9422.jpg
/home/pi/Desktop/images/29012025/03/44/image_29012025_03_44_16_10412.jpg
/home/pi/Desktop/images/29012025/03/44/image_29012025_03_44_25_9439.jpg
/home/pi/Desktop/images/29012025/03/44/image_29012025_03_44_36_10362.jpg
/home/pi/Desktop/images/29012025/03/44/image_29012025_03_44_46_10082.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332514403","1332514639","1332514431","1332514401","1332514571","1332514496"],"photo_ids_order":["1332514401","1332514403","1332514431","1332514496","1332514571","1332514639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/99d4bf3159ae5a151669fb9891e6a63e.jpg","text":"TemporaryFile(/tmp/multipartBody7501712442140585067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118734038,"filename":"image_29012025_03_44_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/29/5c60abec7147053cf0214e5f7a3675d8.jpg","text":"TemporaryFile(/tmp/multipartBody5935092505499067031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118734038,"filename":"image_29012025_03_44_46_10082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b8cbdd58cd9d2aeb95ac1c6153533126.jpg","text":"TemporaryFile(/tmp/multipartBody609851670412950690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118734038,"filename":"image_29012025_03_44_16_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/29/d34c4333d45dd2dbb2483759bee38c34.jpg","text":"TemporaryFile(/tmp/multipartBody2267648327177694216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118734038,"filename":"image_29012025_03_43_56_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/29/5a02bf7618e2e9c786d3bd108f0445ea.jpg","text":"TemporaryFile(/tmp/multipartBody8817561338548937371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118734038,"filename":"image_29012025_03_44_36_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/29/615d0e74fcc1fa5e9711d20851ea1984.jpg","text":"TemporaryFile(/tmp/multipartBody6049698071555656935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118734038,"filename":"image_29012025_03_44_25_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332514431","file1":"1332514403","file0":"1332514401","file4":"1332514571","file5":"1332514639","file3":"1332514496"},"map_files_photo_id_array":[{"photo_id":"1332514639","filename":"file5"},{"photo_id":"1332514431","filename":"file2"},{"photo_id":"1332514571","filename":"file4"},{"photo_id":"1332514403","filename":"file1"},{"photo_id":"1332514401","filename":"file0"},{"photo_id":"1332514496","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332514403":["hashtag1","hashtag2"]},{"1332514639":["hashtag1","hashtag2"]},{"1332514431":["hashtag1","hashtag2"]},{"1332514401":["hashtag1","hashtag2"]},{"1332514571":["hashtag1","hashtag2"]},{"1332514496":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332514403, 1332514639, 1332514431, 1332514401, 1332514571, 1332514496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.92889046669006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:45:32.309273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/44/image_29012025_03_44_55_9434.jpg', '/home/pi/Desktop/images/29012025/03/44/image_29012025_03_45_06_10377.jpg', '/home/pi/Desktop/images/29012025/03/45/image_29012025_03_45_16_10460.jpg', '/home/pi/Desktop/images/29012025/03/45/image_29012025_03_45_26_9351.jpg', '/home/pi/Desktop/images/29012025/03/45/image_29012025_03_45_36_10424.jpg', '/home/pi/Desktop/images/29012025/03/45/image_29012025_03_45_45_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/44/image_29012025_03_44_55_9434.jpg
/home/pi/Desktop/images/29012025/03/44/image_29012025_03_45_06_10377.jpg
/home/pi/Desktop/images/29012025/03/45/image_29012025_03_45_16_10460.jpg
/home/pi/Desktop/images/29012025/03/45/image_29012025_03_45_26_9351.jpg
/home/pi/Desktop/images/29012025/03/45/image_29012025_03_45_36_10424.jpg
/home/pi/Desktop/images/29012025/03/45/image_29012025_03_45_45_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":["1332514690","1332514698","1332514702","1332514686","1332514694","1332514706"],"photo_ids_order":["1332514686","1332514690","1332514694","1332514698","1332514702","1332514706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0b55cfdd2bf44c49fd75e596cdeea5d3.jpg","text":"TemporaryFile(/tmp/multipartBody6862589576225041081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118793227,"filename":"image_29012025_03_45_06_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/29/fdfd4be261a4d0cf0f7b21efd2bacab3.jpg","text":"TemporaryFile(/tmp/multipartBody379603133324605249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118793227,"filename":"image_29012025_03_45_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/29/d2ef99549fa4dffe77e4b1be25a46683.jpg","text":"TemporaryFile(/tmp/multipartBody3392471015147977869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118793227,"filename":"image_29012025_03_45_36_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/29/7a0ad1479ae90be29261a3f9509a21c0.jpg","text":"TemporaryFile(/tmp/multipartBody3660418502296099572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118793227,"filename":"image_29012025_03_44_55_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/29/182b7535fd5af5b74b2ca2eb60ed3cd6.jpg","text":"TemporaryFile(/tmp/multipartBody2052336086354300116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118793227,"filename":"image_29012025_03_45_16_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/29/789f0f3ed9a44772bc8ce1e4c5ffb7c7.jpg","text":"TemporaryFile(/tmp/multipartBody2737539019331663032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118793227,"filename":"image_29012025_03_45_45_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332514694","file1":"1332514690","file0":"1332514686","file4":"1332514702","file5":"1332514706","file3":"1332514698"},"map_files_photo_id_array":[{"photo_id":"1332514706","filename":"file5"},{"photo_id":"1332514694","filename":"file2"},{"photo_id":"1332514702","filename":"file4"},{"photo_id":"1332514690","filename":"file1"},{"photo_id":"1332514686","filename":"file0"},{"photo_id":"1332514698","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332514690":["hashtag1","hashtag2"]},{"1332514698":["hashtag1","hashtag2"]},{"1332514702":["hashtag1","hashtag2"]},{"1332514686":["hashtag1","hashtag2"]},{"1332514694":["hashtag1","hashtag2"]},{"1332514706":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332514690, 1332514698, 1332514702, 1332514686, 1332514694, 1332514706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.626492500305176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:46:32.749512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/45/image_29012025_03_45_56_10372.jpg', '/home/pi/Desktop/images/29012025/03/45/image_29012025_03_46_06_10400.jpg', '/home/pi/Desktop/images/29012025/03/46/image_29012025_03_46_16_9372.jpg', '/home/pi/Desktop/images/29012025/03/46/image_29012025_03_46_26_10367.jpg', '/home/pi/Desktop/images/29012025/03/46/image_29012025_03_46_36_10373.jpg', '/home/pi/Desktop/images/29012025/03/46/image_29012025_03_46_46_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/45/image_29012025_03_45_56_10372.jpg
/home/pi/Desktop/images/29012025/03/45/image_29012025_03_46_06_10400.jpg
/home/pi/Desktop/images/29012025/03/46/image_29012025_03_46_16_9372.jpg
/home/pi/Desktop/images/29012025/03/46/image_29012025_03_46_26_10367.jpg
/home/pi/Desktop/images/29012025/03/46/image_29012025_03_46_36_10373.jpg
/home/pi/Desktop/images/29012025/03/46/image_29012025_03_46_46_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":["1332514729","1332514890","1332514816","1332514902","1332514739","1332514910"],"photo_ids_order":["1332514729","1332514739","1332514816","1332514890","1332514902","1332514910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1b60fe2328d736d4ef1cf4b2f4c272dd.jpg","text":"TemporaryFile(/tmp/multipartBody5826914709692266648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118853693,"filename":"image_29012025_03_45_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/29/2c340afab7d7963aab8f96fe28380322.jpg","text":"TemporaryFile(/tmp/multipartBody8569515214167029859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118853693,"filename":"image_29012025_03_46_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/29/b873aa104f2201785373107a3208800d.jpg","text":"TemporaryFile(/tmp/multipartBody2104707628031771980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118853693,"filename":"image_29012025_03_46_16_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/29/47338d85ff46244a6a22626838972c19.jpg","text":"TemporaryFile(/tmp/multipartBody6144099126603436049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118853693,"filename":"image_29012025_03_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/29/6444cf70a607d5bc9a615d2b6b03d94f.jpg","text":"TemporaryFile(/tmp/multipartBody8982875198736526819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118853693,"filename":"image_29012025_03_46_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/29/622c23207193203e9a56643a058f81fc.jpg","text":"TemporaryFile(/tmp/multipartBody786114521756022594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118853693,"filename":"image_29012025_03_46_46_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332514816","file1":"1332514739","file0":"1332514729","file4":"1332514902","file5":"1332514910","file3":"1332514890"},"map_files_photo_id_array":[{"photo_id":"1332514910","filename":"file5"},{"photo_id":"1332514816","filename":"file2"},{"photo_id":"1332514902","filename":"file4"},{"photo_id":"1332514739","filename":"file1"},{"photo_id":"1332514729","filename":"file0"},{"photo_id":"1332514890","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332514729":["hashtag1","hashtag2"]},{"1332514890":["hashtag1","hashtag2"]},{"1332514816":["hashtag1","hashtag2"]},{"1332514902":["hashtag1","hashtag2"]},{"1332514739":["hashtag1","hashtag2"]},{"1332514910":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332514729, 1332514890, 1332514816, 1332514902, 1332514739, 1332514910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83119773864746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:47:32.898706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/46/image_29012025_03_46_56_10359.jpg', '/home/pi/Desktop/images/29012025/03/46/image_29012025_03_47_05_9457.jpg', '/home/pi/Desktop/images/29012025/03/47/image_29012025_03_47_16_10351.jpg', '/home/pi/Desktop/images/29012025/03/47/image_29012025_03_47_26_10418.jpg', '/home/pi/Desktop/images/29012025/03/47/image_29012025_03_47_36_9407.jpg', '/home/pi/Desktop/images/29012025/03/47/image_29012025_03_47_46_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/46/image_29012025_03_46_56_10359.jpg
/home/pi/Desktop/images/29012025/03/46/image_29012025_03_47_05_9457.jpg
/home/pi/Desktop/images/29012025/03/47/image_29012025_03_47_16_10351.jpg
/home/pi/Desktop/images/29012025/03/47/image_29012025_03_47_26_10418.jpg
/home/pi/Desktop/images/29012025/03/47/image_29012025_03_47_36_9407.jpg
/home/pi/Desktop/images/29012025/03/47/image_29012025_03_47_46_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":["1332515317","1332515196","1332514998","1332515384","1332515089","1332515260"],"photo_ids_order":["1332514998","1332515089","1332515196","1332515260","1332515317","1332515384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/863f1396fb2c6c9dd29b4e53dfcfc49b.jpg","text":"TemporaryFile(/tmp/multipartBody1031900379287185252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118913807,"filename":"image_29012025_03_47_36_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/29/e8373ff56009bfcb01f6fa97d50f593a.jpg","text":"TemporaryFile(/tmp/multipartBody7080080778034568956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118913807,"filename":"image_29012025_03_47_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/29/348fedab5470fac79fcc71222284bd36.jpg","text":"TemporaryFile(/tmp/multipartBody2214810831705259738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118913807,"filename":"image_29012025_03_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/29/494dbc1972a5f90d87a3be00dd8f3053.jpg","text":"TemporaryFile(/tmp/multipartBody6877048938191875707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118913807,"filename":"image_29012025_03_47_46_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/29/a3c0043d581f42e57ad7dd5c5004b9d8.jpg","text":"TemporaryFile(/tmp/multipartBody3661223450518567667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118913807,"filename":"image_29012025_03_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/29/102d2d335ae134d4477838ea8b637461.jpg","text":"TemporaryFile(/tmp/multipartBody4882450522176225270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118913807,"filename":"image_29012025_03_47_26_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332515196","file1":"1332515089","file0":"1332514998","file4":"1332515317","file5":"1332515384","file3":"1332515260"},"map_files_photo_id_array":[{"photo_id":"1332515384","filename":"file5"},{"photo_id":"1332515196","filename":"file2"},{"photo_id":"1332515317","filename":"file4"},{"photo_id":"1332515089","filename":"file1"},{"photo_id":"1332514998","filename":"file0"},{"photo_id":"1332515260","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332515317":["hashtag1","hashtag2"]},{"1332515196":["hashtag1","hashtag2"]},{"1332514998":["hashtag1","hashtag2"]},{"1332515384":["hashtag1","hashtag2"]},{"1332515089":["hashtag1","hashtag2"]},{"1332515260":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332515317, 1332515196, 1332514998, 1332515384, 1332515089, 1332515260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.5250723361969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:48:33.090255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/47/image_29012025_03_47_55_9427.jpg', '/home/pi/Desktop/images/29012025/03/47/image_29012025_03_48_06_10339.jpg', '/home/pi/Desktop/images/29012025/03/48/image_29012025_03_48_16_10383.jpg', '/home/pi/Desktop/images/29012025/03/48/image_29012025_03_48_26_9367.jpg', '/home/pi/Desktop/images/29012025/03/48/image_29012025_03_48_36_10356.jpg', '/home/pi/Desktop/images/29012025/03/48/image_29012025_03_48_45_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/47/image_29012025_03_47_55_9427.jpg
/home/pi/Desktop/images/29012025/03/47/image_29012025_03_48_06_10339.jpg
/home/pi/Desktop/images/29012025/03/48/image_29012025_03_48_16_10383.jpg
/home/pi/Desktop/images/29012025/03/48/image_29012025_03_48_26_9367.jpg
/home/pi/Desktop/images/29012025/03/48/image_29012025_03_48_36_10356.jpg
/home/pi/Desktop/images/29012025/03/48/image_29012025_03_48_45_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":["1332515925","1332515922","1332515918","1332515899","1332515822","1332515920"],"photo_ids_order":["1332515822","1332515899","1332515918","1332515920","1332515922","1332515925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/317218613436a797a2b147e857519ed1.jpg","text":"TemporaryFile(/tmp/multipartBody4244512257306041802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118973997,"filename":"image_29012025_03_48_45_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/29/a59b3af55c84f3056b0be0e2eaaa23c0.jpg","text":"TemporaryFile(/tmp/multipartBody3946993601123891920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118973997,"filename":"image_29012025_03_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/29/689290d34b3d034fc4ac23efacc8d3a9.jpg","text":"TemporaryFile(/tmp/multipartBody4015645412709597706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118973997,"filename":"image_29012025_03_48_16_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/29/0a6deddee64191c7717b026a506ab550.jpg","text":"TemporaryFile(/tmp/multipartBody6302362085836660580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118973997,"filename":"image_29012025_03_48_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/29/3fd17d90327ed95ec204704db0286a6b.jpg","text":"TemporaryFile(/tmp/multipartBody8149060745697352260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118973997,"filename":"image_29012025_03_47_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/29/05648f25ef214103e2b2c2afde7e6dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7963135441906952509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738118973997,"filename":"image_29012025_03_48_26_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332515918","file1":"1332515899","file0":"1332515822","file4":"1332515922","file5":"1332515925","file3":"1332515920"},"map_files_photo_id_array":[{"photo_id":"1332515925","filename":"file5"},{"photo_id":"1332515918","filename":"file2"},{"photo_id":"1332515922","filename":"file4"},{"photo_id":"1332515899","filename":"file1"},{"photo_id":"1332515822","filename":"file0"},{"photo_id":"1332515920","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332515925":["hashtag1","hashtag2"]},{"1332515922":["hashtag1","hashtag2"]},{"1332515918":["hashtag1","hashtag2"]},{"1332515899":["hashtag1","hashtag2"]},{"1332515822":["hashtag1","hashtag2"]},{"1332515920":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332515925, 1332515922, 1332515918, 1332515899, 1332515822, 1332515920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54879331588745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:49:32.173036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/48/image_29012025_03_48_56_10362.jpg', '/home/pi/Desktop/images/29012025/03/48/image_29012025_03_49_06_10456.jpg', '/home/pi/Desktop/images/29012025/03/49/image_29012025_03_49_26_10380.jpg', '/home/pi/Desktop/images/29012025/03/49/image_29012025_03_49_36_10361.jpg', '/home/pi/Desktop/images/29012025/03/49/image_29012025_03_49_46_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/48/image_29012025_03_48_56_10362.jpg
/home/pi/Desktop/images/29012025/03/48/image_29012025_03_49_06_10456.jpg
/home/pi/Desktop/images/29012025/03/49/image_29012025_03_49_26_10380.jpg
/home/pi/Desktop/images/29012025/03/49/image_29012025_03_49_36_10361.jpg
/home/pi/Desktop/images/29012025/03/49/image_29012025_03_49_46_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":["1332516729","1332516507","1332516614","1332516475","1332516298"],"photo_ids_order":["1332516298","1332516475","1332516507","1332516614","1332516729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/73f99d238c5d286cb6410513dcb18e74.jpg","text":"TemporaryFile(/tmp/multipartBody3909628124245380368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119033076,"filename":"image_29012025_03_49_46_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/29/cf37f3b167fd8e0201dde4937adf5206.jpg","text":"TemporaryFile(/tmp/multipartBody7081311644873459444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119033076,"filename":"image_29012025_03_49_26_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/29/2ac79dfea02afd805c0c392c5930384d.jpg","text":"TemporaryFile(/tmp/multipartBody221387005721577047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119033076,"filename":"image_29012025_03_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/29/e16c1a5408a79df09910d79af7633672.jpg","text":"TemporaryFile(/tmp/multipartBody8404891245753978192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119033076,"filename":"image_29012025_03_49_06_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/29/f1f1591d349232e3cdc6c19cfe222d6c.jpg","text":"TemporaryFile(/tmp/multipartBody4350665044906895200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119033076,"filename":"image_29012025_03_48_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332516507","file1":"1332516475","file0":"1332516298","file4":"1332516729","file3":"1332516614"},"map_files_photo_id_array":[{"photo_id":"1332516507","filename":"file2"},{"photo_id":"1332516729","filename":"file4"},{"photo_id":"1332516475","filename":"file1"},{"photo_id":"1332516298","filename":"file0"},{"photo_id":"1332516614","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332516729":["hashtag1","hashtag2"]},{"1332516507":["hashtag1","hashtag2"]},{"1332516614":["hashtag1","hashtag2"]},{"1332516475":["hashtag1","hashtag2"]},{"1332516298":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332516729, 1332516507, 1332516614, 1332516475, 1332516298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.33373308181763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:50:32.449865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/49/image_29012025_03_49_56_10346.jpg', '/home/pi/Desktop/images/29012025/03/49/image_29012025_03_50_05_9355.jpg', '/home/pi/Desktop/images/29012025/03/50/image_29012025_03_50_16_10345.jpg', '/home/pi/Desktop/images/29012025/03/50/image_29012025_03_50_26_10373.jpg', '/home/pi/Desktop/images/29012025/03/50/image_29012025_03_50_35_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/49/image_29012025_03_49_56_10346.jpg
/home/pi/Desktop/images/29012025/03/49/image_29012025_03_50_05_9355.jpg
/home/pi/Desktop/images/29012025/03/50/image_29012025_03_50_16_10345.jpg
/home/pi/Desktop/images/29012025/03/50/image_29012025_03_50_26_10373.jpg
/home/pi/Desktop/images/29012025/03/50/image_29012025_03_50_35_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":["1332517097","1332516955","1332517132","1332517003","1332517134"],"photo_ids_order":["1332516955","1332517003","1332517097","1332517132","1332517134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e0182ee6c0e3a5b91fb2c943854212b7.jpg","text":"TemporaryFile(/tmp/multipartBody7359132284116013130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119093349,"filename":"image_29012025_03_50_16_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/29/4bf0a5616e49b2e1cb600125e60f0603.jpg","text":"TemporaryFile(/tmp/multipartBody6111979392420723641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119093349,"filename":"image_29012025_03_49_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/29/5b9ba5ce4d0be6cacee66006fc315a96.jpg","text":"TemporaryFile(/tmp/multipartBody327629456154598070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119093349,"filename":"image_29012025_03_50_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/29/f8f4f8e5ab43f8b503a5042a97fed0a0.jpg","text":"TemporaryFile(/tmp/multipartBody5958045796078218105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119093349,"filename":"image_29012025_03_50_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/29/849a73e7cd54297dd33971381642a17b.jpg","text":"TemporaryFile(/tmp/multipartBody1130319776510431710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119093349,"filename":"image_29012025_03_50_35_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332517097","file1":"1332517003","file0":"1332516955","file4":"1332517134","file3":"1332517132"},"map_files_photo_id_array":[{"photo_id":"1332517097","filename":"file2"},{"photo_id":"1332517134","filename":"file4"},{"photo_id":"1332517003","filename":"file1"},{"photo_id":"1332516955","filename":"file0"},{"photo_id":"1332517132","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332517097":["hashtag1","hashtag2"]},{"1332516955":["hashtag1","hashtag2"]},{"1332517132":["hashtag1","hashtag2"]},{"1332517003":["hashtag1","hashtag2"]},{"1332517134":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332517097, 1332516955, 1332517132, 1332517003, 1332517134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.498971462249756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:51:32.660352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/50/image_29012025_03_50_46_10407.jpg', '/home/pi/Desktop/images/29012025/03/51/image_29012025_03_51_16_10331.jpg', '/home/pi/Desktop/images/29012025/03/51/image_29012025_03_51_25_9345.jpg', '/home/pi/Desktop/images/29012025/03/51/image_29012025_03_51_36_10398.jpg', '/home/pi/Desktop/images/29012025/03/51/image_29012025_03_51_46_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/50/image_29012025_03_50_46_10407.jpg
/home/pi/Desktop/images/29012025/03/51/image_29012025_03_51_16_10331.jpg
/home/pi/Desktop/images/29012025/03/51/image_29012025_03_51_25_9345.jpg
/home/pi/Desktop/images/29012025/03/51/image_29012025_03_51_36_10398.jpg
/home/pi/Desktop/images/29012025/03/51/image_29012025_03_51_46_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332517274","1332517262","1332517240","1332517243","1332517266"],"photo_ids_order":["1332517240","1332517243","1332517262","1332517266","1332517274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/28ad7f5507bf0cd91970e92be173d80a.jpg","text":"TemporaryFile(/tmp/multipartBody4193747325060266447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119153550,"filename":"image_29012025_03_51_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/29/612d991b58d10a36cf21cc2787d2cd9e.jpg","text":"TemporaryFile(/tmp/multipartBody3375573085484442302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119153550,"filename":"image_29012025_03_51_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/29/a5c0443291df234e5a77b0b9a0610d06.jpg","text":"TemporaryFile(/tmp/multipartBody3319265099103608200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119153550,"filename":"image_29012025_03_50_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/29/db2d89521170dda3f1b993d8bef1c41a.jpg","text":"TemporaryFile(/tmp/multipartBody590843800497973001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119153550,"filename":"image_29012025_03_51_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/29/b9455182254102b1df0498c8f20963a0.jpg","text":"TemporaryFile(/tmp/multipartBody1550670229493053314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119153550,"filename":"image_29012025_03_51_36_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332517262","file1":"1332517243","file0":"1332517240","file4":"1332517274","file3":"1332517266"},"map_files_photo_id_array":[{"photo_id":"1332517262","filename":"file2"},{"photo_id":"1332517274","filename":"file4"},{"photo_id":"1332517243","filename":"file1"},{"photo_id":"1332517240","filename":"file0"},{"photo_id":"1332517266","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332517274":["hashtag1","hashtag2"]},{"1332517262":["hashtag1","hashtag2"]},{"1332517240":["hashtag1","hashtag2"]},{"1332517243":["hashtag1","hashtag2"]},{"1332517266":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332517274, 1332517262, 1332517240, 1332517243, 1332517266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.23207116127014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:52:32.906505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/51/image_29012025_03_51_56_9375.jpg', '/home/pi/Desktop/images/29012025/03/51/image_29012025_03_52_06_10354.jpg', '/home/pi/Desktop/images/29012025/03/52/image_29012025_03_52_15_9443.jpg', '/home/pi/Desktop/images/29012025/03/52/image_29012025_03_52_26_10370.jpg', '/home/pi/Desktop/images/29012025/03/52/image_29012025_03_52_36_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/51/image_29012025_03_51_56_9375.jpg
/home/pi/Desktop/images/29012025/03/51/image_29012025_03_52_06_10354.jpg
/home/pi/Desktop/images/29012025/03/52/image_29012025_03_52_15_9443.jpg
/home/pi/Desktop/images/29012025/03/52/image_29012025_03_52_26_10370.jpg
/home/pi/Desktop/images/29012025/03/52/image_29012025_03_52_36_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332517388","1332517384","1332517362","1332517386","1332517365"],"photo_ids_order":["1332517362","1332517365","1332517384","1332517386","1332517388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/764c2913f417631c2b0d2b13786bb026.jpg","text":"TemporaryFile(/tmp/multipartBody5947976708335162534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119213804,"filename":"image_29012025_03_52_36_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/29/79dd821a14e681ebb939f8bb24475340.jpg","text":"TemporaryFile(/tmp/multipartBody2075154427672236289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119213804,"filename":"image_29012025_03_52_15_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/29/6e9064a0b905a708385fdd51ad961c13.jpg","text":"TemporaryFile(/tmp/multipartBody941914085914412182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119213804,"filename":"image_29012025_03_51_56_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/29/122ff845784222fc176fbf41742dc805.jpg","text":"TemporaryFile(/tmp/multipartBody3198717097283931118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119213804,"filename":"image_29012025_03_52_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/29/7fc6c2fe3f657041496c91fdec13605a.jpg","text":"TemporaryFile(/tmp/multipartBody3869387119925539460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119213804,"filename":"image_29012025_03_52_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332517384","file1":"1332517365","file0":"1332517362","file4":"1332517388","file3":"1332517386"},"map_files_photo_id_array":[{"photo_id":"1332517384","filename":"file2"},{"photo_id":"1332517388","filename":"file4"},{"photo_id":"1332517365","filename":"file1"},{"photo_id":"1332517362","filename":"file0"},{"photo_id":"1332517386","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332517388":["hashtag1","hashtag2"]},{"1332517384":["hashtag1","hashtag2"]},{"1332517362":["hashtag1","hashtag2"]},{"1332517386":["hashtag1","hashtag2"]},{"1332517365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332517388, 1332517384, 1332517362, 1332517386, 1332517365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.72788095474243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:53:33.205422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/52/image_29012025_03_52_45_9331.jpg', '/home/pi/Desktop/images/29012025/03/52/image_29012025_03_53_06_10446.jpg', '/home/pi/Desktop/images/29012025/03/53/image_29012025_03_53_16_9408.jpg', '/home/pi/Desktop/images/29012025/03/53/image_29012025_03_53_26_10423.jpg', '/home/pi/Desktop/images/29012025/03/53/image_29012025_03_53_35_9337.jpg', '/home/pi/Desktop/images/29012025/03/53/image_29012025_03_53_46_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/52/image_29012025_03_52_45_9331.jpg
/home/pi/Desktop/images/29012025/03/52/image_29012025_03_53_06_10446.jpg
/home/pi/Desktop/images/29012025/03/53/image_29012025_03_53_16_9408.jpg
/home/pi/Desktop/images/29012025/03/53/image_29012025_03_53_26_10423.jpg
/home/pi/Desktop/images/29012025/03/53/image_29012025_03_53_35_9337.jpg
/home/pi/Desktop/images/29012025/03/53/image_29012025_03_53_46_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":["1332517652","1332517421","1332517424","1332517474","1332517432","1332517425"],"photo_ids_order":["1332517421","1332517424","1332517425","1332517432","1332517474","1332517652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/72eb1a9784cc366d63c5951c4d579c31.jpg","text":"TemporaryFile(/tmp/multipartBody6443813403156980336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119274119,"filename":"image_29012025_03_53_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/29/eaf616207fec5fcff12c5b24c1bf8172.jpg","text":"TemporaryFile(/tmp/multipartBody6345308064585687630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119274119,"filename":"image_29012025_03_52_45_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/29/85b846d0ab2ef50900234541450ce4e3.jpg","text":"TemporaryFile(/tmp/multipartBody2901345009888570990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119274119,"filename":"image_29012025_03_53_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/29/482f7a949f70931e276d14feff16d40d.jpg","text":"TemporaryFile(/tmp/multipartBody7879208787668014229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119274119,"filename":"image_29012025_03_53_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/29/d62a3c25ab9130dba00b145b499b6b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8944066841649740558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119274119,"filename":"image_29012025_03_53_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/29/3b1cb70a163875bcf07601eb37245089.jpg","text":"TemporaryFile(/tmp/multipartBody2445904695299985590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119274119,"filename":"image_29012025_03_53_16_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332517425","file1":"1332517424","file0":"1332517421","file4":"1332517474","file5":"1332517652","file3":"1332517432"},"map_files_photo_id_array":[{"photo_id":"1332517652","filename":"file5"},{"photo_id":"1332517425","filename":"file2"},{"photo_id":"1332517474","filename":"file4"},{"photo_id":"1332517424","filename":"file1"},{"photo_id":"1332517421","filename":"file0"},{"photo_id":"1332517432","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332517652":["hashtag1","hashtag2"]},{"1332517421":["hashtag1","hashtag2"]},{"1332517424":["hashtag1","hashtag2"]},{"1332517474":["hashtag1","hashtag2"]},{"1332517432":["hashtag1","hashtag2"]},{"1332517425":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332517652, 1332517421, 1332517424, 1332517474, 1332517432, 1332517425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37842774391174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:54:32.265376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/53/image_29012025_03_53_56_10358.jpg', '/home/pi/Desktop/images/29012025/03/53/image_29012025_03_54_06_9356.jpg', '/home/pi/Desktop/images/29012025/03/54/image_29012025_03_54_16_10346.jpg', '/home/pi/Desktop/images/29012025/03/54/image_29012025_03_54_25_9471.jpg', '/home/pi/Desktop/images/29012025/03/54/image_29012025_03_54_36_10360.jpg', '/home/pi/Desktop/images/29012025/03/54/image_29012025_03_54_46_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/53/image_29012025_03_53_56_10358.jpg
/home/pi/Desktop/images/29012025/03/53/image_29012025_03_54_06_9356.jpg
/home/pi/Desktop/images/29012025/03/54/image_29012025_03_54_16_10346.jpg
/home/pi/Desktop/images/29012025/03/54/image_29012025_03_54_25_9471.jpg
/home/pi/Desktop/images/29012025/03/54/image_29012025_03_54_36_10360.jpg
/home/pi/Desktop/images/29012025/03/54/image_29012025_03_54_46_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":["1332517850","1332517868","1332517847","1332517774","1332517876","1332517777"],"photo_ids_order":["1332517774","1332517777","1332517847","1332517850","1332517868","1332517876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6767c276855f3daddc2793962d28463f.jpg","text":"TemporaryFile(/tmp/multipartBody854858851307759644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119333183,"filename":"image_29012025_03_54_25_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/29/88c0f2abf62a2fcc33acd1f1a597044f.jpg","text":"TemporaryFile(/tmp/multipartBody6958076436860434466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119333183,"filename":"image_29012025_03_54_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/29/5594852ccf355599542623db427b5846.jpg","text":"TemporaryFile(/tmp/multipartBody2295696998217882241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119333183,"filename":"image_29012025_03_54_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/29/ce1dfc526ba8794d9d285b23b3c938c7.jpg","text":"TemporaryFile(/tmp/multipartBody4368287175548024360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119333183,"filename":"image_29012025_03_53_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/29/a5ec0446dcb43dc1956fd320e6ad06c8.jpg","text":"TemporaryFile(/tmp/multipartBody6326240646719699807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119333183,"filename":"image_29012025_03_54_46_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/29/4f08fd82c0877527f06aac97e87259f1.jpg","text":"TemporaryFile(/tmp/multipartBody4508979033801595391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119333183,"filename":"image_29012025_03_54_06_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332517847","file1":"1332517777","file0":"1332517774","file4":"1332517868","file5":"1332517876","file3":"1332517850"},"map_files_photo_id_array":[{"photo_id":"1332517876","filename":"file5"},{"photo_id":"1332517847","filename":"file2"},{"photo_id":"1332517868","filename":"file4"},{"photo_id":"1332517777","filename":"file1"},{"photo_id":"1332517774","filename":"file0"},{"photo_id":"1332517850","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332517850":["hashtag1","hashtag2"]},{"1332517868":["hashtag1","hashtag2"]},{"1332517847":["hashtag1","hashtag2"]},{"1332517774":["hashtag1","hashtag2"]},{"1332517876":["hashtag1","hashtag2"]},{"1332517777":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332517850, 1332517868, 1332517847, 1332517774, 1332517876, 1332517777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45268774032593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:55:32.634613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/54/image_29012025_03_54_55_9347.jpg', '/home/pi/Desktop/images/29012025/03/54/image_29012025_03_55_06_10337.jpg', '/home/pi/Desktop/images/29012025/03/55/image_29012025_03_55_16_10371.jpg', '/home/pi/Desktop/images/29012025/03/55/image_29012025_03_55_26_9358.jpg', '/home/pi/Desktop/images/29012025/03/55/image_29012025_03_55_36_10399.jpg', '/home/pi/Desktop/images/29012025/03/55/image_29012025_03_55_46_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/54/image_29012025_03_54_55_9347.jpg
/home/pi/Desktop/images/29012025/03/54/image_29012025_03_55_06_10337.jpg
/home/pi/Desktop/images/29012025/03/55/image_29012025_03_55_16_10371.jpg
/home/pi/Desktop/images/29012025/03/55/image_29012025_03_55_26_9358.jpg
/home/pi/Desktop/images/29012025/03/55/image_29012025_03_55_36_10399.jpg
/home/pi/Desktop/images/29012025/03/55/image_29012025_03_55_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":["1332517905","1332517889","1332517928","1332517901","1332517906","1332517884"],"photo_ids_order":["1332517884","1332517889","1332517901","1332517905","1332517906","1332517928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9df2e24a1537e6f5789e4fa6b66a67ab.jpg","text":"TemporaryFile(/tmp/multipartBody2761233378950273152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119393562,"filename":"image_29012025_03_55_26_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/29/74377add914ff37a3536bd0930bbb3a6.jpg","text":"TemporaryFile(/tmp/multipartBody5193080004070849826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119393562,"filename":"image_29012025_03_55_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/29/ef224d630dae6a4f3577e88c37c62e9e.jpg","text":"TemporaryFile(/tmp/multipartBody3999166854001064888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119393562,"filename":"image_29012025_03_55_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/29/ae89e6451eeaed5c23e7a71b81ee4c5a.jpg","text":"TemporaryFile(/tmp/multipartBody6640589346170073390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119393562,"filename":"image_29012025_03_55_16_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/29/3b7cf91c3d11609314de96bb8b383b01.jpg","text":"TemporaryFile(/tmp/multipartBody2582807366564193934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119393562,"filename":"image_29012025_03_55_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/29/ad3b19e6b78ad6046865d9ea50151f29.jpg","text":"TemporaryFile(/tmp/multipartBody3654681985444414715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119393562,"filename":"image_29012025_03_54_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332517901","file1":"1332517889","file0":"1332517884","file4":"1332517906","file5":"1332517928","file3":"1332517905"},"map_files_photo_id_array":[{"photo_id":"1332517928","filename":"file5"},{"photo_id":"1332517901","filename":"file2"},{"photo_id":"1332517906","filename":"file4"},{"photo_id":"1332517889","filename":"file1"},{"photo_id":"1332517884","filename":"file0"},{"photo_id":"1332517905","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332517905":["hashtag1","hashtag2"]},{"1332517889":["hashtag1","hashtag2"]},{"1332517928":["hashtag1","hashtag2"]},{"1332517901":["hashtag1","hashtag2"]},{"1332517906":["hashtag1","hashtag2"]},{"1332517884":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332517905, 1332517889, 1332517928, 1332517901, 1332517906, 1332517884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82682013511658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:56:32.657169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/55/image_29012025_03_55_56_9478.jpg', '/home/pi/Desktop/images/29012025/03/55/image_29012025_03_56_06_10482.jpg', '/home/pi/Desktop/images/29012025/03/56/image_29012025_03_56_16_9321.jpg', '/home/pi/Desktop/images/29012025/03/56/image_29012025_03_56_26_10368.jpg', '/home/pi/Desktop/images/29012025/03/56/image_29012025_03_56_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/55/image_29012025_03_55_56_9478.jpg
/home/pi/Desktop/images/29012025/03/55/image_29012025_03_56_06_10482.jpg
/home/pi/Desktop/images/29012025/03/56/image_29012025_03_56_16_9321.jpg
/home/pi/Desktop/images/29012025/03/56/image_29012025_03_56_26_10368.jpg
/home/pi/Desktop/images/29012025/03/56/image_29012025_03_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":["1332517973","1332517964","1332517969","1332517978","1332517959"],"photo_ids_order":["1332517959","1332517964","1332517969","1332517973","1332517978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fa99f38f875f52ac31530443556c6ea0.jpg","text":"TemporaryFile(/tmp/multipartBody8092074450773219443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119453563,"filename":"image_29012025_03_56_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/29/943f415a6f3f57bb6586d0f7cd30ae58.jpg","text":"TemporaryFile(/tmp/multipartBody2300794249323105717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119453563,"filename":"image_29012025_03_56_06_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/29/0b7b897f095344cc9404d4bb2030b417.jpg","text":"TemporaryFile(/tmp/multipartBody3217673089602234003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119453563,"filename":"image_29012025_03_56_16_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/29/1441f9423e7abe3ca40e4a7d7daa05e6.jpg","text":"TemporaryFile(/tmp/multipartBody3410176253569562992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119453563,"filename":"image_29012025_03_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/29/c7218338575bc65b9e187237f9ebe1b1.jpg","text":"TemporaryFile(/tmp/multipartBody6713849075614959930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119453563,"filename":"image_29012025_03_55_56_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332517969","file1":"1332517964","file0":"1332517959","file4":"1332517978","file3":"1332517973"},"map_files_photo_id_array":[{"photo_id":"1332517969","filename":"file2"},{"photo_id":"1332517978","filename":"file4"},{"photo_id":"1332517964","filename":"file1"},{"photo_id":"1332517959","filename":"file0"},{"photo_id":"1332517973","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332517973":["hashtag1","hashtag2"]},{"1332517964":["hashtag1","hashtag2"]},{"1332517969":["hashtag1","hashtag2"]},{"1332517978":["hashtag1","hashtag2"]},{"1332517959":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332517973, 1332517964, 1332517969, 1332517978, 1332517959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.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-29 03:57:32.890011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/56/image_29012025_03_56_56_10426.jpg', '/home/pi/Desktop/images/29012025/03/56/image_29012025_03_57_06_9346.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_16_10352.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_25_9457.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_36_10431.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_46_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/56/image_29012025_03_56_56_10426.jpg
/home/pi/Desktop/images/29012025/03/56/image_29012025_03_57_06_9346.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_16_10352.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_25_9457.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_36_10431.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_46_10409.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-29 03:59:04.251665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/56/image_29012025_03_56_56_10426.jpg', '/home/pi/Desktop/images/29012025/03/56/image_29012025_03_57_06_9346.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_16_10352.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_25_9457.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_36_10431.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_46_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/56/image_29012025_03_56_56_10426.jpg
/home/pi/Desktop/images/29012025/03/56/image_29012025_03_57_06_9346.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_16_10352.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_25_9457.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_36_10431.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_46_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.6834726333618164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 03:59:32.757862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/56/image_29012025_03_56_56_10426.jpg', '/home/pi/Desktop/images/29012025/03/56/image_29012025_03_57_06_9346.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_16_10352.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_25_9457.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_36_10431.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_46_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/56/image_29012025_03_56_56_10426.jpg
/home/pi/Desktop/images/29012025/03/56/image_29012025_03_57_06_9346.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_16_10352.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_25_9457.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_36_10431.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_46_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":["1332519407","1332519397","1332519329","1332519424","1332519325","1332519327"],"photo_ids_order":["1332519325","1332519327","1332519329","1332519397","1332519407","1332519424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d9d6877a47eb07af31ffc2d540d6eb72.jpg","text":"TemporaryFile(/tmp/multipartBody5081478445018123146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119633697,"filename":"image_29012025_03_57_36_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/29/f265f6f71e92591d78b47539aa640bca.jpg","text":"TemporaryFile(/tmp/multipartBody2155153369625932951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119633697,"filename":"image_29012025_03_57_25_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/29/69a0a40cb75848bf43c4b3a649d4b417.jpg","text":"TemporaryFile(/tmp/multipartBody4500331116328543275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119633697,"filename":"image_29012025_03_57_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/29/da77ef75e0029635f33eb6f668aea5a1.jpg","text":"TemporaryFile(/tmp/multipartBody2876042947947392210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119633697,"filename":"image_29012025_03_57_46_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/29/d60bd891a5e1587c5de80ba28d7cbff2.jpg","text":"TemporaryFile(/tmp/multipartBody5329522650523228676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119633697,"filename":"image_29012025_03_56_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/29/0ad8a874e013370f4ca531f717e6d0cc.jpg","text":"TemporaryFile(/tmp/multipartBody13885347925466216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119633697,"filename":"image_29012025_03_57_06_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332519329","file1":"1332519327","file0":"1332519325","file4":"1332519407","file5":"1332519424","file3":"1332519397"},"map_files_photo_id_array":[{"photo_id":"1332519424","filename":"file5"},{"photo_id":"1332519329","filename":"file2"},{"photo_id":"1332519407","filename":"file4"},{"photo_id":"1332519327","filename":"file1"},{"photo_id":"1332519325","filename":"file0"},{"photo_id":"1332519397","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332519407":["hashtag1","hashtag2"]},{"1332519397":["hashtag1","hashtag2"]},{"1332519329":["hashtag1","hashtag2"]},{"1332519424":["hashtag1","hashtag2"]},{"1332519325":["hashtag1","hashtag2"]},{"1332519327":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332519407, 1332519397, 1332519329, 1332519424, 1332519325, 1332519327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04821467399597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:00:32.940180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_56_9349.jpg', '/home/pi/Desktop/images/29012025/03/57/image_29012025_03_58_06_10360.jpg', '/home/pi/Desktop/images/29012025/03/58/image_29012025_03_58_26_9355.jpg', '/home/pi/Desktop/images/29012025/03/58/image_29012025_03_58_36_10350.jpg', '/home/pi/Desktop/images/29012025/03/58/image_29012025_03_58_46_10352.jpg', '/home/pi/Desktop/images/29012025/03/58/image_29012025_03_58_56_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_57_56_9349.jpg
/home/pi/Desktop/images/29012025/03/57/image_29012025_03_58_06_10360.jpg
/home/pi/Desktop/images/29012025/03/58/image_29012025_03_58_26_9355.jpg
/home/pi/Desktop/images/29012025/03/58/image_29012025_03_58_36_10350.jpg
/home/pi/Desktop/images/29012025/03/58/image_29012025_03_58_46_10352.jpg
/home/pi/Desktop/images/29012025/03/58/image_29012025_03_58_56_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":["1332519667","1332519742","1332519579","1332519825","1332519612","1332519842"],"photo_ids_order":["1332519579","1332519612","1332519667","1332519742","1332519825","1332519842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a7f822d2d7ac12140500db081449e18c.jpg","text":"TemporaryFile(/tmp/multipartBody117245381093296142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119693845,"filename":"image_29012025_03_58_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/29/c08df0577a5d94773ed3cf68e469ae86.jpg","text":"TemporaryFile(/tmp/multipartBody3383213311853787151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119693845,"filename":"image_29012025_03_58_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/29/f53676d2b5974b3c1eca8f5077285fab.jpg","text":"TemporaryFile(/tmp/multipartBody3588308159784803861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119693845,"filename":"image_29012025_03_57_56_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/29/29dcd7ea398c83457699c7c8d2f7ebd4.jpg","text":"TemporaryFile(/tmp/multipartBody3026793013937506486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119693845,"filename":"image_29012025_03_58_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/29/e4a84874d16adb395b3e9c66f03b5375.jpg","text":"TemporaryFile(/tmp/multipartBody1977704633374118403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119693845,"filename":"image_29012025_03_58_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/29/a6a49e8b8d2097144b161df675ee8b60.jpg","text":"TemporaryFile(/tmp/multipartBody3151382507136822766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119693845,"filename":"image_29012025_03_58_56_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332519667","file1":"1332519612","file0":"1332519579","file4":"1332519825","file5":"1332519842","file3":"1332519742"},"map_files_photo_id_array":[{"photo_id":"1332519842","filename":"file5"},{"photo_id":"1332519667","filename":"file2"},{"photo_id":"1332519825","filename":"file4"},{"photo_id":"1332519612","filename":"file1"},{"photo_id":"1332519579","filename":"file0"},{"photo_id":"1332519742","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332519667":["hashtag1","hashtag2"]},{"1332519742":["hashtag1","hashtag2"]},{"1332519579":["hashtag1","hashtag2"]},{"1332519825":["hashtag1","hashtag2"]},{"1332519612":["hashtag1","hashtag2"]},{"1332519842":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332519667, 1332519742, 1332519579, 1332519825, 1332519612, 1332519842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96539616584778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:01:33.265134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/03/58/image_29012025_03_59_06_10361.jpg', '/home/pi/Desktop/images/29012025/03/59/image_29012025_03_59_15_9433.jpg', '/home/pi/Desktop/images/29012025/03/59/image_29012025_03_59_26_10285.jpg', '/home/pi/Desktop/images/29012025/03/59/image_29012025_03_59_36_10515.jpg', '/home/pi/Desktop/images/29012025/03/59/image_29012025_03_59_46_9331.jpg', '/home/pi/Desktop/images/29012025/03/59/image_29012025_03_59_56_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/03/58/image_29012025_03_59_06_10361.jpg
/home/pi/Desktop/images/29012025/03/59/image_29012025_03_59_15_9433.jpg
/home/pi/Desktop/images/29012025/03/59/image_29012025_03_59_26_10285.jpg
/home/pi/Desktop/images/29012025/03/59/image_29012025_03_59_36_10515.jpg
/home/pi/Desktop/images/29012025/03/59/image_29012025_03_59_46_9331.jpg
/home/pi/Desktop/images/29012025/03/59/image_29012025_03_59_56_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":["1332519961","1332519870","1332519873","1332519867","1332519875","1332519869"],"photo_ids_order":["1332519867","1332519869","1332519870","1332519873","1332519875","1332519961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f1e0c148d85db6711624bfd00fd021b1.jpg","text":"TemporaryFile(/tmp/multipartBody4977908648211817055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119754206,"filename":"image_29012025_03_59_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/29/1e6c542e9a34dde93985595dfd3843fd.jpg","text":"TemporaryFile(/tmp/multipartBody7886267144828733165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119754206,"filename":"image_29012025_03_59_26_10285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8f41ad0c99c7cd912aa20c77eda9e60e.jpg","text":"TemporaryFile(/tmp/multipartBody1090749948281340738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119754206,"filename":"image_29012025_03_59_36_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/649b6671ca0e2d4c27fa3f0ba1d98273.jpg","text":"TemporaryFile(/tmp/multipartBody3374630762427113245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119754206,"filename":"image_29012025_03_59_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/29/f69d71917f55289b894881e8691b3c0d.jpg","text":"TemporaryFile(/tmp/multipartBody7889312174349275182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119754206,"filename":"image_29012025_03_59_46_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/29/5c9469710c9b78e4f2039928679acd23.jpg","text":"TemporaryFile(/tmp/multipartBody1022909167254790521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119754206,"filename":"image_29012025_03_59_15_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332519870","file1":"1332519869","file0":"1332519867","file4":"1332519875","file5":"1332519961","file3":"1332519873"},"map_files_photo_id_array":[{"photo_id":"1332519961","filename":"file5"},{"photo_id":"1332519870","filename":"file2"},{"photo_id":"1332519875","filename":"file4"},{"photo_id":"1332519869","filename":"file1"},{"photo_id":"1332519867","filename":"file0"},{"photo_id":"1332519873","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332519961":["hashtag1","hashtag2"]},{"1332519870":["hashtag1","hashtag2"]},{"1332519873":["hashtag1","hashtag2"]},{"1332519867":["hashtag1","hashtag2"]},{"1332519875":["hashtag1","hashtag2"]},{"1332519869":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332519961, 1332519870, 1332519873, 1332519867, 1332519875, 1332519869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.9240038394928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:02:32.380106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/00/image_29012025_04_00_16_10075.jpg', '/home/pi/Desktop/images/29012025/04/00/image_29012025_04_00_26_10429.jpg', '/home/pi/Desktop/images/29012025/04/00/image_29012025_04_00_37_10419.jpg', '/home/pi/Desktop/images/29012025/04/00/image_29012025_04_00_46_9489.jpg', '/home/pi/Desktop/images/29012025/04/00/image_29012025_04_00_56_10378.jpg', '/home/pi/Desktop/images/29012025/04/00/image_29012025_04_01_06_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/00/image_29012025_04_00_16_10075.jpg
/home/pi/Desktop/images/29012025/04/00/image_29012025_04_00_26_10429.jpg
/home/pi/Desktop/images/29012025/04/00/image_29012025_04_00_37_10419.jpg
/home/pi/Desktop/images/29012025/04/00/image_29012025_04_00_46_9489.jpg
/home/pi/Desktop/images/29012025/04/00/image_29012025_04_00_56_10378.jpg
/home/pi/Desktop/images/29012025/04/00/image_29012025_04_01_06_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":["1332520040","1332520057","1332520045","1332520048","1332520027","1332520005"],"photo_ids_order":["1332520005","1332520027","1332520040","1332520045","1332520048","1332520057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/27ccd4f615817710d638774f3ea6b1ca.jpg","text":"TemporaryFile(/tmp/multipartBody4202095228496033793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119813302,"filename":"image_29012025_04_00_37_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/29/7c22618f1c04bfb092472afdd70b345c.jpg","text":"TemporaryFile(/tmp/multipartBody4095546926448851689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119813302,"filename":"image_29012025_04_01_06_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/29/b20feb94dd1d8115888b0a16cd06a37d.jpg","text":"TemporaryFile(/tmp/multipartBody5405554231324764880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119813302,"filename":"image_29012025_04_00_46_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/29/981bc48807ef03d946abd418b1d57037.jpg","text":"TemporaryFile(/tmp/multipartBody1077589882844170953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119813302,"filename":"image_29012025_04_00_56_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/29/92e018e42811d465373996dcb50b1f83.jpg","text":"TemporaryFile(/tmp/multipartBody6194057041236579016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119813302,"filename":"image_29012025_04_00_26_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/29/c407e6a0a775c6bed6cec1d586be6052.jpg","text":"TemporaryFile(/tmp/multipartBody4720479974036163724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119813302,"filename":"image_29012025_04_00_16_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332520040","file1":"1332520027","file0":"1332520005","file4":"1332520048","file5":"1332520057","file3":"1332520045"},"map_files_photo_id_array":[{"photo_id":"1332520057","filename":"file5"},{"photo_id":"1332520040","filename":"file2"},{"photo_id":"1332520048","filename":"file4"},{"photo_id":"1332520027","filename":"file1"},{"photo_id":"1332520005","filename":"file0"},{"photo_id":"1332520045","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332520040":["hashtag1","hashtag2"]},{"1332520057":["hashtag1","hashtag2"]},{"1332520045":["hashtag1","hashtag2"]},{"1332520048":["hashtag1","hashtag2"]},{"1332520027":["hashtag1","hashtag2"]},{"1332520005":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332520040, 1332520057, 1332520045, 1332520048, 1332520027, 1332520005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91287922859192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:03:32.595902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/01/image_29012025_04_01_27_10359.jpg', '/home/pi/Desktop/images/29012025/04/01/image_29012025_04_01_36_9423.jpg', '/home/pi/Desktop/images/29012025/04/01/image_29012025_04_01_46_10361.jpg', '/home/pi/Desktop/images/29012025/04/01/image_29012025_04_01_56_9351.jpg', '/home/pi/Desktop/images/29012025/04/01/image_29012025_04_02_06_10451.jpg', '/home/pi/Desktop/images/29012025/04/02/image_29012025_04_02_17_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/01/image_29012025_04_01_27_10359.jpg
/home/pi/Desktop/images/29012025/04/01/image_29012025_04_01_36_9423.jpg
/home/pi/Desktop/images/29012025/04/01/image_29012025_04_01_46_10361.jpg
/home/pi/Desktop/images/29012025/04/01/image_29012025_04_01_56_9351.jpg
/home/pi/Desktop/images/29012025/04/01/image_29012025_04_02_06_10451.jpg
/home/pi/Desktop/images/29012025/04/02/image_29012025_04_02_17_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":["1332520145","1332520153","1332520141","1332520150","1332520147","1332520071"],"photo_ids_order":["1332520071","1332520141","1332520145","1332520147","1332520150","1332520153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/141af4d12d897374bb5438bd18db44af.jpg","text":"TemporaryFile(/tmp/multipartBody4820180092955903285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119873504,"filename":"image_29012025_04_01_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/29/f301ff0dee86da6ba5ba6b4c40d4c0e2.jpg","text":"TemporaryFile(/tmp/multipartBody5226091910433672870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119873504,"filename":"image_29012025_04_02_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/29/9aedc7d22b5f11588da9b94437b3bc4d.jpg","text":"TemporaryFile(/tmp/multipartBody4180229728468700616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119873504,"filename":"image_29012025_04_01_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/29/d843434ae5ef59b84136e3d8d6f43697.jpg","text":"TemporaryFile(/tmp/multipartBody1674618736164852040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119873504,"filename":"image_29012025_04_02_06_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/29/522594c978840d9ad2f2f9c1a7120426.jpg","text":"TemporaryFile(/tmp/multipartBody7426050723713735828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119873504,"filename":"image_29012025_04_01_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/29/bac635b2201fc518f15608e6b50bcaa0.jpg","text":"TemporaryFile(/tmp/multipartBody2269065403311020306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119873504,"filename":"image_29012025_04_01_27_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332520145","file1":"1332520141","file0":"1332520071","file4":"1332520150","file5":"1332520153","file3":"1332520147"},"map_files_photo_id_array":[{"photo_id":"1332520153","filename":"file5"},{"photo_id":"1332520145","filename":"file2"},{"photo_id":"1332520150","filename":"file4"},{"photo_id":"1332520141","filename":"file1"},{"photo_id":"1332520071","filename":"file0"},{"photo_id":"1332520147","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332520145":["hashtag1","hashtag2"]},{"1332520153":["hashtag1","hashtag2"]},{"1332520141":["hashtag1","hashtag2"]},{"1332520150":["hashtag1","hashtag2"]},{"1332520147":["hashtag1","hashtag2"]},{"1332520071":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332520145, 1332520153, 1332520141, 1332520150, 1332520147, 1332520071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87854075431824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:04:32.848722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/02/image_29012025_04_02_26_9373.jpg', '/home/pi/Desktop/images/29012025/04/02/image_29012025_04_02_36_10423.jpg', '/home/pi/Desktop/images/29012025/04/02/image_29012025_04_02_47_10374.jpg', '/home/pi/Desktop/images/29012025/04/02/image_29012025_04_02_56_9404.jpg', '/home/pi/Desktop/images/29012025/04/02/image_29012025_04_03_06_10331.jpg', '/home/pi/Desktop/images/29012025/04/03/image_29012025_04_03_16_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/02/image_29012025_04_02_26_9373.jpg
/home/pi/Desktop/images/29012025/04/02/image_29012025_04_02_36_10423.jpg
/home/pi/Desktop/images/29012025/04/02/image_29012025_04_02_47_10374.jpg
/home/pi/Desktop/images/29012025/04/02/image_29012025_04_02_56_9404.jpg
/home/pi/Desktop/images/29012025/04/02/image_29012025_04_03_06_10331.jpg
/home/pi/Desktop/images/29012025/04/03/image_29012025_04_03_16_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":["1332520163","1332520171","1332520168","1332520165","1332520161","1332520175"],"photo_ids_order":["1332520161","1332520163","1332520165","1332520168","1332520171","1332520175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/567e3398665174be6a5713744c67eca9.jpg","text":"TemporaryFile(/tmp/multipartBody5481171253794792855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119933792,"filename":"image_29012025_04_02_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/29/55816837b20027e42b577d85e13eb835.jpg","text":"TemporaryFile(/tmp/multipartBody1440062657398676973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119933792,"filename":"image_29012025_04_03_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/29/b79f68ef7515acd6cc1f35b78fbbdc36.jpg","text":"TemporaryFile(/tmp/multipartBody2215504182176316299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119933792,"filename":"image_29012025_04_02_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/29/985f6208d8b4d62c8f5cafaf02c8e061.jpg","text":"TemporaryFile(/tmp/multipartBody7505202752329325163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119933792,"filename":"image_29012025_04_02_47_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/29/2d8e8e5787dc55f12f3f93e34d8818a2.jpg","text":"TemporaryFile(/tmp/multipartBody4077185184443988478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119933792,"filename":"image_29012025_04_02_26_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/29/2d6d14e3e97c1ac27f302e76dbaba33f.jpg","text":"TemporaryFile(/tmp/multipartBody5430138217732564505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119933792,"filename":"image_29012025_04_03_16_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332520165","file1":"1332520163","file0":"1332520161","file4":"1332520171","file5":"1332520175","file3":"1332520168"},"map_files_photo_id_array":[{"photo_id":"1332520175","filename":"file5"},{"photo_id":"1332520165","filename":"file2"},{"photo_id":"1332520171","filename":"file4"},{"photo_id":"1332520163","filename":"file1"},{"photo_id":"1332520161","filename":"file0"},{"photo_id":"1332520168","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332520163":["hashtag1","hashtag2"]},{"1332520171":["hashtag1","hashtag2"]},{"1332520168":["hashtag1","hashtag2"]},{"1332520165":["hashtag1","hashtag2"]},{"1332520161":["hashtag1","hashtag2"]},{"1332520175":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332520163, 1332520171, 1332520168, 1332520165, 1332520161, 1332520175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.73750114440918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:05:33.117380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/03/image_29012025_04_03_26_10483.jpg', '/home/pi/Desktop/images/29012025/04/03/image_29012025_04_03_37_10357.jpg', '/home/pi/Desktop/images/29012025/04/03/image_29012025_04_03_46_9397.jpg', '/home/pi/Desktop/images/29012025/04/03/image_29012025_04_03_56_10350.jpg', '/home/pi/Desktop/images/29012025/04/03/image_29012025_04_04_07_10344.jpg', '/home/pi/Desktop/images/29012025/04/04/image_29012025_04_04_16_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/03/image_29012025_04_03_26_10483.jpg
/home/pi/Desktop/images/29012025/04/03/image_29012025_04_03_37_10357.jpg
/home/pi/Desktop/images/29012025/04/03/image_29012025_04_03_46_9397.jpg
/home/pi/Desktop/images/29012025/04/03/image_29012025_04_03_56_10350.jpg
/home/pi/Desktop/images/29012025/04/03/image_29012025_04_04_07_10344.jpg
/home/pi/Desktop/images/29012025/04/04/image_29012025_04_04_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":["1332520199","1332520331","1332520208","1332520202","1332520324","1332520329"],"photo_ids_order":["1332520199","1332520202","1332520208","1332520324","1332520329","1332520331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/605a5ead7bd51cee6d9fc25fa299d5b2.jpg","text":"TemporaryFile(/tmp/multipartBody3297772724704426013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119994023,"filename":"image_29012025_04_03_26_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/29/2d14738dd988156c54dd4da129e5ddc0.jpg","text":"TemporaryFile(/tmp/multipartBody3128440436625146816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119994023,"filename":"image_29012025_04_04_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/29/ab871004ec358911c1f3d23a5c8d24db.jpg","text":"TemporaryFile(/tmp/multipartBody7889424815493166899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119994023,"filename":"image_29012025_04_03_46_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/29/fb2e9b708027e99d83f1249986f56957.jpg","text":"TemporaryFile(/tmp/multipartBody6717503619723140381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119994023,"filename":"image_29012025_04_03_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/29/33d8a227be23be96ffd545f2094e93c3.jpg","text":"TemporaryFile(/tmp/multipartBody1943606233186028900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119994023,"filename":"image_29012025_04_03_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/29/e2c5703945038217d86cc6658e4ecbca.jpg","text":"TemporaryFile(/tmp/multipartBody1394043024471280415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738119994023,"filename":"image_29012025_04_04_07_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332520208","file1":"1332520202","file0":"1332520199","file4":"1332520329","file5":"1332520331","file3":"1332520324"},"map_files_photo_id_array":[{"photo_id":"1332520331","filename":"file5"},{"photo_id":"1332520208","filename":"file2"},{"photo_id":"1332520329","filename":"file4"},{"photo_id":"1332520202","filename":"file1"},{"photo_id":"1332520199","filename":"file0"},{"photo_id":"1332520324","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332520199":["hashtag1","hashtag2"]},{"1332520331":["hashtag1","hashtag2"]},{"1332520208":["hashtag1","hashtag2"]},{"1332520202":["hashtag1","hashtag2"]},{"1332520324":["hashtag1","hashtag2"]},{"1332520329":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332520199, 1332520331, 1332520208, 1332520202, 1332520324, 1332520329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55056619644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:06:32.274071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/04/image_29012025_04_04_26_10369.jpg', '/home/pi/Desktop/images/29012025/04/04/image_29012025_04_04_36_9349.jpg', '/home/pi/Desktop/images/29012025/04/04/image_29012025_04_04_46_10375.jpg', '/home/pi/Desktop/images/29012025/04/04/image_29012025_04_04_57_10352.jpg', '/home/pi/Desktop/images/29012025/04/04/image_29012025_04_05_06_9337.jpg', '/home/pi/Desktop/images/29012025/04/05/image_29012025_04_05_27_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/04/image_29012025_04_04_26_10369.jpg
/home/pi/Desktop/images/29012025/04/04/image_29012025_04_04_36_9349.jpg
/home/pi/Desktop/images/29012025/04/04/image_29012025_04_04_46_10375.jpg
/home/pi/Desktop/images/29012025/04/04/image_29012025_04_04_57_10352.jpg
/home/pi/Desktop/images/29012025/04/04/image_29012025_04_05_06_9337.jpg
/home/pi/Desktop/images/29012025/04/05/image_29012025_04_05_27_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":["1332520412","1332520409","1332520399","1332520384","1332520401","1332520404"],"photo_ids_order":["1332520384","1332520399","1332520401","1332520404","1332520409","1332520412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/00d7540ed20477a1d2e9e1a87ca07ce6.jpg","text":"TemporaryFile(/tmp/multipartBody5446818908065205743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120053194,"filename":"image_29012025_04_05_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/29/b94847fc7e744e40f58d0fa444f8b250.jpg","text":"TemporaryFile(/tmp/multipartBody6878789363788034175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120053194,"filename":"image_29012025_04_05_06_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/29/a425323247020bfa4148d3747a214464.jpg","text":"TemporaryFile(/tmp/multipartBody5659924263894012043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120053194,"filename":"image_29012025_04_04_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/29/de8ab91e9b641dc6b6ef462abf14b70b.jpg","text":"TemporaryFile(/tmp/multipartBody8963230325250917803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120053194,"filename":"image_29012025_04_04_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/29/2a2118178dd934078c65121ab84ab120.jpg","text":"TemporaryFile(/tmp/multipartBody8274856915200431037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120053194,"filename":"image_29012025_04_04_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/29/4f7ef74998be60c0b1e5c37d80447a8f.jpg","text":"TemporaryFile(/tmp/multipartBody2209108696606680336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120053194,"filename":"image_29012025_04_04_57_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332520401","file1":"1332520399","file0":"1332520384","file4":"1332520409","file5":"1332520412","file3":"1332520404"},"map_files_photo_id_array":[{"photo_id":"1332520412","filename":"file5"},{"photo_id":"1332520401","filename":"file2"},{"photo_id":"1332520409","filename":"file4"},{"photo_id":"1332520399","filename":"file1"},{"photo_id":"1332520384","filename":"file0"},{"photo_id":"1332520404","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332520412":["hashtag1","hashtag2"]},{"1332520409":["hashtag1","hashtag2"]},{"1332520399":["hashtag1","hashtag2"]},{"1332520384":["hashtag1","hashtag2"]},{"1332520401":["hashtag1","hashtag2"]},{"1332520404":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332520412, 1332520409, 1332520399, 1332520384, 1332520401, 1332520404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56617760658264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:07:32.416707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/05/image_29012025_04_05_36_9379.jpg', '/home/pi/Desktop/images/29012025/04/05/image_29012025_04_05_46_10415.jpg', '/home/pi/Desktop/images/29012025/04/05/image_29012025_04_05_56_9336.jpg', '/home/pi/Desktop/images/29012025/04/05/image_29012025_04_06_06_10379.jpg', '/home/pi/Desktop/images/29012025/04/06/image_29012025_04_06_17_10354.jpg', '/home/pi/Desktop/images/29012025/04/06/image_29012025_04_06_26_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/05/image_29012025_04_05_36_9379.jpg
/home/pi/Desktop/images/29012025/04/05/image_29012025_04_05_46_10415.jpg
/home/pi/Desktop/images/29012025/04/05/image_29012025_04_05_56_9336.jpg
/home/pi/Desktop/images/29012025/04/05/image_29012025_04_06_06_10379.jpg
/home/pi/Desktop/images/29012025/04/06/image_29012025_04_06_17_10354.jpg
/home/pi/Desktop/images/29012025/04/06/image_29012025_04_06_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":["1332520553","1332521015","1332520829","1332521028","1332520431","1332521030"],"photo_ids_order":["1332520431","1332520553","1332520829","1332521015","1332521028","1332521030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9bbc3f5610c29b5a1aa8996a64d8be0f.jpg","text":"TemporaryFile(/tmp/multipartBody299052640832057557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120113322,"filename":"image_29012025_04_05_46_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/29/d861cb499e98fd92a93c54c53f985fc3.jpg","text":"TemporaryFile(/tmp/multipartBody5790134210308055429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120113322,"filename":"image_29012025_04_06_06_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/29/75b78de0b914a17fb755ef1602863074.jpg","text":"TemporaryFile(/tmp/multipartBody4510406715614124931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120113322,"filename":"image_29012025_04_05_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/29/518d12370c576d139923466a337bff68.jpg","text":"TemporaryFile(/tmp/multipartBody530253807845905753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120113322,"filename":"image_29012025_04_06_17_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/29/8ffca12865047748dc4254471832d971.jpg","text":"TemporaryFile(/tmp/multipartBody3668995113110767984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120113322,"filename":"image_29012025_04_05_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/29/063fa7c6ba8a1d217f76489eb66fb64b.jpg","text":"TemporaryFile(/tmp/multipartBody1925188741251165954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120113322,"filename":"image_29012025_04_06_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332520829","file1":"1332520553","file0":"1332520431","file4":"1332521028","file5":"1332521030","file3":"1332521015"},"map_files_photo_id_array":[{"photo_id":"1332521030","filename":"file5"},{"photo_id":"1332520829","filename":"file2"},{"photo_id":"1332521028","filename":"file4"},{"photo_id":"1332520553","filename":"file1"},{"photo_id":"1332520431","filename":"file0"},{"photo_id":"1332521015","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332520553":["hashtag1","hashtag2"]},{"1332521015":["hashtag1","hashtag2"]},{"1332520829":["hashtag1","hashtag2"]},{"1332521028":["hashtag1","hashtag2"]},{"1332520431":["hashtag1","hashtag2"]},{"1332521030":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332520553, 1332521015, 1332520829, 1332521028, 1332520431, 1332521030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.4542293548584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:08:32.576464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/06/image_29012025_04_06_36_10346.jpg', '/home/pi/Desktop/images/29012025/04/07/image_29012025_04_07_17_10345.jpg', '/home/pi/Desktop/images/29012025/04/07/image_29012025_04_07_26_9352.jpg', '/home/pi/Desktop/images/29012025/04/07/image_29012025_04_07_46_9342.jpg', '/home/pi/Desktop/images/29012025/04/07/image_29012025_04_07_56_10464.jpg', '/home/pi/Desktop/images/29012025/04/07/image_29012025_04_08_07_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/06/image_29012025_04_06_36_10346.jpg
/home/pi/Desktop/images/29012025/04/07/image_29012025_04_07_17_10345.jpg
/home/pi/Desktop/images/29012025/04/07/image_29012025_04_07_26_9352.jpg
/home/pi/Desktop/images/29012025/04/07/image_29012025_04_07_46_9342.jpg
/home/pi/Desktop/images/29012025/04/07/image_29012025_04_07_56_10464.jpg
/home/pi/Desktop/images/29012025/04/07/image_29012025_04_08_07_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":["1332521356","1332521325","1332521304","1332521360","1332521363","1332521150"],"photo_ids_order":["1332521150","1332521304","1332521325","1332521356","1332521360","1332521363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ef5a160e5666cfe92dad7bccbea1e4b9.jpg","text":"TemporaryFile(/tmp/multipartBody6131538222700063454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120173487,"filename":"image_29012025_04_07_46_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/29/9fab218ca4db326589b5c34b109ac396.jpg","text":"TemporaryFile(/tmp/multipartBody1751969252099234473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120173487,"filename":"image_29012025_04_07_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/29/1d7c4ea23b258028d5f6a3bb4abe31fb.jpg","text":"TemporaryFile(/tmp/multipartBody8836012604036985301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120173487,"filename":"image_29012025_04_07_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/29/039b953c0f0a688852639e9a54310d73.jpg","text":"TemporaryFile(/tmp/multipartBody1031983857294735550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120173487,"filename":"image_29012025_04_07_56_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/29/b484661326e01a85d96af67b25c5a161.jpg","text":"TemporaryFile(/tmp/multipartBody1425399555597101756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120173487,"filename":"image_29012025_04_08_07_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/29/c77813080b580cb04c22516a3f77c52c.jpg","text":"TemporaryFile(/tmp/multipartBody1706803920246696249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120173487,"filename":"image_29012025_04_06_36_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332521325","file1":"1332521304","file0":"1332521150","file4":"1332521360","file5":"1332521363","file3":"1332521356"},"map_files_photo_id_array":[{"photo_id":"1332521363","filename":"file5"},{"photo_id":"1332521325","filename":"file2"},{"photo_id":"1332521360","filename":"file4"},{"photo_id":"1332521304","filename":"file1"},{"photo_id":"1332521150","filename":"file0"},{"photo_id":"1332521356","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332521356":["hashtag1","hashtag2"]},{"1332521325":["hashtag1","hashtag2"]},{"1332521304":["hashtag1","hashtag2"]},{"1332521360":["hashtag1","hashtag2"]},{"1332521363":["hashtag1","hashtag2"]},{"1332521150":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332521356, 1332521325, 1332521304, 1332521360, 1332521363, 1332521150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.305296659469604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:09:32.876345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/08/image_29012025_04_08_16_9396.jpg', '/home/pi/Desktop/images/29012025/04/08/image_29012025_04_08_26_10420.jpg', '/home/pi/Desktop/images/29012025/04/08/image_29012025_04_08_36_9435.jpg', '/home/pi/Desktop/images/29012025/04/08/image_29012025_04_08_46_10368.jpg', '/home/pi/Desktop/images/29012025/04/08/image_29012025_04_08_57_10364.jpg', '/home/pi/Desktop/images/29012025/04/08/image_29012025_04_09_06_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/08/image_29012025_04_08_16_9396.jpg
/home/pi/Desktop/images/29012025/04/08/image_29012025_04_08_26_10420.jpg
/home/pi/Desktop/images/29012025/04/08/image_29012025_04_08_36_9435.jpg
/home/pi/Desktop/images/29012025/04/08/image_29012025_04_08_46_10368.jpg
/home/pi/Desktop/images/29012025/04/08/image_29012025_04_08_57_10364.jpg
/home/pi/Desktop/images/29012025/04/08/image_29012025_04_09_06_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":["1332521473","1332521380","1332521377","1332521388","1332521382","1332521378"],"photo_ids_order":["1332521377","1332521378","1332521380","1332521382","1332521388","1332521473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/996c55b73042161cac8bceabb801ec33.jpg","text":"TemporaryFile(/tmp/multipartBody7056003632932506111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120233793,"filename":"image_29012025_04_09_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/29/785e1d3e5cae8a405e45efd15b6d9a1e.jpg","text":"TemporaryFile(/tmp/multipartBody7514312271429969339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120233793,"filename":"image_29012025_04_08_36_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/29/5cd346059a433cedec1d4dac95762346.jpg","text":"TemporaryFile(/tmp/multipartBody3005879794017120865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120233793,"filename":"image_29012025_04_08_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/29/d5b88787788217962bb2aa9f407f0a6b.jpg","text":"TemporaryFile(/tmp/multipartBody2293560155495705796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120233793,"filename":"image_29012025_04_08_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/29/baf3b1721656693fa0320f132d59e6fc.jpg","text":"TemporaryFile(/tmp/multipartBody3490083675690292934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120233793,"filename":"image_29012025_04_08_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/29/296923f9755f5d4b46ff2ae7f5bf54f6.jpg","text":"TemporaryFile(/tmp/multipartBody6428465123895215242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120233793,"filename":"image_29012025_04_08_26_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332521380","file1":"1332521378","file0":"1332521377","file4":"1332521388","file5":"1332521473","file3":"1332521382"},"map_files_photo_id_array":[{"photo_id":"1332521473","filename":"file5"},{"photo_id":"1332521380","filename":"file2"},{"photo_id":"1332521388","filename":"file4"},{"photo_id":"1332521378","filename":"file1"},{"photo_id":"1332521377","filename":"file0"},{"photo_id":"1332521382","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332521473":["hashtag1","hashtag2"]},{"1332521380":["hashtag1","hashtag2"]},{"1332521377":["hashtag1","hashtag2"]},{"1332521388":["hashtag1","hashtag2"]},{"1332521382":["hashtag1","hashtag2"]},{"1332521378":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332521473, 1332521380, 1332521377, 1332521388, 1332521382, 1332521378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51174354553223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:10:33.069861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/09/image_29012025_04_09_16_10440.jpg', '/home/pi/Desktop/images/29012025/04/09/image_29012025_04_09_26_9367.jpg', '/home/pi/Desktop/images/29012025/04/09/image_29012025_04_09_36_10412.jpg', '/home/pi/Desktop/images/29012025/04/09/image_29012025_04_09_46_10342.jpg', '/home/pi/Desktop/images/29012025/04/09/image_29012025_04_09_56_9404.jpg', '/home/pi/Desktop/images/29012025/04/09/image_29012025_04_10_06_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/09/image_29012025_04_09_16_10440.jpg
/home/pi/Desktop/images/29012025/04/09/image_29012025_04_09_26_9367.jpg
/home/pi/Desktop/images/29012025/04/09/image_29012025_04_09_36_10412.jpg
/home/pi/Desktop/images/29012025/04/09/image_29012025_04_09_46_10342.jpg
/home/pi/Desktop/images/29012025/04/09/image_29012025_04_09_56_9404.jpg
/home/pi/Desktop/images/29012025/04/09/image_29012025_04_10_06_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":["1332521962","1332521943","1332521940","1332521966","1332521954","1332521936"],"photo_ids_order":["1332521936","1332521940","1332521943","1332521954","1332521962","1332521966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/103c9c4a4200227fbbc3640bd9e824ae.jpg","text":"TemporaryFile(/tmp/multipartBody6180439654358751996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120293985,"filename":"image_29012025_04_09_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/29/85035ea3c453476acae9cd9c1cbc23a6.jpg","text":"TemporaryFile(/tmp/multipartBody961436442486826155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120293985,"filename":"image_29012025_04_09_36_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/29/47f9d333b2e107193b03026bf383317f.jpg","text":"TemporaryFile(/tmp/multipartBody6646239260224221224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120293985,"filename":"image_29012025_04_09_26_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/29/577541adc742f7f5996b617e2e9d006a.jpg","text":"TemporaryFile(/tmp/multipartBody8609088448048400650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120293985,"filename":"image_29012025_04_10_06_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/29/5f0e7ddb5f7c2081594d639b08442b14.jpg","text":"TemporaryFile(/tmp/multipartBody5408021881489262996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120293985,"filename":"image_29012025_04_09_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/29/616059962fff3287ba0b46b9aab88c27.jpg","text":"TemporaryFile(/tmp/multipartBody5228786138993880190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120293985,"filename":"image_29012025_04_09_16_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332521943","file1":"1332521940","file0":"1332521936","file4":"1332521962","file5":"1332521966","file3":"1332521954"},"map_files_photo_id_array":[{"photo_id":"1332521966","filename":"file5"},{"photo_id":"1332521943","filename":"file2"},{"photo_id":"1332521962","filename":"file4"},{"photo_id":"1332521940","filename":"file1"},{"photo_id":"1332521936","filename":"file0"},{"photo_id":"1332521954","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332521962":["hashtag1","hashtag2"]},{"1332521943":["hashtag1","hashtag2"]},{"1332521940":["hashtag1","hashtag2"]},{"1332521966":["hashtag1","hashtag2"]},{"1332521954":["hashtag1","hashtag2"]},{"1332521936":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332521962, 1332521943, 1332521940, 1332521966, 1332521954, 1332521936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96845507621765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:11:32.237607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/10/image_29012025_04_10_17_10341.jpg', '/home/pi/Desktop/images/29012025/04/10/image_29012025_04_10_26_9533.jpg', '/home/pi/Desktop/images/29012025/04/10/image_29012025_04_10_37_10362.jpg', '/home/pi/Desktop/images/29012025/04/10/image_29012025_04_10_46_9352.jpg', '/home/pi/Desktop/images/29012025/04/11/image_29012025_04_11_16_9351.jpg', '/home/pi/Desktop/images/29012025/04/11/image_29012025_04_11_36_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/10/image_29012025_04_10_17_10341.jpg
/home/pi/Desktop/images/29012025/04/10/image_29012025_04_10_26_9533.jpg
/home/pi/Desktop/images/29012025/04/10/image_29012025_04_10_37_10362.jpg
/home/pi/Desktop/images/29012025/04/10/image_29012025_04_10_46_9352.jpg
/home/pi/Desktop/images/29012025/04/11/image_29012025_04_11_16_9351.jpg
/home/pi/Desktop/images/29012025/04/11/image_29012025_04_11_36_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":["1332522121","1332522159","1332522120","1332522152","1332522137","1332522169"],"photo_ids_order":["1332522120","1332522121","1332522137","1332522152","1332522159","1332522169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8f53359416a6ee326c2af83883bf9a4e.jpg","text":"TemporaryFile(/tmp/multipartBody7815631204042237933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120353433,"filename":"image_29012025_04_10_26_9533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ab5eaa9811f0d7fc505958d58edc258e.jpg","text":"TemporaryFile(/tmp/multipartBody8474884940740437422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120353433,"filename":"image_29012025_04_11_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/29/7d85dfe0b46545fd3f5a7e6477c3ffc5.jpg","text":"TemporaryFile(/tmp/multipartBody376071099167663717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120353433,"filename":"image_29012025_04_10_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/29/91cb6dd70fb0b6b27f569e2bcf336549.jpg","text":"TemporaryFile(/tmp/multipartBody2574480446240547754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120353433,"filename":"image_29012025_04_10_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/29/59e5d89760ce40a3047b5c24ce5c30aa.jpg","text":"TemporaryFile(/tmp/multipartBody2936072452150182984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120353433,"filename":"image_29012025_04_10_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/29/a44de05edc8fe875f348ff83f2c4eea2.jpg","text":"TemporaryFile(/tmp/multipartBody3675903485169380899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120353433,"filename":"image_29012025_04_11_36_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332522137","file1":"1332522121","file0":"1332522120","file4":"1332522159","file5":"1332522169","file3":"1332522152"},"map_files_photo_id_array":[{"photo_id":"1332522169","filename":"file5"},{"photo_id":"1332522137","filename":"file2"},{"photo_id":"1332522159","filename":"file4"},{"photo_id":"1332522121","filename":"file1"},{"photo_id":"1332522120","filename":"file0"},{"photo_id":"1332522152","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332522121":["hashtag1","hashtag2"]},{"1332522159":["hashtag1","hashtag2"]},{"1332522120":["hashtag1","hashtag2"]},{"1332522152":["hashtag1","hashtag2"]},{"1332522137":["hashtag1","hashtag2"]},{"1332522169":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332522121, 1332522159, 1332522120, 1332522152, 1332522137, 1332522169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.728978633880615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:12:32.505848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/11/image_29012025_04_11_57_10370.jpg', '/home/pi/Desktop/images/29012025/04/11/image_29012025_04_12_06_9331.jpg', '/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_16_10333.jpg', '/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_36_9356.jpg', '/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_46_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/11/image_29012025_04_11_57_10370.jpg
/home/pi/Desktop/images/29012025/04/11/image_29012025_04_12_06_9331.jpg
/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_16_10333.jpg
/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_36_9356.jpg
/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_46_10393.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.5280718803405762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 04:12:42.442408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/11/image_29012025_04_11_57_10370.jpg', '/home/pi/Desktop/images/29012025/04/11/image_29012025_04_12_06_9331.jpg', '/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_16_10333.jpg', '/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_36_9356.jpg', '/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_46_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/11/image_29012025_04_11_57_10370.jpg
/home/pi/Desktop/images/29012025/04/11/image_29012025_04_12_06_9331.jpg
/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_16_10333.jpg
/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_36_9356.jpg
/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_46_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332522199","1332522186","1332522194","1332522191","1332522196"],"photo_ids_order":["1332522186","1332522191","1332522194","1332522196","1332522199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7c3670df0d3135fbccd7f7270eb699c3.jpg","text":"TemporaryFile(/tmp/multipartBody2136281630258153185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120423346,"filename":"image_29012025_04_12_46_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/29/131794e3811f3cc45919a01aed9889d9.jpg","text":"TemporaryFile(/tmp/multipartBody7653581273977135812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120423346,"filename":"image_29012025_04_11_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/29/08d554db51c323ac25b18e96d0d4f76d.jpg","text":"TemporaryFile(/tmp/multipartBody2686125120574345286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120423346,"filename":"image_29012025_04_12_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/29/687e0ac6c60bc2bc47600d2cb25467c2.jpg","text":"TemporaryFile(/tmp/multipartBody1952849135446702463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120423346,"filename":"image_29012025_04_12_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/29/3d0db999b78b193e9db2039f0311c823.jpg","text":"TemporaryFile(/tmp/multipartBody5005755110411377941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120423346,"filename":"image_29012025_04_12_36_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332522194","file1":"1332522191","file0":"1332522186","file4":"1332522199","file3":"1332522196"},"map_files_photo_id_array":[{"photo_id":"1332522194","filename":"file2"},{"photo_id":"1332522199","filename":"file4"},{"photo_id":"1332522191","filename":"file1"},{"photo_id":"1332522186","filename":"file0"},{"photo_id":"1332522196","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332522199":["hashtag1","hashtag2"]},{"1332522186":["hashtag1","hashtag2"]},{"1332522194":["hashtag1","hashtag2"]},{"1332522191":["hashtag1","hashtag2"]},{"1332522196":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332522199, 1332522186, 1332522194, 1332522191, 1332522196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.68113660812378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:13:32.681572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_56_9469.jpg', '/home/pi/Desktop/images/29012025/04/13/image_29012025_04_13_17_10352.jpg', '/home/pi/Desktop/images/29012025/04/13/image_29012025_04_13_26_9350.jpg', '/home/pi/Desktop/images/29012025/04/13/image_29012025_04_13_36_10421.jpg', '/home/pi/Desktop/images/29012025/04/13/image_29012025_04_13_47_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/12/image_29012025_04_12_56_9469.jpg
/home/pi/Desktop/images/29012025/04/13/image_29012025_04_13_17_10352.jpg
/home/pi/Desktop/images/29012025/04/13/image_29012025_04_13_26_9350.jpg
/home/pi/Desktop/images/29012025/04/13/image_29012025_04_13_36_10421.jpg
/home/pi/Desktop/images/29012025/04/13/image_29012025_04_13_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":["1332522469","1332522208","1332522246","1332522911","1332522679"],"photo_ids_order":["1332522208","1332522246","1332522469","1332522679","1332522911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d145bcc12132ee1ecf5028ce11f638c3.jpg","text":"TemporaryFile(/tmp/multipartBody8212654546650928391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120473575,"filename":"image_29012025_04_13_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/29/5b20168200d3c44127baa87f0ea6393c.jpg","text":"TemporaryFile(/tmp/multipartBody6212484043268628670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120473575,"filename":"image_29012025_04_12_56_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/29/1bb4dc56d523f33a371b95b1df25eb82.jpg","text":"TemporaryFile(/tmp/multipartBody774911003274866721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120473575,"filename":"image_29012025_04_13_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/29/df3faa37ff6e7b1eb9f1585b4d3ebf8c.jpg","text":"TemporaryFile(/tmp/multipartBody7189519882144079929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120473575,"filename":"image_29012025_04_13_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/29/28a1f7da7b7b77a547957ac85eb01ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8639138691576463959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120473575,"filename":"image_29012025_04_13_36_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332522469","file1":"1332522246","file0":"1332522208","file4":"1332522911","file3":"1332522679"},"map_files_photo_id_array":[{"photo_id":"1332522469","filename":"file2"},{"photo_id":"1332522911","filename":"file4"},{"photo_id":"1332522246","filename":"file1"},{"photo_id":"1332522208","filename":"file0"},{"photo_id":"1332522679","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332522469":["hashtag1","hashtag2"]},{"1332522208":["hashtag1","hashtag2"]},{"1332522246":["hashtag1","hashtag2"]},{"1332522911":["hashtag1","hashtag2"]},{"1332522679":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332522469, 1332522208, 1332522246, 1332522911, 1332522679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.58662176132202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:14:32.907129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/13/image_29012025_04_13_56_9410.jpg', '/home/pi/Desktop/images/29012025/04/13/image_29012025_04_14_06_10353.jpg', '/home/pi/Desktop/images/29012025/04/14/image_29012025_04_14_16_9329.jpg', '/home/pi/Desktop/images/29012025/04/14/image_29012025_04_14_26_10411.jpg', '/home/pi/Desktop/images/29012025/04/14/image_29012025_04_14_37_10378.jpg', '/home/pi/Desktop/images/29012025/04/14/image_29012025_04_14_46_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/13/image_29012025_04_13_56_9410.jpg
/home/pi/Desktop/images/29012025/04/13/image_29012025_04_14_06_10353.jpg
/home/pi/Desktop/images/29012025/04/14/image_29012025_04_14_16_9329.jpg
/home/pi/Desktop/images/29012025/04/14/image_29012025_04_14_26_10411.jpg
/home/pi/Desktop/images/29012025/04/14/image_29012025_04_14_37_10378.jpg
/home/pi/Desktop/images/29012025/04/14/image_29012025_04_14_46_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":["1332523303","1332523281","1332523305","1332523553","1332523349","1332523562"],"photo_ids_order":["1332523281","1332523303","1332523305","1332523349","1332523553","1332523562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/557361ef05356921030b41559169ee27.jpg","text":"TemporaryFile(/tmp/multipartBody751649561505606091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120533809,"filename":"image_29012025_04_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/29/601194c609553812db3c3f88a0f9e0b3.jpg","text":"TemporaryFile(/tmp/multipartBody1902201076936908082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120533809,"filename":"image_29012025_04_13_56_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/29/3479eea7c2eb91146b8a0f52decb30e7.jpg","text":"TemporaryFile(/tmp/multipartBody2403649568511961807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120533809,"filename":"image_29012025_04_14_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/29/efdfc410536be586331c296a5cc60927.jpg","text":"TemporaryFile(/tmp/multipartBody6325263431218130353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120533809,"filename":"image_29012025_04_14_37_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/29/3679285116708d29dc7dd20e13919f28.jpg","text":"TemporaryFile(/tmp/multipartBody5081465609150868600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120533809,"filename":"image_29012025_04_14_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/29/d64f50b432927fa0eba667bcc08bacfa.jpg","text":"TemporaryFile(/tmp/multipartBody547060654537860614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120533809,"filename":"image_29012025_04_14_46_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332523305","file1":"1332523303","file0":"1332523281","file4":"1332523553","file5":"1332523562","file3":"1332523349"},"map_files_photo_id_array":[{"photo_id":"1332523562","filename":"file5"},{"photo_id":"1332523305","filename":"file2"},{"photo_id":"1332523553","filename":"file4"},{"photo_id":"1332523303","filename":"file1"},{"photo_id":"1332523281","filename":"file0"},{"photo_id":"1332523349","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332523303":["hashtag1","hashtag2"]},{"1332523281":["hashtag1","hashtag2"]},{"1332523305":["hashtag1","hashtag2"]},{"1332523553":["hashtag1","hashtag2"]},{"1332523349":["hashtag1","hashtag2"]},{"1332523562":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332523303, 1332523281, 1332523305, 1332523553, 1332523349, 1332523562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07511353492737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:15:33.051228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/14/image_29012025_04_14_56_10414.jpg', '/home/pi/Desktop/images/29012025/04/14/image_29012025_04_15_07_10349.jpg', '/home/pi/Desktop/images/29012025/04/15/image_29012025_04_15_16_9482.jpg', '/home/pi/Desktop/images/29012025/04/15/image_29012025_04_15_27_10352.jpg', '/home/pi/Desktop/images/29012025/04/15/image_29012025_04_15_36_9407.jpg', '/home/pi/Desktop/images/29012025/04/15/image_29012025_04_15_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/14/image_29012025_04_14_56_10414.jpg
/home/pi/Desktop/images/29012025/04/14/image_29012025_04_15_07_10349.jpg
/home/pi/Desktop/images/29012025/04/15/image_29012025_04_15_16_9482.jpg
/home/pi/Desktop/images/29012025/04/15/image_29012025_04_15_27_10352.jpg
/home/pi/Desktop/images/29012025/04/15/image_29012025_04_15_36_9407.jpg
/home/pi/Desktop/images/29012025/04/15/image_29012025_04_15_46_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":["1332524028","1332523857","1332524024","1332523670","1332524021","1332524011"],"photo_ids_order":["1332523670","1332523857","1332524011","1332524021","1332524024","1332524028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3bab5b6b259e0c0098db4abbbb558950.jpg","text":"TemporaryFile(/tmp/multipartBody4879918809960912398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120593962,"filename":"image_29012025_04_15_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/29/c4bdcc918592dbc024f8e5212b26a078.jpg","text":"TemporaryFile(/tmp/multipartBody2851987695753198889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120593962,"filename":"image_29012025_04_15_07_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/29/12ec520ed2dee3c0e2f1feca0f04852a.jpg","text":"TemporaryFile(/tmp/multipartBody220016621470294045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120593962,"filename":"image_29012025_04_15_36_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/29/77705c1c8c315cfd4005d55d5355e95f.jpg","text":"TemporaryFile(/tmp/multipartBody2405675050704937350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120593962,"filename":"image_29012025_04_14_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/29/9447d8560f7b4d2a031484b1027a9f2e.jpg","text":"TemporaryFile(/tmp/multipartBody7898299083955090086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120593962,"filename":"image_29012025_04_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/29/a4e6fa8898e9c3d45561a8a240e0f590.jpg","text":"TemporaryFile(/tmp/multipartBody8796229129508706765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120593962,"filename":"image_29012025_04_15_16_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332524011","file1":"1332523857","file0":"1332523670","file4":"1332524024","file5":"1332524028","file3":"1332524021"},"map_files_photo_id_array":[{"photo_id":"1332524028","filename":"file5"},{"photo_id":"1332524011","filename":"file2"},{"photo_id":"1332524024","filename":"file4"},{"photo_id":"1332523857","filename":"file1"},{"photo_id":"1332523670","filename":"file0"},{"photo_id":"1332524021","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332524028":["hashtag1","hashtag2"]},{"1332523857":["hashtag1","hashtag2"]},{"1332524024":["hashtag1","hashtag2"]},{"1332523670":["hashtag1","hashtag2"]},{"1332524021":["hashtag1","hashtag2"]},{"1332524011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332524028, 1332523857, 1332524024, 1332523670, 1332524021, 1332524011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77204155921936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:16:32.328309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/15/image_29012025_04_15_57_10364.jpg', '/home/pi/Desktop/images/29012025/04/15/image_29012025_04_16_06_9348.jpg', '/home/pi/Desktop/images/29012025/04/16/image_29012025_04_16_16_10413.jpg', '/home/pi/Desktop/images/29012025/04/16/image_29012025_04_16_26_9360.jpg', '/home/pi/Desktop/images/29012025/04/16/image_29012025_04_16_36_10475.jpg', '/home/pi/Desktop/images/29012025/04/16/image_29012025_04_16_47_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/15/image_29012025_04_15_57_10364.jpg
/home/pi/Desktop/images/29012025/04/15/image_29012025_04_16_06_9348.jpg
/home/pi/Desktop/images/29012025/04/16/image_29012025_04_16_16_10413.jpg
/home/pi/Desktop/images/29012025/04/16/image_29012025_04_16_26_9360.jpg
/home/pi/Desktop/images/29012025/04/16/image_29012025_04_16_36_10475.jpg
/home/pi/Desktop/images/29012025/04/16/image_29012025_04_16_47_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":["1332524340","1332524346","1332524328","1332524270","1332524350","1332524353"],"photo_ids_order":["1332524270","1332524328","1332524340","1332524346","1332524350","1332524353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/67fbda7eeea352a596602b6a790e216d.jpg","text":"TemporaryFile(/tmp/multipartBody8012497365516133028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120653241,"filename":"image_29012025_04_16_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/29/7753731bcfccd1a01b9e7169aee07483.jpg","text":"TemporaryFile(/tmp/multipartBody1365721129804889681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120653241,"filename":"image_29012025_04_16_26_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/29/7960ef3433822dd458fbdff0921b79b1.jpg","text":"TemporaryFile(/tmp/multipartBody4100540853139051421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120653241,"filename":"image_29012025_04_16_06_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/29/ed4703cae51bc3340d2bd3b883e9ee06.jpg","text":"TemporaryFile(/tmp/multipartBody253074915717142480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120653241,"filename":"image_29012025_04_15_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/29/0de04b5d8bd06ed18f7e172305cc026d.jpg","text":"TemporaryFile(/tmp/multipartBody7891589483500046988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120653241,"filename":"image_29012025_04_16_36_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/29/332ff746253c5959e6d38f3a65a854d6.jpg","text":"TemporaryFile(/tmp/multipartBody3660969447773762925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120653241,"filename":"image_29012025_04_16_47_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332524340","file1":"1332524328","file0":"1332524270","file4":"1332524350","file5":"1332524353","file3":"1332524346"},"map_files_photo_id_array":[{"photo_id":"1332524353","filename":"file5"},{"photo_id":"1332524340","filename":"file2"},{"photo_id":"1332524350","filename":"file4"},{"photo_id":"1332524328","filename":"file1"},{"photo_id":"1332524270","filename":"file0"},{"photo_id":"1332524346","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332524340":["hashtag1","hashtag2"]},{"1332524346":["hashtag1","hashtag2"]},{"1332524328":["hashtag1","hashtag2"]},{"1332524270":["hashtag1","hashtag2"]},{"1332524350":["hashtag1","hashtag2"]},{"1332524353":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332524340, 1332524346, 1332524328, 1332524270, 1332524350, 1332524353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84486937522888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:17:32.586974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/16/image_29012025_04_16_56_9362.jpg', '/home/pi/Desktop/images/29012025/04/16/image_29012025_04_17_06_10356.jpg', '/home/pi/Desktop/images/29012025/04/17/image_29012025_04_17_17_10318.jpg', '/home/pi/Desktop/images/29012025/04/17/image_29012025_04_17_26_9366.jpg', '/home/pi/Desktop/images/29012025/04/17/image_29012025_04_17_36_10400.jpg', '/home/pi/Desktop/images/29012025/04/17/image_29012025_04_17_46_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/16/image_29012025_04_16_56_9362.jpg
/home/pi/Desktop/images/29012025/04/16/image_29012025_04_17_06_10356.jpg
/home/pi/Desktop/images/29012025/04/17/image_29012025_04_17_17_10318.jpg
/home/pi/Desktop/images/29012025/04/17/image_29012025_04_17_26_9366.jpg
/home/pi/Desktop/images/29012025/04/17/image_29012025_04_17_36_10400.jpg
/home/pi/Desktop/images/29012025/04/17/image_29012025_04_17_46_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":["1332524652","1332524568","1332524556","1332525047","1332525067","1332524845"],"photo_ids_order":["1332524556","1332524568","1332524652","1332524845","1332525047","1332525067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8387957f7b3ceaa386028dd04263c2ef.jpg","text":"TemporaryFile(/tmp/multipartBody4920697419471631419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120713498,"filename":"image_29012025_04_17_17_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/29/c85dbbec3da541cb3fc125d087f43189.jpg","text":"TemporaryFile(/tmp/multipartBody6431668243312518480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120713498,"filename":"image_29012025_04_17_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/29/1a061bc0616c287d7a21668827665129.jpg","text":"TemporaryFile(/tmp/multipartBody5435107060109575626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120713498,"filename":"image_29012025_04_16_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/29/b4df56f301963945d04ff76389e9921b.jpg","text":"TemporaryFile(/tmp/multipartBody3036655439322009410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120713498,"filename":"image_29012025_04_17_36_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/29/9c6b0d6b207f2788e2cd0a385fcd1af5.jpg","text":"TemporaryFile(/tmp/multipartBody5894819223418936216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120713498,"filename":"image_29012025_04_17_46_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/29/b1c4232e901641c5ebda1d85cdf34f4d.jpg","text":"TemporaryFile(/tmp/multipartBody5304514790155987087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120713498,"filename":"image_29012025_04_17_26_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332524652","file1":"1332524568","file0":"1332524556","file4":"1332525047","file5":"1332525067","file3":"1332524845"},"map_files_photo_id_array":[{"photo_id":"1332525067","filename":"file5"},{"photo_id":"1332524652","filename":"file2"},{"photo_id":"1332525047","filename":"file4"},{"photo_id":"1332524568","filename":"file1"},{"photo_id":"1332524556","filename":"file0"},{"photo_id":"1332524845","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332524652":["hashtag1","hashtag2"]},{"1332524568":["hashtag1","hashtag2"]},{"1332524556":["hashtag1","hashtag2"]},{"1332525047":["hashtag1","hashtag2"]},{"1332525067":["hashtag1","hashtag2"]},{"1332524845":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332524652, 1332524568, 1332524556, 1332525047, 1332525067, 1332524845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16093850135803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:18:32.811377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/17/image_29012025_04_17_56_10447.jpg', '/home/pi/Desktop/images/29012025/04/17/image_29012025_04_18_07_10342.jpg', '/home/pi/Desktop/images/29012025/04/18/image_29012025_04_18_16_9351.jpg', '/home/pi/Desktop/images/29012025/04/18/image_29012025_04_18_26_10364.jpg', '/home/pi/Desktop/images/29012025/04/18/image_29012025_04_18_37_10344.jpg', '/home/pi/Desktop/images/29012025/04/18/image_29012025_04_18_46_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/17/image_29012025_04_17_56_10447.jpg
/home/pi/Desktop/images/29012025/04/17/image_29012025_04_18_07_10342.jpg
/home/pi/Desktop/images/29012025/04/18/image_29012025_04_18_16_9351.jpg
/home/pi/Desktop/images/29012025/04/18/image_29012025_04_18_26_10364.jpg
/home/pi/Desktop/images/29012025/04/18/image_29012025_04_18_37_10344.jpg
/home/pi/Desktop/images/29012025/04/18/image_29012025_04_18_46_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":["1332525368","1332525296","1332525278","1332525373","1332525289","1332525247"],"photo_ids_order":["1332525247","1332525278","1332525289","1332525296","1332525368","1332525373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6ca03dc1fbefa7c906b6d3bb6719fb9e.jpg","text":"TemporaryFile(/tmp/multipartBody5823947747049907813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120773717,"filename":"image_29012025_04_18_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/29/68d54ff1b0809f7c5bd23dc2373e6045.jpg","text":"TemporaryFile(/tmp/multipartBody7469024502239099949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120773717,"filename":"image_29012025_04_18_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/29/fb25a00f5ee6f96ce5b6b28d5e24840b.jpg","text":"TemporaryFile(/tmp/multipartBody6777669652737494336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120773717,"filename":"image_29012025_04_18_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/29/1b160017cd8ab3d7a2888eedfe9ca020.jpg","text":"TemporaryFile(/tmp/multipartBody2183444409300601040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120773717,"filename":"image_29012025_04_18_46_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/29/f825a9afa3b02c67e0783a3a6b240795.jpg","text":"TemporaryFile(/tmp/multipartBody4799709676698353055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120773717,"filename":"image_29012025_04_18_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/29/6cff64f9f00abee99a375c64d7906e03.jpg","text":"TemporaryFile(/tmp/multipartBody1803825799315048447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120773717,"filename":"image_29012025_04_17_56_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332525289","file1":"1332525278","file0":"1332525247","file4":"1332525368","file5":"1332525373","file3":"1332525296"},"map_files_photo_id_array":[{"photo_id":"1332525373","filename":"file5"},{"photo_id":"1332525289","filename":"file2"},{"photo_id":"1332525368","filename":"file4"},{"photo_id":"1332525278","filename":"file1"},{"photo_id":"1332525247","filename":"file0"},{"photo_id":"1332525296","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332525368":["hashtag1","hashtag2"]},{"1332525296":["hashtag1","hashtag2"]},{"1332525278":["hashtag1","hashtag2"]},{"1332525373":["hashtag1","hashtag2"]},{"1332525289":["hashtag1","hashtag2"]},{"1332525247":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332525368, 1332525296, 1332525278, 1332525373, 1332525289, 1332525247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.53967809677124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:19:32.991873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/18/image_29012025_04_18_56_10428.jpg', '/home/pi/Desktop/images/29012025/04/18/image_29012025_04_19_06_9349.jpg', '/home/pi/Desktop/images/29012025/04/19/image_29012025_04_19_16_10406.jpg', '/home/pi/Desktop/images/29012025/04/19/image_29012025_04_19_27_10369.jpg', '/home/pi/Desktop/images/29012025/04/19/image_29012025_04_19_36_9353.jpg', '/home/pi/Desktop/images/29012025/04/19/image_29012025_04_19_46_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/18/image_29012025_04_18_56_10428.jpg
/home/pi/Desktop/images/29012025/04/18/image_29012025_04_19_06_9349.jpg
/home/pi/Desktop/images/29012025/04/19/image_29012025_04_19_16_10406.jpg
/home/pi/Desktop/images/29012025/04/19/image_29012025_04_19_27_10369.jpg
/home/pi/Desktop/images/29012025/04/19/image_29012025_04_19_36_9353.jpg
/home/pi/Desktop/images/29012025/04/19/image_29012025_04_19_46_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":["1332525455","1332525446","1332525451","1332525460","1332525463","1332525441"],"photo_ids_order":["1332525441","1332525446","1332525451","1332525455","1332525460","1332525463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/348e13f9b2d8f948113fa0d45c66f4d8.jpg","text":"TemporaryFile(/tmp/multipartBody1793217709763496525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120833896,"filename":"image_29012025_04_19_27_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/29/0a926300f5e06d05baf967e56ffb5c6d.jpg","text":"TemporaryFile(/tmp/multipartBody2220927339559496029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120833896,"filename":"image_29012025_04_19_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/29/3dfa35ec0c7220952179e1d14a6d8e07.jpg","text":"TemporaryFile(/tmp/multipartBody7946244171557301592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120833896,"filename":"image_29012025_04_19_16_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/29/70a1b0ae60bd07ef4c403a1594c48f69.jpg","text":"TemporaryFile(/tmp/multipartBody1601166060084821051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120833896,"filename":"image_29012025_04_19_36_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/29/136e9823d6cae5d49303120b88dbb748.jpg","text":"TemporaryFile(/tmp/multipartBody7004920751583530600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120833896,"filename":"image_29012025_04_19_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/29/bfa1eec0d48154e1c181eb3afc988c92.jpg","text":"TemporaryFile(/tmp/multipartBody9089309006830989852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120833896,"filename":"image_29012025_04_18_56_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332525451","file1":"1332525446","file0":"1332525441","file4":"1332525460","file5":"1332525463","file3":"1332525455"},"map_files_photo_id_array":[{"photo_id":"1332525463","filename":"file5"},{"photo_id":"1332525451","filename":"file2"},{"photo_id":"1332525460","filename":"file4"},{"photo_id":"1332525446","filename":"file1"},{"photo_id":"1332525441","filename":"file0"},{"photo_id":"1332525455","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332525455":["hashtag1","hashtag2"]},{"1332525446":["hashtag1","hashtag2"]},{"1332525451":["hashtag1","hashtag2"]},{"1332525460":["hashtag1","hashtag2"]},{"1332525463":["hashtag1","hashtag2"]},{"1332525441":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332525455, 1332525446, 1332525451, 1332525460, 1332525463, 1332525441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.263086795806885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:20:32.275205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/19/image_29012025_04_19_57_10354.jpg', '/home/pi/Desktop/images/29012025/04/19/image_29012025_04_20_06_9351.jpg', '/home/pi/Desktop/images/29012025/04/20/image_29012025_04_20_17_10626.jpg', '/home/pi/Desktop/images/29012025/04/20/image_29012025_04_20_26_9459.jpg', '/home/pi/Desktop/images/29012025/04/20/image_29012025_04_20_36_10368.jpg', '/home/pi/Desktop/images/29012025/04/20/image_29012025_04_20_46_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/19/image_29012025_04_19_57_10354.jpg
/home/pi/Desktop/images/29012025/04/19/image_29012025_04_20_06_9351.jpg
/home/pi/Desktop/images/29012025/04/20/image_29012025_04_20_17_10626.jpg
/home/pi/Desktop/images/29012025/04/20/image_29012025_04_20_26_9459.jpg
/home/pi/Desktop/images/29012025/04/20/image_29012025_04_20_36_10368.jpg
/home/pi/Desktop/images/29012025/04/20/image_29012025_04_20_46_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":["1332525473","1332525496","1332525481","1332525489","1332525498","1332525468"],"photo_ids_order":["1332525468","1332525473","1332525481","1332525489","1332525496","1332525498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ac71bbaa34a19bb517f7490a2eb522c4.jpg","text":"TemporaryFile(/tmp/multipartBody7195051243972372633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120893186,"filename":"image_29012025_04_20_06_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/29/30f02544c3914752f26bf53fc5df8365.jpg","text":"TemporaryFile(/tmp/multipartBody1687855541578025547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120893186,"filename":"image_29012025_04_20_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/29/365784dfc492df2be523c1264fdef4d0.jpg","text":"TemporaryFile(/tmp/multipartBody5243832023278177039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120893186,"filename":"image_29012025_04_20_17_10626.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4c088250ddd88718c0b39d7d2327e00f.jpg","text":"TemporaryFile(/tmp/multipartBody1232118352161041558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120893186,"filename":"image_29012025_04_20_26_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/29/ced9a9d916aae1272baf9a6af4e1c453.jpg","text":"TemporaryFile(/tmp/multipartBody5526501096613359965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120893186,"filename":"image_29012025_04_20_46_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/29/bb92dfb6ac68e2ee93d2ebf67f3e9f0d.jpg","text":"TemporaryFile(/tmp/multipartBody4347054302182003214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120893186,"filename":"image_29012025_04_19_57_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332525481","file1":"1332525473","file0":"1332525468","file4":"1332525496","file5":"1332525498","file3":"1332525489"},"map_files_photo_id_array":[{"photo_id":"1332525498","filename":"file5"},{"photo_id":"1332525481","filename":"file2"},{"photo_id":"1332525496","filename":"file4"},{"photo_id":"1332525473","filename":"file1"},{"photo_id":"1332525468","filename":"file0"},{"photo_id":"1332525489","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332525473":["hashtag1","hashtag2"]},{"1332525496":["hashtag1","hashtag2"]},{"1332525481":["hashtag1","hashtag2"]},{"1332525489":["hashtag1","hashtag2"]},{"1332525498":["hashtag1","hashtag2"]},{"1332525468":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332525473, 1332525496, 1332525481, 1332525489, 1332525498, 1332525468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.809563636779785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:21:32.500764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/20/image_29012025_04_20_56_10450.jpg', '/home/pi/Desktop/images/29012025/04/20/image_29012025_04_21_07_10392.jpg', '/home/pi/Desktop/images/29012025/04/21/image_29012025_04_21_16_9435.jpg', '/home/pi/Desktop/images/29012025/04/21/image_29012025_04_21_26_10363.jpg', '/home/pi/Desktop/images/29012025/04/21/image_29012025_04_21_36_9351.jpg', '/home/pi/Desktop/images/29012025/04/21/image_29012025_04_21_46_10251.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/20/image_29012025_04_20_56_10450.jpg
/home/pi/Desktop/images/29012025/04/20/image_29012025_04_21_07_10392.jpg
/home/pi/Desktop/images/29012025/04/21/image_29012025_04_21_16_9435.jpg
/home/pi/Desktop/images/29012025/04/21/image_29012025_04_21_26_10363.jpg
/home/pi/Desktop/images/29012025/04/21/image_29012025_04_21_36_9351.jpg
/home/pi/Desktop/images/29012025/04/21/image_29012025_04_21_46_10251.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332525516","1332525521","1332525518","1332525514","1332525523","1332525513"],"photo_ids_order":["1332525513","1332525514","1332525516","1332525518","1332525521","1332525523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0cd8071c1e4608d72697b73dc813c19c.jpg","text":"TemporaryFile(/tmp/multipartBody5395517737459074508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120953430,"filename":"image_29012025_04_21_16_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/29/5e6f03663d98ae9c4374058cd83efdcb.jpg","text":"TemporaryFile(/tmp/multipartBody3844872662949717322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120953430,"filename":"image_29012025_04_21_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/29/05901ec0299270fdafe37a230c693ba5.jpg","text":"TemporaryFile(/tmp/multipartBody548010182868360870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120953430,"filename":"image_29012025_04_21_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/29/0c02cc1386787439c677d3ee417992a0.jpg","text":"TemporaryFile(/tmp/multipartBody4484581012793416162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120953430,"filename":"image_29012025_04_21_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/29/f6285970a9ec396a9200dfecc086f544.jpg","text":"TemporaryFile(/tmp/multipartBody8120329301858064337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120953430,"filename":"image_29012025_04_21_46_10251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ca730adb41c9bf4fb2ce77026a1787b5.jpg","text":"TemporaryFile(/tmp/multipartBody7540373835229923221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738120953430,"filename":"image_29012025_04_20_56_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332525516","file1":"1332525514","file0":"1332525513","file4":"1332525521","file5":"1332525523","file3":"1332525518"},"map_files_photo_id_array":[{"photo_id":"1332525523","filename":"file5"},{"photo_id":"1332525516","filename":"file2"},{"photo_id":"1332525521","filename":"file4"},{"photo_id":"1332525514","filename":"file1"},{"photo_id":"1332525513","filename":"file0"},{"photo_id":"1332525518","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332525516":["hashtag1","hashtag2"]},{"1332525521":["hashtag1","hashtag2"]},{"1332525518":["hashtag1","hashtag2"]},{"1332525514":["hashtag1","hashtag2"]},{"1332525523":["hashtag1","hashtag2"]},{"1332525513":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332525516, 1332525521, 1332525518, 1332525514, 1332525523, 1332525513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.750826835632324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:22:32.789127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/21/image_29012025_04_21_57_10437.jpg', '/home/pi/Desktop/images/29012025/04/21/image_29012025_04_22_06_9385.jpg', '/home/pi/Desktop/images/29012025/04/22/image_29012025_04_22_16_10334.jpg', '/home/pi/Desktop/images/29012025/04/22/image_29012025_04_22_27_10356.jpg', '/home/pi/Desktop/images/29012025/04/22/image_29012025_04_22_36_9343.jpg', '/home/pi/Desktop/images/29012025/04/22/image_29012025_04_22_46_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/21/image_29012025_04_21_57_10437.jpg
/home/pi/Desktop/images/29012025/04/21/image_29012025_04_22_06_9385.jpg
/home/pi/Desktop/images/29012025/04/22/image_29012025_04_22_16_10334.jpg
/home/pi/Desktop/images/29012025/04/22/image_29012025_04_22_27_10356.jpg
/home/pi/Desktop/images/29012025/04/22/image_29012025_04_22_36_9343.jpg
/home/pi/Desktop/images/29012025/04/22/image_29012025_04_22_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":["1332525587","1332525560","1332525574","1332525594","1332525597","1332525582"],"photo_ids_order":["1332525560","1332525574","1332525582","1332525587","1332525594","1332525597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9b3de642249b8ab8c12cb640affd7783.jpg","text":"TemporaryFile(/tmp/multipartBody5068072660810308122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121013706,"filename":"image_29012025_04_22_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/29/bc66c9616d1b62c97b8b5fc96cb4dbff.jpg","text":"TemporaryFile(/tmp/multipartBody4702883646597125559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121013706,"filename":"image_29012025_04_21_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/29/7f4e3832300d4dc3c51ac2ef12602fae.jpg","text":"TemporaryFile(/tmp/multipartBody470794348643145485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121013706,"filename":"image_29012025_04_22_06_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/29/8b54456281c5e61ec42869eec223d28d.jpg","text":"TemporaryFile(/tmp/multipartBody4357023240539033025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121013706,"filename":"image_29012025_04_22_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/29/8b699bc6ce20202178d9b3affd5e24ea.jpg","text":"TemporaryFile(/tmp/multipartBody6499321573956863150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121013706,"filename":"image_29012025_04_22_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/29/5c477e8eb25ecf4d9f50ab2b181cd7cf.jpg","text":"TemporaryFile(/tmp/multipartBody7071679114884204004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121013706,"filename":"image_29012025_04_22_16_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332525582","file1":"1332525574","file0":"1332525560","file4":"1332525594","file5":"1332525597","file3":"1332525587"},"map_files_photo_id_array":[{"photo_id":"1332525597","filename":"file5"},{"photo_id":"1332525582","filename":"file2"},{"photo_id":"1332525594","filename":"file4"},{"photo_id":"1332525574","filename":"file1"},{"photo_id":"1332525560","filename":"file0"},{"photo_id":"1332525587","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332525587":["hashtag1","hashtag2"]},{"1332525560":["hashtag1","hashtag2"]},{"1332525574":["hashtag1","hashtag2"]},{"1332525594":["hashtag1","hashtag2"]},{"1332525597":["hashtag1","hashtag2"]},{"1332525582":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332525587, 1332525560, 1332525574, 1332525594, 1332525597, 1332525582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.214061975479126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:23:33.010826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/22/image_29012025_04_22_57_10398.jpg', '/home/pi/Desktop/images/29012025/04/22/image_29012025_04_23_06_9438.jpg', '/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_17_10402.jpg', '/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_26_9363.jpg', '/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_36_10370.jpg', '/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_47_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/22/image_29012025_04_22_57_10398.jpg
/home/pi/Desktop/images/29012025/04/22/image_29012025_04_23_06_9438.jpg
/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_17_10402.jpg
/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_26_9363.jpg
/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_36_10370.jpg
/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_47_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":["1332525746","1332525758","1332525742","1332525748","1332525753","1332525744"],"photo_ids_order":["1332525742","1332525744","1332525746","1332525748","1332525753","1332525758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/973db5d84d80ae01b019791ccfdf629e.jpg","text":"TemporaryFile(/tmp/multipartBody104864712936730719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121073941,"filename":"image_29012025_04_23_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/29/a00e23b950e34a38409cd613d86fab21.jpg","text":"TemporaryFile(/tmp/multipartBody3625694511951323124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121073941,"filename":"image_29012025_04_23_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/29/c351bd19f1a58d6ba265f2130427193e.jpg","text":"TemporaryFile(/tmp/multipartBody9146713461292262103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121073941,"filename":"image_29012025_04_22_57_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/29/2759525b9d74e6059baa77a3c7013c99.jpg","text":"TemporaryFile(/tmp/multipartBody8933207711186195979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121073941,"filename":"image_29012025_04_23_26_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/29/cabee900feda3432c79de58fd58de5a6.jpg","text":"TemporaryFile(/tmp/multipartBody4781695904287393435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121073941,"filename":"image_29012025_04_23_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/29/da062dce6b5ec2f8a7867bbba07821da.jpg","text":"TemporaryFile(/tmp/multipartBody3351574885462349368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121073941,"filename":"image_29012025_04_23_06_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332525746","file1":"1332525744","file0":"1332525742","file4":"1332525753","file5":"1332525758","file3":"1332525748"},"map_files_photo_id_array":[{"photo_id":"1332525758","filename":"file5"},{"photo_id":"1332525746","filename":"file2"},{"photo_id":"1332525753","filename":"file4"},{"photo_id":"1332525744","filename":"file1"},{"photo_id":"1332525742","filename":"file0"},{"photo_id":"1332525748","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332525746":["hashtag1","hashtag2"]},{"1332525758":["hashtag1","hashtag2"]},{"1332525742":["hashtag1","hashtag2"]},{"1332525748":["hashtag1","hashtag2"]},{"1332525753":["hashtag1","hashtag2"]},{"1332525744":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332525746, 1332525758, 1332525742, 1332525748, 1332525753, 1332525744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.135085105895996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:24:33.065285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_56_9361.jpg', '/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_16_9388.jpg', '/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_26_10431.jpg', '/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_37_10425.jpg', '/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_46_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_56_9361.jpg
/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_16_9388.jpg
/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_26_10431.jpg
/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_37_10425.jpg
/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_46_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.4983541965484619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 04:24:43.208178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_56_9361.jpg', '/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_16_9388.jpg', '/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_26_10431.jpg', '/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_37_10425.jpg', '/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_46_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/23/image_29012025_04_23_56_9361.jpg
/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_16_9388.jpg
/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_26_10431.jpg
/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_37_10425.jpg
/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_46_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":["1332525782","1332525785","1332525776","1332525787","1332525772"],"photo_ids_order":["1332525772","1332525776","1332525782","1332525785","1332525787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e5b07c400164a30ec983c5ce46848894.jpg","text":"TemporaryFile(/tmp/multipartBody7052749698774366636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121144102,"filename":"image_29012025_04_24_26_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/29/0b458ba4f30adf092ce6c0a4b4b589c7.jpg","text":"TemporaryFile(/tmp/multipartBody878011438851236450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121144102,"filename":"image_29012025_04_24_37_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/29/6953ae3b9e40cabdfce2a41cbe909feb.jpg","text":"TemporaryFile(/tmp/multipartBody8589700369134136440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121144102,"filename":"image_29012025_04_24_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/29/97f72aab84f411271e39b902d5d8f02c.jpg","text":"TemporaryFile(/tmp/multipartBody6916753120306870780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121144102,"filename":"image_29012025_04_24_46_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/29/32c6bcacfcd6236031707db1e222b6ae.jpg","text":"TemporaryFile(/tmp/multipartBody5954793303836641769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121144102,"filename":"image_29012025_04_23_56_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332525782","file1":"1332525776","file0":"1332525772","file4":"1332525787","file3":"1332525785"},"map_files_photo_id_array":[{"photo_id":"1332525782","filename":"file2"},{"photo_id":"1332525787","filename":"file4"},{"photo_id":"1332525776","filename":"file1"},{"photo_id":"1332525772","filename":"file0"},{"photo_id":"1332525785","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332525782":["hashtag1","hashtag2"]},{"1332525785":["hashtag1","hashtag2"]},{"1332525776":["hashtag1","hashtag2"]},{"1332525787":["hashtag1","hashtag2"]},{"1332525772":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332525782, 1332525785, 1332525776, 1332525787, 1332525772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.270681619644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:25:32.337537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_56_10465.jpg', '/home/pi/Desktop/images/29012025/04/24/image_29012025_04_25_07_10330.jpg', '/home/pi/Desktop/images/29012025/04/25/image_29012025_04_25_16_9464.jpg', '/home/pi/Desktop/images/29012025/04/25/image_29012025_04_25_27_10356.jpg', '/home/pi/Desktop/images/29012025/04/25/image_29012025_04_25_36_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/24/image_29012025_04_24_56_10465.jpg
/home/pi/Desktop/images/29012025/04/24/image_29012025_04_25_07_10330.jpg
/home/pi/Desktop/images/29012025/04/25/image_29012025_04_25_16_9464.jpg
/home/pi/Desktop/images/29012025/04/25/image_29012025_04_25_27_10356.jpg
/home/pi/Desktop/images/29012025/04/25/image_29012025_04_25_36_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":["1332525794","1332525803","1332525799","1332525811","1332525808"],"photo_ids_order":["1332525794","1332525799","1332525803","1332525808","1332525811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9f6be94fb9c2ce23881766928d645d87.jpg","text":"TemporaryFile(/tmp/multipartBody1746376862961749629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121193229,"filename":"image_29012025_04_24_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/29/178cf951202903d72e47fa1c9c9a908b.jpg","text":"TemporaryFile(/tmp/multipartBody5366052002170981811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121193229,"filename":"image_29012025_04_25_16_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/29/11f0fad8e594545d1b31fa7564d2f055.jpg","text":"TemporaryFile(/tmp/multipartBody7171768997091521975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121193229,"filename":"image_29012025_04_25_07_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/29/0ce4d402812b89cb51a5818ce288ac03.jpg","text":"TemporaryFile(/tmp/multipartBody9016817501731734298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121193229,"filename":"image_29012025_04_25_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/29/c6ceb98e5f2ee00003af584a4ffaf3ba.jpg","text":"TemporaryFile(/tmp/multipartBody5670121001441532362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121193229,"filename":"image_29012025_04_25_27_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332525803","file1":"1332525799","file0":"1332525794","file4":"1332525811","file3":"1332525808"},"map_files_photo_id_array":[{"photo_id":"1332525803","filename":"file2"},{"photo_id":"1332525811","filename":"file4"},{"photo_id":"1332525799","filename":"file1"},{"photo_id":"1332525794","filename":"file0"},{"photo_id":"1332525808","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332525794":["hashtag1","hashtag2"]},{"1332525803":["hashtag1","hashtag2"]},{"1332525799":["hashtag1","hashtag2"]},{"1332525811":["hashtag1","hashtag2"]},{"1332525808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332525794, 1332525803, 1332525799, 1332525811, 1332525808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.52175736427307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:26:32.643481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/25/image_29012025_04_25_46_10361.jpg', '/home/pi/Desktop/images/29012025/04/25/image_29012025_04_26_06_9453.jpg', '/home/pi/Desktop/images/29012025/04/26/image_29012025_04_26_16_10420.jpg', '/home/pi/Desktop/images/29012025/04/26/image_29012025_04_26_26_9359.jpg', '/home/pi/Desktop/images/29012025/04/26/image_29012025_04_26_36_10393.jpg', '/home/pi/Desktop/images/29012025/04/26/image_29012025_04_26_47_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/25/image_29012025_04_25_46_10361.jpg
/home/pi/Desktop/images/29012025/04/25/image_29012025_04_26_06_9453.jpg
/home/pi/Desktop/images/29012025/04/26/image_29012025_04_26_16_10420.jpg
/home/pi/Desktop/images/29012025/04/26/image_29012025_04_26_26_9359.jpg
/home/pi/Desktop/images/29012025/04/26/image_29012025_04_26_36_10393.jpg
/home/pi/Desktop/images/29012025/04/26/image_29012025_04_26_47_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":["1332525881","1332525875","1332525884","1332525866","1332525859","1332525861"],"photo_ids_order":["1332525859","1332525861","1332525866","1332525875","1332525881","1332525884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3c4672f7a45dc2c72d0d28aa69ef8978.jpg","text":"TemporaryFile(/tmp/multipartBody6537117967522951116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121253560,"filename":"image_29012025_04_26_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/29/c6c18d466e93753594d07bbef5bda235.jpg","text":"TemporaryFile(/tmp/multipartBody3993671019498210098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121253560,"filename":"image_29012025_04_26_26_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/29/ce5e9a5f6004ab518ed89c5693b9dcd9.jpg","text":"TemporaryFile(/tmp/multipartBody8925066635980286048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121253560,"filename":"image_29012025_04_26_47_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/29/6a21ee7b98dccaaaa9009adcff1cdd0f.jpg","text":"TemporaryFile(/tmp/multipartBody4268319301795464112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121253560,"filename":"image_29012025_04_26_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/29/11dd446e7bd44b281e299b2f021c9b87.jpg","text":"TemporaryFile(/tmp/multipartBody334684357464908729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121253560,"filename":"image_29012025_04_25_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/29/926319a406bd6e1708d4549eaa35cd8f.jpg","text":"TemporaryFile(/tmp/multipartBody2848341477906516686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121253560,"filename":"image_29012025_04_26_06_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332525866","file1":"1332525861","file0":"1332525859","file4":"1332525881","file5":"1332525884","file3":"1332525875"},"map_files_photo_id_array":[{"photo_id":"1332525884","filename":"file5"},{"photo_id":"1332525866","filename":"file2"},{"photo_id":"1332525881","filename":"file4"},{"photo_id":"1332525861","filename":"file1"},{"photo_id":"1332525859","filename":"file0"},{"photo_id":"1332525875","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332525881":["hashtag1","hashtag2"]},{"1332525875":["hashtag1","hashtag2"]},{"1332525884":["hashtag1","hashtag2"]},{"1332525866":["hashtag1","hashtag2"]},{"1332525859":["hashtag1","hashtag2"]},{"1332525861":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332525881, 1332525875, 1332525884, 1332525866, 1332525859, 1332525861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57299733161926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:27:33.045251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/26/image_29012025_04_26_56_9362.jpg', '/home/pi/Desktop/images/29012025/04/26/image_29012025_04_27_06_10343.jpg', '/home/pi/Desktop/images/29012025/04/27/image_29012025_04_27_17_10352.jpg', '/home/pi/Desktop/images/29012025/04/27/image_29012025_04_27_26_9420.jpg', '/home/pi/Desktop/images/29012025/04/27/image_29012025_04_27_36_10355.jpg', '/home/pi/Desktop/images/29012025/04/27/image_29012025_04_27_46_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/26/image_29012025_04_26_56_9362.jpg
/home/pi/Desktop/images/29012025/04/26/image_29012025_04_27_06_10343.jpg
/home/pi/Desktop/images/29012025/04/27/image_29012025_04_27_17_10352.jpg
/home/pi/Desktop/images/29012025/04/27/image_29012025_04_27_26_9420.jpg
/home/pi/Desktop/images/29012025/04/27/image_29012025_04_27_36_10355.jpg
/home/pi/Desktop/images/29012025/04/27/image_29012025_04_27_46_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":["1332525927","1332525929","1332525920","1332525922","1332525907","1332525924"],"photo_ids_order":["1332525907","1332525920","1332525922","1332525924","1332525927","1332525929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8bbd981aa11d34bb9d76090dd2c441f3.jpg","text":"TemporaryFile(/tmp/multipartBody7547314644856265303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121313957,"filename":"image_29012025_04_27_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/29/6f63ef708a6640ae5d42fdda6be3da88.jpg","text":"TemporaryFile(/tmp/multipartBody8344468573446127617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121313957,"filename":"image_29012025_04_27_46_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/29/755647958c442d559beb13caf889d81c.jpg","text":"TemporaryFile(/tmp/multipartBody3442693974404094650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121313957,"filename":"image_29012025_04_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/29/0f62a083e33c0f42d605a35607760675.jpg","text":"TemporaryFile(/tmp/multipartBody4664547525820428400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121313957,"filename":"image_29012025_04_27_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/29/d9f764def0f39dd47c0b803cb5959629.jpg","text":"TemporaryFile(/tmp/multipartBody570568645061833957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121313957,"filename":"image_29012025_04_26_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/29/3f683151fa7851c74677908fa73f7e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5540300929982456172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121313957,"filename":"image_29012025_04_27_26_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332525922","file1":"1332525920","file0":"1332525907","file4":"1332525927","file5":"1332525929","file3":"1332525924"},"map_files_photo_id_array":[{"photo_id":"1332525929","filename":"file5"},{"photo_id":"1332525922","filename":"file2"},{"photo_id":"1332525927","filename":"file4"},{"photo_id":"1332525920","filename":"file1"},{"photo_id":"1332525907","filename":"file0"},{"photo_id":"1332525924","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332525927":["hashtag1","hashtag2"]},{"1332525929":["hashtag1","hashtag2"]},{"1332525920":["hashtag1","hashtag2"]},{"1332525922":["hashtag1","hashtag2"]},{"1332525907":["hashtag1","hashtag2"]},{"1332525924":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332525927, 1332525929, 1332525920, 1332525922, 1332525907, 1332525924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54006576538086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:28:33.116150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/27/image_29012025_04_27_56_10402.jpg', '/home/pi/Desktop/images/29012025/04/27/image_29012025_04_28_07_10339.jpg', '/home/pi/Desktop/images/29012025/04/28/image_29012025_04_28_16_9381.jpg', '/home/pi/Desktop/images/29012025/04/28/image_29012025_04_28_26_10434.jpg', '/home/pi/Desktop/images/29012025/04/28/image_29012025_04_28_36_9330.jpg', '/home/pi/Desktop/images/29012025/04/28/image_29012025_04_28_46_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/27/image_29012025_04_27_56_10402.jpg
/home/pi/Desktop/images/29012025/04/27/image_29012025_04_28_07_10339.jpg
/home/pi/Desktop/images/29012025/04/28/image_29012025_04_28_16_9381.jpg
/home/pi/Desktop/images/29012025/04/28/image_29012025_04_28_26_10434.jpg
/home/pi/Desktop/images/29012025/04/28/image_29012025_04_28_36_9330.jpg
/home/pi/Desktop/images/29012025/04/28/image_29012025_04_28_46_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":["1332526064","1332526118","1332526028","1332526021","1332526006","1332526068"],"photo_ids_order":["1332526006","1332526021","1332526028","1332526064","1332526068","1332526118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2aea6659b62553a4c68fdbb9a9cbfd13.jpg","text":"TemporaryFile(/tmp/multipartBody4974391491035945104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121374015,"filename":"image_29012025_04_28_26_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/29/028cd3f10002f2d48d52143ea93b0048.jpg","text":"TemporaryFile(/tmp/multipartBody4098098374278009613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121374015,"filename":"image_29012025_04_28_46_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/29/89b23b6660c85d681961d86e6031f22b.jpg","text":"TemporaryFile(/tmp/multipartBody2590148605191749526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121374015,"filename":"image_29012025_04_28_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/29/0db70e1cce2c5247aeb77e51cd9ea8ab.jpg","text":"TemporaryFile(/tmp/multipartBody297963300959601461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121374015,"filename":"image_29012025_04_28_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/29/1fee61abd8e3b567c95d94d233bf7569.jpg","text":"TemporaryFile(/tmp/multipartBody6862554304979280423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121374015,"filename":"image_29012025_04_27_56_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/29/0827f302fbb051f49ebc8068e2b797b3.jpg","text":"TemporaryFile(/tmp/multipartBody8166345045317077700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121374015,"filename":"image_29012025_04_28_36_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332526028","file1":"1332526021","file0":"1332526006","file4":"1332526068","file5":"1332526118","file3":"1332526064"},"map_files_photo_id_array":[{"photo_id":"1332526118","filename":"file5"},{"photo_id":"1332526028","filename":"file2"},{"photo_id":"1332526068","filename":"file4"},{"photo_id":"1332526021","filename":"file1"},{"photo_id":"1332526006","filename":"file0"},{"photo_id":"1332526064","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332526064":["hashtag1","hashtag2"]},{"1332526118":["hashtag1","hashtag2"]},{"1332526028":["hashtag1","hashtag2"]},{"1332526021":["hashtag1","hashtag2"]},{"1332526006":["hashtag1","hashtag2"]},{"1332526068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332526064, 1332526118, 1332526028, 1332526021, 1332526006, 1332526068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99024486541748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:29:32.329144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/28/image_29012025_04_28_57_10443.jpg', '/home/pi/Desktop/images/29012025/04/28/image_29012025_04_29_06_9341.jpg', '/home/pi/Desktop/images/29012025/04/29/image_29012025_04_29_16_10408.jpg', '/home/pi/Desktop/images/29012025/04/29/image_29012025_04_29_27_10364.jpg', '/home/pi/Desktop/images/29012025/04/29/image_29012025_04_29_36_9422.jpg', '/home/pi/Desktop/images/29012025/04/29/image_29012025_04_29_47_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/28/image_29012025_04_28_57_10443.jpg
/home/pi/Desktop/images/29012025/04/28/image_29012025_04_29_06_9341.jpg
/home/pi/Desktop/images/29012025/04/29/image_29012025_04_29_16_10408.jpg
/home/pi/Desktop/images/29012025/04/29/image_29012025_04_29_27_10364.jpg
/home/pi/Desktop/images/29012025/04/29/image_29012025_04_29_36_9422.jpg
/home/pi/Desktop/images/29012025/04/29/image_29012025_04_29_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":["1332526442","1332526601","1332526802","1332526414","1332526740","1332526539"],"photo_ids_order":["1332526414","1332526442","1332526539","1332526601","1332526740","1332526802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b73f2d6a8cf05a5a268feffe6ca97f84.jpg","text":"TemporaryFile(/tmp/multipartBody1267433321635512318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121433271,"filename":"image_29012025_04_29_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/29/41d33f46f585f28fa6975af4c3402a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8385071905854307253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121433271,"filename":"image_29012025_04_29_27_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/29/d12091e3541bd952df3cc650926f0b07.jpg","text":"TemporaryFile(/tmp/multipartBody2091863363539978299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121433271,"filename":"image_29012025_04_29_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/29/b8a0b8ff53c641c27878f829a05d486f.jpg","text":"TemporaryFile(/tmp/multipartBody8679947668531182009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121433271,"filename":"image_29012025_04_28_57_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/29/a675a041e600ad56f84b9477c4ecebfe.jpg","text":"TemporaryFile(/tmp/multipartBody8562465584943910919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121433271,"filename":"image_29012025_04_29_36_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/29/d8549e37cc0d254bb64951a780243dec.jpg","text":"TemporaryFile(/tmp/multipartBody5497016683705443670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121433271,"filename":"image_29012025_04_29_16_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332526539","file1":"1332526442","file0":"1332526414","file4":"1332526740","file5":"1332526802","file3":"1332526601"},"map_files_photo_id_array":[{"photo_id":"1332526802","filename":"file5"},{"photo_id":"1332526539","filename":"file2"},{"photo_id":"1332526740","filename":"file4"},{"photo_id":"1332526442","filename":"file1"},{"photo_id":"1332526414","filename":"file0"},{"photo_id":"1332526601","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332526442":["hashtag1","hashtag2"]},{"1332526601":["hashtag1","hashtag2"]},{"1332526802":["hashtag1","hashtag2"]},{"1332526414":["hashtag1","hashtag2"]},{"1332526740":["hashtag1","hashtag2"]},{"1332526539":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332526442, 1332526601, 1332526802, 1332526414, 1332526740, 1332526539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.15712785720825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:30:32.573763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/29/image_29012025_04_29_56_9336.jpg', '/home/pi/Desktop/images/29012025/04/29/image_29012025_04_30_06_10346.jpg', '/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_17_10352.jpg', '/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_26_9363.jpg', '/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_36_10353.jpg', '/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_47_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/29/image_29012025_04_29_56_9336.jpg
/home/pi/Desktop/images/29012025/04/29/image_29012025_04_30_06_10346.jpg
/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_17_10352.jpg
/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_26_9363.jpg
/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_36_10353.jpg
/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_47_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":["1332527059","1332527140","1332527110","1332527142","1332527099","1332527144"],"photo_ids_order":["1332527059","1332527099","1332527110","1332527140","1332527142","1332527144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/daa6f3ba03f9f11885c21d89a4f7e979.jpg","text":"TemporaryFile(/tmp/multipartBody8950803790474326185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121493490,"filename":"image_29012025_04_29_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/29/df7bf40db4fe97030ba2f1a448121348.jpg","text":"TemporaryFile(/tmp/multipartBody1611617161588696627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121493490,"filename":"image_29012025_04_30_26_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/29/a755bd6a58437571d9f7aaaf22e45086.jpg","text":"TemporaryFile(/tmp/multipartBody5686407352706698519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121493490,"filename":"image_29012025_04_30_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/29/208fb3a6add9849b17b9c4bc2efb1e8b.jpg","text":"TemporaryFile(/tmp/multipartBody609149506242344179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121493490,"filename":"image_29012025_04_30_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/29/17c9eba88eb4b646cbbe160e77896775.jpg","text":"TemporaryFile(/tmp/multipartBody7641261125097877610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121493490,"filename":"image_29012025_04_30_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/29/c5734188bf19dda7f844b7f4878ec802.jpg","text":"TemporaryFile(/tmp/multipartBody7476394068459537372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121493490,"filename":"image_29012025_04_30_47_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332527110","file1":"1332527099","file0":"1332527059","file4":"1332527142","file5":"1332527144","file3":"1332527140"},"map_files_photo_id_array":[{"photo_id":"1332527144","filename":"file5"},{"photo_id":"1332527110","filename":"file2"},{"photo_id":"1332527142","filename":"file4"},{"photo_id":"1332527099","filename":"file1"},{"photo_id":"1332527059","filename":"file0"},{"photo_id":"1332527140","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332527059":["hashtag1","hashtag2"]},{"1332527140":["hashtag1","hashtag2"]},{"1332527110":["hashtag1","hashtag2"]},{"1332527142":["hashtag1","hashtag2"]},{"1332527099":["hashtag1","hashtag2"]},{"1332527144":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332527059, 1332527140, 1332527110, 1332527142, 1332527099, 1332527144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.44169878959656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:31:32.774084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_56_9399.jpg', '/home/pi/Desktop/images/29012025/04/30/image_29012025_04_31_06_10377.jpg', '/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_16_9327.jpg', '/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_26_10460.jpg', '/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_46_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_56_9399.jpg
/home/pi/Desktop/images/29012025/04/30/image_29012025_04_31_06_10377.jpg
/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_16_9327.jpg
/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_26_10460.jpg
/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_46_9357.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.5059003829956055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 04:31:42.802084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_56_9399.jpg', '/home/pi/Desktop/images/29012025/04/30/image_29012025_04_31_06_10377.jpg', '/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_16_9327.jpg', '/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_26_10460.jpg', '/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_46_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/30/image_29012025_04_30_56_9399.jpg
/home/pi/Desktop/images/29012025/04/30/image_29012025_04_31_06_10377.jpg
/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_16_9327.jpg
/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_26_10460.jpg
/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_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":["1332527176","1332527206","1332527200","1332527203","1332527196"],"photo_ids_order":["1332527176","1332527196","1332527200","1332527203","1332527206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3c1aee0e0cd98c1a457b3454f3128866.jpg","text":"TemporaryFile(/tmp/multipartBody8019811848169654614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121563712,"filename":"image_29012025_04_30_56_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/29/6fb47d58210c3f5c16fceaf62f7374f0.jpg","text":"TemporaryFile(/tmp/multipartBody2772792993677039574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121563712,"filename":"image_29012025_04_31_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/29/d5dda62dc58cd711959b91f057dd7d36.jpg","text":"TemporaryFile(/tmp/multipartBody810656348503489784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121563712,"filename":"image_29012025_04_31_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/29/ac1c261788fc69d88ca32d5106d56f3e.jpg","text":"TemporaryFile(/tmp/multipartBody1022837665687945286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121563712,"filename":"image_29012025_04_31_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/29/271830eb8f55205339cecdfe1620dd98.jpg","text":"TemporaryFile(/tmp/multipartBody3108163133469630150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121563712,"filename":"image_29012025_04_31_06_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332527200","file1":"1332527196","file0":"1332527176","file4":"1332527206","file3":"1332527203"},"map_files_photo_id_array":[{"photo_id":"1332527200","filename":"file2"},{"photo_id":"1332527206","filename":"file4"},{"photo_id":"1332527196","filename":"file1"},{"photo_id":"1332527176","filename":"file0"},{"photo_id":"1332527203","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332527176":["hashtag1","hashtag2"]},{"1332527206":["hashtag1","hashtag2"]},{"1332527200":["hashtag1","hashtag2"]},{"1332527203":["hashtag1","hashtag2"]},{"1332527196":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332527176, 1332527206, 1332527200, 1332527203, 1332527196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.74087309837341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:32:33.067862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_56_10438.jpg', '/home/pi/Desktop/images/29012025/04/31/image_29012025_04_32_06_9393.jpg', '/home/pi/Desktop/images/29012025/04/32/image_29012025_04_32_16_10410.jpg', '/home/pi/Desktop/images/29012025/04/32/image_29012025_04_32_27_10368.jpg', '/home/pi/Desktop/images/29012025/04/32/image_29012025_04_32_36_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/31/image_29012025_04_31_56_10438.jpg
/home/pi/Desktop/images/29012025/04/31/image_29012025_04_32_06_9393.jpg
/home/pi/Desktop/images/29012025/04/32/image_29012025_04_32_16_10410.jpg
/home/pi/Desktop/images/29012025/04/32/image_29012025_04_32_27_10368.jpg
/home/pi/Desktop/images/29012025/04/32/image_29012025_04_32_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":["1332527392","1332527395","1332527370","1332527317","1332527322"],"photo_ids_order":["1332527317","1332527322","1332527370","1332527392","1332527395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6d70b3647b844b31db4ab2b94899825c.jpg","text":"TemporaryFile(/tmp/multipartBody2633049640298374289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121613970,"filename":"image_29012025_04_32_27_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/29/26fd1f1adf722480479ad90d1cc339b4.jpg","text":"TemporaryFile(/tmp/multipartBody894232885320241621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121613970,"filename":"image_29012025_04_32_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/29/62b383695f2268b6db4d9e5532d6507a.jpg","text":"TemporaryFile(/tmp/multipartBody4973422136169886370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121613970,"filename":"image_29012025_04_32_16_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/29/fdb10560e5bc075aeebb5d963c507b3f.jpg","text":"TemporaryFile(/tmp/multipartBody3749066613379036288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121613970,"filename":"image_29012025_04_31_56_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/29/6b6933ddee08e6bb2472a16192c85ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4666537803050025392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121613970,"filename":"image_29012025_04_32_06_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332527370","file1":"1332527322","file0":"1332527317","file4":"1332527395","file3":"1332527392"},"map_files_photo_id_array":[{"photo_id":"1332527370","filename":"file2"},{"photo_id":"1332527395","filename":"file4"},{"photo_id":"1332527322","filename":"file1"},{"photo_id":"1332527317","filename":"file0"},{"photo_id":"1332527392","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332527392":["hashtag1","hashtag2"]},{"1332527395":["hashtag1","hashtag2"]},{"1332527370":["hashtag1","hashtag2"]},{"1332527317":["hashtag1","hashtag2"]},{"1332527322":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332527392, 1332527395, 1332527370, 1332527317, 1332527322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.59181547164917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:33:32.223512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/32/image_29012025_04_32_46_10425.jpg', '/home/pi/Desktop/images/29012025/04/33/image_29012025_04_33_17_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/32/image_29012025_04_32_46_10425.jpg
/home/pi/Desktop/images/29012025/04/33/image_29012025_04_33_17_10416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332527422","1332527418"],"photo_ids_order":["1332527418","1332527422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d7bbb25cde3d9427eafd518858f79ad9.jpg","text":"TemporaryFile(/tmp/multipartBody953393050871115771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121673066,"filename":"image_29012025_04_33_17_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/29/53815ad7f2cf445c0f3ae09fd567bb80.jpg","text":"TemporaryFile(/tmp/multipartBody8047876682520758880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121673066,"filename":"image_29012025_04_32_46_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332527422","file0":"1332527418"},"map_files_photo_id_array":[{"photo_id":"1332527422","filename":"file1"},{"photo_id":"1332527418","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332527422":["hashtag1","hashtag2"]},{"1332527418":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332527422, 1332527418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.744943380355835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 04:33:52.209743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/42/image_23012025_23_42_46_10398.jpg', '/home/pi/Desktop/images/23012025/23/42/image_23012025_23_42_56_9364.jpg', '/home/pi/Desktop/images/23012025/23/43/image_23012025_23_43_16_10337.jpg', '/home/pi/Desktop/images/23012025/23/43/image_23012025_23_43_26_9340.jpg', '/home/pi/Desktop/images/23012025/23/43/image_23012025_23_43_36_10386.jpg', '/home/pi/Desktop/images/23012025/23/43/image_23012025_23_43_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/23/42/image_23012025_23_42_46_10398.jpg
/home/pi/Desktop/images/23012025/23/42/image_23012025_23_42_56_9364.jpg
/home/pi/Desktop/images/23012025/23/43/image_23012025_23_43_16_10337.jpg
/home/pi/Desktop/images/23012025/23/43/image_23012025_23_43_26_9340.jpg
/home/pi/Desktop/images/23012025/23/43/image_23012025_23_43_36_10386.jpg
/home/pi/Desktop/images/23012025/23/43/image_23012025_23_43_46_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":["1332527548","1332527542","1332527536","1332527545","1332527539","1332527547"],"photo_ids_order":["1332527536","1332527539","1332527542","1332527545","1332527547","1332527548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c6b76a9b4aab96cdfe3a546f43462fb2.jpg","text":"TemporaryFile(/tmp/multipartBody6604223404945291748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121694264,"filename":"image_23012025_23_43_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/29/b06c1fdf48e990d9b98f0830f8a19bee.jpg","text":"TemporaryFile(/tmp/multipartBody6291087016750086502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121694264,"filename":"image_23012025_23_43_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/29/e6fe028886e1609e3fdd74f7c708f1c9.jpg","text":"TemporaryFile(/tmp/multipartBody5054437380865869676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121694264,"filename":"image_23012025_23_42_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/29/63b6a9bd191014c9ff7f3d12bc113988.jpg","text":"TemporaryFile(/tmp/multipartBody246297485298876800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121694264,"filename":"image_23012025_23_43_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/29/a6d111bd07e47b517e901eb3a807046e.jpg","text":"TemporaryFile(/tmp/multipartBody8212773040975762405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121694264,"filename":"image_23012025_23_42_56_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/29/830edd2d570f504e7237341d8ba2f315.jpg","text":"TemporaryFile(/tmp/multipartBody5594773257801766761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121694264,"filename":"image_23012025_23_43_36_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332527542","file1":"1332527539","file0":"1332527536","file4":"1332527547","file5":"1332527548","file3":"1332527545"},"map_files_photo_id_array":[{"photo_id":"1332527548","filename":"file5"},{"photo_id":"1332527542","filename":"file2"},{"photo_id":"1332527547","filename":"file4"},{"photo_id":"1332527539","filename":"file1"},{"photo_id":"1332527536","filename":"file0"},{"photo_id":"1332527545","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332527548":["hashtag1","hashtag2"]},{"1332527542":["hashtag1","hashtag2"]},{"1332527536":["hashtag1","hashtag2"]},{"1332527545":["hashtag1","hashtag2"]},{"1332527539":["hashtag1","hashtag2"]},{"1332527547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332527548, 1332527542, 1332527536, 1332527545, 1332527539, 1332527547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.475194692611694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 04:34:42.451722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/33/image_29012025_04_33_26_9349.jpg', '/home/pi/Desktop/images/29012025/04/33/image_29012025_04_34_06_10408.jpg', '/home/pi/Desktop/images/29012025/04/34/image_29012025_04_34_17_10323.jpg', '/home/pi/Desktop/images/29012025/04/34/image_29012025_04_34_26_9411.jpg', '/home/pi/Desktop/images/29012025/04/34/image_29012025_04_34_37_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/33/image_29012025_04_33_26_9349.jpg
/home/pi/Desktop/images/29012025/04/33/image_29012025_04_34_06_10408.jpg
/home/pi/Desktop/images/29012025/04/34/image_29012025_04_34_17_10323.jpg
/home/pi/Desktop/images/29012025/04/34/image_29012025_04_34_26_9411.jpg
/home/pi/Desktop/images/29012025/04/34/image_29012025_04_34_37_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":["1332527590","1332527566","1332527569","1332527594","1332527555"],"photo_ids_order":["1332527555","1332527566","1332527569","1332527590","1332527594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/00c6fa443bb0ff7d0ea23a4ecc26a919.jpg","text":"TemporaryFile(/tmp/multipartBody7769557703748221559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121743339,"filename":"image_29012025_04_34_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/29/ff70843d87769e3554b8f576e949ffed.jpg","text":"TemporaryFile(/tmp/multipartBody2774887386961052485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121743339,"filename":"image_29012025_04_34_06_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/29/4cb9fbafaf6d2b37ae092c392219c88e.jpg","text":"TemporaryFile(/tmp/multipartBody1217872921457513369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121743339,"filename":"image_29012025_04_34_17_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/29/03ce0524e1f543bf7e6763bfdbe9cad8.jpg","text":"TemporaryFile(/tmp/multipartBody3593921132528739605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121743339,"filename":"image_29012025_04_34_37_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/29/fc245783c5626b37a31f3ecba5822d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6459236437017152938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121743339,"filename":"image_29012025_04_33_26_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332527569","file1":"1332527566","file0":"1332527555","file4":"1332527594","file3":"1332527590"},"map_files_photo_id_array":[{"photo_id":"1332527569","filename":"file2"},{"photo_id":"1332527594","filename":"file4"},{"photo_id":"1332527566","filename":"file1"},{"photo_id":"1332527555","filename":"file0"},{"photo_id":"1332527590","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332527590":["hashtag1","hashtag2"]},{"1332527566":["hashtag1","hashtag2"]},{"1332527569":["hashtag1","hashtag2"]},{"1332527594":["hashtag1","hashtag2"]},{"1332527555":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332527590, 1332527566, 1332527569, 1332527594, 1332527555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.35570311546326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:35:32.784732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/34/image_29012025_04_34_46_9323.jpg', '/home/pi/Desktop/images/29012025/04/34/image_29012025_04_35_07_10327.jpg', '/home/pi/Desktop/images/29012025/04/35/image_29012025_04_35_16_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/34/image_29012025_04_34_46_9323.jpg
/home/pi/Desktop/images/29012025/04/34/image_29012025_04_35_07_10327.jpg
/home/pi/Desktop/images/29012025/04/35/image_29012025_04_35_16_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332527609","1332527610","1332527606"],"photo_ids_order":["1332527606","1332527609","1332527610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/da82b0a542f76a84cc006bfa4703ba4e.jpg","text":"TemporaryFile(/tmp/multipartBody4807080963184179283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121793656,"filename":"image_29012025_04_35_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/29/75466c38d81c97aa76d2790a29c1a4af.jpg","text":"TemporaryFile(/tmp/multipartBody8997773181979722128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121793656,"filename":"image_29012025_04_35_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/29/3936e7069efc8083fa7bf9a4eab73c9d.jpg","text":"TemporaryFile(/tmp/multipartBody7379078581291769768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121793656,"filename":"image_29012025_04_34_46_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332527610","file1":"1332527609","file0":"1332527606"},"map_files_photo_id_array":[{"photo_id":"1332527610","filename":"file2"},{"photo_id":"1332527609","filename":"file1"},{"photo_id":"1332527606","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332527609":["hashtag1","hashtag2"]},{"1332527610":["hashtag1","hashtag2"]},{"1332527606":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332527609, 1332527610, 1332527606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.335100173950195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 04:36:03.559157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/43/image_23012025_23_43_56_9478.jpg', '/home/pi/Desktop/images/23012025/23/43/image_23012025_23_44_06_10434.jpg', '/home/pi/Desktop/images/23012025/23/44/image_23012025_23_44_16_9352.jpg', '/home/pi/Desktop/images/23012025/23/44/image_23012025_23_44_26_10420.jpg', '/home/pi/Desktop/images/23012025/23/44/image_23012025_23_44_46_9487.jpg', '/home/pi/Desktop/images/23012025/23/44/image_23012025_23_44_56_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/23/43/image_23012025_23_43_56_9478.jpg
/home/pi/Desktop/images/23012025/23/43/image_23012025_23_44_06_10434.jpg
/home/pi/Desktop/images/23012025/23/44/image_23012025_23_44_16_9352.jpg
/home/pi/Desktop/images/23012025/23/44/image_23012025_23_44_26_10420.jpg
/home/pi/Desktop/images/23012025/23/44/image_23012025_23_44_46_9487.jpg
/home/pi/Desktop/images/23012025/23/44/image_23012025_23_44_56_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332527621","1332527615","1332527636","1332527624","1332527618","1332527627"],"photo_ids_order":["1332527615","1332527618","1332527621","1332527624","1332527627","1332527636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0e587650cc1e3ea98f5b345fcd916c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8601253287003656499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121824785,"filename":"image_23012025_23_44_16_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/29/9533d6c6c6b36e2f7a56786388382b8a.jpg","text":"TemporaryFile(/tmp/multipartBody1918340382282926761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121824785,"filename":"image_23012025_23_43_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/29/949468c185d9aa502272373b09255baf.jpg","text":"TemporaryFile(/tmp/multipartBody7897138287851522034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121824785,"filename":"image_23012025_23_44_56_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/29/a2ee7d7fe8fe1cc6ba0da09ec98eae7a.jpg","text":"TemporaryFile(/tmp/multipartBody5259280636361731144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121824785,"filename":"image_23012025_23_44_26_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/29/b6b2212eebe1ab2dca3fc4ad300125b0.jpg","text":"TemporaryFile(/tmp/multipartBody8279802802855767765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121824785,"filename":"image_23012025_23_44_06_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/29/d6b0fe59ae50e0f3caaacabafc9e403b.jpg","text":"TemporaryFile(/tmp/multipartBody3841321293104921513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121824785,"filename":"image_23012025_23_44_46_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332527621","file1":"1332527618","file0":"1332527615","file4":"1332527627","file5":"1332527636","file3":"1332527624"},"map_files_photo_id_array":[{"photo_id":"1332527636","filename":"file5"},{"photo_id":"1332527621","filename":"file2"},{"photo_id":"1332527627","filename":"file4"},{"photo_id":"1332527618","filename":"file1"},{"photo_id":"1332527615","filename":"file0"},{"photo_id":"1332527624","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332527621":["hashtag1","hashtag2"]},{"1332527615":["hashtag1","hashtag2"]},{"1332527636":["hashtag1","hashtag2"]},{"1332527624":["hashtag1","hashtag2"]},{"1332527618":["hashtag1","hashtag2"]},{"1332527627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332527621, 1332527615, 1332527636, 1332527624, 1332527618, 1332527627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.686811685562134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 04:36:52.845180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/44/image_23012025_23_45_06_9348.jpg', '/home/pi/Desktop/images/23012025/23/45/image_23012025_23_45_16_10439.jpg', '/home/pi/Desktop/images/23012025/23/45/image_23012025_23_45_27_10362.jpg', '/home/pi/Desktop/images/23012025/23/45/image_23012025_23_45_36_9398.jpg', '/home/pi/Desktop/images/23012025/23/45/image_23012025_23_45_46_10354.jpg', '/home/pi/Desktop/images/23012025/23/45/image_23012025_23_45_57_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/23/44/image_23012025_23_45_06_9348.jpg
/home/pi/Desktop/images/23012025/23/45/image_23012025_23_45_16_10439.jpg
/home/pi/Desktop/images/23012025/23/45/image_23012025_23_45_27_10362.jpg
/home/pi/Desktop/images/23012025/23/45/image_23012025_23_45_36_9398.jpg
/home/pi/Desktop/images/23012025/23/45/image_23012025_23_45_46_10354.jpg
/home/pi/Desktop/images/23012025/23/45/image_23012025_23_45_57_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":["1332527761","1332527760","1332527697","1332527700","1332527693","1332527747"],"photo_ids_order":["1332527693","1332527697","1332527700","1332527747","1332527760","1332527761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0f41c8802c54c720a4c9cd16769be165.jpg","text":"TemporaryFile(/tmp/multipartBody822930144603682426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121875157,"filename":"image_23012025_23_45_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/29/9abf8f6952adf8650473b17e23201017.jpg","text":"TemporaryFile(/tmp/multipartBody3609300350107932352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121875157,"filename":"image_23012025_23_45_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/29/3c113d3a099d21e2e75126f11ca2158f.jpg","text":"TemporaryFile(/tmp/multipartBody8838028623304251261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121875157,"filename":"image_23012025_23_45_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/29/20a9ed78e4db0d11e3152cda9c4b40dc.jpg","text":"TemporaryFile(/tmp/multipartBody866202678086292271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121875157,"filename":"image_23012025_23_45_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/29/e4fd9e670fd7f3ba5bd6534a21d1d08e.jpg","text":"TemporaryFile(/tmp/multipartBody6971173524209463574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121875157,"filename":"image_23012025_23_45_06_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/29/8b4d5af68d276469d102615e8be81dc0.jpg","text":"TemporaryFile(/tmp/multipartBody6678020376356769317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121875157,"filename":"image_23012025_23_45_36_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332527700","file1":"1332527697","file0":"1332527693","file4":"1332527760","file5":"1332527761","file3":"1332527747"},"map_files_photo_id_array":[{"photo_id":"1332527761","filename":"file5"},{"photo_id":"1332527700","filename":"file2"},{"photo_id":"1332527760","filename":"file4"},{"photo_id":"1332527697","filename":"file1"},{"photo_id":"1332527693","filename":"file0"},{"photo_id":"1332527747","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332527761":["hashtag1","hashtag2"]},{"1332527760":["hashtag1","hashtag2"]},{"1332527697":["hashtag1","hashtag2"]},{"1332527700":["hashtag1","hashtag2"]},{"1332527693":["hashtag1","hashtag2"]},{"1332527747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332527761, 1332527760, 1332527697, 1332527700, 1332527693, 1332527747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78515410423279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 04:37:42.630458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/35/image_29012025_04_35_37_10350.jpg', '/home/pi/Desktop/images/29012025/04/36/image_29012025_04_36_27_10436.jpg', '/home/pi/Desktop/images/29012025/04/36/image_29012025_04_36_36_9334.jpg', '/home/pi/Desktop/images/29012025/04/36/image_29012025_04_37_06_10425.jpg', '/home/pi/Desktop/images/29012025/04/37/image_29012025_04_37_17_10341.jpg', '/home/pi/Desktop/images/29012025/04/37/image_29012025_04_37_26_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/35/image_29012025_04_35_37_10350.jpg
/home/pi/Desktop/images/29012025/04/36/image_29012025_04_36_27_10436.jpg
/home/pi/Desktop/images/29012025/04/36/image_29012025_04_36_36_9334.jpg
/home/pi/Desktop/images/29012025/04/36/image_29012025_04_37_06_10425.jpg
/home/pi/Desktop/images/29012025/04/37/image_29012025_04_37_17_10341.jpg
/home/pi/Desktop/images/29012025/04/37/image_29012025_04_37_26_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":["1332528019","1332527900","1332527947","1332528018","1332527904","1332527897"],"photo_ids_order":["1332527897","1332527900","1332527904","1332527947","1332528018","1332528019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5b99ea900ce356c7668b6a4d321ca843.jpg","text":"TemporaryFile(/tmp/multipartBody7970630737278621602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121923540,"filename":"image_29012025_04_37_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/29/7211ce91e4742cdc45f9ef4c3a2626c5.jpg","text":"TemporaryFile(/tmp/multipartBody8747174137923655314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121923540,"filename":"image_29012025_04_36_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/29/46ce5618797cb1abaded98d6f5432fed.jpg","text":"TemporaryFile(/tmp/multipartBody2241058287538016188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121923540,"filename":"image_29012025_04_37_06_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/29/5337d9b2ba5c8b29912ed2f9f8e7ac1a.jpg","text":"TemporaryFile(/tmp/multipartBody7696830427485593026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121923540,"filename":"image_29012025_04_37_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/29/6afad13c8f4c656ec630cfcd7a208836.jpg","text":"TemporaryFile(/tmp/multipartBody530975240708537099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121923540,"filename":"image_29012025_04_36_36_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/29/46a231bafe9425218711eaee7798714e.jpg","text":"TemporaryFile(/tmp/multipartBody2773163363328992335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121923540,"filename":"image_29012025_04_35_37_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332527904","file1":"1332527900","file0":"1332527897","file4":"1332528018","file5":"1332528019","file3":"1332527947"},"map_files_photo_id_array":[{"photo_id":"1332528019","filename":"file5"},{"photo_id":"1332527904","filename":"file2"},{"photo_id":"1332528018","filename":"file4"},{"photo_id":"1332527900","filename":"file1"},{"photo_id":"1332527897","filename":"file0"},{"photo_id":"1332527947","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332528019":["hashtag1","hashtag2"]},{"1332527900":["hashtag1","hashtag2"]},{"1332527947":["hashtag1","hashtag2"]},{"1332528018":["hashtag1","hashtag2"]},{"1332527904":["hashtag1","hashtag2"]},{"1332527897":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332528019, 1332527900, 1332527947, 1332528018, 1332527904, 1332527897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.431042432785034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:38:33.023540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/37/image_29012025_04_37_36_10349.jpg', '/home/pi/Desktop/images/29012025/04/37/image_29012025_04_37_47_10365.jpg', '/home/pi/Desktop/images/29012025/04/37/image_29012025_04_37_56_9359.jpg', '/home/pi/Desktop/images/29012025/04/37/image_29012025_04_38_07_10544.jpg', '/home/pi/Desktop/images/29012025/04/38/image_29012025_04_38_16_9330.jpg', '/home/pi/Desktop/images/29012025/04/38/image_29012025_04_38_26_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/37/image_29012025_04_37_36_10349.jpg
/home/pi/Desktop/images/29012025/04/37/image_29012025_04_37_47_10365.jpg
/home/pi/Desktop/images/29012025/04/37/image_29012025_04_37_56_9359.jpg
/home/pi/Desktop/images/29012025/04/37/image_29012025_04_38_07_10544.jpg
/home/pi/Desktop/images/29012025/04/38/image_29012025_04_38_16_9330.jpg
/home/pi/Desktop/images/29012025/04/38/image_29012025_04_38_26_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":["1332528031","1332528036","1332528039","1332528033","1332528026","1332528029"],"photo_ids_order":["1332528026","1332528029","1332528031","1332528033","1332528036","1332528039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5e6fc432249576e63c6366ad2b96f41c.jpg","text":"TemporaryFile(/tmp/multipartBody2825829005069375426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121973932,"filename":"image_29012025_04_37_56_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/29/171386f30c285a221fa13f919929c923.jpg","text":"TemporaryFile(/tmp/multipartBody3052904904812197405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121973932,"filename":"image_29012025_04_38_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/29/57ca2b6361c57934559a3baf515627a3.jpg","text":"TemporaryFile(/tmp/multipartBody6042504973059129013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121973932,"filename":"image_29012025_04_38_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/29/21d56536d52989c1ebb9d83474dde3cc.jpg","text":"TemporaryFile(/tmp/multipartBody3525639914031205772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121973932,"filename":"image_29012025_04_38_07_10544.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7a472be6ed3f0bc8dd9cb2d778edd70e.jpg","text":"TemporaryFile(/tmp/multipartBody6565415807573376283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121973932,"filename":"image_29012025_04_37_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/29/ee0aa9330f931c9c2843e2a5544ef423.jpg","text":"TemporaryFile(/tmp/multipartBody4872584728357491064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738121973932,"filename":"image_29012025_04_37_47_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332528031","file1":"1332528029","file0":"1332528026","file4":"1332528036","file5":"1332528039","file3":"1332528033"},"map_files_photo_id_array":[{"photo_id":"1332528039","filename":"file5"},{"photo_id":"1332528031","filename":"file2"},{"photo_id":"1332528036","filename":"file4"},{"photo_id":"1332528029","filename":"file1"},{"photo_id":"1332528026","filename":"file0"},{"photo_id":"1332528033","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332528031":["hashtag1","hashtag2"]},{"1332528036":["hashtag1","hashtag2"]},{"1332528039":["hashtag1","hashtag2"]},{"1332528033":["hashtag1","hashtag2"]},{"1332528026":["hashtag1","hashtag2"]},{"1332528029":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332528031, 1332528036, 1332528039, 1332528033, 1332528026, 1332528029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96441149711609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:39:33.123038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/38/image_29012025_04_38_37_10348.jpg', '/home/pi/Desktop/images/29012025/04/38/image_29012025_04_38_56_10386.jpg', '/home/pi/Desktop/images/29012025/04/38/image_29012025_04_39_07_10352.jpg', '/home/pi/Desktop/images/29012025/04/39/image_29012025_04_39_16_9347.jpg', '/home/pi/Desktop/images/29012025/04/39/image_29012025_04_39_26_10335.jpg', '/home/pi/Desktop/images/29012025/04/39/image_29012025_04_39_37_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/38/image_29012025_04_38_37_10348.jpg
/home/pi/Desktop/images/29012025/04/38/image_29012025_04_38_56_10386.jpg
/home/pi/Desktop/images/29012025/04/38/image_29012025_04_39_07_10352.jpg
/home/pi/Desktop/images/29012025/04/39/image_29012025_04_39_16_9347.jpg
/home/pi/Desktop/images/29012025/04/39/image_29012025_04_39_26_10335.jpg
/home/pi/Desktop/images/29012025/04/39/image_29012025_04_39_37_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":["1332528601","1332528525","1332528606","1332528549","1332528603","1332528524"],"photo_ids_order":["1332528524","1332528525","1332528549","1332528601","1332528603","1332528606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d6e535df8e73de0f9a322216bf87ded3.jpg","text":"TemporaryFile(/tmp/multipartBody746790510945894077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122034044,"filename":"image_29012025_04_39_16_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/29/b83c5afe8c2d10a75176b86e1ab03fa8.jpg","text":"TemporaryFile(/tmp/multipartBody8550616154430929606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122034044,"filename":"image_29012025_04_38_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/29/251be072c9f63c8004c69285b8512a45.jpg","text":"TemporaryFile(/tmp/multipartBody5867528905224453142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122034044,"filename":"image_29012025_04_39_37_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/29/3cf04d40855cf150b0f323d1ef567393.jpg","text":"TemporaryFile(/tmp/multipartBody7872563559589913531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122034044,"filename":"image_29012025_04_39_07_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/29/a2b1d17b52e6f49e24fdd17fc59612da.jpg","text":"TemporaryFile(/tmp/multipartBody2730143137725111594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122034044,"filename":"image_29012025_04_39_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/29/a89efa8b97c1949230a5ec3ea9649b4e.jpg","text":"TemporaryFile(/tmp/multipartBody2061519665705358705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122034044,"filename":"image_29012025_04_38_37_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332528549","file1":"1332528525","file0":"1332528524","file4":"1332528603","file5":"1332528606","file3":"1332528601"},"map_files_photo_id_array":[{"photo_id":"1332528606","filename":"file5"},{"photo_id":"1332528549","filename":"file2"},{"photo_id":"1332528603","filename":"file4"},{"photo_id":"1332528525","filename":"file1"},{"photo_id":"1332528524","filename":"file0"},{"photo_id":"1332528601","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332528601":["hashtag1","hashtag2"]},{"1332528525":["hashtag1","hashtag2"]},{"1332528606":["hashtag1","hashtag2"]},{"1332528549":["hashtag1","hashtag2"]},{"1332528603":["hashtag1","hashtag2"]},{"1332528524":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332528601, 1332528525, 1332528606, 1332528549, 1332528603, 1332528524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93643498420715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:40:32.173191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/39/image_29012025_04_39_46_9341.jpg', '/home/pi/Desktop/images/29012025/04/39/image_29012025_04_39_56_10445.jpg', '/home/pi/Desktop/images/29012025/04/39/image_29012025_04_40_06_9353.jpg', '/home/pi/Desktop/images/29012025/04/40/image_29012025_04_40_16_10449.jpg', '/home/pi/Desktop/images/29012025/04/40/image_29012025_04_40_27_10369.jpg', '/home/pi/Desktop/images/29012025/04/40/image_29012025_04_40_36_9515.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/39/image_29012025_04_39_46_9341.jpg
/home/pi/Desktop/images/29012025/04/39/image_29012025_04_39_56_10445.jpg
/home/pi/Desktop/images/29012025/04/39/image_29012025_04_40_06_9353.jpg
/home/pi/Desktop/images/29012025/04/40/image_29012025_04_40_16_10449.jpg
/home/pi/Desktop/images/29012025/04/40/image_29012025_04_40_27_10369.jpg
/home/pi/Desktop/images/29012025/04/40/image_29012025_04_40_36_9515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332528655","1332528666","1332528663","1332528651","1332528661","1332528658"],"photo_ids_order":["1332528651","1332528655","1332528658","1332528661","1332528663","1332528666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/369ba19beafbdfa336b3995e087bd18a.jpg","text":"TemporaryFile(/tmp/multipartBody1851279562958417332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122093081,"filename":"image_29012025_04_39_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/29/f248007e4aef6c35cd372ae1d2f96b7e.jpg","text":"TemporaryFile(/tmp/multipartBody5344835473533112751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122093081,"filename":"image_29012025_04_40_36_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/29/a9c2b189458fd2c487aaa7cd41b91bab.jpg","text":"TemporaryFile(/tmp/multipartBody6131244664186761669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122093081,"filename":"image_29012025_04_40_27_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/29/2da2bb61cc298f7f8656f25dc3471d22.jpg","text":"TemporaryFile(/tmp/multipartBody5559132819057560304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122093081,"filename":"image_29012025_04_39_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/29/4b5b401e9fd671d4a2e31ff2e9b8e288.jpg","text":"TemporaryFile(/tmp/multipartBody1536425381289746110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122093081,"filename":"image_29012025_04_40_16_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/29/952d9f4911f3cff2bc34169ba61c5a1b.jpg","text":"TemporaryFile(/tmp/multipartBody6803326370802602418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122093081,"filename":"image_29012025_04_40_06_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332528658","file1":"1332528655","file0":"1332528651","file4":"1332528663","file5":"1332528666","file3":"1332528661"},"map_files_photo_id_array":[{"photo_id":"1332528666","filename":"file5"},{"photo_id":"1332528658","filename":"file2"},{"photo_id":"1332528663","filename":"file4"},{"photo_id":"1332528655","filename":"file1"},{"photo_id":"1332528651","filename":"file0"},{"photo_id":"1332528661","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332528655":["hashtag1","hashtag2"]},{"1332528666":["hashtag1","hashtag2"]},{"1332528663":["hashtag1","hashtag2"]},{"1332528651":["hashtag1","hashtag2"]},{"1332528661":["hashtag1","hashtag2"]},{"1332528658":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332528655, 1332528666, 1332528663, 1332528651, 1332528661, 1332528658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.63501214981079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:41:32.517763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/40/image_29012025_04_40_46_10326.jpg', '/home/pi/Desktop/images/29012025/04/40/image_29012025_04_40_56_9355.jpg', '/home/pi/Desktop/images/29012025/04/40/image_29012025_04_41_06_10442.jpg', '/home/pi/Desktop/images/29012025/04/41/image_29012025_04_41_17_10364.jpg', '/home/pi/Desktop/images/29012025/04/41/image_29012025_04_41_26_9354.jpg', '/home/pi/Desktop/images/29012025/04/41/image_29012025_04_41_36_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/40/image_29012025_04_40_46_10326.jpg
/home/pi/Desktop/images/29012025/04/40/image_29012025_04_40_56_9355.jpg
/home/pi/Desktop/images/29012025/04/40/image_29012025_04_41_06_10442.jpg
/home/pi/Desktop/images/29012025/04/41/image_29012025_04_41_17_10364.jpg
/home/pi/Desktop/images/29012025/04/41/image_29012025_04_41_26_9354.jpg
/home/pi/Desktop/images/29012025/04/41/image_29012025_04_41_36_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":["1332528739","1332528741","1332528735","1332528732","1332528746","1332528737"],"photo_ids_order":["1332528732","1332528735","1332528737","1332528739","1332528741","1332528746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6878267a35f78cd91f37cc6d606fda22.jpg","text":"TemporaryFile(/tmp/multipartBody8701958366475448743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122153447,"filename":"image_29012025_04_41_17_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/29/6837401fc044a1c31278dc88c0a25f4d.jpg","text":"TemporaryFile(/tmp/multipartBody3203179444985711761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122153447,"filename":"image_29012025_04_41_26_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/29/8a249e9d0e68fd1f17ce0a1cc5fbf6c3.jpg","text":"TemporaryFile(/tmp/multipartBody337013609358686097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122153447,"filename":"image_29012025_04_40_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/29/02a093b28f576589686e066809c79586.jpg","text":"TemporaryFile(/tmp/multipartBody7895129294927838832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122153447,"filename":"image_29012025_04_40_46_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/29/27c2138ad37f77569b09ceaf8ab56eb0.jpg","text":"TemporaryFile(/tmp/multipartBody109705493385053615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122153447,"filename":"image_29012025_04_41_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/29/3e010502aa80c4bbaccb5db6dc44bd10.jpg","text":"TemporaryFile(/tmp/multipartBody800187222720785749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122153447,"filename":"image_29012025_04_41_06_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332528737","file1":"1332528735","file0":"1332528732","file4":"1332528741","file5":"1332528746","file3":"1332528739"},"map_files_photo_id_array":[{"photo_id":"1332528746","filename":"file5"},{"photo_id":"1332528737","filename":"file2"},{"photo_id":"1332528741","filename":"file4"},{"photo_id":"1332528735","filename":"file1"},{"photo_id":"1332528732","filename":"file0"},{"photo_id":"1332528739","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332528739":["hashtag1","hashtag2"]},{"1332528741":["hashtag1","hashtag2"]},{"1332528735":["hashtag1","hashtag2"]},{"1332528732":["hashtag1","hashtag2"]},{"1332528746":["hashtag1","hashtag2"]},{"1332528737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332528739, 1332528741, 1332528735, 1332528732, 1332528746, 1332528737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7285475730896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:42:32.710742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/41/image_29012025_04_41_46_9341.jpg', '/home/pi/Desktop/images/29012025/04/41/image_29012025_04_41_56_10487.jpg', '/home/pi/Desktop/images/29012025/04/41/image_29012025_04_42_07_10346.jpg', '/home/pi/Desktop/images/29012025/04/42/image_29012025_04_42_16_9345.jpg', '/home/pi/Desktop/images/29012025/04/42/image_29012025_04_42_26_10446.jpg', '/home/pi/Desktop/images/29012025/04/42/image_29012025_04_42_36_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/41/image_29012025_04_41_46_9341.jpg
/home/pi/Desktop/images/29012025/04/41/image_29012025_04_41_56_10487.jpg
/home/pi/Desktop/images/29012025/04/41/image_29012025_04_42_07_10346.jpg
/home/pi/Desktop/images/29012025/04/42/image_29012025_04_42_16_9345.jpg
/home/pi/Desktop/images/29012025/04/42/image_29012025_04_42_26_10446.jpg
/home/pi/Desktop/images/29012025/04/42/image_29012025_04_42_36_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":["1332528780","1332528774","1332528770","1332528764","1332528760","1332528778"],"photo_ids_order":["1332528760","1332528764","1332528770","1332528774","1332528778","1332528780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7c248818870e3ec21fa282463173a045.jpg","text":"TemporaryFile(/tmp/multipartBody7073223278131630243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122213642,"filename":"image_29012025_04_42_36_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/29/52f328ae73d8180f81cf839c8bd6aa22.jpg","text":"TemporaryFile(/tmp/multipartBody8028051124909659499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122213642,"filename":"image_29012025_04_42_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/29/b8ce6455d717b156bbdfd7dfb9159f61.jpg","text":"TemporaryFile(/tmp/multipartBody765992862703384249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122213642,"filename":"image_29012025_04_42_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/29/bd5261830703fdd59bbce8524adef5c1.jpg","text":"TemporaryFile(/tmp/multipartBody8310965054374127659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122213642,"filename":"image_29012025_04_41_56_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/29/eb5614ec0756c3321ba742b2d1a74b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2719135324659771104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122213642,"filename":"image_29012025_04_41_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/29/8a64f9cb2b613e5fa7056fce4943881d.jpg","text":"TemporaryFile(/tmp/multipartBody5575515722686758321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122213642,"filename":"image_29012025_04_42_26_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332528770","file1":"1332528764","file0":"1332528760","file4":"1332528778","file5":"1332528780","file3":"1332528774"},"map_files_photo_id_array":[{"photo_id":"1332528780","filename":"file5"},{"photo_id":"1332528770","filename":"file2"},{"photo_id":"1332528778","filename":"file4"},{"photo_id":"1332528764","filename":"file1"},{"photo_id":"1332528760","filename":"file0"},{"photo_id":"1332528774","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332528780":["hashtag1","hashtag2"]},{"1332528774":["hashtag1","hashtag2"]},{"1332528770":["hashtag1","hashtag2"]},{"1332528764":["hashtag1","hashtag2"]},{"1332528760":["hashtag1","hashtag2"]},{"1332528778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332528780, 1332528774, 1332528770, 1332528764, 1332528760, 1332528778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07748103141785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:43:32.909108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/42/image_29012025_04_42_46_10420.jpg', '/home/pi/Desktop/images/29012025/04/42/image_29012025_04_42_56_10350.jpg', '/home/pi/Desktop/images/29012025/04/42/image_29012025_04_43_06_9373.jpg', '/home/pi/Desktop/images/29012025/04/43/image_29012025_04_43_16_10344.jpg', '/home/pi/Desktop/images/29012025/04/43/image_29012025_04_43_27_10362.jpg', '/home/pi/Desktop/images/29012025/04/43/image_29012025_04_43_36_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/42/image_29012025_04_42_46_10420.jpg
/home/pi/Desktop/images/29012025/04/42/image_29012025_04_42_56_10350.jpg
/home/pi/Desktop/images/29012025/04/42/image_29012025_04_43_06_9373.jpg
/home/pi/Desktop/images/29012025/04/43/image_29012025_04_43_16_10344.jpg
/home/pi/Desktop/images/29012025/04/43/image_29012025_04_43_27_10362.jpg
/home/pi/Desktop/images/29012025/04/43/image_29012025_04_43_36_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":["1332528801","1332528794","1332528800","1332528799","1332528803","1332528796"],"photo_ids_order":["1332528794","1332528796","1332528799","1332528800","1332528801","1332528803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/94d14b213abb4eefc81b67bf0b63c11c.jpg","text":"TemporaryFile(/tmp/multipartBody6558246847074062252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122273836,"filename":"image_29012025_04_43_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/29/6f33d45850df6f1c1d0ecebabeec3ffe.jpg","text":"TemporaryFile(/tmp/multipartBody1291607691960882905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122273836,"filename":"image_29012025_04_42_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/29/666315de53a193c28b342a325d3d0429.jpg","text":"TemporaryFile(/tmp/multipartBody6549667056144732969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122273836,"filename":"image_29012025_04_43_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/29/ac27c9b6b436d1af8280b97b97e5eae1.jpg","text":"TemporaryFile(/tmp/multipartBody7997703497003374071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122273836,"filename":"image_29012025_04_43_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/29/38c0587e8437bdba0f70dca9e4de255b.jpg","text":"TemporaryFile(/tmp/multipartBody6388615614214694015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122273836,"filename":"image_29012025_04_43_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/29/b0cc4a3a2fc3935faf79e87c0c2ae94b.jpg","text":"TemporaryFile(/tmp/multipartBody8051018062950267853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122273836,"filename":"image_29012025_04_42_56_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332528799","file1":"1332528796","file0":"1332528794","file4":"1332528801","file5":"1332528803","file3":"1332528800"},"map_files_photo_id_array":[{"photo_id":"1332528803","filename":"file5"},{"photo_id":"1332528799","filename":"file2"},{"photo_id":"1332528801","filename":"file4"},{"photo_id":"1332528796","filename":"file1"},{"photo_id":"1332528794","filename":"file0"},{"photo_id":"1332528800","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332528801":["hashtag1","hashtag2"]},{"1332528794":["hashtag1","hashtag2"]},{"1332528800":["hashtag1","hashtag2"]},{"1332528799":["hashtag1","hashtag2"]},{"1332528803":["hashtag1","hashtag2"]},{"1332528796":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332528801, 1332528794, 1332528800, 1332528799, 1332528803, 1332528796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50069069862366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:44:33.160386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/43/image_29012025_04_43_56_9350.jpg', '/home/pi/Desktop/images/29012025/04/43/image_29012025_04_44_06_10398.jpg', '/home/pi/Desktop/images/29012025/04/44/image_29012025_04_44_26_9416.jpg', '/home/pi/Desktop/images/29012025/04/44/image_29012025_04_44_36_10451.jpg', '/home/pi/Desktop/images/29012025/04/44/image_29012025_04_44_47_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/43/image_29012025_04_43_56_9350.jpg
/home/pi/Desktop/images/29012025/04/43/image_29012025_04_44_06_10398.jpg
/home/pi/Desktop/images/29012025/04/44/image_29012025_04_44_26_9416.jpg
/home/pi/Desktop/images/29012025/04/44/image_29012025_04_44_36_10451.jpg
/home/pi/Desktop/images/29012025/04/44/image_29012025_04_44_47_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":["1332528865","1332528845","1332528839","1332528848","1332528868"],"photo_ids_order":["1332528839","1332528845","1332528848","1332528865","1332528868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6452cdfe234ae1e74294b510a97f7bcb.jpg","text":"TemporaryFile(/tmp/multipartBody7479886547222712158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122334049,"filename":"image_29012025_04_44_36_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/29/e92bb54587117de639d3e82c6ec88678.jpg","text":"TemporaryFile(/tmp/multipartBody427817266819110012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122334049,"filename":"image_29012025_04_44_06_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/29/4e0be172f8d3a65ef9ac50de4a54590f.jpg","text":"TemporaryFile(/tmp/multipartBody147198114257756963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122334049,"filename":"image_29012025_04_43_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/29/3bb7e9e718d8d33b74a84b9f20db3abd.jpg","text":"TemporaryFile(/tmp/multipartBody3456928999897248416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122334049,"filename":"image_29012025_04_44_26_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/29/331af5e3fe3e3809abfc82f80f91e467.jpg","text":"TemporaryFile(/tmp/multipartBody2517748428452547794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122334049,"filename":"image_29012025_04_44_47_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332528848","file1":"1332528845","file0":"1332528839","file4":"1332528868","file3":"1332528865"},"map_files_photo_id_array":[{"photo_id":"1332528848","filename":"file2"},{"photo_id":"1332528868","filename":"file4"},{"photo_id":"1332528845","filename":"file1"},{"photo_id":"1332528839","filename":"file0"},{"photo_id":"1332528865","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332528865":["hashtag1","hashtag2"]},{"1332528845":["hashtag1","hashtag2"]},{"1332528839":["hashtag1","hashtag2"]},{"1332528848":["hashtag1","hashtag2"]},{"1332528868":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332528865, 1332528845, 1332528839, 1332528848, 1332528868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.20798325538635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:45:32.219034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/44/image_29012025_04_44_56_9426.jpg', '/home/pi/Desktop/images/29012025/04/44/image_29012025_04_45_06_10357.jpg', '/home/pi/Desktop/images/29012025/04/45/image_29012025_04_45_16_9329.jpg', '/home/pi/Desktop/images/29012025/04/45/image_29012025_04_45_26_10440.jpg', '/home/pi/Desktop/images/29012025/04/45/image_29012025_04_45_37_10452.jpg', '/home/pi/Desktop/images/29012025/04/45/image_29012025_04_45_46_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/44/image_29012025_04_44_56_9426.jpg
/home/pi/Desktop/images/29012025/04/44/image_29012025_04_45_06_10357.jpg
/home/pi/Desktop/images/29012025/04/45/image_29012025_04_45_16_9329.jpg
/home/pi/Desktop/images/29012025/04/45/image_29012025_04_45_26_10440.jpg
/home/pi/Desktop/images/29012025/04/45/image_29012025_04_45_37_10452.jpg
/home/pi/Desktop/images/29012025/04/45/image_29012025_04_45_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":["1332528937","1332528907","1332528901","1332528909","1332528898","1332528905"],"photo_ids_order":["1332528898","1332528901","1332528905","1332528907","1332528909","1332528937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c6f9bef6301778227f6105a3d822c6f5.jpg","text":"TemporaryFile(/tmp/multipartBody8120315257703166138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122393127,"filename":"image_29012025_04_45_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/29/acbae27445a143b08b27ee7eaa4cd1db.jpg","text":"TemporaryFile(/tmp/multipartBody7766393212858271949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122393127,"filename":"image_29012025_04_45_26_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/29/d034545e4b0095f9685e140a878d0951.jpg","text":"TemporaryFile(/tmp/multipartBody3754627925292761884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122393127,"filename":"image_29012025_04_45_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/29/6bccf823237fce72637b372bb3235cb1.jpg","text":"TemporaryFile(/tmp/multipartBody7521605676103413284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122393127,"filename":"image_29012025_04_45_37_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/29/e5ea25ca6898717ea57b565af31ee4c4.jpg","text":"TemporaryFile(/tmp/multipartBody7117706128078953666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122393127,"filename":"image_29012025_04_44_56_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/29/74344f256e698c7becdf5868298cd404.jpg","text":"TemporaryFile(/tmp/multipartBody1502331772166401373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122393127,"filename":"image_29012025_04_45_16_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332528905","file1":"1332528901","file0":"1332528898","file4":"1332528909","file5":"1332528937","file3":"1332528907"},"map_files_photo_id_array":[{"photo_id":"1332528937","filename":"file5"},{"photo_id":"1332528905","filename":"file2"},{"photo_id":"1332528909","filename":"file4"},{"photo_id":"1332528901","filename":"file1"},{"photo_id":"1332528898","filename":"file0"},{"photo_id":"1332528907","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332528937":["hashtag1","hashtag2"]},{"1332528907":["hashtag1","hashtag2"]},{"1332528901":["hashtag1","hashtag2"]},{"1332528909":["hashtag1","hashtag2"]},{"1332528898":["hashtag1","hashtag2"]},{"1332528905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332528937, 1332528907, 1332528901, 1332528909, 1332528898, 1332528905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.098846673965454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:46:32.398476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/45/image_29012025_04_45_56_10361.jpg', '/home/pi/Desktop/images/29012025/04/45/image_29012025_04_46_06_9358.jpg', '/home/pi/Desktop/images/29012025/04/46/image_29012025_04_46_16_10363.jpg', '/home/pi/Desktop/images/29012025/04/46/image_29012025_04_46_27_10348.jpg', '/home/pi/Desktop/images/29012025/04/46/image_29012025_04_46_46_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/45/image_29012025_04_45_56_10361.jpg
/home/pi/Desktop/images/29012025/04/45/image_29012025_04_46_06_9358.jpg
/home/pi/Desktop/images/29012025/04/46/image_29012025_04_46_16_10363.jpg
/home/pi/Desktop/images/29012025/04/46/image_29012025_04_46_27_10348.jpg
/home/pi/Desktop/images/29012025/04/46/image_29012025_04_46_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":["1332529385","1332529271","1332529295","1332529328","1332529330"],"photo_ids_order":["1332529271","1332529295","1332529328","1332529330","1332529385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/22cb5fddf648e3f1eb4b392a8acb3846.jpg","text":"TemporaryFile(/tmp/multipartBody7164879265262495642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122453299,"filename":"image_29012025_04_46_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/29/4252aabfca59667a0f2164fe3039b394.jpg","text":"TemporaryFile(/tmp/multipartBody3650163829124244353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122453299,"filename":"image_29012025_04_45_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/29/2fce0074ed001b5b389d3b080c9c70a7.jpg","text":"TemporaryFile(/tmp/multipartBody6557629206163446380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122453299,"filename":"image_29012025_04_46_06_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/29/8ce2c8f1338675bc6fc731b3eee73c8f.jpg","text":"TemporaryFile(/tmp/multipartBody4904278893762413688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122453299,"filename":"image_29012025_04_46_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/29/44ca7fcf11309c9f45134e97f7b5c7cb.jpg","text":"TemporaryFile(/tmp/multipartBody2567117555401201935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122453299,"filename":"image_29012025_04_46_27_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332529328","file1":"1332529295","file0":"1332529271","file4":"1332529385","file3":"1332529330"},"map_files_photo_id_array":[{"photo_id":"1332529328","filename":"file2"},{"photo_id":"1332529385","filename":"file4"},{"photo_id":"1332529295","filename":"file1"},{"photo_id":"1332529271","filename":"file0"},{"photo_id":"1332529330","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332529385":["hashtag1","hashtag2"]},{"1332529271":["hashtag1","hashtag2"]},{"1332529295":["hashtag1","hashtag2"]},{"1332529328":["hashtag1","hashtag2"]},{"1332529330":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332529385, 1332529271, 1332529295, 1332529328, 1332529330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.54355311393738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:47:32.718113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/46/image_29012025_04_46_57_10361.jpg', '/home/pi/Desktop/images/29012025/04/46/image_29012025_04_47_06_9331.jpg', '/home/pi/Desktop/images/29012025/04/47/image_29012025_04_47_16_10432.jpg', '/home/pi/Desktop/images/29012025/04/47/image_29012025_04_47_26_9350.jpg', '/home/pi/Desktop/images/29012025/04/47/image_29012025_04_47_36_10397.jpg', '/home/pi/Desktop/images/29012025/04/47/image_29012025_04_47_46_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/46/image_29012025_04_46_57_10361.jpg
/home/pi/Desktop/images/29012025/04/46/image_29012025_04_47_06_9331.jpg
/home/pi/Desktop/images/29012025/04/47/image_29012025_04_47_16_10432.jpg
/home/pi/Desktop/images/29012025/04/47/image_29012025_04_47_26_9350.jpg
/home/pi/Desktop/images/29012025/04/47/image_29012025_04_47_36_10397.jpg
/home/pi/Desktop/images/29012025/04/47/image_29012025_04_47_46_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":["1332529416","1332529446","1332529413","1332529445","1332529427","1332529442"],"photo_ids_order":["1332529413","1332529416","1332529427","1332529442","1332529445","1332529446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/678b7ad2415d8cd99a583847c11b0e76.jpg","text":"TemporaryFile(/tmp/multipartBody8640418577426915568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122513643,"filename":"image_29012025_04_47_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/29/e73e79bfb2915ffe0342245747f4d44e.jpg","text":"TemporaryFile(/tmp/multipartBody7318165398048888332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122513643,"filename":"image_29012025_04_47_46_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/29/5512593ba23a3ed425bc49b9810c5d08.jpg","text":"TemporaryFile(/tmp/multipartBody4911453918328719111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122513643,"filename":"image_29012025_04_46_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/29/f7e9befa2503ac6400edddd40c61e1e3.jpg","text":"TemporaryFile(/tmp/multipartBody3915437891456148834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122513643,"filename":"image_29012025_04_47_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/29/62369a75a4b00f877f54b26b6c4f2586.jpg","text":"TemporaryFile(/tmp/multipartBody249633208794954107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122513643,"filename":"image_29012025_04_47_16_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/29/e57f34b02e104deb2b1db53551763a31.jpg","text":"TemporaryFile(/tmp/multipartBody1180680193807471573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122513643,"filename":"image_29012025_04_47_26_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332529427","file1":"1332529416","file0":"1332529413","file4":"1332529445","file5":"1332529446","file3":"1332529442"},"map_files_photo_id_array":[{"photo_id":"1332529446","filename":"file5"},{"photo_id":"1332529427","filename":"file2"},{"photo_id":"1332529445","filename":"file4"},{"photo_id":"1332529416","filename":"file1"},{"photo_id":"1332529413","filename":"file0"},{"photo_id":"1332529442","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332529416":["hashtag1","hashtag2"]},{"1332529446":["hashtag1","hashtag2"]},{"1332529413":["hashtag1","hashtag2"]},{"1332529445":["hashtag1","hashtag2"]},{"1332529427":["hashtag1","hashtag2"]},{"1332529442":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332529416, 1332529446, 1332529413, 1332529445, 1332529427, 1332529442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.75278639793396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:48:32.930359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/47/image_29012025_04_47_56_9452.jpg', '/home/pi/Desktop/images/29012025/04/47/image_29012025_04_48_06_10336.jpg', '/home/pi/Desktop/images/29012025/04/48/image_29012025_04_48_17_10339.jpg', '/home/pi/Desktop/images/29012025/04/48/image_29012025_04_48_26_9352.jpg', '/home/pi/Desktop/images/29012025/04/48/image_29012025_04_48_36_10428.jpg', '/home/pi/Desktop/images/29012025/04/48/image_29012025_04_48_46_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/47/image_29012025_04_47_56_9452.jpg
/home/pi/Desktop/images/29012025/04/47/image_29012025_04_48_06_10336.jpg
/home/pi/Desktop/images/29012025/04/48/image_29012025_04_48_17_10339.jpg
/home/pi/Desktop/images/29012025/04/48/image_29012025_04_48_26_9352.jpg
/home/pi/Desktop/images/29012025/04/48/image_29012025_04_48_36_10428.jpg
/home/pi/Desktop/images/29012025/04/48/image_29012025_04_48_46_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":["1332529485","1332529479","1332529494","1332529496","1332529492","1332529489"],"photo_ids_order":["1332529479","1332529485","1332529489","1332529492","1332529494","1332529496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1e6659f461709d7647e982ffed2fff97.jpg","text":"TemporaryFile(/tmp/multipartBody7723678035038897963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122573828,"filename":"image_29012025_04_48_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/29/9e6736fac704cfa10a238fa0de53b363.jpg","text":"TemporaryFile(/tmp/multipartBody396678067407956589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122573828,"filename":"image_29012025_04_47_56_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/29/cdfc496c8d04386975a0c29bbf686df9.jpg","text":"TemporaryFile(/tmp/multipartBody3031295290629888134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122573828,"filename":"image_29012025_04_48_36_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/29/b1ba4f67c2e22629a9f4e2a55643b25f.jpg","text":"TemporaryFile(/tmp/multipartBody7364068884063434728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122573828,"filename":"image_29012025_04_48_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/29/5e5b6ce795dd782a8108a06957d651df.jpg","text":"TemporaryFile(/tmp/multipartBody2825687524097410036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122573828,"filename":"image_29012025_04_48_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/29/6754a504a372481976147556e999b4c5.jpg","text":"TemporaryFile(/tmp/multipartBody8601257205632231585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122573828,"filename":"image_29012025_04_48_17_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332529489","file1":"1332529485","file0":"1332529479","file4":"1332529494","file5":"1332529496","file3":"1332529492"},"map_files_photo_id_array":[{"photo_id":"1332529496","filename":"file5"},{"photo_id":"1332529489","filename":"file2"},{"photo_id":"1332529494","filename":"file4"},{"photo_id":"1332529485","filename":"file1"},{"photo_id":"1332529479","filename":"file0"},{"photo_id":"1332529492","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332529485":["hashtag1","hashtag2"]},{"1332529479":["hashtag1","hashtag2"]},{"1332529494":["hashtag1","hashtag2"]},{"1332529496":["hashtag1","hashtag2"]},{"1332529492":["hashtag1","hashtag2"]},{"1332529489":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332529485, 1332529479, 1332529494, 1332529496, 1332529492, 1332529489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.181161642074585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:49:33.136808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/48/image_29012025_04_48_56_10472.jpg', '/home/pi/Desktop/images/29012025/04/48/image_29012025_04_49_07_10347.jpg', '/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_16_9329.jpg', '/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_26_10464.jpg', '/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_36_9886.jpg', '/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_47_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/48/image_29012025_04_48_56_10472.jpg
/home/pi/Desktop/images/29012025/04/48/image_29012025_04_49_07_10347.jpg
/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_16_9329.jpg
/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_26_10464.jpg
/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_36_9886.jpg
/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_47_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":["1332529609","1332529575","1332529614","1332529594","1332529624","1332529627"],"photo_ids_order":["1332529575","1332529594","1332529609","1332529614","1332529624","1332529627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/684b6d1ed21007bb4318ed9bdf108e72.jpg","text":"TemporaryFile(/tmp/multipartBody4242581013626793567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122634035,"filename":"image_29012025_04_49_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/29/62692156298ff50b124321570676f963.jpg","text":"TemporaryFile(/tmp/multipartBody6412864271688415736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122634035,"filename":"image_29012025_04_48_56_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/29/795d099481ce98b35dc453845423b669.jpg","text":"TemporaryFile(/tmp/multipartBody1840878517970808362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122634035,"filename":"image_29012025_04_49_26_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/29/cc650e40ec53d3cf8e74485895416cf7.jpg","text":"TemporaryFile(/tmp/multipartBody8594885333710222215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122634035,"filename":"image_29012025_04_49_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/29/9abf44bfd4cb72819488ba0bb64bea30.jpg","text":"TemporaryFile(/tmp/multipartBody2142916849490484699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122634035,"filename":"image_29012025_04_49_36_9886.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cca9dc77440b7b99bb4dff8f659bd0a1.jpg","text":"TemporaryFile(/tmp/multipartBody2537505674475640088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122634035,"filename":"image_29012025_04_49_47_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332529609","file1":"1332529594","file0":"1332529575","file4":"1332529624","file5":"1332529627","file3":"1332529614"},"map_files_photo_id_array":[{"photo_id":"1332529627","filename":"file5"},{"photo_id":"1332529609","filename":"file2"},{"photo_id":"1332529624","filename":"file4"},{"photo_id":"1332529594","filename":"file1"},{"photo_id":"1332529575","filename":"file0"},{"photo_id":"1332529614","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332529609":["hashtag1","hashtag2"]},{"1332529575":["hashtag1","hashtag2"]},{"1332529614":["hashtag1","hashtag2"]},{"1332529594":["hashtag1","hashtag2"]},{"1332529624":["hashtag1","hashtag2"]},{"1332529627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332529609, 1332529575, 1332529614, 1332529594, 1332529624, 1332529627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96704292297363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:50:32.179683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_56_9390.jpg', '/home/pi/Desktop/images/29012025/04/49/image_29012025_04_50_06_10358.jpg', '/home/pi/Desktop/images/29012025/04/50/image_29012025_04_50_17_10361.jpg', '/home/pi/Desktop/images/29012025/04/50/image_29012025_04_50_46_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_56_9390.jpg
/home/pi/Desktop/images/29012025/04/49/image_29012025_04_50_06_10358.jpg
/home/pi/Desktop/images/29012025/04/50/image_29012025_04_50_17_10361.jpg
/home/pi/Desktop/images/29012025/04/50/image_29012025_04_50_46_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.48833799362182617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 04:50:42.205077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_56_9390.jpg', '/home/pi/Desktop/images/29012025/04/49/image_29012025_04_50_06_10358.jpg', '/home/pi/Desktop/images/29012025/04/50/image_29012025_04_50_17_10361.jpg', '/home/pi/Desktop/images/29012025/04/50/image_29012025_04_50_46_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/49/image_29012025_04_49_56_9390.jpg
/home/pi/Desktop/images/29012025/04/49/image_29012025_04_50_06_10358.jpg
/home/pi/Desktop/images/29012025/04/50/image_29012025_04_50_17_10361.jpg
/home/pi/Desktop/images/29012025/04/50/image_29012025_04_50_46_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":["1332529734","1332529725","1332529730","1332529732"],"photo_ids_order":["1332529725","1332529730","1332529732","1332529734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cbbd0c523f8cfb7de9f3aad170aa3e5f.jpg","text":"TemporaryFile(/tmp/multipartBody5634960668466899701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122703084,"filename":"image_29012025_04_50_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/29/b4c4888213d73fe2b5ab49a613bf9b80.jpg","text":"TemporaryFile(/tmp/multipartBody718334737900844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122703084,"filename":"image_29012025_04_49_56_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/29/1c3624e9e5feaa6cc054659d51ed512a.jpg","text":"TemporaryFile(/tmp/multipartBody115687741678139655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122703084,"filename":"image_29012025_04_50_06_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/29/88ce04ca00be2dfb442c328b6fe19efb.jpg","text":"TemporaryFile(/tmp/multipartBody2529443658861403260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122703084,"filename":"image_29012025_04_50_17_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332529732","file1":"1332529730","file0":"1332529725","file3":"1332529734"},"map_files_photo_id_array":[{"photo_id":"1332529732","filename":"file2"},{"photo_id":"1332529730","filename":"file1"},{"photo_id":"1332529725","filename":"file0"},{"photo_id":"1332529734","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332529734":["hashtag1","hashtag2"]},{"1332529725":["hashtag1","hashtag2"]},{"1332529730":["hashtag1","hashtag2"]},{"1332529732":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332529734, 1332529725, 1332529730, 1332529732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.881500959396362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:51:32.417025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/50/image_29012025_04_50_56_10522.jpg', '/home/pi/Desktop/images/29012025/04/51/image_29012025_04_51_16_9354.jpg', '/home/pi/Desktop/images/29012025/04/51/image_29012025_04_51_26_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/50/image_29012025_04_50_56_10522.jpg
/home/pi/Desktop/images/29012025/04/51/image_29012025_04_51_16_9354.jpg
/home/pi/Desktop/images/29012025/04/51/image_29012025_04_51_26_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332530143","1332530136","1332530132"],"photo_ids_order":["1332530132","1332530136","1332530143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aa2ba53d562090a360b7dca6f325f164.jpg","text":"TemporaryFile(/tmp/multipartBody5238618209634836970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122753285,"filename":"image_29012025_04_51_26_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/29/353b9d4b27b94be8bd996ba5c0e2b56c.jpg","text":"TemporaryFile(/tmp/multipartBody379523250541805757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122753285,"filename":"image_29012025_04_51_16_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/29/9971d52d1f0f4f847228dc70660aca71.jpg","text":"TemporaryFile(/tmp/multipartBody3465280307762687190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122753285,"filename":"image_29012025_04_50_56_10522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530143","file1":"1332530136","file0":"1332530132"},"map_files_photo_id_array":[{"photo_id":"1332530143","filename":"file2"},{"photo_id":"1332530136","filename":"file1"},{"photo_id":"1332530132","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530143":["hashtag1","hashtag2"]},{"1332530136":["hashtag1","hashtag2"]},{"1332530132":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530143, 1332530136, 1332530132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.393594980239868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 04:52:03.221133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/45/image_23012025_23_46_06_9414.jpg', '/home/pi/Desktop/images/23012025/23/46/image_23012025_23_46_16_10345.jpg', '/home/pi/Desktop/images/23012025/23/46/image_23012025_23_46_26_9347.jpg', '/home/pi/Desktop/images/23012025/23/46/image_23012025_23_46_36_10346.jpg', '/home/pi/Desktop/images/23012025/23/46/image_23012025_23_46_47_10354.jpg', '/home/pi/Desktop/images/23012025/23/46/image_23012025_23_46_56_9505.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/45/image_23012025_23_46_06_9414.jpg
/home/pi/Desktop/images/23012025/23/46/image_23012025_23_46_16_10345.jpg
/home/pi/Desktop/images/23012025/23/46/image_23012025_23_46_26_9347.jpg
/home/pi/Desktop/images/23012025/23/46/image_23012025_23_46_36_10346.jpg
/home/pi/Desktop/images/23012025/23/46/image_23012025_23_46_47_10354.jpg
/home/pi/Desktop/images/23012025/23/46/image_23012025_23_46_56_9505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332530167","1332530175","1332530184","1332530273","1332530189","1332530182"],"photo_ids_order":["1332530167","1332530175","1332530182","1332530184","1332530189","1332530273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/caf576077ac8b76562d2fe0ad9d5a53c.jpg","text":"TemporaryFile(/tmp/multipartBody4405586970664560334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122784454,"filename":"image_23012025_23_46_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/29/64622f60f9f68c4754db8de46d191578.jpg","text":"TemporaryFile(/tmp/multipartBody498655275394054588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122784454,"filename":"image_23012025_23_46_16_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/29/cffd47eab6c93418bda10fd00d8023c2.jpg","text":"TemporaryFile(/tmp/multipartBody2260646917685368796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122784454,"filename":"image_23012025_23_46_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/29/ced97ec359911e38b757d4a7b47a3da6.jpg","text":"TemporaryFile(/tmp/multipartBody665458296014868145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122784454,"filename":"image_23012025_23_46_56_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/29/3307022888a9daeb73165a093f4d1d2f.jpg","text":"TemporaryFile(/tmp/multipartBody6948254174371536842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122784454,"filename":"image_23012025_23_46_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/29/305f82327ba540bb9d9e768444ec3cde.jpg","text":"TemporaryFile(/tmp/multipartBody662271226346415240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122784454,"filename":"image_23012025_23_46_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530182","file1":"1332530175","file0":"1332530167","file4":"1332530189","file5":"1332530273","file3":"1332530184"},"map_files_photo_id_array":[{"photo_id":"1332530273","filename":"file5"},{"photo_id":"1332530182","filename":"file2"},{"photo_id":"1332530189","filename":"file4"},{"photo_id":"1332530175","filename":"file1"},{"photo_id":"1332530167","filename":"file0"},{"photo_id":"1332530184","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332530167":["hashtag1","hashtag2"]},{"1332530175":["hashtag1","hashtag2"]},{"1332530184":["hashtag1","hashtag2"]},{"1332530273":["hashtag1","hashtag2"]},{"1332530189":["hashtag1","hashtag2"]},{"1332530182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332530167, 1332530175, 1332530184, 1332530273, 1332530189, 1332530182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.279651403427124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 04:52:52.749695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/46/image_23012025_23_47_06_10357.jpg', '/home/pi/Desktop/images/23012025/23/47/image_23012025_23_47_17_10339.jpg', '/home/pi/Desktop/images/23012025/23/47/image_23012025_23_47_26_9347.jpg', '/home/pi/Desktop/images/23012025/23/47/image_23012025_23_47_36_10341.jpg', '/home/pi/Desktop/images/23012025/23/47/image_23012025_23_47_46_9481.jpg', '/home/pi/Desktop/images/23012025/23/47/image_23012025_23_47_56_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/23/46/image_23012025_23_47_06_10357.jpg
/home/pi/Desktop/images/23012025/23/47/image_23012025_23_47_17_10339.jpg
/home/pi/Desktop/images/23012025/23/47/image_23012025_23_47_26_9347.jpg
/home/pi/Desktop/images/23012025/23/47/image_23012025_23_47_36_10341.jpg
/home/pi/Desktop/images/23012025/23/47/image_23012025_23_47_46_9481.jpg
/home/pi/Desktop/images/23012025/23/47/image_23012025_23_47_56_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332530311","1332530316","1332530310","1332530313","1332530321","1332530318"],"photo_ids_order":["1332530310","1332530311","1332530313","1332530316","1332530318","1332530321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2ac4b247733995f6568f74dabce31b54.jpg","text":"TemporaryFile(/tmp/multipartBody9084767242405134739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122834768,"filename":"image_23012025_23_47_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/29/127980c9e35d6ca652ba1102cb3e68f6.jpg","text":"TemporaryFile(/tmp/multipartBody5898229383728545612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122834768,"filename":"image_23012025_23_47_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/29/073c112750c62e878ae9510093786ddd.jpg","text":"TemporaryFile(/tmp/multipartBody6044410954913633127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122834768,"filename":"image_23012025_23_47_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/29/0ba2d42d806203848b4a9bc147b2805d.jpg","text":"TemporaryFile(/tmp/multipartBody8064666530070932259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122834768,"filename":"image_23012025_23_47_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/29/320cf3818959a683db26928b154b5902.jpg","text":"TemporaryFile(/tmp/multipartBody1543572170639591714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122834768,"filename":"image_23012025_23_47_56_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/29/bb5e1bb17f2e5a47111387d3a5974a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8676534470214380067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122834768,"filename":"image_23012025_23_47_46_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530313","file1":"1332530311","file0":"1332530310","file4":"1332530318","file5":"1332530321","file3":"1332530316"},"map_files_photo_id_array":[{"photo_id":"1332530321","filename":"file5"},{"photo_id":"1332530313","filename":"file2"},{"photo_id":"1332530318","filename":"file4"},{"photo_id":"1332530311","filename":"file1"},{"photo_id":"1332530310","filename":"file0"},{"photo_id":"1332530316","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332530311":["hashtag1","hashtag2"]},{"1332530316":["hashtag1","hashtag2"]},{"1332530310":["hashtag1","hashtag2"]},{"1332530313":["hashtag1","hashtag2"]},{"1332530321":["hashtag1","hashtag2"]},{"1332530318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332530311, 1332530316, 1332530310, 1332530313, 1332530321, 1332530318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.534337282180786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 04:53:42.927715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/51/image_29012025_04_51_36_9352.jpg', '/home/pi/Desktop/images/29012025/04/51/image_29012025_04_52_06_9373.jpg', '/home/pi/Desktop/images/29012025/04/52/image_29012025_04_52_27_10367.jpg', '/home/pi/Desktop/images/29012025/04/52/image_29012025_04_52_36_9342.jpg', '/home/pi/Desktop/images/29012025/04/52/image_29012025_04_52_57_10362.jpg', '/home/pi/Desktop/images/29012025/04/52/image_29012025_04_53_06_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/51/image_29012025_04_51_36_9352.jpg
/home/pi/Desktop/images/29012025/04/51/image_29012025_04_52_06_9373.jpg
/home/pi/Desktop/images/29012025/04/52/image_29012025_04_52_27_10367.jpg
/home/pi/Desktop/images/29012025/04/52/image_29012025_04_52_36_9342.jpg
/home/pi/Desktop/images/29012025/04/52/image_29012025_04_52_57_10362.jpg
/home/pi/Desktop/images/29012025/04/52/image_29012025_04_53_06_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332530344","1332530353","1332530355","1332530349","1332530346","1332530342"],"photo_ids_order":["1332530342","1332530344","1332530346","1332530349","1332530353","1332530355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/815dccc2f17f20223ad8949f4dd50b72.jpg","text":"TemporaryFile(/tmp/multipartBody5245429643611541507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122883838,"filename":"image_29012025_04_52_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/29/c7e548894f6e2d1b15a6770dc88bcb01.jpg","text":"TemporaryFile(/tmp/multipartBody6106257313754109716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122883838,"filename":"image_29012025_04_52_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/29/a778dd46efb28fb7bd299da8926d65d0.jpg","text":"TemporaryFile(/tmp/multipartBody5403931748493149491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122883838,"filename":"image_29012025_04_53_06_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/29/3b5fed0b82b861330351b5aebaec3c68.jpg","text":"TemporaryFile(/tmp/multipartBody3344900520578047011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122883838,"filename":"image_29012025_04_52_36_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/29/e78a50ba7801053be7f66114a9e7d0c5.jpg","text":"TemporaryFile(/tmp/multipartBody1816429138774730007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122883838,"filename":"image_29012025_04_52_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/29/2d0f0c6beabc83b827243f13ef314ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4828282213631359063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122883838,"filename":"image_29012025_04_51_36_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530346","file1":"1332530344","file0":"1332530342","file4":"1332530353","file5":"1332530355","file3":"1332530349"},"map_files_photo_id_array":[{"photo_id":"1332530355","filename":"file5"},{"photo_id":"1332530346","filename":"file2"},{"photo_id":"1332530353","filename":"file4"},{"photo_id":"1332530344","filename":"file1"},{"photo_id":"1332530342","filename":"file0"},{"photo_id":"1332530349","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530344":["hashtag1","hashtag2"]},{"1332530353":["hashtag1","hashtag2"]},{"1332530355":["hashtag1","hashtag2"]},{"1332530349":["hashtag1","hashtag2"]},{"1332530346":["hashtag1","hashtag2"]},{"1332530342":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530344, 1332530353, 1332530355, 1332530349, 1332530346, 1332530342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63767981529236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:54:32.147828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/53/image_29012025_04_53_16_10363.jpg', '/home/pi/Desktop/images/29012025/04/53/image_29012025_04_53_36_10453.jpg', '/home/pi/Desktop/images/29012025/04/53/image_29012025_04_53_56_9492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/53/image_29012025_04_53_16_10363.jpg
/home/pi/Desktop/images/29012025/04/53/image_29012025_04_53_36_10453.jpg
/home/pi/Desktop/images/29012025/04/53/image_29012025_04_53_56_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":["1332530470","1332530474","1332530465"],"photo_ids_order":["1332530465","1332530470","1332530474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dc9a2b5593b26ab2d59fd06ac723ab15.jpg","text":"TemporaryFile(/tmp/multipartBody8869948244633397190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122933010,"filename":"image_29012025_04_53_36_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/29/1f371f8375d72728d4f39a228ad5e669.jpg","text":"TemporaryFile(/tmp/multipartBody4978530565384273404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122933010,"filename":"image_29012025_04_53_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/29/0de75ca474d415a7262b5213ed834a11.jpg","text":"TemporaryFile(/tmp/multipartBody8447081235811045546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122933010,"filename":"image_29012025_04_53_16_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530474","file1":"1332530470","file0":"1332530465"},"map_files_photo_id_array":[{"photo_id":"1332530474","filename":"file2"},{"photo_id":"1332530470","filename":"file1"},{"photo_id":"1332530465","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530470":["hashtag1","hashtag2"]},{"1332530474":["hashtag1","hashtag2"]},{"1332530465":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530470, 1332530474, 1332530465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.914084434509277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 04:55:03.872462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/47/image_23012025_23_48_07_10349.jpg', '/home/pi/Desktop/images/23012025/23/48/image_23012025_23_48_16_9428.jpg', '/home/pi/Desktop/images/23012025/23/48/image_23012025_23_48_26_10352.jpg', '/home/pi/Desktop/images/23012025/23/48/image_23012025_23_48_36_9327.jpg', '/home/pi/Desktop/images/23012025/23/48/image_23012025_23_48_46_10411.jpg', '/home/pi/Desktop/images/23012025/23/48/image_23012025_23_48_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/23/47/image_23012025_23_48_07_10349.jpg
/home/pi/Desktop/images/23012025/23/48/image_23012025_23_48_16_9428.jpg
/home/pi/Desktop/images/23012025/23/48/image_23012025_23_48_26_10352.jpg
/home/pi/Desktop/images/23012025/23/48/image_23012025_23_48_36_9327.jpg
/home/pi/Desktop/images/23012025/23/48/image_23012025_23_48_46_10411.jpg
/home/pi/Desktop/images/23012025/23/48/image_23012025_23_48_57_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":["1332530490","1332530492","1332530501","1332530485","1332530488","1332530497"],"photo_ids_order":["1332530485","1332530488","1332530490","1332530492","1332530497","1332530501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e1ee573e7a007fcd3aa8c50b08ef433b.jpg","text":"TemporaryFile(/tmp/multipartBody1142871463024872494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122965223,"filename":"image_23012025_23_48_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/29/b248c5f9a18e2b8e8b59f0703f388e89.jpg","text":"TemporaryFile(/tmp/multipartBody973222501157418478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122965223,"filename":"image_23012025_23_48_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/29/f435b51659f2b86ecfd5a5a2c105ef10.jpg","text":"TemporaryFile(/tmp/multipartBody8002846834022668324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122965223,"filename":"image_23012025_23_48_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/29/d0ff2a6f645f4d54c6a1402aaf17092d.jpg","text":"TemporaryFile(/tmp/multipartBody1556016535893185476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122965223,"filename":"image_23012025_23_48_07_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/29/bafb38e35b9541316a74a7fe46429df2.jpg","text":"TemporaryFile(/tmp/multipartBody3804238578588057996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122965223,"filename":"image_23012025_23_48_16_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/29/1ab779a52018f2f3f050935df2bfad99.jpg","text":"TemporaryFile(/tmp/multipartBody2365358235558353909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738122965223,"filename":"image_23012025_23_48_46_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530490","file1":"1332530488","file0":"1332530485","file4":"1332530497","file5":"1332530501","file3":"1332530492"},"map_files_photo_id_array":[{"photo_id":"1332530501","filename":"file5"},{"photo_id":"1332530490","filename":"file2"},{"photo_id":"1332530497","filename":"file4"},{"photo_id":"1332530488","filename":"file1"},{"photo_id":"1332530485","filename":"file0"},{"photo_id":"1332530492","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332530490":["hashtag1","hashtag2"]},{"1332530492":["hashtag1","hashtag2"]},{"1332530501":["hashtag1","hashtag2"]},{"1332530485":["hashtag1","hashtag2"]},{"1332530488":["hashtag1","hashtag2"]},{"1332530497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332530490, 1332530492, 1332530501, 1332530485, 1332530488, 1332530497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4122531414032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 04:55:52.419205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/48/image_23012025_23_49_06_9351.jpg', '/home/pi/Desktop/images/23012025/23/49/image_23012025_23_49_16_10362.jpg', '/home/pi/Desktop/images/23012025/23/49/image_23012025_23_49_27_10359.jpg', '/home/pi/Desktop/images/23012025/23/49/image_23012025_23_49_36_9445.jpg', '/home/pi/Desktop/images/23012025/23/49/image_23012025_23_49_46_10350.jpg', '/home/pi/Desktop/images/23012025/23/49/image_23012025_23_49_57_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/23/48/image_23012025_23_49_06_9351.jpg
/home/pi/Desktop/images/23012025/23/49/image_23012025_23_49_16_10362.jpg
/home/pi/Desktop/images/23012025/23/49/image_23012025_23_49_27_10359.jpg
/home/pi/Desktop/images/23012025/23/49/image_23012025_23_49_36_9445.jpg
/home/pi/Desktop/images/23012025/23/49/image_23012025_23_49_46_10350.jpg
/home/pi/Desktop/images/23012025/23/49/image_23012025_23_49_57_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":["1332530506","1332530520","1332530514","1332530508","1332530517","1332530510"],"photo_ids_order":["1332530506","1332530508","1332530510","1332530514","1332530517","1332530520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fc0cc0252d7e65faa58b6289ebde8d08.jpg","text":"TemporaryFile(/tmp/multipartBody137611367897879970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123014464,"filename":"image_23012025_23_49_06_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/29/6b7e36dcf808d4ccf1b6c6e0b468a479.jpg","text":"TemporaryFile(/tmp/multipartBody9091150401912351807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123014464,"filename":"image_23012025_23_49_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/29/adee565191b93ad4e95bdcfcf6c096f4.jpg","text":"TemporaryFile(/tmp/multipartBody7451582665509546977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123014464,"filename":"image_23012025_23_49_36_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/29/61276f16bec3e7155eacbedc8de52ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2073797708135071652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123014464,"filename":"image_23012025_23_49_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/29/b4295d17188511346df7a0494e3c8c08.jpg","text":"TemporaryFile(/tmp/multipartBody5332864575470999047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123014464,"filename":"image_23012025_23_49_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/29/71b9f31f46453c098389bab6b2043917.jpg","text":"TemporaryFile(/tmp/multipartBody1296196322384000776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123014464,"filename":"image_23012025_23_49_27_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530510","file1":"1332530508","file0":"1332530506","file4":"1332530517","file5":"1332530520","file3":"1332530514"},"map_files_photo_id_array":[{"photo_id":"1332530520","filename":"file5"},{"photo_id":"1332530510","filename":"file2"},{"photo_id":"1332530517","filename":"file4"},{"photo_id":"1332530508","filename":"file1"},{"photo_id":"1332530506","filename":"file0"},{"photo_id":"1332530514","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332530506":["hashtag1","hashtag2"]},{"1332530520":["hashtag1","hashtag2"]},{"1332530514":["hashtag1","hashtag2"]},{"1332530508":["hashtag1","hashtag2"]},{"1332530517":["hashtag1","hashtag2"]},{"1332530510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332530506, 1332530520, 1332530514, 1332530508, 1332530517, 1332530510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05090951919556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 04:56:42.626880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/54/image_29012025_04_54_37_10363.jpg', '/home/pi/Desktop/images/29012025/04/54/image_29012025_04_55_07_10357.jpg', '/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_16_9346.jpg', '/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_26_10385.jpg', '/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_36_9346.jpg', '/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_46_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/54/image_29012025_04_54_37_10363.jpg
/home/pi/Desktop/images/29012025/04/54/image_29012025_04_55_07_10357.jpg
/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_16_9346.jpg
/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_26_10385.jpg
/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_36_9346.jpg
/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_46_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332530542","1332530539","1332530532","1332530535","1332530555","1332530569"],"photo_ids_order":["1332530532","1332530535","1332530539","1332530542","1332530555","1332530569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/874c2d58dd2a70b03a3285294a9caaab.jpg","text":"TemporaryFile(/tmp/multipartBody4057451724958658976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123063544,"filename":"image_29012025_04_55_26_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/29/d5d10d93ca8cd611016cd60883a83ae1.jpg","text":"TemporaryFile(/tmp/multipartBody4916746076575650150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123063544,"filename":"image_29012025_04_55_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/29/3d8128ee4f67fe6e9ff4fdf520cd4d71.jpg","text":"TemporaryFile(/tmp/multipartBody5684231692611269167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123063544,"filename":"image_29012025_04_54_37_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/29/1453aa3332c48cd1e47cc45ebd00cb48.jpg","text":"TemporaryFile(/tmp/multipartBody4522679364136989457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123063544,"filename":"image_29012025_04_55_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/29/a6779d009782f86749c7ba7a1fd65f27.jpg","text":"TemporaryFile(/tmp/multipartBody182425482262062065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123063544,"filename":"image_29012025_04_55_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/29/ae4d3fee489eea48f2b64410f823b70d.jpg","text":"TemporaryFile(/tmp/multipartBody8470756768829558073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123063544,"filename":"image_29012025_04_55_46_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530539","file1":"1332530535","file0":"1332530532","file4":"1332530555","file5":"1332530569","file3":"1332530542"},"map_files_photo_id_array":[{"photo_id":"1332530569","filename":"file5"},{"photo_id":"1332530539","filename":"file2"},{"photo_id":"1332530555","filename":"file4"},{"photo_id":"1332530535","filename":"file1"},{"photo_id":"1332530532","filename":"file0"},{"photo_id":"1332530542","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530542":["hashtag1","hashtag2"]},{"1332530539":["hashtag1","hashtag2"]},{"1332530532":["hashtag1","hashtag2"]},{"1332530535":["hashtag1","hashtag2"]},{"1332530555":["hashtag1","hashtag2"]},{"1332530569":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530542, 1332530539, 1332530532, 1332530535, 1332530555, 1332530569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.643601179122925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 04:57:32.931620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_57_10365.jpg', '/home/pi/Desktop/images/29012025/04/55/image_29012025_04_56_06_9375.jpg', '/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_27_10351.jpg', '/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_36_9427.jpg', '/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_47_10447.jpg', '/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_56_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_57_10365.jpg
/home/pi/Desktop/images/29012025/04/55/image_29012025_04_56_06_9375.jpg
/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_27_10351.jpg
/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_36_9427.jpg
/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_47_10447.jpg
/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_56_9354.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-29 04:59:04.006074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_57_10365.jpg', '/home/pi/Desktop/images/29012025/04/55/image_29012025_04_56_06_9375.jpg', '/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_27_10351.jpg', '/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_36_9427.jpg', '/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_47_10447.jpg', '/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_56_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/55/image_29012025_04_55_57_10365.jpg
/home/pi/Desktop/images/29012025/04/55/image_29012025_04_56_06_9375.jpg
/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_27_10351.jpg
/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_36_9427.jpg
/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_47_10447.jpg
/home/pi/Desktop/images/29012025/04/56/image_29012025_04_56_56_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":["1332530710","1332530713","1332530707","1332530679","1332530683","1332530686"],"photo_ids_order":["1332530679","1332530683","1332530686","1332530707","1332530710","1332530713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fec93eee14c3d3dd4b73f54c0d0a3777.jpg","text":"TemporaryFile(/tmp/multipartBody8628067838748534575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123205850,"filename":"image_29012025_04_56_47_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/29/97f568a792fa1056cf54019b848c84f9.jpg","text":"TemporaryFile(/tmp/multipartBody2913000012747714674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123205850,"filename":"image_29012025_04_56_56_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/29/f70c33a59b89b7e6c51eba3eb6127410.jpg","text":"TemporaryFile(/tmp/multipartBody232158357283669828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123205850,"filename":"image_29012025_04_56_36_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/29/5773a7251509739acc82d99bb5dbc2d9.jpg","text":"TemporaryFile(/tmp/multipartBody4938903033250307671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123205850,"filename":"image_29012025_04_55_57_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/29/ac3a7e7eb77c404a63bfbcb9f11955b0.jpg","text":"TemporaryFile(/tmp/multipartBody3413647102289478591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123205850,"filename":"image_29012025_04_56_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/29/c1f0644623989eac2dea6cc8a3d718c4.jpg","text":"TemporaryFile(/tmp/multipartBody9009857785214965359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123205850,"filename":"image_29012025_04_56_27_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530686","file1":"1332530683","file0":"1332530679","file4":"1332530710","file5":"1332530713","file3":"1332530707"},"map_files_photo_id_array":[{"photo_id":"1332530713","filename":"file5"},{"photo_id":"1332530686","filename":"file2"},{"photo_id":"1332530710","filename":"file4"},{"photo_id":"1332530683","filename":"file1"},{"photo_id":"1332530679","filename":"file0"},{"photo_id":"1332530707","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530710":["hashtag1","hashtag2"]},{"1332530713":["hashtag1","hashtag2"]},{"1332530707":["hashtag1","hashtag2"]},{"1332530679":["hashtag1","hashtag2"]},{"1332530683":["hashtag1","hashtag2"]},{"1332530686":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530710, 1332530713, 1332530707, 1332530679, 1332530683, 1332530686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91358399391174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 04:59:52.594277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/49/image_23012025_23_50_06_9346.jpg', '/home/pi/Desktop/images/23012025/23/50/image_23012025_23_50_16_10341.jpg', '/home/pi/Desktop/images/23012025/23/50/image_23012025_23_50_26_9371.jpg', '/home/pi/Desktop/images/23012025/23/50/image_23012025_23_50_36_10443.jpg', '/home/pi/Desktop/images/23012025/23/50/image_23012025_23_50_47_10351.jpg', '/home/pi/Desktop/images/23012025/23/50/image_23012025_23_50_56_9465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/49/image_23012025_23_50_06_9346.jpg
/home/pi/Desktop/images/23012025/23/50/image_23012025_23_50_16_10341.jpg
/home/pi/Desktop/images/23012025/23/50/image_23012025_23_50_26_9371.jpg
/home/pi/Desktop/images/23012025/23/50/image_23012025_23_50_36_10443.jpg
/home/pi/Desktop/images/23012025/23/50/image_23012025_23_50_47_10351.jpg
/home/pi/Desktop/images/23012025/23/50/image_23012025_23_50_56_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332530740","1332530728","1332530743","1332530737","1332530745","1332530733"],"photo_ids_order":["1332530728","1332530733","1332530737","1332530740","1332530743","1332530745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ec8eb8102f02df3956a5a4434691c22a.jpg","text":"TemporaryFile(/tmp/multipartBody2756853797879885805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123254642,"filename":"image_23012025_23_50_36_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/29/9fe9e6680b90c9b8fa6e5b15ace67bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2350025576101718874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123254642,"filename":"image_23012025_23_50_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/29/16bcc04b70038a6bdaf1f9cb4eeff9d6.jpg","text":"TemporaryFile(/tmp/multipartBody1112753649505374212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123254642,"filename":"image_23012025_23_50_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/29/93b8489be5b1e70239d167b59ef24e47.jpg","text":"TemporaryFile(/tmp/multipartBody6169980759785188538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123254642,"filename":"image_23012025_23_50_26_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/29/e22d8fea433353c0118ebcb19c761bf6.jpg","text":"TemporaryFile(/tmp/multipartBody155145823982347753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123254642,"filename":"image_23012025_23_50_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/29/35b6e4aa0e9f3e036b278e7087fc201e.jpg","text":"TemporaryFile(/tmp/multipartBody1829424734588472570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123254642,"filename":"image_23012025_23_50_16_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530737","file1":"1332530733","file0":"1332530728","file4":"1332530743","file5":"1332530745","file3":"1332530740"},"map_files_photo_id_array":[{"photo_id":"1332530745","filename":"file5"},{"photo_id":"1332530737","filename":"file2"},{"photo_id":"1332530743","filename":"file4"},{"photo_id":"1332530733","filename":"file1"},{"photo_id":"1332530728","filename":"file0"},{"photo_id":"1332530740","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332530740":["hashtag1","hashtag2"]},{"1332530728":["hashtag1","hashtag2"]},{"1332530743":["hashtag1","hashtag2"]},{"1332530737":["hashtag1","hashtag2"]},{"1332530745":["hashtag1","hashtag2"]},{"1332530733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332530740, 1332530728, 1332530743, 1332530737, 1332530745, 1332530733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.795283794403076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:00:42.828283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/56/image_29012025_04_57_06_10355.jpg', '/home/pi/Desktop/images/29012025/04/57/image_29012025_04_57_26_9354.jpg', '/home/pi/Desktop/images/29012025/04/57/image_29012025_04_57_36_10450.jpg', '/home/pi/Desktop/images/29012025/04/57/image_29012025_04_57_56_10409.jpg', '/home/pi/Desktop/images/29012025/04/57/image_29012025_04_58_07_10350.jpg', '/home/pi/Desktop/images/29012025/04/58/image_29012025_04_58_16_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/56/image_29012025_04_57_06_10355.jpg
/home/pi/Desktop/images/29012025/04/57/image_29012025_04_57_26_9354.jpg
/home/pi/Desktop/images/29012025/04/57/image_29012025_04_57_36_10450.jpg
/home/pi/Desktop/images/29012025/04/57/image_29012025_04_57_56_10409.jpg
/home/pi/Desktop/images/29012025/04/57/image_29012025_04_58_07_10350.jpg
/home/pi/Desktop/images/29012025/04/58/image_29012025_04_58_16_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":["1332530761","1332530755","1332530751","1332530765","1332530764","1332530758"],"photo_ids_order":["1332530751","1332530755","1332530758","1332530761","1332530764","1332530765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/88c4cb78d7e2abe7559e0b76a5134952.jpg","text":"TemporaryFile(/tmp/multipartBody1593952728760001471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123303726,"filename":"image_29012025_04_57_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/29/d1b2c78c2941f0e507519fb150e6383e.jpg","text":"TemporaryFile(/tmp/multipartBody6743741011065502896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123303726,"filename":"image_29012025_04_57_26_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/29/0deddbdbecf777cc1c86a0ebb04803ac.jpg","text":"TemporaryFile(/tmp/multipartBody3571195209262881076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123303726,"filename":"image_29012025_04_57_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/29/3790f72228f92a507a8311992fa22712.jpg","text":"TemporaryFile(/tmp/multipartBody1608196593108210224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123303726,"filename":"image_29012025_04_58_16_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/29/5557390e49660eae0b494777bb85b82a.jpg","text":"TemporaryFile(/tmp/multipartBody5008386432296472741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123303726,"filename":"image_29012025_04_58_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/29/2be709e31f966a4bab164bd0b38000cb.jpg","text":"TemporaryFile(/tmp/multipartBody7667321355469641397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123303726,"filename":"image_29012025_04_57_36_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530758","file1":"1332530755","file0":"1332530751","file4":"1332530764","file5":"1332530765","file3":"1332530761"},"map_files_photo_id_array":[{"photo_id":"1332530765","filename":"file5"},{"photo_id":"1332530758","filename":"file2"},{"photo_id":"1332530764","filename":"file4"},{"photo_id":"1332530755","filename":"file1"},{"photo_id":"1332530751","filename":"file0"},{"photo_id":"1332530761","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530761":["hashtag1","hashtag2"]},{"1332530755":["hashtag1","hashtag2"]},{"1332530751":["hashtag1","hashtag2"]},{"1332530765":["hashtag1","hashtag2"]},{"1332530764":["hashtag1","hashtag2"]},{"1332530758":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530761, 1332530755, 1332530751, 1332530765, 1332530764, 1332530758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21995186805725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:01:33.037788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/04/58/image_29012025_04_58_26_10459.jpg', '/home/pi/Desktop/images/29012025/04/58/image_29012025_04_58_46_9327.jpg', '/home/pi/Desktop/images/29012025/04/58/image_29012025_04_58_56_10390.jpg', '/home/pi/Desktop/images/29012025/04/58/image_29012025_04_59_06_9346.jpg', '/home/pi/Desktop/images/29012025/04/59/image_29012025_04_59_16_10407.jpg', '/home/pi/Desktop/images/29012025/04/59/image_29012025_04_59_57_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/04/58/image_29012025_04_58_26_10459.jpg
/home/pi/Desktop/images/29012025/04/58/image_29012025_04_58_46_9327.jpg
/home/pi/Desktop/images/29012025/04/58/image_29012025_04_58_56_10390.jpg
/home/pi/Desktop/images/29012025/04/58/image_29012025_04_59_06_9346.jpg
/home/pi/Desktop/images/29012025/04/59/image_29012025_04_59_16_10407.jpg
/home/pi/Desktop/images/29012025/04/59/image_29012025_04_59_57_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":["1332530781","1332530775","1332530778","1332530782","1332530785","1332530788"],"photo_ids_order":["1332530775","1332530778","1332530781","1332530782","1332530785","1332530788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1d737a53dbe0e170577047a9515cefa2.jpg","text":"TemporaryFile(/tmp/multipartBody3379385940038442494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123353944,"filename":"image_29012025_04_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/29/ece5de5aa7ea320873ea1b29562a593d.jpg","text":"TemporaryFile(/tmp/multipartBody542428803650583167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123353944,"filename":"image_29012025_04_58_26_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/29/c7994ae00ed204aee308f2ee8afeade5.jpg","text":"TemporaryFile(/tmp/multipartBody8881414314874746101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123353944,"filename":"image_29012025_04_58_46_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/29/d0d14d7e4ea8c18ec147c625a364b89f.jpg","text":"TemporaryFile(/tmp/multipartBody1861520861655257138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123353944,"filename":"image_29012025_04_59_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/29/2b791a5b9fe9e548eceb8da3dfc8ab5f.jpg","text":"TemporaryFile(/tmp/multipartBody376880679744089605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123353944,"filename":"image_29012025_04_59_16_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/29/696776a1fefcb03e8cea171565ea8fcb.jpg","text":"TemporaryFile(/tmp/multipartBody6890152762608055103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123353944,"filename":"image_29012025_04_59_57_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530781","file1":"1332530778","file0":"1332530775","file4":"1332530785","file5":"1332530788","file3":"1332530782"},"map_files_photo_id_array":[{"photo_id":"1332530788","filename":"file5"},{"photo_id":"1332530781","filename":"file2"},{"photo_id":"1332530785","filename":"file4"},{"photo_id":"1332530778","filename":"file1"},{"photo_id":"1332530775","filename":"file0"},{"photo_id":"1332530782","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530781":["hashtag1","hashtag2"]},{"1332530775":["hashtag1","hashtag2"]},{"1332530778":["hashtag1","hashtag2"]},{"1332530782":["hashtag1","hashtag2"]},{"1332530785":["hashtag1","hashtag2"]},{"1332530788":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530781, 1332530775, 1332530778, 1332530782, 1332530785, 1332530788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46416711807251 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:02:32.161337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/00/image_29012025_05_00_15_10098.jpg', '/home/pi/Desktop/images/29012025/05/00/image_29012025_05_00_36_10363.jpg', '/home/pi/Desktop/images/29012025/05/00/image_29012025_05_00_55_9429.jpg', '/home/pi/Desktop/images/29012025/05/00/image_29012025_05_01_06_10375.jpg', '/home/pi/Desktop/images/29012025/05/01/image_29012025_05_01_36_10364.jpg', '/home/pi/Desktop/images/29012025/05/01/image_29012025_05_01_45_9389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/00/image_29012025_05_00_15_10098.jpg
/home/pi/Desktop/images/29012025/05/00/image_29012025_05_00_36_10363.jpg
/home/pi/Desktop/images/29012025/05/00/image_29012025_05_00_55_9429.jpg
/home/pi/Desktop/images/29012025/05/00/image_29012025_05_01_06_10375.jpg
/home/pi/Desktop/images/29012025/05/01/image_29012025_05_01_36_10364.jpg
/home/pi/Desktop/images/29012025/05/01/image_29012025_05_01_45_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":["1332530814","1332530808","1332530798","1332530817","1332530819","1332530801"],"photo_ids_order":["1332530798","1332530801","1332530808","1332530814","1332530817","1332530819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a8ec37bc5193dadfdbfcbfc488c7b1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1500860962331549627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123413084,"filename":"image_29012025_05_01_06_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/29/d6b0cbc646a9adf684fdd98b03859da2.jpg","text":"TemporaryFile(/tmp/multipartBody8359496820399331799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123413084,"filename":"image_29012025_05_00_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/29/ff75ccc560726160cb0f1dd02c7f06ea.jpg","text":"TemporaryFile(/tmp/multipartBody1845669536344718815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123413084,"filename":"image_29012025_05_00_15_10098.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9b3a596f328059923082f8f7b5015b1d.jpg","text":"TemporaryFile(/tmp/multipartBody606313393956593133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123413084,"filename":"image_29012025_05_01_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/29/1a48dd51c17eeb294afbbcf434c739a3.jpg","text":"TemporaryFile(/tmp/multipartBody5285477430336631024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123413084,"filename":"image_29012025_05_01_45_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/29/100a326fe78e90b1d39e9b1f96139984.jpg","text":"TemporaryFile(/tmp/multipartBody130883455054300637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123413084,"filename":"image_29012025_05_00_36_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530808","file1":"1332530801","file0":"1332530798","file4":"1332530817","file5":"1332530819","file3":"1332530814"},"map_files_photo_id_array":[{"photo_id":"1332530819","filename":"file5"},{"photo_id":"1332530808","filename":"file2"},{"photo_id":"1332530817","filename":"file4"},{"photo_id":"1332530801","filename":"file1"},{"photo_id":"1332530798","filename":"file0"},{"photo_id":"1332530814","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530814":["hashtag1","hashtag2"]},{"1332530808":["hashtag1","hashtag2"]},{"1332530798":["hashtag1","hashtag2"]},{"1332530817":["hashtag1","hashtag2"]},{"1332530819":["hashtag1","hashtag2"]},{"1332530801":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530814, 1332530808, 1332530798, 1332530817, 1332530819, 1332530801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70524597167969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:03:32.374828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/01/image_29012025_05_01_56_10355.jpg', '/home/pi/Desktop/images/29012025/05/01/image_29012025_05_02_06_10358.jpg', '/home/pi/Desktop/images/29012025/05/02/image_29012025_05_02_15_9397.jpg', '/home/pi/Desktop/images/29012025/05/02/image_29012025_05_02_26_10345.jpg', '/home/pi/Desktop/images/29012025/05/02/image_29012025_05_02_35_9390.jpg', '/home/pi/Desktop/images/29012025/05/02/image_29012025_05_02_46_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/01/image_29012025_05_01_56_10355.jpg
/home/pi/Desktop/images/29012025/05/01/image_29012025_05_02_06_10358.jpg
/home/pi/Desktop/images/29012025/05/02/image_29012025_05_02_15_9397.jpg
/home/pi/Desktop/images/29012025/05/02/image_29012025_05_02_26_10345.jpg
/home/pi/Desktop/images/29012025/05/02/image_29012025_05_02_35_9390.jpg
/home/pi/Desktop/images/29012025/05/02/image_29012025_05_02_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":["1332530841","1332530838","1332530834","1332530843","1332530837","1332530839"],"photo_ids_order":["1332530834","1332530837","1332530838","1332530839","1332530841","1332530843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d8a5137f8f903a162d717fc7447a064d.jpg","text":"TemporaryFile(/tmp/multipartBody3676728461564022145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123473287,"filename":"image_29012025_05_02_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/29/d663ee675506673d53ca025a1e949725.jpg","text":"TemporaryFile(/tmp/multipartBody5967150327780427043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123473287,"filename":"image_29012025_05_02_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/29/a58ef4c2517e5e7d0b7fdf7cfeceaeaa.jpg","text":"TemporaryFile(/tmp/multipartBody80622788394373491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123473287,"filename":"image_29012025_05_01_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/29/e5f0357fe2f956db5b714b1c417661f5.jpg","text":"TemporaryFile(/tmp/multipartBody3096685730873881826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123473287,"filename":"image_29012025_05_02_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/29/d03dfaab774919301e71bca737ff7fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4890868246406478311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123473287,"filename":"image_29012025_05_02_06_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/29/0fe218f6030738003c463d7e63740a97.jpg","text":"TemporaryFile(/tmp/multipartBody7890592775492950980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123473287,"filename":"image_29012025_05_02_26_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530838","file1":"1332530837","file0":"1332530834","file4":"1332530841","file5":"1332530843","file3":"1332530839"},"map_files_photo_id_array":[{"photo_id":"1332530843","filename":"file5"},{"photo_id":"1332530838","filename":"file2"},{"photo_id":"1332530841","filename":"file4"},{"photo_id":"1332530837","filename":"file1"},{"photo_id":"1332530834","filename":"file0"},{"photo_id":"1332530839","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530841":["hashtag1","hashtag2"]},{"1332530838":["hashtag1","hashtag2"]},{"1332530834":["hashtag1","hashtag2"]},{"1332530843":["hashtag1","hashtag2"]},{"1332530837":["hashtag1","hashtag2"]},{"1332530839":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530841, 1332530838, 1332530834, 1332530843, 1332530837, 1332530839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57786154747009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:04:32.567080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/02/image_29012025_05_02_56_10363.jpg', '/home/pi/Desktop/images/29012025/05/02/image_29012025_05_03_05_9381.jpg', '/home/pi/Desktop/images/29012025/05/03/image_29012025_05_03_16_10326.jpg', '/home/pi/Desktop/images/29012025/05/03/image_29012025_05_03_26_10370.jpg', '/home/pi/Desktop/images/29012025/05/03/image_29012025_05_03_46_10353.jpg', '/home/pi/Desktop/images/29012025/05/03/image_29012025_05_04_05_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/02/image_29012025_05_02_56_10363.jpg
/home/pi/Desktop/images/29012025/05/02/image_29012025_05_03_05_9381.jpg
/home/pi/Desktop/images/29012025/05/03/image_29012025_05_03_16_10326.jpg
/home/pi/Desktop/images/29012025/05/03/image_29012025_05_03_26_10370.jpg
/home/pi/Desktop/images/29012025/05/03/image_29012025_05_03_46_10353.jpg
/home/pi/Desktop/images/29012025/05/03/image_29012025_05_04_05_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":["1332530869","1332530860","1332530862","1332530865","1332530867","1332530858"],"photo_ids_order":["1332530858","1332530860","1332530862","1332530865","1332530867","1332530869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f17ff5925c9d90b4a8e273aa0edc4485.jpg","text":"TemporaryFile(/tmp/multipartBody5511448358008139115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123533486,"filename":"image_29012025_05_04_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/29/110aaa8a53c87d8b5a3f436c8ea47c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1478451996952822461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123533486,"filename":"image_29012025_05_03_05_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/29/6709eac2c1d75ef34586ba2ca48470d0.jpg","text":"TemporaryFile(/tmp/multipartBody5688384922181203882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123533486,"filename":"image_29012025_05_03_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/29/441b49982faa768f77b95cc5a8e110a9.jpg","text":"TemporaryFile(/tmp/multipartBody3413041431178608156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123533486,"filename":"image_29012025_05_03_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/29/009922d9a21f33fd218563cc2b3a99a8.jpg","text":"TemporaryFile(/tmp/multipartBody8887575085697388132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123533486,"filename":"image_29012025_05_03_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/29/daab50a534b5fd23e2ec1097acd338f3.jpg","text":"TemporaryFile(/tmp/multipartBody3643467861048767712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123533486,"filename":"image_29012025_05_02_56_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530862","file1":"1332530860","file0":"1332530858","file4":"1332530867","file5":"1332530869","file3":"1332530865"},"map_files_photo_id_array":[{"photo_id":"1332530869","filename":"file5"},{"photo_id":"1332530862","filename":"file2"},{"photo_id":"1332530867","filename":"file4"},{"photo_id":"1332530860","filename":"file1"},{"photo_id":"1332530858","filename":"file0"},{"photo_id":"1332530865","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530869":["hashtag1","hashtag2"]},{"1332530860":["hashtag1","hashtag2"]},{"1332530862":["hashtag1","hashtag2"]},{"1332530865":["hashtag1","hashtag2"]},{"1332530867":["hashtag1","hashtag2"]},{"1332530858":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530869, 1332530860, 1332530862, 1332530865, 1332530867, 1332530858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64744472503662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:05:32.813774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/04/image_29012025_05_04_16_10332.jpg', '/home/pi/Desktop/images/29012025/05/04/image_29012025_05_04_25_9397.jpg', '/home/pi/Desktop/images/29012025/05/04/image_29012025_05_04_35_10355.jpg', '/home/pi/Desktop/images/29012025/05/04/image_29012025_05_04_46_10371.jpg', '/home/pi/Desktop/images/29012025/05/04/image_29012025_05_04_55_9361.jpg', '/home/pi/Desktop/images/29012025/05/04/image_29012025_05_05_06_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/04/image_29012025_05_04_16_10332.jpg
/home/pi/Desktop/images/29012025/05/04/image_29012025_05_04_25_9397.jpg
/home/pi/Desktop/images/29012025/05/04/image_29012025_05_04_35_10355.jpg
/home/pi/Desktop/images/29012025/05/04/image_29012025_05_04_46_10371.jpg
/home/pi/Desktop/images/29012025/05/04/image_29012025_05_04_55_9361.jpg
/home/pi/Desktop/images/29012025/05/04/image_29012025_05_05_06_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":["1332530886","1332530883","1332530879","1332530888","1332530881","1332530890"],"photo_ids_order":["1332530879","1332530881","1332530883","1332530886","1332530888","1332530890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0a5dd182eeedfdbdb1f901129fade611.jpg","text":"TemporaryFile(/tmp/multipartBody3259397937159756747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123593716,"filename":"image_29012025_05_04_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/29/af5252a8b3523b4d0aa69dcc9d6fd5b4.jpg","text":"TemporaryFile(/tmp/multipartBody6271747578122612418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123593716,"filename":"image_29012025_05_04_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/29/a30726bf9cb031f1dfafb2c4fe20efa1.jpg","text":"TemporaryFile(/tmp/multipartBody7746767567684278266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123593716,"filename":"image_29012025_05_04_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/29/85c5517aa63b4c35c1761856c75c47a2.jpg","text":"TemporaryFile(/tmp/multipartBody5133004251522499725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123593716,"filename":"image_29012025_05_04_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/29/69d4ea7af8c9b5daafbf936d7d263644.jpg","text":"TemporaryFile(/tmp/multipartBody7072141843566940658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123593716,"filename":"image_29012025_05_04_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/29/6d6f3a51d7c9c04cdfdd161f86cf2f58.jpg","text":"TemporaryFile(/tmp/multipartBody266677537717178601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123593716,"filename":"image_29012025_05_05_06_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530883","file1":"1332530881","file0":"1332530879","file4":"1332530888","file5":"1332530890","file3":"1332530886"},"map_files_photo_id_array":[{"photo_id":"1332530890","filename":"file5"},{"photo_id":"1332530883","filename":"file2"},{"photo_id":"1332530888","filename":"file4"},{"photo_id":"1332530881","filename":"file1"},{"photo_id":"1332530879","filename":"file0"},{"photo_id":"1332530886","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530886":["hashtag1","hashtag2"]},{"1332530883":["hashtag1","hashtag2"]},{"1332530879":["hashtag1","hashtag2"]},{"1332530888":["hashtag1","hashtag2"]},{"1332530881":["hashtag1","hashtag2"]},{"1332530890":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530886, 1332530883, 1332530879, 1332530888, 1332530881, 1332530890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27342987060547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:06:33.021813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/05/image_29012025_05_05_16_10436.jpg', '/home/pi/Desktop/images/29012025/05/05/image_29012025_05_05_25_9393.jpg', '/home/pi/Desktop/images/29012025/05/05/image_29012025_05_05_36_10360.jpg', '/home/pi/Desktop/images/29012025/05/05/image_29012025_05_05_45_9411.jpg', '/home/pi/Desktop/images/29012025/05/05/image_29012025_05_06_06_10350.jpg', '/home/pi/Desktop/images/29012025/05/06/image_29012025_05_06_26_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/05/image_29012025_05_05_16_10436.jpg
/home/pi/Desktop/images/29012025/05/05/image_29012025_05_05_25_9393.jpg
/home/pi/Desktop/images/29012025/05/05/image_29012025_05_05_36_10360.jpg
/home/pi/Desktop/images/29012025/05/05/image_29012025_05_05_45_9411.jpg
/home/pi/Desktop/images/29012025/05/05/image_29012025_05_06_06_10350.jpg
/home/pi/Desktop/images/29012025/05/06/image_29012025_05_06_26_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":["1332530905","1332530919","1332530907","1332530915","1332530909","1332530912"],"photo_ids_order":["1332530905","1332530907","1332530909","1332530912","1332530915","1332530919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9141deae732ac87547a05dc91dd2e2d8.jpg","text":"TemporaryFile(/tmp/multipartBody5043130329015404425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123653943,"filename":"image_29012025_05_05_16_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/29/115389500a1842f5b15672e04e87b14d.jpg","text":"TemporaryFile(/tmp/multipartBody902124963048991836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123653943,"filename":"image_29012025_05_06_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/29/17fa699c1ec3086a3d59923725794555.jpg","text":"TemporaryFile(/tmp/multipartBody8667341384458760349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123653943,"filename":"image_29012025_05_05_25_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/29/80166841cea2c255be46fedee89f4f47.jpg","text":"TemporaryFile(/tmp/multipartBody3232173905701111060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123653943,"filename":"image_29012025_05_06_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/29/93ab7a203b82b4bb9698834e4afc6586.jpg","text":"TemporaryFile(/tmp/multipartBody7720377889042615748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123653943,"filename":"image_29012025_05_05_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/29/4556f8ac5fb6930f30ee80a5b6e40934.jpg","text":"TemporaryFile(/tmp/multipartBody943085470534727421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123653943,"filename":"image_29012025_05_05_45_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530909","file1":"1332530907","file0":"1332530905","file4":"1332530915","file5":"1332530919","file3":"1332530912"},"map_files_photo_id_array":[{"photo_id":"1332530919","filename":"file5"},{"photo_id":"1332530909","filename":"file2"},{"photo_id":"1332530915","filename":"file4"},{"photo_id":"1332530907","filename":"file1"},{"photo_id":"1332530905","filename":"file0"},{"photo_id":"1332530912","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530905":["hashtag1","hashtag2"]},{"1332530919":["hashtag1","hashtag2"]},{"1332530907":["hashtag1","hashtag2"]},{"1332530915":["hashtag1","hashtag2"]},{"1332530909":["hashtag1","hashtag2"]},{"1332530912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530905, 1332530919, 1332530907, 1332530915, 1332530909, 1332530912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94648480415344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:07:32.182351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/06/image_29012025_05_06_36_10353.jpg', '/home/pi/Desktop/images/29012025/05/06/image_29012025_05_06_56_10368.jpg', '/home/pi/Desktop/images/29012025/05/07/image_29012025_05_07_16_10365.jpg', '/home/pi/Desktop/images/29012025/05/07/image_29012025_05_07_26_10378.jpg', '/home/pi/Desktop/images/29012025/05/07/image_29012025_05_07_35_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/06/image_29012025_05_06_36_10353.jpg
/home/pi/Desktop/images/29012025/05/06/image_29012025_05_06_56_10368.jpg
/home/pi/Desktop/images/29012025/05/07/image_29012025_05_07_16_10365.jpg
/home/pi/Desktop/images/29012025/05/07/image_29012025_05_07_26_10378.jpg
/home/pi/Desktop/images/29012025/05/07/image_29012025_05_07_35_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332530932","1332530929","1332530937","1332530934","1332530939"],"photo_ids_order":["1332530929","1332530932","1332530934","1332530937","1332530939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aaad2a13fd7f66a9970e730754602f4d.jpg","text":"TemporaryFile(/tmp/multipartBody6268463741485961036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123713074,"filename":"image_29012025_05_06_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/29/91d333f2704876c41c5fac474b92c53c.jpg","text":"TemporaryFile(/tmp/multipartBody7740394942643443704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123713074,"filename":"image_29012025_05_06_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/29/c73f8c46e09fe0e68569e5b145dbfb4b.jpg","text":"TemporaryFile(/tmp/multipartBody4440984887520964993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123713074,"filename":"image_29012025_05_07_26_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/29/cad15e44248672a37c3598f7bae36b41.jpg","text":"TemporaryFile(/tmp/multipartBody8398104737436984979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123713074,"filename":"image_29012025_05_07_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/29/b511dcb848aabe5106bf31056dc1e748.jpg","text":"TemporaryFile(/tmp/multipartBody1079154392624943285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123713074,"filename":"image_29012025_05_07_35_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530934","file1":"1332530932","file0":"1332530929","file4":"1332530939","file3":"1332530937"},"map_files_photo_id_array":[{"photo_id":"1332530934","filename":"file2"},{"photo_id":"1332530939","filename":"file4"},{"photo_id":"1332530932","filename":"file1"},{"photo_id":"1332530929","filename":"file0"},{"photo_id":"1332530937","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530932":["hashtag1","hashtag2"]},{"1332530929":["hashtag1","hashtag2"]},{"1332530937":["hashtag1","hashtag2"]},{"1332530934":["hashtag1","hashtag2"]},{"1332530939":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530932, 1332530929, 1332530937, 1332530934, 1332530939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.4995014667511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:08:32.581394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/07/image_29012025_05_07_55_9419.jpg', '/home/pi/Desktop/images/29012025/05/07/image_29012025_05_08_06_10348.jpg', '/home/pi/Desktop/images/29012025/05/08/image_29012025_05_08_16_10346.jpg', '/home/pi/Desktop/images/29012025/05/08/image_29012025_05_08_25_9407.jpg', '/home/pi/Desktop/images/29012025/05/08/image_29012025_05_08_36_10351.jpg', '/home/pi/Desktop/images/29012025/05/08/image_29012025_05_08_45_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/07/image_29012025_05_07_55_9419.jpg
/home/pi/Desktop/images/29012025/05/07/image_29012025_05_08_06_10348.jpg
/home/pi/Desktop/images/29012025/05/08/image_29012025_05_08_16_10346.jpg
/home/pi/Desktop/images/29012025/05/08/image_29012025_05_08_25_9407.jpg
/home/pi/Desktop/images/29012025/05/08/image_29012025_05_08_36_10351.jpg
/home/pi/Desktop/images/29012025/05/08/image_29012025_05_08_45_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332530967","1332530970","1332530963","1332530972","1332530969","1332530974"],"photo_ids_order":["1332530963","1332530967","1332530969","1332530970","1332530972","1332530974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5902f1e45dec74040abbfd4332ef5af1.jpg","text":"TemporaryFile(/tmp/multipartBody1875221683429737529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123773496,"filename":"image_29012025_05_08_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/29/a55836488c10e6c781c00f1a65b10bc5.jpg","text":"TemporaryFile(/tmp/multipartBody632992485852297380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123773496,"filename":"image_29012025_05_08_25_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/29/5ea8b3a47a3befdb4ca2415d949eb2b4.jpg","text":"TemporaryFile(/tmp/multipartBody44795196204019856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123773496,"filename":"image_29012025_05_07_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/29/676c6875d5c4d23fda1e99fb97abf230.jpg","text":"TemporaryFile(/tmp/multipartBody255610984567609494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123773496,"filename":"image_29012025_05_08_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/29/f208c6fc39de1bcde9a78d837bfdbf97.jpg","text":"TemporaryFile(/tmp/multipartBody5362148195407463828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123773496,"filename":"image_29012025_05_08_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/29/a916acef6681345497c50ba493856897.jpg","text":"TemporaryFile(/tmp/multipartBody1454273304061710469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123773496,"filename":"image_29012025_05_08_45_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332530969","file1":"1332530967","file0":"1332530963","file4":"1332530972","file5":"1332530974","file3":"1332530970"},"map_files_photo_id_array":[{"photo_id":"1332530974","filename":"file5"},{"photo_id":"1332530969","filename":"file2"},{"photo_id":"1332530972","filename":"file4"},{"photo_id":"1332530967","filename":"file1"},{"photo_id":"1332530963","filename":"file0"},{"photo_id":"1332530970","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332530967":["hashtag1","hashtag2"]},{"1332530970":["hashtag1","hashtag2"]},{"1332530963":["hashtag1","hashtag2"]},{"1332530972":["hashtag1","hashtag2"]},{"1332530969":["hashtag1","hashtag2"]},{"1332530974":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332530967, 1332530970, 1332530963, 1332530972, 1332530969, 1332530974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80051803588867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:09:32.823766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/08/image_29012025_05_08_55_10389.jpg', '/home/pi/Desktop/images/29012025/05/08/image_29012025_05_09_06_10366.jpg', '/home/pi/Desktop/images/29012025/05/09/image_29012025_05_09_15_9375.jpg', '/home/pi/Desktop/images/29012025/05/09/image_29012025_05_09_26_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/08/image_29012025_05_08_55_10389.jpg
/home/pi/Desktop/images/29012025/05/08/image_29012025_05_09_06_10366.jpg
/home/pi/Desktop/images/29012025/05/09/image_29012025_05_09_15_9375.jpg
/home/pi/Desktop/images/29012025/05/09/image_29012025_05_09_26_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332531054","1332531000","1332531068","1332531002"],"photo_ids_order":["1332531000","1332531002","1332531054","1332531068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/04857481310265b4b6d0c0860c6a7a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7576473586445049144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123833694,"filename":"image_29012025_05_09_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/29/1a1dfe47f3deece8e83eaaf7b0482e67.jpg","text":"TemporaryFile(/tmp/multipartBody519844527116494405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123833694,"filename":"image_29012025_05_08_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/29/1aa3fee090aaa4a85d6fc73141e9a2f7.jpg","text":"TemporaryFile(/tmp/multipartBody976620917336597349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123833694,"filename":"image_29012025_05_09_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/29/d82a3267c833ddb67cf2f3c47dfb0f17.jpg","text":"TemporaryFile(/tmp/multipartBody2982254568122814552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123833694,"filename":"image_29012025_05_09_06_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332531054","file1":"1332531002","file0":"1332531000","file3":"1332531068"},"map_files_photo_id_array":[{"photo_id":"1332531054","filename":"file2"},{"photo_id":"1332531002","filename":"file1"},{"photo_id":"1332531000","filename":"file0"},{"photo_id":"1332531068","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332531054":["hashtag1","hashtag2"]},{"1332531000":["hashtag1","hashtag2"]},{"1332531068":["hashtag1","hashtag2"]},{"1332531002":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332531054, 1332531000, 1332531068, 1332531002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.37785530090332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:10:33.151828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/09/image_29012025_05_09_36_10352.jpg', '/home/pi/Desktop/images/29012025/05/10/image_29012025_05_10_16_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/09/image_29012025_05_09_36_10352.jpg
/home/pi/Desktop/images/29012025/05/10/image_29012025_05_10_16_10388.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332531084","1332531081"],"photo_ids_order":["1332531081","1332531084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1879d9e1865d9ecb73aa28fe3614e0e4.jpg","text":"TemporaryFile(/tmp/multipartBody8019862356108227254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123894001,"filename":"image_29012025_05_10_16_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/29/e2aa18b90e3a96c5f8710580a1f43193.jpg","text":"TemporaryFile(/tmp/multipartBody2464378548283651875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123894001,"filename":"image_29012025_05_09_36_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332531084","file0":"1332531081"},"map_files_photo_id_array":[{"photo_id":"1332531084","filename":"file1"},{"photo_id":"1332531081","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332531084":["hashtag1","hashtag2"]},{"1332531081":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332531084, 1332531081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.320489168167114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 05:10:53.055622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/50/image_23012025_23_51_06_10342.jpg', '/home/pi/Desktop/images/23012025/23/51/image_23012025_23_51_16_9340.jpg', '/home/pi/Desktop/images/23012025/23/51/image_23012025_23_51_26_10361.jpg', '/home/pi/Desktop/images/23012025/23/51/image_23012025_23_51_36_10353.jpg', '/home/pi/Desktop/images/23012025/23/51/image_23012025_23_51_46_9351.jpg', '/home/pi/Desktop/images/23012025/23/51/image_23012025_23_52_07_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/50/image_23012025_23_51_06_10342.jpg
/home/pi/Desktop/images/23012025/23/51/image_23012025_23_51_16_9340.jpg
/home/pi/Desktop/images/23012025/23/51/image_23012025_23_51_26_10361.jpg
/home/pi/Desktop/images/23012025/23/51/image_23012025_23_51_36_10353.jpg
/home/pi/Desktop/images/23012025/23/51/image_23012025_23_51_46_9351.jpg
/home/pi/Desktop/images/23012025/23/51/image_23012025_23_52_07_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332531099","1332531090","1332531102","1332531105","1332531092","1332531096"],"photo_ids_order":["1332531090","1332531092","1332531096","1332531099","1332531102","1332531105"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1efd18515830960c2e3a8e629a3a5de8.jpg","text":"TemporaryFile(/tmp/multipartBody5296006892650347388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123915092,"filename":"image_23012025_23_51_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/29/869af4b931951e5d882634364fe99ca6.jpg","text":"TemporaryFile(/tmp/multipartBody5590743817392250060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123915092,"filename":"image_23012025_23_51_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/29/d345413eb9573a351c91ceb7791a45e7.jpg","text":"TemporaryFile(/tmp/multipartBody1594024217978892367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123915092,"filename":"image_23012025_23_51_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/29/51347d082334a90e7e6beb905164a174.jpg","text":"TemporaryFile(/tmp/multipartBody4200870635464930506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123915092,"filename":"image_23012025_23_52_07_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/29/955da01778a37a047f1d370a44fc340a.jpg","text":"TemporaryFile(/tmp/multipartBody854102798014105061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123915092,"filename":"image_23012025_23_51_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/29/0f17f45a0ec35175a4f1501481a1dcad.jpg","text":"TemporaryFile(/tmp/multipartBody3863622700204853529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123915092,"filename":"image_23012025_23_51_26_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332531096","file1":"1332531092","file0":"1332531090","file4":"1332531102","file5":"1332531105","file3":"1332531099"},"map_files_photo_id_array":[{"photo_id":"1332531105","filename":"file5"},{"photo_id":"1332531096","filename":"file2"},{"photo_id":"1332531102","filename":"file4"},{"photo_id":"1332531092","filename":"file1"},{"photo_id":"1332531090","filename":"file0"},{"photo_id":"1332531099","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332531099":["hashtag1","hashtag2"]},{"1332531090":["hashtag1","hashtag2"]},{"1332531102":["hashtag1","hashtag2"]},{"1332531105":["hashtag1","hashtag2"]},{"1332531092":["hashtag1","hashtag2"]},{"1332531096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332531099, 1332531090, 1332531102, 1332531105, 1332531092, 1332531096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.99138021469116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:11:42.312390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/52/image_23012025_23_52_16_9367.jpg', '/home/pi/Desktop/images/23012025/23/52/image_23012025_23_52_26_10360.jpg', '/home/pi/Desktop/images/23012025/23/52/image_23012025_23_52_36_9341.jpg', '/home/pi/Desktop/images/23012025/23/52/image_23012025_23_52_46_10358.jpg', '/home/pi/Desktop/images/23012025/23/52/image_23012025_23_53_06_9445.jpg', '/home/pi/Desktop/images/23012025/23/53/image_23012025_23_53_16_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/23/52/image_23012025_23_52_16_9367.jpg
/home/pi/Desktop/images/23012025/23/52/image_23012025_23_52_26_10360.jpg
/home/pi/Desktop/images/23012025/23/52/image_23012025_23_52_36_9341.jpg
/home/pi/Desktop/images/23012025/23/52/image_23012025_23_52_46_10358.jpg
/home/pi/Desktop/images/23012025/23/52/image_23012025_23_53_06_9445.jpg
/home/pi/Desktop/images/23012025/23/53/image_23012025_23_53_16_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332531177","1332531174","1332531135","1332531210","1332531207","1332531137"],"photo_ids_order":["1332531135","1332531137","1332531174","1332531177","1332531207","1332531210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c0978fedf017ce7bcdd13895c3479ebf.jpg","text":"TemporaryFile(/tmp/multipartBody4682186268788712701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123963491,"filename":"image_23012025_23_52_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/29/727e95978f53e055a79daa01df53b146.jpg","text":"TemporaryFile(/tmp/multipartBody5937541514141727953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123963491,"filename":"image_23012025_23_52_36_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/29/9c3f112fa41e396c5a8a2f1daee54e02.jpg","text":"TemporaryFile(/tmp/multipartBody1940869933302019820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123963491,"filename":"image_23012025_23_52_16_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/29/7091f9259c572f73d21398808a732bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2415960003462913979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123963491,"filename":"image_23012025_23_53_16_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/29/5d85391f456e657e5eaf9e5406a81542.jpg","text":"TemporaryFile(/tmp/multipartBody6956173761320021030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123963491,"filename":"image_23012025_23_53_06_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/29/2e5e34ddec26b015c79831af5b8d2134.jpg","text":"TemporaryFile(/tmp/multipartBody4861473712132659639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738123963491,"filename":"image_23012025_23_52_26_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332531174","file1":"1332531137","file0":"1332531135","file4":"1332531207","file5":"1332531210","file3":"1332531177"},"map_files_photo_id_array":[{"photo_id":"1332531210","filename":"file5"},{"photo_id":"1332531174","filename":"file2"},{"photo_id":"1332531207","filename":"file4"},{"photo_id":"1332531137","filename":"file1"},{"photo_id":"1332531135","filename":"file0"},{"photo_id":"1332531177","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332531177":["hashtag1","hashtag2"]},{"1332531174":["hashtag1","hashtag2"]},{"1332531135":["hashtag1","hashtag2"]},{"1332531210":["hashtag1","hashtag2"]},{"1332531207":["hashtag1","hashtag2"]},{"1332531137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332531177, 1332531174, 1332531135, 1332531210, 1332531207, 1332531137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72376465797424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:12:32.604948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/10/image_29012025_05_10_35_9448.jpg', '/home/pi/Desktop/images/29012025/05/12/image_29012025_05_12_15_9399.jpg', '/home/pi/Desktop/images/29012025/05/12/image_29012025_05_12_26_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/10/image_29012025_05_10_35_9448.jpg
/home/pi/Desktop/images/29012025/05/12/image_29012025_05_12_15_9399.jpg
/home/pi/Desktop/images/29012025/05/12/image_29012025_05_12_26_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":["1332531219","1332531224","1332531221"],"photo_ids_order":["1332531219","1332531221","1332531224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/60c33f631f6cb23ce4bb727076fb19e8.jpg","text":"TemporaryFile(/tmp/multipartBody7445179878476773251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124013464,"filename":"image_29012025_05_10_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/29/fe75c1612ef939c804c371316f6ecf21.jpg","text":"TemporaryFile(/tmp/multipartBody7746954802977234499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124013464,"filename":"image_29012025_05_12_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/29/a3c7c423f5e016fd47a67a2dcbd57848.jpg","text":"TemporaryFile(/tmp/multipartBody8976854964003318706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124013464,"filename":"image_29012025_05_12_15_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332531224","file1":"1332531221","file0":"1332531219"},"map_files_photo_id_array":[{"photo_id":"1332531224","filename":"file2"},{"photo_id":"1332531221","filename":"file1"},{"photo_id":"1332531219","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332531219":["hashtag1","hashtag2"]},{"1332531224":["hashtag1","hashtag2"]},{"1332531221":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332531219, 1332531224, 1332531221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.804439783096313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:13:04.222196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/53/image_23012025_23_53_26_9357.jpg', '/home/pi/Desktop/images/23012025/23/53/image_23012025_23_53_36_10430.jpg', '/home/pi/Desktop/images/23012025/23/53/image_23012025_23_53_47_10371.jpg', '/home/pi/Desktop/images/23012025/23/54/image_23012025_23_54_46_9338.jpg', '/home/pi/Desktop/images/23012025/23/54/image_23012025_23_54_56_10363.jpg', '/home/pi/Desktop/images/23012025/23/54/image_23012025_23_55_07_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/23/53/image_23012025_23_53_26_9357.jpg
/home/pi/Desktop/images/23012025/23/53/image_23012025_23_53_36_10430.jpg
/home/pi/Desktop/images/23012025/23/53/image_23012025_23_53_47_10371.jpg
/home/pi/Desktop/images/23012025/23/54/image_23012025_23_54_46_9338.jpg
/home/pi/Desktop/images/23012025/23/54/image_23012025_23_54_56_10363.jpg
/home/pi/Desktop/images/23012025/23/54/image_23012025_23_55_07_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":["1332531234","1332531237","1332531233","1332531478","1332531302","1332531235"],"photo_ids_order":["1332531233","1332531234","1332531235","1332531237","1332531302","1332531478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f44fda47bec0d5b6beddc4201b3fa8f0.jpg","text":"TemporaryFile(/tmp/multipartBody8224554623205780039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124045679,"filename":"image_23012025_23_53_36_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/29/41f6f5b8f47e7222508a43dcdcd67b66.jpg","text":"TemporaryFile(/tmp/multipartBody8389679335379049086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124045679,"filename":"image_23012025_23_54_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/29/1ede8ac5c066c3ae3bfbd2b2d5bbf7b8.jpg","text":"TemporaryFile(/tmp/multipartBody4986829997610804178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124045679,"filename":"image_23012025_23_53_26_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/29/0f5cd435bfc294c9e308f9f13882ec03.jpg","text":"TemporaryFile(/tmp/multipartBody485506901248361839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124045679,"filename":"image_23012025_23_55_07_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/29/597dd2198bb5e7338bfcd5282d5cd911.jpg","text":"TemporaryFile(/tmp/multipartBody6976196997621200439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124045679,"filename":"image_23012025_23_54_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/29/628dd5e43f863193a06078f5ad94bdb9.jpg","text":"TemporaryFile(/tmp/multipartBody5746511927800605069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124045679,"filename":"image_23012025_23_53_47_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332531235","file1":"1332531234","file0":"1332531233","file4":"1332531302","file5":"1332531478","file3":"1332531237"},"map_files_photo_id_array":[{"photo_id":"1332531478","filename":"file5"},{"photo_id":"1332531235","filename":"file2"},{"photo_id":"1332531302","filename":"file4"},{"photo_id":"1332531234","filename":"file1"},{"photo_id":"1332531233","filename":"file0"},{"photo_id":"1332531237","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332531234":["hashtag1","hashtag2"]},{"1332531237":["hashtag1","hashtag2"]},{"1332531233":["hashtag1","hashtag2"]},{"1332531478":["hashtag1","hashtag2"]},{"1332531302":["hashtag1","hashtag2"]},{"1332531235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332531234, 1332531237, 1332531233, 1332531478, 1332531302, 1332531235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18216013908386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 05:13:52.709163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/55/image_23012025_23_55_16_9343.jpg', '/home/pi/Desktop/images/23012025/23/55/image_23012025_23_55_26_10376.jpg', '/home/pi/Desktop/images/23012025/23/55/image_23012025_23_55_46_9510.jpg', '/home/pi/Desktop/images/23012025/23/55/image_23012025_23_55_56_10364.jpg', '/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_16_10403.jpg', '/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_26_9848.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/23/55/image_23012025_23_55_16_9343.jpg
/home/pi/Desktop/images/23012025/23/55/image_23012025_23_55_26_10376.jpg
/home/pi/Desktop/images/23012025/23/55/image_23012025_23_55_46_9510.jpg
/home/pi/Desktop/images/23012025/23/55/image_23012025_23_55_56_10364.jpg
/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_16_10403.jpg
/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_26_9848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332532173","1332532169","1332532154","1332532157","1332532171","1332532176"],"photo_ids_order":["1332532154","1332532157","1332532169","1332532171","1332532173","1332532176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3bc7c1001855fe69775bd0acb77c449c.jpg","text":"TemporaryFile(/tmp/multipartBody2158781827447157338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124094793,"filename":"image_23012025_23_56_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/29/1c5644a344584b68a4671161eee75726.jpg","text":"TemporaryFile(/tmp/multipartBody2761390101040116432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124094793,"filename":"image_23012025_23_55_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/29/3ec5d5492d07c53717028b2c2d0b4e8c.jpg","text":"TemporaryFile(/tmp/multipartBody135906733034686957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124094793,"filename":"image_23012025_23_55_16_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/29/b1634ef9f5ea40894da5a483e84f6e11.jpg","text":"TemporaryFile(/tmp/multipartBody1313879785656878940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124094793,"filename":"image_23012025_23_55_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/29/8548e5c2ae4e5916bcba64ed379fa943.jpg","text":"TemporaryFile(/tmp/multipartBody4844567835712980332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124094793,"filename":"image_23012025_23_55_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/29/298adc96500f9288133d03f96c8370f3.jpg","text":"TemporaryFile(/tmp/multipartBody8817977258935682986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124094793,"filename":"image_23012025_23_56_26_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332532169","file1":"1332532157","file0":"1332532154","file4":"1332532173","file5":"1332532176","file3":"1332532171"},"map_files_photo_id_array":[{"photo_id":"1332532176","filename":"file5"},{"photo_id":"1332532169","filename":"file2"},{"photo_id":"1332532173","filename":"file4"},{"photo_id":"1332532157","filename":"file1"},{"photo_id":"1332532154","filename":"file0"},{"photo_id":"1332532171","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332532173":["hashtag1","hashtag2"]},{"1332532169":["hashtag1","hashtag2"]},{"1332532154":["hashtag1","hashtag2"]},{"1332532157":["hashtag1","hashtag2"]},{"1332532171":["hashtag1","hashtag2"]},{"1332532176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332532173, 1332532169, 1332532154, 1332532157, 1332532171, 1332532176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.2133514881134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:14:42.904439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/12/image_29012025_05_12_36_10373.jpg', '/home/pi/Desktop/images/29012025/05/12/image_29012025_05_13_05_9427.jpg', '/home/pi/Desktop/images/29012025/05/13/image_29012025_05_13_16_10365.jpg', '/home/pi/Desktop/images/29012025/05/13/image_29012025_05_13_26_10372.jpg', '/home/pi/Desktop/images/29012025/05/13/image_29012025_05_13_46_10367.jpg', '/home/pi/Desktop/images/29012025/05/13/image_29012025_05_13_56_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/12/image_29012025_05_12_36_10373.jpg
/home/pi/Desktop/images/29012025/05/12/image_29012025_05_13_05_9427.jpg
/home/pi/Desktop/images/29012025/05/13/image_29012025_05_13_16_10365.jpg
/home/pi/Desktop/images/29012025/05/13/image_29012025_05_13_26_10372.jpg
/home/pi/Desktop/images/29012025/05/13/image_29012025_05_13_46_10367.jpg
/home/pi/Desktop/images/29012025/05/13/image_29012025_05_13_56_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":["1332532265","1332532247","1332532262","1332532337","1332532249","1332532269"],"photo_ids_order":["1332532247","1332532249","1332532262","1332532265","1332532269","1332532337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cfde55030312282083ade2622da090e3.jpg","text":"TemporaryFile(/tmp/multipartBody7595522587930593187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124143806,"filename":"image_29012025_05_13_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/29/50af7a8395d4c67716aee297f66828b8.jpg","text":"TemporaryFile(/tmp/multipartBody1861633932105079134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124143806,"filename":"image_29012025_05_12_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/29/2debca451d084d024d82e250160a10e7.jpg","text":"TemporaryFile(/tmp/multipartBody1121809721614753110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124143806,"filename":"image_29012025_05_13_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/29/43bab8ead56763f4c4405e8d864a39e4.jpg","text":"TemporaryFile(/tmp/multipartBody592237042362492233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124143806,"filename":"image_29012025_05_13_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/29/11a73d37c6c0c34d3c067f542063066c.jpg","text":"TemporaryFile(/tmp/multipartBody6132851819345478818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124143806,"filename":"image_29012025_05_13_05_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/29/ed9283338cd29277c795aa6c50d73046.jpg","text":"TemporaryFile(/tmp/multipartBody5266761925986980343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124143806,"filename":"image_29012025_05_13_46_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332532262","file1":"1332532249","file0":"1332532247","file4":"1332532269","file5":"1332532337","file3":"1332532265"},"map_files_photo_id_array":[{"photo_id":"1332532337","filename":"file5"},{"photo_id":"1332532262","filename":"file2"},{"photo_id":"1332532269","filename":"file4"},{"photo_id":"1332532249","filename":"file1"},{"photo_id":"1332532247","filename":"file0"},{"photo_id":"1332532265","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332532265":["hashtag1","hashtag2"]},{"1332532247":["hashtag1","hashtag2"]},{"1332532262":["hashtag1","hashtag2"]},{"1332532337":["hashtag1","hashtag2"]},{"1332532249":["hashtag1","hashtag2"]},{"1332532269":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332532265, 1332532247, 1332532262, 1332532337, 1332532249, 1332532269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77749490737915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:15:34.431197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/13/image_29012025_05_14_05_9333.jpg', '/home/pi/Desktop/images/29012025/05/14/image_29012025_05_14_16_10342.jpg', '/home/pi/Desktop/images/29012025/05/14/image_29012025_05_14_35_9382.jpg', '/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_16_10348.jpg', '/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_25_9354.jpg', '/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_46_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/13/image_29012025_05_14_05_9333.jpg
/home/pi/Desktop/images/29012025/05/14/image_29012025_05_14_16_10342.jpg
/home/pi/Desktop/images/29012025/05/14/image_29012025_05_14_35_9382.jpg
/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_16_10348.jpg
/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_25_9354.jpg
/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_46_10376.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.9147119522094727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:15:42.217700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/13/image_29012025_05_14_05_9333.jpg', '/home/pi/Desktop/images/29012025/05/14/image_29012025_05_14_16_10342.jpg', '/home/pi/Desktop/images/29012025/05/14/image_29012025_05_14_35_9382.jpg', '/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_16_10348.jpg', '/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_25_9354.jpg', '/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_46_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/13/image_29012025_05_14_05_9333.jpg
/home/pi/Desktop/images/29012025/05/14/image_29012025_05_14_16_10342.jpg
/home/pi/Desktop/images/29012025/05/14/image_29012025_05_14_35_9382.jpg
/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_16_10348.jpg
/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_25_9354.jpg
/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_46_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332532710","1332532751","1332532706","1332532715","1332532717","1332532702"],"photo_ids_order":["1332532702","1332532706","1332532710","1332532715","1332532717","1332532751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1f3a9155f5251ecb4e65b4eccaefd95a.jpg","text":"TemporaryFile(/tmp/multipartBody6788122282388938773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124203155,"filename":"image_29012025_05_14_35_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/29/e6619ef54439c4f78b75af4efc30cf56.jpg","text":"TemporaryFile(/tmp/multipartBody5570173963184702036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124203155,"filename":"image_29012025_05_15_46_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/29/8eb2d1472f68d91151e36ec07c35583f.jpg","text":"TemporaryFile(/tmp/multipartBody3127924394567922440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124203155,"filename":"image_29012025_05_14_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/29/30a88d9dac29062b86a7785c43e8e7d4.jpg","text":"TemporaryFile(/tmp/multipartBody4572766503414316233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124203155,"filename":"image_29012025_05_15_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/29/f5e1b4ea2027382c1260517da24a0f03.jpg","text":"TemporaryFile(/tmp/multipartBody1486514572189904588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124203155,"filename":"image_29012025_05_15_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/29/942de4db0205a9ebf61b49f393563cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4426735694466822209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124203155,"filename":"image_29012025_05_14_05_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332532710","file1":"1332532706","file0":"1332532702","file4":"1332532717","file5":"1332532751","file3":"1332532715"},"map_files_photo_id_array":[{"photo_id":"1332532751","filename":"file5"},{"photo_id":"1332532710","filename":"file2"},{"photo_id":"1332532717","filename":"file4"},{"photo_id":"1332532706","filename":"file1"},{"photo_id":"1332532702","filename":"file0"},{"photo_id":"1332532715","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332532710":["hashtag1","hashtag2"]},{"1332532751":["hashtag1","hashtag2"]},{"1332532706":["hashtag1","hashtag2"]},{"1332532715":["hashtag1","hashtag2"]},{"1332532717":["hashtag1","hashtag2"]},{"1332532702":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332532710, 1332532751, 1332532706, 1332532715, 1332532717, 1332532702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7130446434021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:16:32.433256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_55_9379.jpg', '/home/pi/Desktop/images/29012025/05/16/image_29012025_05_16_36_10344.jpg', '/home/pi/Desktop/images/29012025/05/16/image_29012025_05_16_45_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/15/image_29012025_05_15_55_9379.jpg
/home/pi/Desktop/images/29012025/05/16/image_29012025_05_16_36_10344.jpg
/home/pi/Desktop/images/29012025/05/16/image_29012025_05_16_45_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":["1332532832","1332532820","1332532822"],"photo_ids_order":["1332532820","1332532822","1332532832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e6271c9465b99066d9cb9def882ccba6.jpg","text":"TemporaryFile(/tmp/multipartBody4424800378756362709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124253304,"filename":"image_29012025_05_16_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/29/4536a7f62f472f24f2e88151d67732bc.jpg","text":"TemporaryFile(/tmp/multipartBody8531248396329651754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124253304,"filename":"image_29012025_05_15_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/29/a4e91cab07abc67325ac413f1093bf83.jpg","text":"TemporaryFile(/tmp/multipartBody6033553762191320172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124253304,"filename":"image_29012025_05_16_36_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332532832","file1":"1332532822","file0":"1332532820"},"map_files_photo_id_array":[{"photo_id":"1332532832","filename":"file2"},{"photo_id":"1332532822","filename":"file1"},{"photo_id":"1332532820","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332532832":["hashtag1","hashtag2"]},{"1332532820":["hashtag1","hashtag2"]},{"1332532822":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332532832, 1332532820, 1332532822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.418573141098022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:17:04.340396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_37_10351.jpg', '/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_46_9400.jpg', '/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_56_10360.jpg', '/home/pi/Desktop/images/23012025/23/56/image_23012025_23_57_07_10342.jpg', '/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_16_9433.jpg', '/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_26_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/23/56/image_23012025_23_56_37_10351.jpg
/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_46_9400.jpg
/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_56_10360.jpg
/home/pi/Desktop/images/23012025/23/56/image_23012025_23_57_07_10342.jpg
/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_16_9433.jpg
/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_26_10362.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.9816901683807373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:17:32.808972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/16/image_29012025_05_16_56_10375.jpg', '/home/pi/Desktop/images/29012025/05/16/image_29012025_05_17_06_10345.jpg', '/home/pi/Desktop/images/29012025/05/17/image_29012025_05_17_15_9396.jpg', '/home/pi/Desktop/images/29012025/05/17/image_29012025_05_17_35_9392.jpg', '/home/pi/Desktop/images/29012025/05/17/image_29012025_05_17_45_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/16/image_29012025_05_16_56_10375.jpg
/home/pi/Desktop/images/29012025/05/16/image_29012025_05_17_06_10345.jpg
/home/pi/Desktop/images/29012025/05/17/image_29012025_05_17_15_9396.jpg
/home/pi/Desktop/images/29012025/05/17/image_29012025_05_17_35_9392.jpg
/home/pi/Desktop/images/29012025/05/17/image_29012025_05_17_45_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":["1332532880","1332532883","1332532885","1332532887","1332532890"],"photo_ids_order":["1332532880","1332532883","1332532885","1332532887","1332532890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8cfa5018b4c307485c97ab4b9618ab65.jpg","text":"TemporaryFile(/tmp/multipartBody2975043203589590676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124313695,"filename":"image_29012025_05_16_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/29/7e179f76c3970ddde0acb212c74defec.jpg","text":"TemporaryFile(/tmp/multipartBody2851479146501332937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124313695,"filename":"image_29012025_05_17_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/29/eaa4d4b60593107cec68272a18959cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2902607473956900877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124313695,"filename":"image_29012025_05_17_15_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/29/393df0013647874c92e7d010fb0395e1.jpg","text":"TemporaryFile(/tmp/multipartBody6005107459433265848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124313695,"filename":"image_29012025_05_17_35_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/29/9af6252cbfd81ba3e58608817875ff7d.jpg","text":"TemporaryFile(/tmp/multipartBody7537736009369591677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124313695,"filename":"image_29012025_05_17_45_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332532885","file1":"1332532883","file0":"1332532880","file4":"1332532890","file3":"1332532887"},"map_files_photo_id_array":[{"photo_id":"1332532885","filename":"file2"},{"photo_id":"1332532890","filename":"file4"},{"photo_id":"1332532883","filename":"file1"},{"photo_id":"1332532880","filename":"file0"},{"photo_id":"1332532887","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332532880":["hashtag1","hashtag2"]},{"1332532883":["hashtag1","hashtag2"]},{"1332532885":["hashtag1","hashtag2"]},{"1332532887":["hashtag1","hashtag2"]},{"1332532890":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332532880, 1332532883, 1332532885, 1332532887, 1332532890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.72002363204956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:18:32.989424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/17/image_29012025_05_17_56_10358.jpg', '/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_16_10360.jpg', '/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_26_10424.jpg', '/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/17/image_29012025_05_17_56_10358.jpg
/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_16_10360.jpg
/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_26_10424.jpg
/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_46_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.49613475799560547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:18:43.100165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/17/image_29012025_05_17_56_10358.jpg', '/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_16_10360.jpg', '/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_26_10424.jpg', '/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/17/image_29012025_05_17_56_10358.jpg
/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_16_10360.jpg
/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_26_10424.jpg
/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_46_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":["1332532911","1332532920","1332532905","1332532916"],"photo_ids_order":["1332532905","1332532911","1332532916","1332532920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cf2341bc82d18c3f12afc518295d9f8c.jpg","text":"TemporaryFile(/tmp/multipartBody557873393616918336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124384489,"filename":"image_29012025_05_18_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/29/14b077238bfd2f8b671070934afbab02.jpg","text":"TemporaryFile(/tmp/multipartBody5299376276222120557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124384489,"filename":"image_29012025_05_18_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/29/4cfc9d2f946d95be7733e461af483c3f.jpg","text":"TemporaryFile(/tmp/multipartBody7839027331384158213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124384489,"filename":"image_29012025_05_17_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/29/0a592d6b0fc2cb15b8854ed737da0918.jpg","text":"TemporaryFile(/tmp/multipartBody5537917578466098176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124384489,"filename":"image_29012025_05_18_26_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332532916","file1":"1332532911","file0":"1332532905","file3":"1332532920"},"map_files_photo_id_array":[{"photo_id":"1332532916","filename":"file2"},{"photo_id":"1332532911","filename":"file1"},{"photo_id":"1332532905","filename":"file0"},{"photo_id":"1332532920","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332532911":["hashtag1","hashtag2"]},{"1332532920":["hashtag1","hashtag2"]},{"1332532905":["hashtag1","hashtag2"]},{"1332532916":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332532911, 1332532920, 1332532905, 1332532916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.899454593658447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:19:32.194024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_55_9395.jpg', '/home/pi/Desktop/images/29012025/05/18/image_29012025_05_19_05_10337.jpg', '/home/pi/Desktop/images/29012025/05/19/image_29012025_05_19_16_10344.jpg', '/home/pi/Desktop/images/29012025/05/19/image_29012025_05_19_25_9395.jpg', '/home/pi/Desktop/images/29012025/05/19/image_29012025_05_19_36_10375.jpg', '/home/pi/Desktop/images/29012025/05/19/image_29012025_05_19_46_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/18/image_29012025_05_18_55_9395.jpg
/home/pi/Desktop/images/29012025/05/18/image_29012025_05_19_05_10337.jpg
/home/pi/Desktop/images/29012025/05/19/image_29012025_05_19_16_10344.jpg
/home/pi/Desktop/images/29012025/05/19/image_29012025_05_19_25_9395.jpg
/home/pi/Desktop/images/29012025/05/19/image_29012025_05_19_36_10375.jpg
/home/pi/Desktop/images/29012025/05/19/image_29012025_05_19_46_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332532997","1332532970","1332532949","1332532946","1332532930","1332532989"],"photo_ids_order":["1332532930","1332532946","1332532949","1332532970","1332532989","1332532997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/58adf4120318fa0ae608de01af943f5b.jpg","text":"TemporaryFile(/tmp/multipartBody4222015502925811882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124433138,"filename":"image_29012025_05_19_46_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/29/408e2668e61e27ce282129c959a2b8de.jpg","text":"TemporaryFile(/tmp/multipartBody8775418315758156239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124433138,"filename":"image_29012025_05_19_25_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/29/c233c48a4b3df300c14a3bbd1ea62e68.jpg","text":"TemporaryFile(/tmp/multipartBody8606549229208486824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124433138,"filename":"image_29012025_05_19_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/29/88c47cb39e45e40522693f3e5600b804.jpg","text":"TemporaryFile(/tmp/multipartBody297159907777008199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124433138,"filename":"image_29012025_05_19_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/29/021a9723414c662eb4c9508f83dc3bf0.jpg","text":"TemporaryFile(/tmp/multipartBody3422049623554696823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124433138,"filename":"image_29012025_05_18_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/29/f56df27651a2b11fe8296849caca816f.jpg","text":"TemporaryFile(/tmp/multipartBody8527301173655112713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124433138,"filename":"image_29012025_05_19_36_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332532949","file1":"1332532946","file0":"1332532930","file4":"1332532989","file5":"1332532997","file3":"1332532970"},"map_files_photo_id_array":[{"photo_id":"1332532997","filename":"file5"},{"photo_id":"1332532949","filename":"file2"},{"photo_id":"1332532989","filename":"file4"},{"photo_id":"1332532946","filename":"file1"},{"photo_id":"1332532930","filename":"file0"},{"photo_id":"1332532970","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332532997":["hashtag1","hashtag2"]},{"1332532970":["hashtag1","hashtag2"]},{"1332532949":["hashtag1","hashtag2"]},{"1332532946":["hashtag1","hashtag2"]},{"1332532930":["hashtag1","hashtag2"]},{"1332532989":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332532997, 1332532970, 1332532949, 1332532946, 1332532930, 1332532989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.29490399360657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:20:32.367762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/19/image_29012025_05_19_55_9449.jpg', '/home/pi/Desktop/images/29012025/05/19/image_29012025_05_20_06_10344.jpg', '/home/pi/Desktop/images/29012025/05/20/image_29012025_05_20_15_9433.jpg', '/home/pi/Desktop/images/29012025/05/20/image_29012025_05_20_26_10353.jpg', '/home/pi/Desktop/images/29012025/05/20/image_29012025_05_20_36_10349.jpg', '/home/pi/Desktop/images/29012025/05/20/image_29012025_05_20_45_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/19/image_29012025_05_19_55_9449.jpg
/home/pi/Desktop/images/29012025/05/19/image_29012025_05_20_06_10344.jpg
/home/pi/Desktop/images/29012025/05/20/image_29012025_05_20_15_9433.jpg
/home/pi/Desktop/images/29012025/05/20/image_29012025_05_20_26_10353.jpg
/home/pi/Desktop/images/29012025/05/20/image_29012025_05_20_36_10349.jpg
/home/pi/Desktop/images/29012025/05/20/image_29012025_05_20_45_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":["1332533072","1332533069","1332533152","1332533155","1332533140","1332533142"],"photo_ids_order":["1332533069","1332533072","1332533140","1332533142","1332533152","1332533155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b283791abc8053c2341b702fb4a7c645.jpg","text":"TemporaryFile(/tmp/multipartBody6742568630457272322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124493281,"filename":"image_29012025_05_20_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/29/2737cbfcb0a80094c4365b1bd2f7db9f.jpg","text":"TemporaryFile(/tmp/multipartBody8315144418827503625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124493281,"filename":"image_29012025_05_19_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/29/723b51f3c2b395256f826a0e3032d419.jpg","text":"TemporaryFile(/tmp/multipartBody5693373560715036842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124493281,"filename":"image_29012025_05_20_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/29/ef84f5e4afa15ee3f570ddcf140a0087.jpg","text":"TemporaryFile(/tmp/multipartBody4729007780070064742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124493281,"filename":"image_29012025_05_20_45_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/29/7d85b36c5f4b666381284980c83c356f.jpg","text":"TemporaryFile(/tmp/multipartBody5289835890821125395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124493281,"filename":"image_29012025_05_20_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/29/952cfd0b6a9e475d548fefe49e330e9f.jpg","text":"TemporaryFile(/tmp/multipartBody2555479211193056472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124493281,"filename":"image_29012025_05_20_26_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332533140","file1":"1332533072","file0":"1332533069","file4":"1332533152","file5":"1332533155","file3":"1332533142"},"map_files_photo_id_array":[{"photo_id":"1332533155","filename":"file5"},{"photo_id":"1332533140","filename":"file2"},{"photo_id":"1332533152","filename":"file4"},{"photo_id":"1332533072","filename":"file1"},{"photo_id":"1332533069","filename":"file0"},{"photo_id":"1332533142","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332533072":["hashtag1","hashtag2"]},{"1332533069":["hashtag1","hashtag2"]},{"1332533152":["hashtag1","hashtag2"]},{"1332533155":["hashtag1","hashtag2"]},{"1332533140":["hashtag1","hashtag2"]},{"1332533142":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332533072, 1332533069, 1332533152, 1332533155, 1332533140, 1332533142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08178400993347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:21:32.664527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/20/image_29012025_05_20_56_10366.jpg', '/home/pi/Desktop/images/29012025/05/20/image_29012025_05_21_06_10362.jpg', '/home/pi/Desktop/images/29012025/05/21/image_29012025_05_21_15_9417.jpg', '/home/pi/Desktop/images/29012025/05/21/image_29012025_05_21_26_10363.jpg', '/home/pi/Desktop/images/29012025/05/21/image_29012025_05_21_35_9464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/20/image_29012025_05_20_56_10366.jpg
/home/pi/Desktop/images/29012025/05/20/image_29012025_05_21_06_10362.jpg
/home/pi/Desktop/images/29012025/05/21/image_29012025_05_21_15_9417.jpg
/home/pi/Desktop/images/29012025/05/21/image_29012025_05_21_26_10363.jpg
/home/pi/Desktop/images/29012025/05/21/image_29012025_05_21_35_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":["1332533270","1332533264","1332533267","1332533263","1332533265"],"photo_ids_order":["1332533263","1332533264","1332533265","1332533267","1332533270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a0f081a6e23841fbdef8ba51be25a99a.jpg","text":"TemporaryFile(/tmp/multipartBody8069664752733636868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124553560,"filename":"image_29012025_05_21_35_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/29/6e792a7f137155ccc0710792ed1bd3ae.jpg","text":"TemporaryFile(/tmp/multipartBody9136390436707047044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124553560,"filename":"image_29012025_05_21_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/29/548fc781f27e53c8d9ce10cd3aae80b5.jpg","text":"TemporaryFile(/tmp/multipartBody1742857549919269715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124553560,"filename":"image_29012025_05_21_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/29/f8d9e0f404695224785e0fbf4cffefdc.jpg","text":"TemporaryFile(/tmp/multipartBody4549189155099304713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124553560,"filename":"image_29012025_05_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/29/c244b52dc5163e3b1c066723dac470b0.jpg","text":"TemporaryFile(/tmp/multipartBody7582404225990015604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124553560,"filename":"image_29012025_05_21_15_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332533265","file1":"1332533264","file0":"1332533263","file4":"1332533270","file3":"1332533267"},"map_files_photo_id_array":[{"photo_id":"1332533265","filename":"file2"},{"photo_id":"1332533270","filename":"file4"},{"photo_id":"1332533264","filename":"file1"},{"photo_id":"1332533263","filename":"file0"},{"photo_id":"1332533267","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332533270":["hashtag1","hashtag2"]},{"1332533264":["hashtag1","hashtag2"]},{"1332533267":["hashtag1","hashtag2"]},{"1332533263":["hashtag1","hashtag2"]},{"1332533265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332533270, 1332533264, 1332533267, 1332533263, 1332533265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.79487466812134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:22:32.934638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/21/image_29012025_05_21_56_10386.jpg', '/home/pi/Desktop/images/29012025/05/22/image_29012025_05_22_16_10365.jpg', '/home/pi/Desktop/images/29012025/05/22/image_29012025_05_22_36_10419.jpg', '/home/pi/Desktop/images/29012025/05/22/image_29012025_05_22_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/21/image_29012025_05_21_56_10386.jpg
/home/pi/Desktop/images/29012025/05/22/image_29012025_05_22_16_10365.jpg
/home/pi/Desktop/images/29012025/05/22/image_29012025_05_22_36_10419.jpg
/home/pi/Desktop/images/29012025/05/22/image_29012025_05_22_46_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":["1332533288","1332533507","1332533315","1332533300"],"photo_ids_order":["1332533288","1332533300","1332533315","1332533507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/19de90099317ac296c08c52541150141.jpg","text":"TemporaryFile(/tmp/multipartBody3751449358792422633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124613857,"filename":"image_29012025_05_21_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/29/0ab0e791319c6f126696891682bd3865.jpg","text":"TemporaryFile(/tmp/multipartBody9129667270325576781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124613857,"filename":"image_29012025_05_22_46_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/29/4940c73217e516cd3a5ce9bc9a383f31.jpg","text":"TemporaryFile(/tmp/multipartBody2852021728598376796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124613857,"filename":"image_29012025_05_22_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/29/47ef54cd5ca38c3d310a80aa6ec3610e.jpg","text":"TemporaryFile(/tmp/multipartBody2409549463149007962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124613857,"filename":"image_29012025_05_22_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332533315","file1":"1332533300","file0":"1332533288","file3":"1332533507"},"map_files_photo_id_array":[{"photo_id":"1332533315","filename":"file2"},{"photo_id":"1332533300","filename":"file1"},{"photo_id":"1332533288","filename":"file0"},{"photo_id":"1332533507","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332533288":["hashtag1","hashtag2"]},{"1332533507":["hashtag1","hashtag2"]},{"1332533315":["hashtag1","hashtag2"]},{"1332533300":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332533288, 1332533507, 1332533315, 1332533300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.16645884513855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:23:33.185214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/22/image_29012025_05_22_55_9370.jpg', '/home/pi/Desktop/images/29012025/05/22/image_29012025_05_23_06_10361.jpg', '/home/pi/Desktop/images/29012025/05/23/image_29012025_05_23_16_10351.jpg', '/home/pi/Desktop/images/29012025/05/23/image_29012025_05_23_25_9412.jpg', '/home/pi/Desktop/images/29012025/05/23/image_29012025_05_23_36_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/22/image_29012025_05_22_55_9370.jpg
/home/pi/Desktop/images/29012025/05/22/image_29012025_05_23_06_10361.jpg
/home/pi/Desktop/images/29012025/05/23/image_29012025_05_23_16_10351.jpg
/home/pi/Desktop/images/29012025/05/23/image_29012025_05_23_25_9412.jpg
/home/pi/Desktop/images/29012025/05/23/image_29012025_05_23_36_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":["1332534116","1332534109","1332534219","1332534111","1332534137"],"photo_ids_order":["1332534109","1332534111","1332534116","1332534137","1332534219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9041c4fc634e59479ce174e1910eb255.jpg","text":"TemporaryFile(/tmp/multipartBody1380868672076080641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124674086,"filename":"image_29012025_05_23_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/29/bb1234b730de0f04fc45a677212583f6.jpg","text":"TemporaryFile(/tmp/multipartBody7071737434287697251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124674086,"filename":"image_29012025_05_22_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/29/acfaf77c18b72833c9dc2d6b3a36daea.jpg","text":"TemporaryFile(/tmp/multipartBody5807979627091070923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124674086,"filename":"image_29012025_05_23_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/29/5fd2e61c7c73ae9402951a0e10d1e0eb.jpg","text":"TemporaryFile(/tmp/multipartBody4751528920354895420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124674086,"filename":"image_29012025_05_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/29/ebbe37cfa95e9028d909dde7f77b437f.jpg","text":"TemporaryFile(/tmp/multipartBody5591514806950103528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124674086,"filename":"image_29012025_05_23_25_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332534116","file1":"1332534111","file0":"1332534109","file4":"1332534219","file3":"1332534137"},"map_files_photo_id_array":[{"photo_id":"1332534116","filename":"file2"},{"photo_id":"1332534219","filename":"file4"},{"photo_id":"1332534111","filename":"file1"},{"photo_id":"1332534109","filename":"file0"},{"photo_id":"1332534137","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332534116":["hashtag1","hashtag2"]},{"1332534109":["hashtag1","hashtag2"]},{"1332534219":["hashtag1","hashtag2"]},{"1332534111":["hashtag1","hashtag2"]},{"1332534137":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332534116, 1332534109, 1332534219, 1332534111, 1332534137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.061617612838745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:24:32.294566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/23/image_29012025_05_23_56_10374.jpg', '/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_15_9337.jpg', '/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_26_10354.jpg', '/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_36_10433.jpg', '/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_45_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/23/image_29012025_05_23_56_10374.jpg
/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_15_9337.jpg
/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_26_10354.jpg
/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_36_10433.jpg
/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_45_9402.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.5072698593139648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:24:42.303427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/23/image_29012025_05_23_56_10374.jpg', '/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_15_9337.jpg', '/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_26_10354.jpg', '/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_36_10433.jpg', '/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_45_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/23/image_29012025_05_23_56_10374.jpg
/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_15_9337.jpg
/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_26_10354.jpg
/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_36_10433.jpg
/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_45_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":["1332535834","1332535726","1332535779","1332535731","1332535527"],"photo_ids_order":["1332535527","1332535726","1332535731","1332535779","1332535834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f25ebcf396da8cd0be81dc8f01d37a51.jpg","text":"TemporaryFile(/tmp/multipartBody5908438474538730982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124743272,"filename":"image_29012025_05_24_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/29/c936d5f11fffcf818ffda6a2c01922d7.jpg","text":"TemporaryFile(/tmp/multipartBody4831266067783537998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124743272,"filename":"image_29012025_05_24_15_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/29/e72d9717677913780fd3f803a4a7646f.jpg","text":"TemporaryFile(/tmp/multipartBody8656367377989887257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124743272,"filename":"image_29012025_05_24_36_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/29/1fe84e810f09cf2814d739fd58c69f36.jpg","text":"TemporaryFile(/tmp/multipartBody5322943528493754074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124743272,"filename":"image_29012025_05_24_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/29/8a81fa1dde13a242d9641f6daecd1722.jpg","text":"TemporaryFile(/tmp/multipartBody3981382709532837101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124743272,"filename":"image_29012025_05_23_56_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332535731","file1":"1332535726","file0":"1332535527","file4":"1332535834","file3":"1332535779"},"map_files_photo_id_array":[{"photo_id":"1332535731","filename":"file2"},{"photo_id":"1332535834","filename":"file4"},{"photo_id":"1332535726","filename":"file1"},{"photo_id":"1332535527","filename":"file0"},{"photo_id":"1332535779","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332535834":["hashtag1","hashtag2"]},{"1332535726":["hashtag1","hashtag2"]},{"1332535779":["hashtag1","hashtag2"]},{"1332535731":["hashtag1","hashtag2"]},{"1332535527":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332535834, 1332535726, 1332535779, 1332535731, 1332535527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.86252236366272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:25:32.529827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_56_10362.jpg', '/home/pi/Desktop/images/29012025/05/24/image_29012025_05_25_05_9438.jpg', '/home/pi/Desktop/images/29012025/05/25/image_29012025_05_25_16_10363.jpg', '/home/pi/Desktop/images/29012025/05/25/image_29012025_05_25_26_10364.jpg', '/home/pi/Desktop/images/29012025/05/25/image_29012025_05_25_35_9464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/24/image_29012025_05_24_56_10362.jpg
/home/pi/Desktop/images/29012025/05/24/image_29012025_05_25_05_9438.jpg
/home/pi/Desktop/images/29012025/05/25/image_29012025_05_25_16_10363.jpg
/home/pi/Desktop/images/29012025/05/25/image_29012025_05_25_26_10364.jpg
/home/pi/Desktop/images/29012025/05/25/image_29012025_05_25_35_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":["1332535990","1332536106","1332536109","1332535928","1332536164"],"photo_ids_order":["1332535928","1332535990","1332536106","1332536109","1332536164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/24bd4ec6ff685e0aa9739ffeee9bc975.jpg","text":"TemporaryFile(/tmp/multipartBody3814388287713522613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124793431,"filename":"image_29012025_05_25_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/29/aac616a71246e95f26acd9bfce67b028.jpg","text":"TemporaryFile(/tmp/multipartBody1309545619912513900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124793431,"filename":"image_29012025_05_25_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/29/6f1cdcfc8c1953a9f3b302279050a25e.jpg","text":"TemporaryFile(/tmp/multipartBody7819271431298865467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124793431,"filename":"image_29012025_05_25_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/29/9385f98ab6ec2b45b7664f87e26c6236.jpg","text":"TemporaryFile(/tmp/multipartBody6615706426330926093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124793431,"filename":"image_29012025_05_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/29/f5cfc0d8c5b8a67919b44a67ebb28202.jpg","text":"TemporaryFile(/tmp/multipartBody2096077669927767315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124793431,"filename":"image_29012025_05_25_35_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332536106","file1":"1332535990","file0":"1332535928","file4":"1332536164","file3":"1332536109"},"map_files_photo_id_array":[{"photo_id":"1332536106","filename":"file2"},{"photo_id":"1332536164","filename":"file4"},{"photo_id":"1332535990","filename":"file1"},{"photo_id":"1332535928","filename":"file0"},{"photo_id":"1332536109","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332535990":["hashtag1","hashtag2"]},{"1332536106":["hashtag1","hashtag2"]},{"1332536109":["hashtag1","hashtag2"]},{"1332535928":["hashtag1","hashtag2"]},{"1332536164":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332535990, 1332536106, 1332536109, 1332535928, 1332536164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.723012924194336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:26:32.816985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/25/image_29012025_05_25_46_10362.jpg', '/home/pi/Desktop/images/29012025/05/25/image_29012025_05_26_06_10423.jpg', '/home/pi/Desktop/images/29012025/05/26/image_29012025_05_26_36_10337.jpg', '/home/pi/Desktop/images/29012025/05/26/image_29012025_05_26_46_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/25/image_29012025_05_25_46_10362.jpg
/home/pi/Desktop/images/29012025/05/25/image_29012025_05_26_06_10423.jpg
/home/pi/Desktop/images/29012025/05/26/image_29012025_05_26_36_10337.jpg
/home/pi/Desktop/images/29012025/05/26/image_29012025_05_26_46_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":["1332536259","1332536361","1332536254","1332536362"],"photo_ids_order":["1332536254","1332536259","1332536361","1332536362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/38802cab245e10cee9e30de3c95a37e5.jpg","text":"TemporaryFile(/tmp/multipartBody5167116830777955108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124853700,"filename":"image_29012025_05_26_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/29/a111a32f04b7e994417891ae9c2ce343.jpg","text":"TemporaryFile(/tmp/multipartBody6921892810893406156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124853700,"filename":"image_29012025_05_26_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/29/81a1d6006d6c24ce1369fce4f97e1df5.jpg","text":"TemporaryFile(/tmp/multipartBody8313047548258261487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124853700,"filename":"image_29012025_05_25_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/29/bc586011a3a9cacc55c078c1bb277b4e.jpg","text":"TemporaryFile(/tmp/multipartBody8271515522114427594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124853700,"filename":"image_29012025_05_26_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332536361","file1":"1332536259","file0":"1332536254","file3":"1332536362"},"map_files_photo_id_array":[{"photo_id":"1332536361","filename":"file2"},{"photo_id":"1332536259","filename":"file1"},{"photo_id":"1332536254","filename":"file0"},{"photo_id":"1332536362","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332536259":["hashtag1","hashtag2"]},{"1332536361":["hashtag1","hashtag2"]},{"1332536254":["hashtag1","hashtag2"]},{"1332536362":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332536259, 1332536361, 1332536254, 1332536362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.95618510246277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:27:33.032893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/26/image_29012025_05_26_55_9397.jpg', '/home/pi/Desktop/images/29012025/05/26/image_29012025_05_27_06_10357.jpg', '/home/pi/Desktop/images/29012025/05/27/image_29012025_05_27_15_9466.jpg', '/home/pi/Desktop/images/29012025/05/27/image_29012025_05_27_26_10348.jpg', '/home/pi/Desktop/images/29012025/05/27/image_29012025_05_27_36_10391.jpg', '/home/pi/Desktop/images/29012025/05/27/image_29012025_05_27_45_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/26/image_29012025_05_26_55_9397.jpg
/home/pi/Desktop/images/29012025/05/26/image_29012025_05_27_06_10357.jpg
/home/pi/Desktop/images/29012025/05/27/image_29012025_05_27_15_9466.jpg
/home/pi/Desktop/images/29012025/05/27/image_29012025_05_27_26_10348.jpg
/home/pi/Desktop/images/29012025/05/27/image_29012025_05_27_36_10391.jpg
/home/pi/Desktop/images/29012025/05/27/image_29012025_05_27_45_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332536518","1332536490","1332536441","1332536522","1332536525","1332536527"],"photo_ids_order":["1332536441","1332536490","1332536518","1332536522","1332536525","1332536527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c8df35b26fc33ba5ca1e13c11c12cf8b.jpg","text":"TemporaryFile(/tmp/multipartBody8570253204865124932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124913964,"filename":"image_29012025_05_27_15_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/29/0f953da5414bd6eeff9ef4eca7a8d9c3.jpg","text":"TemporaryFile(/tmp/multipartBody8168877331907424201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124913964,"filename":"image_29012025_05_27_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/29/0601c5261cd01579c74d74cd16fe0b20.jpg","text":"TemporaryFile(/tmp/multipartBody4951397898887917009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124913964,"filename":"image_29012025_05_26_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/29/a8c2c7e12f62c70eeeffb0e45bab7b35.jpg","text":"TemporaryFile(/tmp/multipartBody6853727844352947159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124913964,"filename":"image_29012025_05_27_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/29/8fd0108037661cfe7e2830b3c2cf4877.jpg","text":"TemporaryFile(/tmp/multipartBody1476580728023936026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124913964,"filename":"image_29012025_05_27_36_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/29/c2b5f409b9e48d5d7d57f6a23609c0f1.jpg","text":"TemporaryFile(/tmp/multipartBody6059072566713593593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124913964,"filename":"image_29012025_05_27_45_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332536518","file1":"1332536490","file0":"1332536441","file4":"1332536525","file5":"1332536527","file3":"1332536522"},"map_files_photo_id_array":[{"photo_id":"1332536527","filename":"file5"},{"photo_id":"1332536518","filename":"file2"},{"photo_id":"1332536525","filename":"file4"},{"photo_id":"1332536490","filename":"file1"},{"photo_id":"1332536441","filename":"file0"},{"photo_id":"1332536522","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332536518":["hashtag1","hashtag2"]},{"1332536490":["hashtag1","hashtag2"]},{"1332536441":["hashtag1","hashtag2"]},{"1332536522":["hashtag1","hashtag2"]},{"1332536525":["hashtag1","hashtag2"]},{"1332536527":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332536518, 1332536490, 1332536441, 1332536522, 1332536525, 1332536527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.513814210891724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:28:32.258452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/27/image_29012025_05_27_56_10357.jpg', '/home/pi/Desktop/images/29012025/05/27/image_29012025_05_28_05_9461.jpg', '/home/pi/Desktop/images/29012025/05/28/image_29012025_05_28_16_10420.jpg', '/home/pi/Desktop/images/29012025/05/28/image_29012025_05_28_26_10380.jpg', '/home/pi/Desktop/images/29012025/05/28/image_29012025_05_28_35_9342.jpg', '/home/pi/Desktop/images/29012025/05/28/image_29012025_05_28_46_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/27/image_29012025_05_27_56_10357.jpg
/home/pi/Desktop/images/29012025/05/27/image_29012025_05_28_05_9461.jpg
/home/pi/Desktop/images/29012025/05/28/image_29012025_05_28_16_10420.jpg
/home/pi/Desktop/images/29012025/05/28/image_29012025_05_28_26_10380.jpg
/home/pi/Desktop/images/29012025/05/28/image_29012025_05_28_35_9342.jpg
/home/pi/Desktop/images/29012025/05/28/image_29012025_05_28_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":["1332536565","1332536538","1332536541","1332536561","1332536534","1332536554"],"photo_ids_order":["1332536534","1332536538","1332536541","1332536554","1332536561","1332536565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7f76ff3df66bde2a170e11c7948661ee.jpg","text":"TemporaryFile(/tmp/multipartBody2889066131056877353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124974863,"filename":"image_29012025_05_28_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/29/57b06a0e988024c7e251fb89ac9d9527.jpg","text":"TemporaryFile(/tmp/multipartBody6979982341144782334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124974863,"filename":"image_29012025_05_28_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/29/39cb3a8849ebe16f993a03a11a732260.jpg","text":"TemporaryFile(/tmp/multipartBody6948391175879024565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124974863,"filename":"image_29012025_05_28_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/29/54d56e0e50c5e90680ff86526bbafdc1.jpg","text":"TemporaryFile(/tmp/multipartBody9213936024888583726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124974863,"filename":"image_29012025_05_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/29/357f2687fc6b777807b0cd380f75edc0.jpg","text":"TemporaryFile(/tmp/multipartBody974803875236318535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124974863,"filename":"image_29012025_05_27_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/29/eea307637aa568e62c4ed8be133df26b.jpg","text":"TemporaryFile(/tmp/multipartBody8009474852213376056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738124974863,"filename":"image_29012025_05_28_26_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332536541","file1":"1332536538","file0":"1332536534","file4":"1332536561","file5":"1332536565","file3":"1332536554"},"map_files_photo_id_array":[{"photo_id":"1332536565","filename":"file5"},{"photo_id":"1332536541","filename":"file2"},{"photo_id":"1332536561","filename":"file4"},{"photo_id":"1332536538","filename":"file1"},{"photo_id":"1332536534","filename":"file0"},{"photo_id":"1332536554","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332536565":["hashtag1","hashtag2"]},{"1332536538":["hashtag1","hashtag2"]},{"1332536541":["hashtag1","hashtag2"]},{"1332536561":["hashtag1","hashtag2"]},{"1332536534":["hashtag1","hashtag2"]},{"1332536554":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332536565, 1332536538, 1332536541, 1332536561, 1332536534, 1332536554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.93104147911072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:29:32.674412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/28/image_29012025_05_28_56_10352.jpg', '/home/pi/Desktop/images/29012025/05/28/image_29012025_05_29_05_9351.jpg', '/home/pi/Desktop/images/29012025/05/29/image_29012025_05_29_16_10359.jpg', '/home/pi/Desktop/images/29012025/05/29/image_29012025_05_29_25_9406.jpg', '/home/pi/Desktop/images/29012025/05/29/image_29012025_05_29_36_10358.jpg', '/home/pi/Desktop/images/29012025/05/29/image_29012025_05_29_46_10395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/28/image_29012025_05_28_56_10352.jpg
/home/pi/Desktop/images/29012025/05/28/image_29012025_05_29_05_9351.jpg
/home/pi/Desktop/images/29012025/05/29/image_29012025_05_29_16_10359.jpg
/home/pi/Desktop/images/29012025/05/29/image_29012025_05_29_25_9406.jpg
/home/pi/Desktop/images/29012025/05/29/image_29012025_05_29_36_10358.jpg
/home/pi/Desktop/images/29012025/05/29/image_29012025_05_29_46_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":["1332536608","1332536611","1332536670","1332536751","1332536864","1332536599"],"photo_ids_order":["1332536599","1332536608","1332536611","1332536670","1332536751","1332536864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/944c9d5888c9446cab0d2d90ff44f77f.jpg","text":"TemporaryFile(/tmp/multipartBody4211402088246884664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125033588,"filename":"image_29012025_05_29_05_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/29/0d3d194aedf1732ed5f163a465f9d03f.jpg","text":"TemporaryFile(/tmp/multipartBody4300412555391032893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125033588,"filename":"image_29012025_05_29_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/29/4c81c854790e3f46c74ce946dcb24927.jpg","text":"TemporaryFile(/tmp/multipartBody6269499032038869891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125033588,"filename":"image_29012025_05_29_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/29/0104f483acd1fb287e3e6dc9d2a35df1.jpg","text":"TemporaryFile(/tmp/multipartBody5643551232917288501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125033588,"filename":"image_29012025_05_29_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/29/912de2d0537c19c6cf02db6ffd3487d7.jpg","text":"TemporaryFile(/tmp/multipartBody6396370421883221713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125033588,"filename":"image_29012025_05_29_46_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/29/4159cf5f5754ff55056ef6f2bd8ddc0e.jpg","text":"TemporaryFile(/tmp/multipartBody4293184018242208705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125033588,"filename":"image_29012025_05_28_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332536611","file1":"1332536608","file0":"1332536599","file4":"1332536751","file5":"1332536864","file3":"1332536670"},"map_files_photo_id_array":[{"photo_id":"1332536864","filename":"file5"},{"photo_id":"1332536611","filename":"file2"},{"photo_id":"1332536751","filename":"file4"},{"photo_id":"1332536608","filename":"file1"},{"photo_id":"1332536599","filename":"file0"},{"photo_id":"1332536670","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332536608":["hashtag1","hashtag2"]},{"1332536611":["hashtag1","hashtag2"]},{"1332536670":["hashtag1","hashtag2"]},{"1332536751":["hashtag1","hashtag2"]},{"1332536864":["hashtag1","hashtag2"]},{"1332536599":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332536608, 1332536611, 1332536670, 1332536751, 1332536864, 1332536599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.27191781997681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:30:32.887804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/29/image_29012025_05_29_55_9546.jpg', '/home/pi/Desktop/images/29012025/05/30/image_29012025_05_30_15_9457.jpg', '/home/pi/Desktop/images/29012025/05/30/image_29012025_05_30_26_10355.jpg', '/home/pi/Desktop/images/29012025/05/30/image_29012025_05_30_36_10339.jpg', '/home/pi/Desktop/images/29012025/05/30/image_29012025_05_30_45_9499.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/29/image_29012025_05_29_55_9546.jpg
/home/pi/Desktop/images/29012025/05/30/image_29012025_05_30_15_9457.jpg
/home/pi/Desktop/images/29012025/05/30/image_29012025_05_30_26_10355.jpg
/home/pi/Desktop/images/29012025/05/30/image_29012025_05_30_36_10339.jpg
/home/pi/Desktop/images/29012025/05/30/image_29012025_05_30_45_9499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332536911","1332536914","1332536908","1332536917","1332536916"],"photo_ids_order":["1332536908","1332536911","1332536914","1332536916","1332536917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e21d0fafb412f08961dad4327d2ba9cf.jpg","text":"TemporaryFile(/tmp/multipartBody5683480960213836157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125093785,"filename":"image_29012025_05_30_15_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/29/04c57e1017956bb0704f69b94fd9d99e.jpg","text":"TemporaryFile(/tmp/multipartBody6006494010953951861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125093785,"filename":"image_29012025_05_30_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/29/a64db6084ce5f9c8060833b8c44aceea.jpg","text":"TemporaryFile(/tmp/multipartBody6639573014214817798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125093785,"filename":"image_29012025_05_29_55_9546.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c5f3f910e6f42f09ac9888eb7dbb50a8.jpg","text":"TemporaryFile(/tmp/multipartBody1506951559132171707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125093785,"filename":"image_29012025_05_30_45_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d0ee0f7c34ecb574bbebbeed5599998b.jpg","text":"TemporaryFile(/tmp/multipartBody919835653303033530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125093785,"filename":"image_29012025_05_30_36_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332536914","file1":"1332536911","file0":"1332536908","file4":"1332536917","file3":"1332536916"},"map_files_photo_id_array":[{"photo_id":"1332536914","filename":"file2"},{"photo_id":"1332536917","filename":"file4"},{"photo_id":"1332536911","filename":"file1"},{"photo_id":"1332536908","filename":"file0"},{"photo_id":"1332536916","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332536911":["hashtag1","hashtag2"]},{"1332536914":["hashtag1","hashtag2"]},{"1332536908":["hashtag1","hashtag2"]},{"1332536917":["hashtag1","hashtag2"]},{"1332536916":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332536911, 1332536914, 1332536908, 1332536917, 1332536916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.632922887802124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:31:33.057078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/30/image_29012025_05_30_56_10361.jpg', '/home/pi/Desktop/images/29012025/05/30/image_29012025_05_31_05_9406.jpg', '/home/pi/Desktop/images/29012025/05/31/image_29012025_05_31_26_10350.jpg', '/home/pi/Desktop/images/29012025/05/31/image_29012025_05_31_35_9381.jpg', '/home/pi/Desktop/images/29012025/05/31/image_29012025_05_31_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/30/image_29012025_05_30_56_10361.jpg
/home/pi/Desktop/images/29012025/05/30/image_29012025_05_31_05_9406.jpg
/home/pi/Desktop/images/29012025/05/31/image_29012025_05_31_26_10350.jpg
/home/pi/Desktop/images/29012025/05/31/image_29012025_05_31_35_9381.jpg
/home/pi/Desktop/images/29012025/05/31/image_29012025_05_31_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":["1332537228","1332537287","1332537194","1332537224","1332537178"],"photo_ids_order":["1332537178","1332537194","1332537224","1332537228","1332537287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c1ceb93cc9a283327806d9cf1b40ebe4.jpg","text":"TemporaryFile(/tmp/multipartBody2130333323255301086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125153958,"filename":"image_29012025_05_31_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/29/2a15c7b314e2a24900ec5fa1b25cca8a.jpg","text":"TemporaryFile(/tmp/multipartBody4214627862342157617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125153958,"filename":"image_29012025_05_31_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/29/092ff1efa188fc5ab84c2d76748198da.jpg","text":"TemporaryFile(/tmp/multipartBody2363444219939396280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125153958,"filename":"image_29012025_05_31_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/29/f115d82e3ccbbc7dda770da9ab31367b.jpg","text":"TemporaryFile(/tmp/multipartBody809410160341968467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125153958,"filename":"image_29012025_05_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/29/dd2a436d1e4b27c3f3fb52cb92ec884b.jpg","text":"TemporaryFile(/tmp/multipartBody1708596785888742105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125153958,"filename":"image_29012025_05_30_56_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332537224","file1":"1332537194","file0":"1332537178","file4":"1332537287","file3":"1332537228"},"map_files_photo_id_array":[{"photo_id":"1332537224","filename":"file2"},{"photo_id":"1332537287","filename":"file4"},{"photo_id":"1332537194","filename":"file1"},{"photo_id":"1332537178","filename":"file0"},{"photo_id":"1332537228","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332537228":["hashtag1","hashtag2"]},{"1332537287":["hashtag1","hashtag2"]},{"1332537194":["hashtag1","hashtag2"]},{"1332537224":["hashtag1","hashtag2"]},{"1332537178":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332537228, 1332537287, 1332537194, 1332537224, 1332537178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.44247889518738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:32:32.374296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/31/image_29012025_05_31_55_9431.jpg', '/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_16_10364.jpg', '/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_25_9398.jpg', '/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_36_10354.jpg', '/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_46_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/31/image_29012025_05_31_55_9431.jpg
/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_16_10364.jpg
/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_25_9398.jpg
/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_36_10354.jpg
/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_46_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: 0.5190870761871338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:32:42.230507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/31/image_29012025_05_31_55_9431.jpg', '/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_16_10364.jpg', '/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_25_9398.jpg', '/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_36_10354.jpg', '/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_46_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/31/image_29012025_05_31_55_9431.jpg
/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_16_10364.jpg
/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_25_9398.jpg
/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_36_10354.jpg
/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_46_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":["1332537357","1332537342","1332537336","1332537338","1332537340"],"photo_ids_order":["1332537336","1332537338","1332537340","1332537342","1332537357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0678ce3b0ee60056fc0cb65e575998b3.jpg","text":"TemporaryFile(/tmp/multipartBody5943597162661089301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125223122,"filename":"image_29012025_05_32_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/29/90ceab2992367db798e5f939a898acda.jpg","text":"TemporaryFile(/tmp/multipartBody6696035625560976814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125223122,"filename":"image_29012025_05_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/29/b9d00ef5634d1954f90b4de58090f8ef.jpg","text":"TemporaryFile(/tmp/multipartBody854552860000777931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125223122,"filename":"image_29012025_05_31_55_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/29/0552dcc7b88c7e2cf3e3fdbc38fe606b.jpg","text":"TemporaryFile(/tmp/multipartBody2475400864201997468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125223122,"filename":"image_29012025_05_32_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/29/891207b5611c13337fcc5ecb34387a0c.jpg","text":"TemporaryFile(/tmp/multipartBody3939375867050365268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125223122,"filename":"image_29012025_05_32_25_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332537340","file1":"1332537338","file0":"1332537336","file4":"1332537357","file3":"1332537342"},"map_files_photo_id_array":[{"photo_id":"1332537340","filename":"file2"},{"photo_id":"1332537357","filename":"file4"},{"photo_id":"1332537338","filename":"file1"},{"photo_id":"1332537336","filename":"file0"},{"photo_id":"1332537342","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332537357":["hashtag1","hashtag2"]},{"1332537342":["hashtag1","hashtag2"]},{"1332537336":["hashtag1","hashtag2"]},{"1332537338":["hashtag1","hashtag2"]},{"1332537340":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332537357, 1332537342, 1332537336, 1332537338, 1332537340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.92002773284912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:33:32.528253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_55_9435.jpg', '/home/pi/Desktop/images/29012025/05/32/image_29012025_05_33_06_10467.jpg', '/home/pi/Desktop/images/29012025/05/33/image_29012025_05_33_15_9349.jpg', '/home/pi/Desktop/images/29012025/05/33/image_29012025_05_33_26_10390.jpg', '/home/pi/Desktop/images/29012025/05/33/image_29012025_05_33_36_10383.jpg', '/home/pi/Desktop/images/29012025/05/33/image_29012025_05_33_45_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/32/image_29012025_05_32_55_9435.jpg
/home/pi/Desktop/images/29012025/05/32/image_29012025_05_33_06_10467.jpg
/home/pi/Desktop/images/29012025/05/33/image_29012025_05_33_15_9349.jpg
/home/pi/Desktop/images/29012025/05/33/image_29012025_05_33_26_10390.jpg
/home/pi/Desktop/images/29012025/05/33/image_29012025_05_33_36_10383.jpg
/home/pi/Desktop/images/29012025/05/33/image_29012025_05_33_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":["1332537426","1332537428","1332537419","1332537430","1332537421","1332537418"],"photo_ids_order":["1332537418","1332537419","1332537421","1332537426","1332537428","1332537430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6ab565a017b2b824be22834872c166d3.jpg","text":"TemporaryFile(/tmp/multipartBody5092596205003788759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125273440,"filename":"image_29012025_05_33_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/29/dc8aa802c617df1df912c2080976f457.jpg","text":"TemporaryFile(/tmp/multipartBody2192787080830652407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125273440,"filename":"image_29012025_05_33_36_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/29/437ebe66acdabad966b872f25938cba7.jpg","text":"TemporaryFile(/tmp/multipartBody5731460308373161009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125273440,"filename":"image_29012025_05_33_06_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/29/238edd33d24a48939f93a4332be0b777.jpg","text":"TemporaryFile(/tmp/multipartBody7357012625456693863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125273440,"filename":"image_29012025_05_33_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/29/fd439f17da3b3a56f70a5619d31019f3.jpg","text":"TemporaryFile(/tmp/multipartBody573724588883358858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125273440,"filename":"image_29012025_05_33_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/29/b3da0461d7dd89a231e4193295b1ab8d.jpg","text":"TemporaryFile(/tmp/multipartBody8271974313360313770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125273440,"filename":"image_29012025_05_32_55_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332537421","file1":"1332537419","file0":"1332537418","file4":"1332537428","file5":"1332537430","file3":"1332537426"},"map_files_photo_id_array":[{"photo_id":"1332537430","filename":"file5"},{"photo_id":"1332537421","filename":"file2"},{"photo_id":"1332537428","filename":"file4"},{"photo_id":"1332537419","filename":"file1"},{"photo_id":"1332537418","filename":"file0"},{"photo_id":"1332537426","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332537426":["hashtag1","hashtag2"]},{"1332537428":["hashtag1","hashtag2"]},{"1332537419":["hashtag1","hashtag2"]},{"1332537430":["hashtag1","hashtag2"]},{"1332537421":["hashtag1","hashtag2"]},{"1332537418":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332537426, 1332537428, 1332537419, 1332537430, 1332537421, 1332537418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.26311659812927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:34:32.709578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/33/image_29012025_05_33_56_10373.jpg', '/home/pi/Desktop/images/29012025/05/33/image_29012025_05_34_05_9403.jpg', '/home/pi/Desktop/images/29012025/05/34/image_29012025_05_34_16_10438.jpg', '/home/pi/Desktop/images/29012025/05/34/image_29012025_05_34_26_10360.jpg', '/home/pi/Desktop/images/29012025/05/34/image_29012025_05_34_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/33/image_29012025_05_33_56_10373.jpg
/home/pi/Desktop/images/29012025/05/33/image_29012025_05_34_05_9403.jpg
/home/pi/Desktop/images/29012025/05/34/image_29012025_05_34_16_10438.jpg
/home/pi/Desktop/images/29012025/05/34/image_29012025_05_34_26_10360.jpg
/home/pi/Desktop/images/29012025/05/34/image_29012025_05_34_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":["1332537456","1332537450","1332537447","1332537443","1332537454"],"photo_ids_order":["1332537443","1332537447","1332537450","1332537454","1332537456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/edd289f50bd157cc9426401c4bfe8194.jpg","text":"TemporaryFile(/tmp/multipartBody8004807396673389000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125333609,"filename":"image_29012025_05_34_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/29/535fb492a722b26493270f06fa1a9ad5.jpg","text":"TemporaryFile(/tmp/multipartBody3346133203202826434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125333609,"filename":"image_29012025_05_34_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/29/7727d68b00a33a97eda0e0e678aa8336.jpg","text":"TemporaryFile(/tmp/multipartBody2384999346237233826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125333609,"filename":"image_29012025_05_34_05_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/29/00c95e1fed69ed2d87f24b80ea693b5d.jpg","text":"TemporaryFile(/tmp/multipartBody7747886525351662865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125333609,"filename":"image_29012025_05_33_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/29/ff599608804dbc9eaabdbb03253d1cd9.jpg","text":"TemporaryFile(/tmp/multipartBody4323281142691088882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125333609,"filename":"image_29012025_05_34_26_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332537450","file1":"1332537447","file0":"1332537443","file4":"1332537456","file3":"1332537454"},"map_files_photo_id_array":[{"photo_id":"1332537450","filename":"file2"},{"photo_id":"1332537456","filename":"file4"},{"photo_id":"1332537447","filename":"file1"},{"photo_id":"1332537443","filename":"file0"},{"photo_id":"1332537454","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332537456":["hashtag1","hashtag2"]},{"1332537450":["hashtag1","hashtag2"]},{"1332537447":["hashtag1","hashtag2"]},{"1332537443":["hashtag1","hashtag2"]},{"1332537454":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332537456, 1332537450, 1332537447, 1332537443, 1332537454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.04338026046753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:35:32.929284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/34/image_29012025_05_34_55_9719.jpg', '/home/pi/Desktop/images/29012025/05/34/image_29012025_05_35_06_10357.jpg', '/home/pi/Desktop/images/29012025/05/35/image_29012025_05_35_26_10379.jpg', '/home/pi/Desktop/images/29012025/05/35/image_29012025_05_35_36_10372.jpg', '/home/pi/Desktop/images/29012025/05/35/image_29012025_05_35_45_9368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/34/image_29012025_05_34_55_9719.jpg
/home/pi/Desktop/images/29012025/05/34/image_29012025_05_35_06_10357.jpg
/home/pi/Desktop/images/29012025/05/35/image_29012025_05_35_26_10379.jpg
/home/pi/Desktop/images/29012025/05/35/image_29012025_05_35_36_10372.jpg
/home/pi/Desktop/images/29012025/05/35/image_29012025_05_35_45_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332537540","1332537542","1332537503","1332537506","1332537508"],"photo_ids_order":["1332537503","1332537506","1332537508","1332537540","1332537542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/93aec2b57363fd5c858b55fd1a3460c0.jpg","text":"TemporaryFile(/tmp/multipartBody7039802209727373046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125393819,"filename":"image_29012025_05_35_36_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/29/2d8b95803bc3e8748abc5404785a929e.jpg","text":"TemporaryFile(/tmp/multipartBody7460473703892380238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125393819,"filename":"image_29012025_05_35_45_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/29/8bbecde6520457504df1aee0ff1a42f4.jpg","text":"TemporaryFile(/tmp/multipartBody5468668044319175934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125393819,"filename":"image_29012025_05_34_55_9719.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/03e8966e2f86cdaf9f833041e7dba6c4.jpg","text":"TemporaryFile(/tmp/multipartBody689012082490265149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125393819,"filename":"image_29012025_05_35_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/29/31104dc0af16f7a63ec45b992825265c.jpg","text":"TemporaryFile(/tmp/multipartBody8810763602168789931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125393819,"filename":"image_29012025_05_35_26_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332537508","file1":"1332537506","file0":"1332537503","file4":"1332537542","file3":"1332537540"},"map_files_photo_id_array":[{"photo_id":"1332537508","filename":"file2"},{"photo_id":"1332537542","filename":"file4"},{"photo_id":"1332537506","filename":"file1"},{"photo_id":"1332537503","filename":"file0"},{"photo_id":"1332537540","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332537540":["hashtag1","hashtag2"]},{"1332537542":["hashtag1","hashtag2"]},{"1332537503":["hashtag1","hashtag2"]},{"1332537506":["hashtag1","hashtag2"]},{"1332537508":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332537540, 1332537542, 1332537503, 1332537506, 1332537508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.07874631881714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:36:33.158380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/35/image_29012025_05_35_56_10435.jpg', '/home/pi/Desktop/images/29012025/05/35/image_29012025_05_36_05_9463.jpg', '/home/pi/Desktop/images/29012025/05/36/image_29012025_05_36_26_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/35/image_29012025_05_35_56_10435.jpg
/home/pi/Desktop/images/29012025/05/35/image_29012025_05_36_05_9463.jpg
/home/pi/Desktop/images/29012025/05/36/image_29012025_05_36_26_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":["1332537596","1332537602","1332537592"],"photo_ids_order":["1332537592","1332537596","1332537602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c123aedf1069b242a03f9ccf3bad4e59.jpg","text":"TemporaryFile(/tmp/multipartBody6961929763692605071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125454022,"filename":"image_29012025_05_36_05_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/29/00e3ce0928974289bd2a245c8132f99f.jpg","text":"TemporaryFile(/tmp/multipartBody563725947586604556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125454022,"filename":"image_29012025_05_36_26_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/29/094f8ce1dfac05d91565a9df8b9d24f0.jpg","text":"TemporaryFile(/tmp/multipartBody4174566059005818637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125454022,"filename":"image_29012025_05_35_56_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332537602","file1":"1332537596","file0":"1332537592"},"map_files_photo_id_array":[{"photo_id":"1332537602","filename":"file2"},{"photo_id":"1332537596","filename":"file1"},{"photo_id":"1332537592","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332537596":["hashtag1","hashtag2"]},{"1332537602":["hashtag1","hashtag2"]},{"1332537592":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332537596, 1332537602, 1332537592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.16674566268921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:37:03.863406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_37_10351.jpg', '/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_46_9400.jpg', '/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_56_10360.jpg', '/home/pi/Desktop/images/23012025/23/56/image_23012025_23_57_07_10342.jpg', '/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_16_9433.jpg', '/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_26_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/23/56/image_23012025_23_56_37_10351.jpg
/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_46_9400.jpg
/home/pi/Desktop/images/23012025/23/56/image_23012025_23_56_56_10360.jpg
/home/pi/Desktop/images/23012025/23/56/image_23012025_23_57_07_10342.jpg
/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_16_9433.jpg
/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_26_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332537672","1332537615","1332537707","1332537710","1332537727","1332537715"],"photo_ids_order":["1332537615","1332537672","1332537707","1332537710","1332537715","1332537727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7008402769be9dfdf0b5b67317881687.jpg","text":"TemporaryFile(/tmp/multipartBody5615783301547888834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125485099,"filename":"image_23012025_23_56_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/29/5dfa14044a773a9b1ee962d3d643ff1f.jpg","text":"TemporaryFile(/tmp/multipartBody7243458141852485916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125485099,"filename":"image_23012025_23_56_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/29/fafcf9d9322778ef22f35f0b49a9082d.jpg","text":"TemporaryFile(/tmp/multipartBody7117753445136168619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125485099,"filename":"image_23012025_23_56_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/29/be13ff6cafa2f91981f647c2a3e00285.jpg","text":"TemporaryFile(/tmp/multipartBody7419028561969507175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125485099,"filename":"image_23012025_23_57_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/29/5772378442fcc87b5bbcb72084cc64b9.jpg","text":"TemporaryFile(/tmp/multipartBody9088939817467363030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125485099,"filename":"image_23012025_23_57_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/29/7544a85b039b2567705440f529561513.jpg","text":"TemporaryFile(/tmp/multipartBody7335059690297969266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125485099,"filename":"image_23012025_23_57_16_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332537707","file1":"1332537672","file0":"1332537615","file4":"1332537715","file5":"1332537727","file3":"1332537710"},"map_files_photo_id_array":[{"photo_id":"1332537727","filename":"file5"},{"photo_id":"1332537707","filename":"file2"},{"photo_id":"1332537715","filename":"file4"},{"photo_id":"1332537672","filename":"file1"},{"photo_id":"1332537615","filename":"file0"},{"photo_id":"1332537710","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332537672":["hashtag1","hashtag2"]},{"1332537615":["hashtag1","hashtag2"]},{"1332537707":["hashtag1","hashtag2"]},{"1332537710":["hashtag1","hashtag2"]},{"1332537727":["hashtag1","hashtag2"]},{"1332537715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332537672, 1332537615, 1332537707, 1332537710, 1332537727, 1332537715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.424248695373535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 05:37:52.263899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_36_9336.jpg', '/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_46_10368.jpg', '/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_57_10359.jpg', '/home/pi/Desktop/images/23012025/23/57/image_23012025_23_58_06_9357.jpg', '/home/pi/Desktop/images/23012025/23/58/image_23012025_23_58_16_10348.jpg', '/home/pi/Desktop/images/23012025/23/58/image_23012025_23_58_27_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/23/57/image_23012025_23_57_36_9336.jpg
/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_46_10368.jpg
/home/pi/Desktop/images/23012025/23/57/image_23012025_23_57_57_10359.jpg
/home/pi/Desktop/images/23012025/23/57/image_23012025_23_58_06_9357.jpg
/home/pi/Desktop/images/23012025/23/58/image_23012025_23_58_16_10348.jpg
/home/pi/Desktop/images/23012025/23/58/image_23012025_23_58_27_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":["1332537771","1332537753","1332537776","1332537743","1332537746","1332537745"],"photo_ids_order":["1332537743","1332537745","1332537746","1332537753","1332537771","1332537776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/97d1b31086f392663ff8551797e48179.jpg","text":"TemporaryFile(/tmp/multipartBody1721048254783829153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125534307,"filename":"image_23012025_23_58_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/29/74d0cd42a4e3fa9f72972d03b7048455.jpg","text":"TemporaryFile(/tmp/multipartBody940692839826375809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125534307,"filename":"image_23012025_23_58_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/29/df5c039001b4e316f19ef6757f9f1989.jpg","text":"TemporaryFile(/tmp/multipartBody1607156399930436109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125534307,"filename":"image_23012025_23_58_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/29/3cce15f7f9c1801e20468ad4b490c218.jpg","text":"TemporaryFile(/tmp/multipartBody3762375134513345232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125534307,"filename":"image_23012025_23_57_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/29/e9a9c6ed186af93c802bffb22c69c4cd.jpg","text":"TemporaryFile(/tmp/multipartBody422325240277740112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125534307,"filename":"image_23012025_23_57_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/29/06afae7486c8921cde279d9546de7015.jpg","text":"TemporaryFile(/tmp/multipartBody7661173761021500429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125534307,"filename":"image_23012025_23_57_46_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332537746","file1":"1332537745","file0":"1332537743","file4":"1332537771","file5":"1332537776","file3":"1332537753"},"map_files_photo_id_array":[{"photo_id":"1332537776","filename":"file5"},{"photo_id":"1332537746","filename":"file2"},{"photo_id":"1332537771","filename":"file4"},{"photo_id":"1332537745","filename":"file1"},{"photo_id":"1332537743","filename":"file0"},{"photo_id":"1332537753","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332537771":["hashtag1","hashtag2"]},{"1332537753":["hashtag1","hashtag2"]},{"1332537776":["hashtag1","hashtag2"]},{"1332537743":["hashtag1","hashtag2"]},{"1332537746":["hashtag1","hashtag2"]},{"1332537745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332537771, 1332537753, 1332537776, 1332537743, 1332537746, 1332537745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.022069454193115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:38:42.564717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/36/image_29012025_05_36_35_9357.jpg', '/home/pi/Desktop/images/29012025/05/37/image_29012025_05_38_06_10346.jpg', '/home/pi/Desktop/images/29012025/05/38/image_29012025_05_38_15_9418.jpg', '/home/pi/Desktop/images/29012025/05/38/image_29012025_05_38_25_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/36/image_29012025_05_36_35_9357.jpg
/home/pi/Desktop/images/29012025/05/37/image_29012025_05_38_06_10346.jpg
/home/pi/Desktop/images/29012025/05/38/image_29012025_05_38_15_9418.jpg
/home/pi/Desktop/images/29012025/05/38/image_29012025_05_38_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":["1332537819","1332537827","1332537829","1332537823"],"photo_ids_order":["1332537819","1332537823","1332537827","1332537829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/49eb004dfd048002419fa074eec37309.jpg","text":"TemporaryFile(/tmp/multipartBody6232107691753982546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125583454,"filename":"image_29012025_05_36_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/29/451708b3091376a3b4555c8f378766b7.jpg","text":"TemporaryFile(/tmp/multipartBody3096650071579341400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125583454,"filename":"image_29012025_05_38_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/29/1f71f562965b157c3efd3cd92e1e3210.jpg","text":"TemporaryFile(/tmp/multipartBody7952365746756613966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125583454,"filename":"image_29012025_05_38_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/29/99d7e4934c69bdd297d87a9dd7504603.jpg","text":"TemporaryFile(/tmp/multipartBody7012348165653176716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125583454,"filename":"image_29012025_05_38_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332537827","file1":"1332537823","file0":"1332537819","file3":"1332537829"},"map_files_photo_id_array":[{"photo_id":"1332537827","filename":"file2"},{"photo_id":"1332537823","filename":"file1"},{"photo_id":"1332537819","filename":"file0"},{"photo_id":"1332537829","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332537819":["hashtag1","hashtag2"]},{"1332537827":["hashtag1","hashtag2"]},{"1332537829":["hashtag1","hashtag2"]},{"1332537823":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332537819, 1332537827, 1332537829, 1332537823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.44083070755005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:39:32.794629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/38/image_29012025_05_38_56_10352.jpg', '/home/pi/Desktop/images/29012025/05/38/image_29012025_05_39_05_9492.jpg', '/home/pi/Desktop/images/29012025/05/39/image_29012025_05_39_26_10363.jpg', '/home/pi/Desktop/images/29012025/05/39/image_29012025_05_39_35_9423.jpg', '/home/pi/Desktop/images/29012025/05/39/image_29012025_05_39_46_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/38/image_29012025_05_38_56_10352.jpg
/home/pi/Desktop/images/29012025/05/38/image_29012025_05_39_05_9492.jpg
/home/pi/Desktop/images/29012025/05/39/image_29012025_05_39_26_10363.jpg
/home/pi/Desktop/images/29012025/05/39/image_29012025_05_39_35_9423.jpg
/home/pi/Desktop/images/29012025/05/39/image_29012025_05_39_46_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":["1332537915","1332537923","1332537911","1332537920","1332537908"],"photo_ids_order":["1332537908","1332537911","1332537915","1332537920","1332537923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/90f3c4acc02c61fd5c7dff5e15a3d2ea.jpg","text":"TemporaryFile(/tmp/multipartBody8257216161641086615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125633682,"filename":"image_29012025_05_39_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/29/c8088aab289f6a744c46e3621f1216f0.jpg","text":"TemporaryFile(/tmp/multipartBody4117984820306616644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125633682,"filename":"image_29012025_05_39_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/29/d03b8ad2da9668357c6f7a1f4cb18d1a.jpg","text":"TemporaryFile(/tmp/multipartBody7635715641666339682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125633682,"filename":"image_29012025_05_39_05_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/29/4a7a11c3aafd7af80d5aae4da0e528ac.jpg","text":"TemporaryFile(/tmp/multipartBody1742527188486976643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125633682,"filename":"image_29012025_05_39_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/29/1676052b6a3f7c4523aa86c49dde8fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1449626924824033283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125633682,"filename":"image_29012025_05_38_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332537915","file1":"1332537911","file0":"1332537908","file4":"1332537923","file3":"1332537920"},"map_files_photo_id_array":[{"photo_id":"1332537915","filename":"file2"},{"photo_id":"1332537923","filename":"file4"},{"photo_id":"1332537911","filename":"file1"},{"photo_id":"1332537908","filename":"file0"},{"photo_id":"1332537920","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332537915":["hashtag1","hashtag2"]},{"1332537923":["hashtag1","hashtag2"]},{"1332537911":["hashtag1","hashtag2"]},{"1332537920":["hashtag1","hashtag2"]},{"1332537908":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332537915, 1332537923, 1332537911, 1332537920, 1332537908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.249085426330566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:40:33.079670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/39/image_29012025_05_39_56_10359.jpg', '/home/pi/Desktop/images/29012025/05/39/image_29012025_05_40_05_9336.jpg', '/home/pi/Desktop/images/29012025/05/40/image_29012025_05_40_16_10346.jpg', '/home/pi/Desktop/images/29012025/05/40/image_29012025_05_40_35_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/39/image_29012025_05_39_56_10359.jpg
/home/pi/Desktop/images/29012025/05/39/image_29012025_05_40_05_9336.jpg
/home/pi/Desktop/images/29012025/05/40/image_29012025_05_40_16_10346.jpg
/home/pi/Desktop/images/29012025/05/40/image_29012025_05_40_35_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.500737190246582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:40:43.065589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/39/image_29012025_05_39_56_10359.jpg', '/home/pi/Desktop/images/29012025/05/39/image_29012025_05_40_05_9336.jpg', '/home/pi/Desktop/images/29012025/05/40/image_29012025_05_40_16_10346.jpg', '/home/pi/Desktop/images/29012025/05/40/image_29012025_05_40_35_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/39/image_29012025_05_39_56_10359.jpg
/home/pi/Desktop/images/29012025/05/39/image_29012025_05_40_05_9336.jpg
/home/pi/Desktop/images/29012025/05/40/image_29012025_05_40_16_10346.jpg
/home/pi/Desktop/images/29012025/05/40/image_29012025_05_40_35_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":["1332538110","1332538217","1332538106","1332538098"],"photo_ids_order":["1332538098","1332538106","1332538110","1332538217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/482209675498c1726c75b2bd50f59793.jpg","text":"TemporaryFile(/tmp/multipartBody4341756192208142847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125703940,"filename":"image_29012025_05_40_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/29/f1475f22db7a2611db258c4ec599d87c.jpg","text":"TemporaryFile(/tmp/multipartBody536283454950086561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125703940,"filename":"image_29012025_05_40_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/29/3a9be4b5a90c69c987275e1fb815e07a.jpg","text":"TemporaryFile(/tmp/multipartBody4232371749061141776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125703940,"filename":"image_29012025_05_40_05_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/29/265cf26b745264d9e8453a4cf1c58e6a.jpg","text":"TemporaryFile(/tmp/multipartBody3569188227275727011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125703940,"filename":"image_29012025_05_39_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332538110","file1":"1332538106","file0":"1332538098","file3":"1332538217"},"map_files_photo_id_array":[{"photo_id":"1332538110","filename":"file2"},{"photo_id":"1332538106","filename":"file1"},{"photo_id":"1332538098","filename":"file0"},{"photo_id":"1332538217","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332538110":["hashtag1","hashtag2"]},{"1332538217":["hashtag1","hashtag2"]},{"1332538106":["hashtag1","hashtag2"]},{"1332538098":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332538110, 1332538217, 1332538106, 1332538098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.005492687225342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:41:32.417960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/40/image_29012025_05_40_55_9497.jpg', '/home/pi/Desktop/images/29012025/05/41/image_29012025_05_41_16_10339.jpg', '/home/pi/Desktop/images/29012025/05/41/image_29012025_05_41_25_9439.jpg', '/home/pi/Desktop/images/29012025/05/41/image_29012025_05_41_36_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/40/image_29012025_05_40_55_9497.jpg
/home/pi/Desktop/images/29012025/05/41/image_29012025_05_41_16_10339.jpg
/home/pi/Desktop/images/29012025/05/41/image_29012025_05_41_25_9439.jpg
/home/pi/Desktop/images/29012025/05/41/image_29012025_05_41_36_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":["1332538396","1332538411","1332538392","1332538389"],"photo_ids_order":["1332538389","1332538392","1332538396","1332538411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6447c13fc0eb7e1777a5d98f37a9313e.jpg","text":"TemporaryFile(/tmp/multipartBody2156176809783502509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125753295,"filename":"image_29012025_05_41_25_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/29/e9eb0649792df76eed70ac26762f60aa.jpg","text":"TemporaryFile(/tmp/multipartBody1353911772921254538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125753295,"filename":"image_29012025_05_41_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/29/15dd7e66d1cbfef75608b3bf26079bea.jpg","text":"TemporaryFile(/tmp/multipartBody7486669077128277929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125753295,"filename":"image_29012025_05_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/29/f0f14f6a7bd804c254012f35bb098f73.jpg","text":"TemporaryFile(/tmp/multipartBody4854094287171411039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125753295,"filename":"image_29012025_05_40_55_9497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332538396","file1":"1332538392","file0":"1332538389","file3":"1332538411"},"map_files_photo_id_array":[{"photo_id":"1332538396","filename":"file2"},{"photo_id":"1332538392","filename":"file1"},{"photo_id":"1332538389","filename":"file0"},{"photo_id":"1332538411","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332538396":["hashtag1","hashtag2"]},{"1332538411":["hashtag1","hashtag2"]},{"1332538392":["hashtag1","hashtag2"]},{"1332538389":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332538396, 1332538411, 1332538392, 1332538389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.05125308036804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:42:32.523277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/41/image_29012025_05_41_45_9462.jpg', '/home/pi/Desktop/images/29012025/05/42/image_29012025_05_42_26_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/41/image_29012025_05_41_45_9462.jpg
/home/pi/Desktop/images/29012025/05/42/image_29012025_05_42_26_10412.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332538623","1332538627"],"photo_ids_order":["1332538623","1332538627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/13592e91f2c7e63e6a95a43f61168b80.jpg","text":"TemporaryFile(/tmp/multipartBody1788655772009782417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125813381,"filename":"image_29012025_05_41_45_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/29/4b66480bd9e5621a616532f545cffc7e.jpg","text":"TemporaryFile(/tmp/multipartBody9188469158570108806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125813381,"filename":"image_29012025_05_42_26_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332538627","file0":"1332538623"},"map_files_photo_id_array":[{"photo_id":"1332538627","filename":"file1"},{"photo_id":"1332538623","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332538623":["hashtag1","hashtag2"]},{"1332538627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332538623, 1332538627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.8299720287323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 05:42:52.478689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/23/58/image_23012025_23_58_36_9439.jpg', '/home/pi/Desktop/images/23012025/23/58/image_23012025_23_58_46_10444.jpg', '/home/pi/Desktop/images/23012025/23/58/image_23012025_23_58_56_9410.jpg', '/home/pi/Desktop/images/23012025/23/58/image_23012025_23_59_06_10352.jpg', '/home/pi/Desktop/images/23012025/23/59/image_23012025_23_59_16_10199.jpg', '/home/pi/Desktop/images/23012025/23/59/image_23012025_23_59_26_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/23/58/image_23012025_23_58_36_9439.jpg
/home/pi/Desktop/images/23012025/23/58/image_23012025_23_58_46_10444.jpg
/home/pi/Desktop/images/23012025/23/58/image_23012025_23_58_56_9410.jpg
/home/pi/Desktop/images/23012025/23/58/image_23012025_23_59_06_10352.jpg
/home/pi/Desktop/images/23012025/23/59/image_23012025_23_59_16_10199.jpg
/home/pi/Desktop/images/23012025/23/59/image_23012025_23_59_26_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":["1332538656","1332538638","1332538640","1332538670","1332538646","1332538642"],"photo_ids_order":["1332538638","1332538640","1332538642","1332538646","1332538656","1332538670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/de2ff082590d2feb4c28a1f4c94e1379.jpg","text":"TemporaryFile(/tmp/multipartBody2850928243000379565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125834496,"filename":"image_23012025_23_59_16_10199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5c415c8b8867978a0f870242e83fdcf6.jpg","text":"TemporaryFile(/tmp/multipartBody6435820592272032783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125834496,"filename":"image_23012025_23_58_36_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/29/2586efe03801c05cb63fc0410319bb12.jpg","text":"TemporaryFile(/tmp/multipartBody8088953360628600778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125834496,"filename":"image_23012025_23_58_46_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/29/3385635354d5101e0945eac652600671.jpg","text":"TemporaryFile(/tmp/multipartBody8033000692280314735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125834496,"filename":"image_23012025_23_59_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/29/c8cc4939546b8c86bd7d7fab0435ec4a.jpg","text":"TemporaryFile(/tmp/multipartBody1302535260561502243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125834496,"filename":"image_23012025_23_59_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/29/9f600df9b416e95eedca8c5a932dd26d.jpg","text":"TemporaryFile(/tmp/multipartBody1710607141077986220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125834496,"filename":"image_23012025_23_58_56_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332538642","file1":"1332538640","file0":"1332538638","file4":"1332538656","file5":"1332538670","file3":"1332538646"},"map_files_photo_id_array":[{"photo_id":"1332538670","filename":"file5"},{"photo_id":"1332538642","filename":"file2"},{"photo_id":"1332538656","filename":"file4"},{"photo_id":"1332538640","filename":"file1"},{"photo_id":"1332538638","filename":"file0"},{"photo_id":"1332538646","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332538656":["hashtag1","hashtag2"]},{"1332538638":["hashtag1","hashtag2"]},{"1332538640":["hashtag1","hashtag2"]},{"1332538670":["hashtag1","hashtag2"]},{"1332538646":["hashtag1","hashtag2"]},{"1332538642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332538656, 1332538638, 1332538640, 1332538670, 1332538646, 1332538642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45673227310181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:43:42.708574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/42/image_29012025_05_42_36_10342.jpg', '/home/pi/Desktop/images/29012025/05/43/image_29012025_05_43_35_9340.jpg', '/home/pi/Desktop/images/29012025/05/43/image_29012025_05_43_46_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/42/image_29012025_05_42_36_10342.jpg
/home/pi/Desktop/images/29012025/05/43/image_29012025_05_43_35_9340.jpg
/home/pi/Desktop/images/29012025/05/43/image_29012025_05_43_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":["1332538685","1332538682","1332538686"],"photo_ids_order":["1332538682","1332538685","1332538686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bb83d7e76e17ad01225d4b28b073dcd0.jpg","text":"TemporaryFile(/tmp/multipartBody8353338943269039451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125883570,"filename":"image_29012025_05_43_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/29/f683549abc8fdf207823d4f229701ec5.jpg","text":"TemporaryFile(/tmp/multipartBody9097413276981348942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125883570,"filename":"image_29012025_05_42_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/29/719d2fe1d395421558313e1ac4517eb5.jpg","text":"TemporaryFile(/tmp/multipartBody4520222588317080570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125883570,"filename":"image_29012025_05_43_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332538686","file1":"1332538685","file0":"1332538682"},"map_files_photo_id_array":[{"photo_id":"1332538686","filename":"file2"},{"photo_id":"1332538685","filename":"file1"},{"photo_id":"1332538682","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332538685":["hashtag1","hashtag2"]},{"1332538682":["hashtag1","hashtag2"]},{"1332538686":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332538685, 1332538682, 1332538686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.05848503112793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:44:32.858218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/43/image_29012025_05_43_55_9457.jpg', '/home/pi/Desktop/images/29012025/05/44/image_29012025_05_44_16_10339.jpg', '/home/pi/Desktop/images/29012025/05/44/image_29012025_05_44_25_9416.jpg', '/home/pi/Desktop/images/29012025/05/44/image_29012025_05_44_36_10406.jpg', '/home/pi/Desktop/images/29012025/05/44/image_29012025_05_44_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/43/image_29012025_05_43_55_9457.jpg
/home/pi/Desktop/images/29012025/05/44/image_29012025_05_44_16_10339.jpg
/home/pi/Desktop/images/29012025/05/44/image_29012025_05_44_25_9416.jpg
/home/pi/Desktop/images/29012025/05/44/image_29012025_05_44_36_10406.jpg
/home/pi/Desktop/images/29012025/05/44/image_29012025_05_44_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":["1332538707","1332538716","1332538710","1332538704","1332538714"],"photo_ids_order":["1332538704","1332538707","1332538710","1332538714","1332538716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a85b63e8350f3d75ffc64a93d0e85077.jpg","text":"TemporaryFile(/tmp/multipartBody4379602311071175518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125933767,"filename":"image_29012025_05_44_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/29/c9381d55538bfdfd768d6d68a05772aa.jpg","text":"TemporaryFile(/tmp/multipartBody8582635007088606966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125933767,"filename":"image_29012025_05_44_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/29/696c455b427ee698377bcf1d9c59fa95.jpg","text":"TemporaryFile(/tmp/multipartBody3316923461135581875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125933767,"filename":"image_29012025_05_44_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/29/e183607579be9f1d28e154746c519e54.jpg","text":"TemporaryFile(/tmp/multipartBody6419037374558193220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125933767,"filename":"image_29012025_05_43_55_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/29/f84e6d8bffde773c041876922f692324.jpg","text":"TemporaryFile(/tmp/multipartBody3543442479875345024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125933767,"filename":"image_29012025_05_44_36_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332538710","file1":"1332538707","file0":"1332538704","file4":"1332538716","file3":"1332538714"},"map_files_photo_id_array":[{"photo_id":"1332538710","filename":"file2"},{"photo_id":"1332538716","filename":"file4"},{"photo_id":"1332538707","filename":"file1"},{"photo_id":"1332538704","filename":"file0"},{"photo_id":"1332538714","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332538707":["hashtag1","hashtag2"]},{"1332538716":["hashtag1","hashtag2"]},{"1332538710":["hashtag1","hashtag2"]},{"1332538704":["hashtag1","hashtag2"]},{"1332538714":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332538707, 1332538716, 1332538710, 1332538704, 1332538714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.7354519367218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:45:33.341514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/44/image_29012025_05_44_55_9379.jpg', '/home/pi/Desktop/images/29012025/05/44/image_29012025_05_45_06_10353.jpg', '/home/pi/Desktop/images/29012025/05/45/image_29012025_05_45_15_9501.jpg', '/home/pi/Desktop/images/29012025/05/45/image_29012025_05_45_36_10345.jpg', '/home/pi/Desktop/images/29012025/05/45/image_29012025_05_45_45_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/44/image_29012025_05_44_55_9379.jpg
/home/pi/Desktop/images/29012025/05/44/image_29012025_05_45_06_10353.jpg
/home/pi/Desktop/images/29012025/05/45/image_29012025_05_45_15_9501.jpg
/home/pi/Desktop/images/29012025/05/45/image_29012025_05_45_36_10345.jpg
/home/pi/Desktop/images/29012025/05/45/image_29012025_05_45_45_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":["1332538898","1332538886","1332538895","1332538891","1332538881"],"photo_ids_order":["1332538881","1332538886","1332538891","1332538895","1332538898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/424e676efc90001cd9ef4250a566ec23.jpg","text":"TemporaryFile(/tmp/multipartBody7323851681162148525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125994241,"filename":"image_29012025_05_45_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/29/87034ef895847372831309d05b0e6e25.jpg","text":"TemporaryFile(/tmp/multipartBody6173667506663420808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125994241,"filename":"image_29012025_05_45_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/29/5fd196894ca0e139ed83f7f89bceafcd.jpg","text":"TemporaryFile(/tmp/multipartBody3375887498272734230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125994241,"filename":"image_29012025_05_45_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/29/5610cd63b1e5fb47687b479d55a5ce76.jpg","text":"TemporaryFile(/tmp/multipartBody3611369124725949586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125994241,"filename":"image_29012025_05_45_15_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/29/a608e82a56e332be9e35ced86e41bced.jpg","text":"TemporaryFile(/tmp/multipartBody124297076683731128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738125994241,"filename":"image_29012025_05_44_55_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332538891","file1":"1332538886","file0":"1332538881","file4":"1332538898","file3":"1332538895"},"map_files_photo_id_array":[{"photo_id":"1332538891","filename":"file2"},{"photo_id":"1332538898","filename":"file4"},{"photo_id":"1332538886","filename":"file1"},{"photo_id":"1332538881","filename":"file0"},{"photo_id":"1332538895","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332538898":["hashtag1","hashtag2"]},{"1332538886":["hashtag1","hashtag2"]},{"1332538895":["hashtag1","hashtag2"]},{"1332538891":["hashtag1","hashtag2"]},{"1332538881":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332538898, 1332538886, 1332538895, 1332538891, 1332538881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.06094145774841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:46:32.329683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/45/image_29012025_05_45_56_10357.jpg', '/home/pi/Desktop/images/29012025/05/45/image_29012025_05_46_05_9415.jpg', '/home/pi/Desktop/images/29012025/05/46/image_29012025_05_46_16_10357.jpg', '/home/pi/Desktop/images/29012025/05/46/image_29012025_05_46_26_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/45/image_29012025_05_45_56_10357.jpg
/home/pi/Desktop/images/29012025/05/45/image_29012025_05_46_05_9415.jpg
/home/pi/Desktop/images/29012025/05/46/image_29012025_05_46_16_10357.jpg
/home/pi/Desktop/images/29012025/05/46/image_29012025_05_46_26_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.485457181930542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:46:42.409510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/45/image_29012025_05_45_56_10357.jpg', '/home/pi/Desktop/images/29012025/05/45/image_29012025_05_46_05_9415.jpg', '/home/pi/Desktop/images/29012025/05/46/image_29012025_05_46_16_10357.jpg', '/home/pi/Desktop/images/29012025/05/46/image_29012025_05_46_26_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/45/image_29012025_05_45_56_10357.jpg
/home/pi/Desktop/images/29012025/05/45/image_29012025_05_46_05_9415.jpg
/home/pi/Desktop/images/29012025/05/46/image_29012025_05_46_16_10357.jpg
/home/pi/Desktop/images/29012025/05/46/image_29012025_05_46_26_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":["1332538961","1332538955","1332538958","1332538950"],"photo_ids_order":["1332538950","1332538955","1332538958","1332538961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/af01ffa6612751a27ef48ecdf3705ea9.jpg","text":"TemporaryFile(/tmp/multipartBody2162228812453289866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126063289,"filename":"image_29012025_05_46_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/29/02a8a8d1513c66f40f03eff86fb636ab.jpg","text":"TemporaryFile(/tmp/multipartBody3636401455945158937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126063289,"filename":"image_29012025_05_46_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/29/af3d6e04a9ea5fc6f3eb011a6b82978e.jpg","text":"TemporaryFile(/tmp/multipartBody2037147827666907826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126063289,"filename":"image_29012025_05_46_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/29/60f5c40cf7317e080bee04f82985a867.jpg","text":"TemporaryFile(/tmp/multipartBody51928575429314800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126063289,"filename":"image_29012025_05_45_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332538958","file1":"1332538955","file0":"1332538950","file3":"1332538961"},"map_files_photo_id_array":[{"photo_id":"1332538958","filename":"file2"},{"photo_id":"1332538955","filename":"file1"},{"photo_id":"1332538950","filename":"file0"},{"photo_id":"1332538961","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332538961":["hashtag1","hashtag2"]},{"1332538955":["hashtag1","hashtag2"]},{"1332538958":["hashtag1","hashtag2"]},{"1332538950":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332538961, 1332538955, 1332538958, 1332538950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.760834455490112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:47:32.742166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/46/image_29012025_05_46_35_9464.jpg', '/home/pi/Desktop/images/29012025/05/46/image_29012025_05_47_05_10346.jpg', '/home/pi/Desktop/images/29012025/05/47/image_29012025_05_47_16_10334.jpg', '/home/pi/Desktop/images/29012025/05/47/image_29012025_05_47_25_9395.jpg', '/home/pi/Desktop/images/29012025/05/47/image_29012025_05_47_36_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/46/image_29012025_05_46_35_9464.jpg
/home/pi/Desktop/images/29012025/05/46/image_29012025_05_47_05_10346.jpg
/home/pi/Desktop/images/29012025/05/47/image_29012025_05_47_16_10334.jpg
/home/pi/Desktop/images/29012025/05/47/image_29012025_05_47_25_9395.jpg
/home/pi/Desktop/images/29012025/05/47/image_29012025_05_47_36_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332538985","1332538976","1332538993","1332538981","1332538989"],"photo_ids_order":["1332538976","1332538981","1332538985","1332538989","1332538993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3ade6a00fa780027dd34a6d39f44541e.jpg","text":"TemporaryFile(/tmp/multipartBody7373732907386759696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126113628,"filename":"image_29012025_05_47_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/29/1518d6ab53c82210945d229d868d1d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5572924037855657892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126113628,"filename":"image_29012025_05_46_35_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/29/806d1461a08b561b57bc733ddca6515f.jpg","text":"TemporaryFile(/tmp/multipartBody1175308249471862925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126113628,"filename":"image_29012025_05_47_36_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/29/50a3752f260334abd853ed4b73942fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5870364656311630872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126113628,"filename":"image_29012025_05_47_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/29/360d448f84e74f26d8060a5b7070c84c.jpg","text":"TemporaryFile(/tmp/multipartBody6398523886252156487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126113628,"filename":"image_29012025_05_47_25_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332538985","file1":"1332538981","file0":"1332538976","file4":"1332538993","file3":"1332538989"},"map_files_photo_id_array":[{"photo_id":"1332538985","filename":"file2"},{"photo_id":"1332538993","filename":"file4"},{"photo_id":"1332538981","filename":"file1"},{"photo_id":"1332538976","filename":"file0"},{"photo_id":"1332538989","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332538985":["hashtag1","hashtag2"]},{"1332538976":["hashtag1","hashtag2"]},{"1332538993":["hashtag1","hashtag2"]},{"1332538981":["hashtag1","hashtag2"]},{"1332538989":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332538985, 1332538976, 1332538993, 1332538981, 1332538989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.602314710617065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:48:33.047993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/47/image_29012025_05_47_46_10333.jpg', '/home/pi/Desktop/images/29012025/05/47/image_29012025_05_48_06_10441.jpg', '/home/pi/Desktop/images/29012025/05/48/image_29012025_05_48_16_10337.jpg', '/home/pi/Desktop/images/29012025/05/48/image_29012025_05_48_36_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/47/image_29012025_05_47_46_10333.jpg
/home/pi/Desktop/images/29012025/05/47/image_29012025_05_48_06_10441.jpg
/home/pi/Desktop/images/29012025/05/48/image_29012025_05_48_16_10337.jpg
/home/pi/Desktop/images/29012025/05/48/image_29012025_05_48_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":["1332539561","1332539557","1332539566","1332539554"],"photo_ids_order":["1332539554","1332539557","1332539561","1332539566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bf94cff374cf6be2dfeb58ccf8103d08.jpg","text":"TemporaryFile(/tmp/multipartBody3487178545369653556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126173928,"filename":"image_29012025_05_48_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/29/c6d864f271467ef6480394504782cf10.jpg","text":"TemporaryFile(/tmp/multipartBody2958072251005025657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126173928,"filename":"image_29012025_05_48_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/29/691c7d73ce129724c6e47fe24ca424cd.jpg","text":"TemporaryFile(/tmp/multipartBody524763202863996226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126173928,"filename":"image_29012025_05_48_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/29/bd5bfb7519bacc0ed51a85abf710f758.jpg","text":"TemporaryFile(/tmp/multipartBody41256285341869276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126173928,"filename":"image_29012025_05_47_46_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332539561","file1":"1332539557","file0":"1332539554","file3":"1332539566"},"map_files_photo_id_array":[{"photo_id":"1332539561","filename":"file2"},{"photo_id":"1332539557","filename":"file1"},{"photo_id":"1332539554","filename":"file0"},{"photo_id":"1332539566","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332539561":["hashtag1","hashtag2"]},{"1332539557":["hashtag1","hashtag2"]},{"1332539566":["hashtag1","hashtag2"]},{"1332539554":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332539561, 1332539557, 1332539566, 1332539554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.706626892089844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:49:32.224147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/48/image_29012025_05_48_56_10359.jpg', '/home/pi/Desktop/images/29012025/05/49/image_29012025_05_49_15_9361.jpg', '/home/pi/Desktop/images/29012025/05/49/image_29012025_05_49_25_9757.jpg', '/home/pi/Desktop/images/29012025/05/49/image_29012025_05_49_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/48/image_29012025_05_48_56_10359.jpg
/home/pi/Desktop/images/29012025/05/49/image_29012025_05_49_15_9361.jpg
/home/pi/Desktop/images/29012025/05/49/image_29012025_05_49_25_9757.jpg
/home/pi/Desktop/images/29012025/05/49/image_29012025_05_49_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":["1332539609","1332539583","1332539577","1332539591"],"photo_ids_order":["1332539577","1332539583","1332539591","1332539609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5fa1e6f8fd44e7b9ec3dd9c72b713973.jpg","text":"TemporaryFile(/tmp/multipartBody907325187554253501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126233099,"filename":"image_29012025_05_49_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/29/9c960d3f1822b9e37e60cdbb76830554.jpg","text":"TemporaryFile(/tmp/multipartBody551150788406819507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126233099,"filename":"image_29012025_05_49_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/29/0ad15944f496e1ed0bf42b847c2bfd33.jpg","text":"TemporaryFile(/tmp/multipartBody631555854304514366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126233099,"filename":"image_29012025_05_48_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/29/330ca389f7734e34e9945e74e3f2ad49.jpg","text":"TemporaryFile(/tmp/multipartBody3124847693280556784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126233099,"filename":"image_29012025_05_49_25_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332539591","file1":"1332539583","file0":"1332539577","file3":"1332539609"},"map_files_photo_id_array":[{"photo_id":"1332539591","filename":"file2"},{"photo_id":"1332539583","filename":"file1"},{"photo_id":"1332539577","filename":"file0"},{"photo_id":"1332539609","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332539609":["hashtag1","hashtag2"]},{"1332539583":["hashtag1","hashtag2"]},{"1332539577":["hashtag1","hashtag2"]},{"1332539591":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332539609, 1332539583, 1332539577, 1332539591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.50991129875183 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:50:02.910259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local 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/23/59/image_23012025_23_59_36_10399.jpg', '/home/pi/Desktop/images/23012025/23/59/image_23012025_23_59_47_10350.jpg', '/home/pi/Desktop/images/23012025/23/59/image_23012025_23_59_56_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/23/59/image_23012025_23_59_36_10399.jpg
/home/pi/Desktop/images/23012025/23/59/image_23012025_23_59_47_10350.jpg
/home/pi/Desktop/images/23012025/23/59/image_23012025_23_59_56_9390.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332539633","1332539631","1332539634"],"photo_ids_order":["1332539631","1332539633","1332539634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b117cf20aff285c4fc27820992c59be8.jpg","text":"TemporaryFile(/tmp/multipartBody7443833246027093663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126264069,"filename":"image_23012025_23_59_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/29/20c216d428a223788d47f4ca86f9bf57.jpg","text":"TemporaryFile(/tmp/multipartBody3347536601162765457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126264069,"filename":"image_23012025_23_59_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/29/3924e9b4b4add3923340bf37eee7877d.jpg","text":"TemporaryFile(/tmp/multipartBody4224941518120029535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126264069,"filename":"image_23012025_23_59_56_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332539634","file1":"1332539633","file0":"1332539631"},"map_files_photo_id_array":[{"photo_id":"1332539634","filename":"file2"},{"photo_id":"1332539633","filename":"file1"},{"photo_id":"1332539631","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1332539633":["hashtag1","hashtag2"]},{"1332539631":["hashtag1","hashtag2"]},{"1332539634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1332539633, 1332539631, 1332539634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.48020601272583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:50:32.477529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/49/image_29012025_05_49_55_9358.jpg', '/home/pi/Desktop/images/29012025/05/49/image_29012025_05_50_06_10349.jpg', '/home/pi/Desktop/images/29012025/05/50/image_29012025_05_50_16_10343.jpg', '/home/pi/Desktop/images/29012025/05/50/image_29012025_05_50_25_9343.jpg', '/home/pi/Desktop/images/29012025/05/50/image_29012025_05_50_36_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/49/image_29012025_05_49_55_9358.jpg
/home/pi/Desktop/images/29012025/05/49/image_29012025_05_50_06_10349.jpg
/home/pi/Desktop/images/29012025/05/50/image_29012025_05_50_16_10343.jpg
/home/pi/Desktop/images/29012025/05/50/image_29012025_05_50_25_9343.jpg
/home/pi/Desktop/images/29012025/05/50/image_29012025_05_50_36_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":["1332539666","1332539675","1332539671","1332539679","1332539678"],"photo_ids_order":["1332539666","1332539671","1332539675","1332539678","1332539679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b5d242a5ad2df640520511b60898ddf3.jpg","text":"TemporaryFile(/tmp/multipartBody6659339963990842536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126293384,"filename":"image_29012025_05_49_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/29/f42d7dda5e0aa483faea1001f12f4e83.jpg","text":"TemporaryFile(/tmp/multipartBody7228211885343439865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126293384,"filename":"image_29012025_05_50_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/29/464d0c6eec291075f32a628a64a0535d.jpg","text":"TemporaryFile(/tmp/multipartBody4290206258518605450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126293384,"filename":"image_29012025_05_50_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/29/fa9d3ed664fadf5d989070fa33e0445e.jpg","text":"TemporaryFile(/tmp/multipartBody2083092278291887042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126293384,"filename":"image_29012025_05_50_36_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/29/8d80e24565a8e0db99cf42f9a8bcdd9b.jpg","text":"TemporaryFile(/tmp/multipartBody2652774720603751202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126293384,"filename":"image_29012025_05_50_25_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332539675","file1":"1332539671","file0":"1332539666","file4":"1332539679","file3":"1332539678"},"map_files_photo_id_array":[{"photo_id":"1332539675","filename":"file2"},{"photo_id":"1332539679","filename":"file4"},{"photo_id":"1332539671","filename":"file1"},{"photo_id":"1332539666","filename":"file0"},{"photo_id":"1332539678","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332539666":["hashtag1","hashtag2"]},{"1332539675":["hashtag1","hashtag2"]},{"1332539671":["hashtag1","hashtag2"]},{"1332539679":["hashtag1","hashtag2"]},{"1332539678":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332539666, 1332539675, 1332539671, 1332539679, 1332539678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.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-29 05:51:32.566413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/50/image_29012025_05_50_45_9577.jpg', '/home/pi/Desktop/images/29012025/05/50/image_29012025_05_51_06_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/50/image_29012025_05_50_45_9577.jpg
/home/pi/Desktop/images/29012025/05/50/image_29012025_05_51_06_10346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332539711","1332539708"],"photo_ids_order":["1332539708","1332539711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2da5a09ef228af38062b7bca3bdbcd27.jpg","text":"TemporaryFile(/tmp/multipartBody4696906527534261028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126353403,"filename":"image_29012025_05_51_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/29/8f5ff8b1240f4c76733dcc23288b84df.jpg","text":"TemporaryFile(/tmp/multipartBody3510034775582491482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126353403,"filename":"image_29012025_05_50_45_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1332539711","file0":"1332539708"},"map_files_photo_id_array":[{"photo_id":"1332539711","filename":"file1"},{"photo_id":"1332539708","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332539711":["hashtag1","hashtag2"]},{"1332539708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332539711, 1332539708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.21936869621277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 05:51:52.552685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/14/image_24012025_20_15_05_9368.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_15_10374.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_26_10361.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_45_10355.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_56_10332.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_16_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/14/image_24012025_20_15_05_9368.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_15_10374.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_26_10361.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_45_10355.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_56_10332.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_16_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: 1.8119988441467285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:52:03.376393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/14/image_24012025_20_15_05_9368.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_15_10374.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_26_10361.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_45_10355.jpg', '/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_56_10332.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_16_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/14/image_24012025_20_15_05_9368.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_15_10374.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_26_10361.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_45_10355.jpg
/home/pi/Desktop/images/24012025/20/15/image_24012025_20_15_56_10332.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_16_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":["1332539750","1332539732","1332539729","1332539746","1332539725","1332539722"],"photo_ids_order":["1332539722","1332539725","1332539729","1332539732","1332539746","1332539750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a818580b5fe0a1fbcaf01b6dd783507c.jpg","text":"TemporaryFile(/tmp/multipartBody2333597615347206602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126384607,"filename":"image_24012025_20_16_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/29/8e6da1012114e5455625f4fc3c8a58b6.jpg","text":"TemporaryFile(/tmp/multipartBody7575595299081278616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126384607,"filename":"image_24012025_20_15_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/29/e40ee884496cfcc5dc7794d163b64f06.jpg","text":"TemporaryFile(/tmp/multipartBody8924853214543189452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126384607,"filename":"image_24012025_20_15_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/29/2f2cc0d8c47b15ad53032956ae0c62b4.jpg","text":"TemporaryFile(/tmp/multipartBody2496311378807106268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126384607,"filename":"image_24012025_20_15_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/29/9408d6657d4c07e8ac0535fb2710583f.jpg","text":"TemporaryFile(/tmp/multipartBody462095971851777691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126384607,"filename":"image_24012025_20_15_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/29/c8c6b6393df46422745909c9fe5fc1dc.jpg","text":"TemporaryFile(/tmp/multipartBody7833355306537954469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126384607,"filename":"image_24012025_20_15_05_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332539729","file1":"1332539725","file0":"1332539722","file4":"1332539746","file5":"1332539750","file3":"1332539732"},"map_files_photo_id_array":[{"photo_id":"1332539750","filename":"file5"},{"photo_id":"1332539729","filename":"file2"},{"photo_id":"1332539746","filename":"file4"},{"photo_id":"1332539725","filename":"file1"},{"photo_id":"1332539722","filename":"file0"},{"photo_id":"1332539732","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332539750":["hashtag1","hashtag2"]},{"1332539732":["hashtag1","hashtag2"]},{"1332539729":["hashtag1","hashtag2"]},{"1332539746":["hashtag1","hashtag2"]},{"1332539725":["hashtag1","hashtag2"]},{"1332539722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332539750, 1332539732, 1332539729, 1332539746, 1332539725, 1332539722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.533801317214966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 05:52:52.759783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_55_9399.jpg', '/home/pi/Desktop/images/24012025/20/16/image_24012025_20_17_05_10346.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_15_9455.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_25_10348.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_36_10366.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_45_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_16_55_9399.jpg
/home/pi/Desktop/images/24012025/20/16/image_24012025_20_17_05_10346.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_15_9455.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_25_10348.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_36_10366.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_45_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":["1332539831","1332539813","1332539807","1332539827","1332539835","1332539838"],"photo_ids_order":["1332539807","1332539813","1332539827","1332539831","1332539835","1332539838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/671b633aef940145c14b3f4e449216f2.jpg","text":"TemporaryFile(/tmp/multipartBody2261843098732864905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126434920,"filename":"image_24012025_20_17_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/29/33f0d3cee85a889e998fe78b817ad3fe.jpg","text":"TemporaryFile(/tmp/multipartBody809681974330378728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126434920,"filename":"image_24012025_20_17_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/29/d2df8b36938d2fc0860d50145a4ea83c.jpg","text":"TemporaryFile(/tmp/multipartBody5701479769764346502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126434920,"filename":"image_24012025_20_16_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/29/9dd691d3b1e501ed8726feb85acaf133.jpg","text":"TemporaryFile(/tmp/multipartBody3057625248486052767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126434920,"filename":"image_24012025_20_17_15_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/29/98730d0d402121d4291d1265c0e5ecaa.jpg","text":"TemporaryFile(/tmp/multipartBody3201485682664628398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126434920,"filename":"image_24012025_20_17_36_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/29/56cba354e410fc10201e827678fd833a.jpg","text":"TemporaryFile(/tmp/multipartBody3156075852679659935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126434920,"filename":"image_24012025_20_17_45_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332539827","file1":"1332539813","file0":"1332539807","file4":"1332539835","file5":"1332539838","file3":"1332539831"},"map_files_photo_id_array":[{"photo_id":"1332539838","filename":"file5"},{"photo_id":"1332539827","filename":"file2"},{"photo_id":"1332539835","filename":"file4"},{"photo_id":"1332539813","filename":"file1"},{"photo_id":"1332539807","filename":"file0"},{"photo_id":"1332539831","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332539831":["hashtag1","hashtag2"]},{"1332539813":["hashtag1","hashtag2"]},{"1332539807":["hashtag1","hashtag2"]},{"1332539827":["hashtag1","hashtag2"]},{"1332539835":["hashtag1","hashtag2"]},{"1332539838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332539831, 1332539813, 1332539807, 1332539827, 1332539835, 1332539838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73502039909363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:53:43.035924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/51/image_29012025_05_51_46_10338.jpg', '/home/pi/Desktop/images/29012025/05/51/image_29012025_05_52_05_9325.jpg', '/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_16_10332.jpg', '/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_26_10355.jpg', '/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_35_9365.jpg', '/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_46_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/51/image_29012025_05_51_46_10338.jpg
/home/pi/Desktop/images/29012025/05/51/image_29012025_05_52_05_9325.jpg
/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_16_10332.jpg
/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_26_10355.jpg
/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_35_9365.jpg
/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_46_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":["1332539869","1332539851","1332539865","1332539868","1332539862","1332539856"],"photo_ids_order":["1332539851","1332539856","1332539862","1332539865","1332539868","1332539869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/30d99883e9faaf3aade32820fff323d0.jpg","text":"TemporaryFile(/tmp/multipartBody4884462581893261413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126483957,"filename":"image_29012025_05_52_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/29/9e57303cf83b8cf39fdecf6060e83659.jpg","text":"TemporaryFile(/tmp/multipartBody5933615699552080968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126483957,"filename":"image_29012025_05_51_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/29/e1b7c09a628bfc25f8afe11502542f0e.jpg","text":"TemporaryFile(/tmp/multipartBody4967286899366144842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126483957,"filename":"image_29012025_05_52_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/29/5477e5b4b23bd7a75609cedeb13cfcd3.jpg","text":"TemporaryFile(/tmp/multipartBody7384062369044135825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126483957,"filename":"image_29012025_05_52_35_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/29/ed8152e56d9e6d7791c0808edf080eaa.jpg","text":"TemporaryFile(/tmp/multipartBody6877262271669798867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126483957,"filename":"image_29012025_05_52_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/29/0d7b2132640d64cceacc874b31fad024.jpg","text":"TemporaryFile(/tmp/multipartBody671577140599058704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126483957,"filename":"image_29012025_05_52_05_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332539862","file1":"1332539856","file0":"1332539851","file4":"1332539868","file5":"1332539869","file3":"1332539865"},"map_files_photo_id_array":[{"photo_id":"1332539869","filename":"file5"},{"photo_id":"1332539862","filename":"file2"},{"photo_id":"1332539868","filename":"file4"},{"photo_id":"1332539856","filename":"file1"},{"photo_id":"1332539851","filename":"file0"},{"photo_id":"1332539865","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332539869":["hashtag1","hashtag2"]},{"1332539851":["hashtag1","hashtag2"]},{"1332539865":["hashtag1","hashtag2"]},{"1332539868":["hashtag1","hashtag2"]},{"1332539862":["hashtag1","hashtag2"]},{"1332539856":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332539869, 1332539851, 1332539865, 1332539868, 1332539862, 1332539856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.04072690010071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:54:32.233218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_55_9424.jpg', '/home/pi/Desktop/images/29012025/05/52/image_29012025_05_53_05_10348.jpg', '/home/pi/Desktop/images/29012025/05/53/image_29012025_05_53_16_10357.jpg', '/home/pi/Desktop/images/29012025/05/53/image_29012025_05_53_55_10361.jpg', '/home/pi/Desktop/images/29012025/05/53/image_29012025_05_54_06_10374.jpg', '/home/pi/Desktop/images/29012025/05/54/image_29012025_05_54_15_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_55_9424.jpg
/home/pi/Desktop/images/29012025/05/52/image_29012025_05_53_05_10348.jpg
/home/pi/Desktop/images/29012025/05/53/image_29012025_05_53_16_10357.jpg
/home/pi/Desktop/images/29012025/05/53/image_29012025_05_53_55_10361.jpg
/home/pi/Desktop/images/29012025/05/53/image_29012025_05_54_06_10374.jpg
/home/pi/Desktop/images/29012025/05/54/image_29012025_05_54_15_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.5472366809844971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 05:54:42.158323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_55_9424.jpg', '/home/pi/Desktop/images/29012025/05/52/image_29012025_05_53_05_10348.jpg', '/home/pi/Desktop/images/29012025/05/53/image_29012025_05_53_16_10357.jpg', '/home/pi/Desktop/images/29012025/05/53/image_29012025_05_53_55_10361.jpg', '/home/pi/Desktop/images/29012025/05/53/image_29012025_05_54_06_10374.jpg', '/home/pi/Desktop/images/29012025/05/54/image_29012025_05_54_15_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/52/image_29012025_05_52_55_9424.jpg
/home/pi/Desktop/images/29012025/05/52/image_29012025_05_53_05_10348.jpg
/home/pi/Desktop/images/29012025/05/53/image_29012025_05_53_16_10357.jpg
/home/pi/Desktop/images/29012025/05/53/image_29012025_05_53_55_10361.jpg
/home/pi/Desktop/images/29012025/05/53/image_29012025_05_54_06_10374.jpg
/home/pi/Desktop/images/29012025/05/54/image_29012025_05_54_15_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":["1332539905","1332539902","1332539892","1332539886","1332539904","1332539897"],"photo_ids_order":["1332539886","1332539892","1332539897","1332539902","1332539904","1332539905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/901cd68c558606c4a54ddd9508d5e2d7.jpg","text":"TemporaryFile(/tmp/multipartBody4922123899480471746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126543063,"filename":"image_29012025_05_54_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/29/7a5e708bc3626c12664607655694e77d.jpg","text":"TemporaryFile(/tmp/multipartBody5207687142676682817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126543063,"filename":"image_29012025_05_53_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/29/273ad0774c494ab76b5d472329729a29.jpg","text":"TemporaryFile(/tmp/multipartBody7126821758915426615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126543063,"filename":"image_29012025_05_53_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/29/57f418ce423088912c3c984a539f4937.jpg","text":"TemporaryFile(/tmp/multipartBody1722343960591988500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126543063,"filename":"image_29012025_05_52_55_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/29/3378152d906aeae8beee163b82822c10.jpg","text":"TemporaryFile(/tmp/multipartBody3598964717049919012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126543063,"filename":"image_29012025_05_54_06_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/29/228171e8d7f2c5cba8102757bb867812.jpg","text":"TemporaryFile(/tmp/multipartBody6921925963273538420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126543063,"filename":"image_29012025_05_53_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332539897","file1":"1332539892","file0":"1332539886","file4":"1332539904","file5":"1332539905","file3":"1332539902"},"map_files_photo_id_array":[{"photo_id":"1332539905","filename":"file5"},{"photo_id":"1332539897","filename":"file2"},{"photo_id":"1332539904","filename":"file4"},{"photo_id":"1332539892","filename":"file1"},{"photo_id":"1332539886","filename":"file0"},{"photo_id":"1332539902","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332539905":["hashtag1","hashtag2"]},{"1332539902":["hashtag1","hashtag2"]},{"1332539892":["hashtag1","hashtag2"]},{"1332539886":["hashtag1","hashtag2"]},{"1332539904":["hashtag1","hashtag2"]},{"1332539897":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332539905, 1332539902, 1332539892, 1332539886, 1332539904, 1332539897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.001651763916016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:55:32.481550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/54/image_29012025_05_54_36_10346.jpg', '/home/pi/Desktop/images/29012025/05/54/image_29012025_05_54_56_10363.jpg', '/home/pi/Desktop/images/29012025/05/54/image_29012025_05_55_05_9421.jpg', '/home/pi/Desktop/images/29012025/05/55/image_29012025_05_55_15_10339.jpg', '/home/pi/Desktop/images/29012025/05/55/image_29012025_05_55_26_10438.jpg', '/home/pi/Desktop/images/29012025/05/55/image_29012025_05_55_35_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/54/image_29012025_05_54_36_10346.jpg
/home/pi/Desktop/images/29012025/05/54/image_29012025_05_54_56_10363.jpg
/home/pi/Desktop/images/29012025/05/54/image_29012025_05_55_05_9421.jpg
/home/pi/Desktop/images/29012025/05/55/image_29012025_05_55_15_10339.jpg
/home/pi/Desktop/images/29012025/05/55/image_29012025_05_55_26_10438.jpg
/home/pi/Desktop/images/29012025/05/55/image_29012025_05_55_35_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":["1332539978","1332539963","1332539966","1332539974","1332539970","1332539946"],"photo_ids_order":["1332539946","1332539963","1332539966","1332539970","1332539974","1332539978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dd86e053a5ee0835108bfbe23306003d.jpg","text":"TemporaryFile(/tmp/multipartBody7014454686566130800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126593396,"filename":"image_29012025_05_55_35_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/29/16ded17259242f8d081d8e7727a07886.jpg","text":"TemporaryFile(/tmp/multipartBody1774737224215682141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126593396,"filename":"image_29012025_05_54_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/29/1d6e9d432e155c25388be8a107286ab1.jpg","text":"TemporaryFile(/tmp/multipartBody4696694244161973465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126593396,"filename":"image_29012025_05_55_05_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/29/820ead0844b9adc55a53ece0b16b8b9d.jpg","text":"TemporaryFile(/tmp/multipartBody163762451854417293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126593396,"filename":"image_29012025_05_55_26_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/29/a932ac9ed9b114c6849fbd2feb13c33b.jpg","text":"TemporaryFile(/tmp/multipartBody9009367320661822688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126593396,"filename":"image_29012025_05_55_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/29/362322d4455909beb25befcb2d2365d0.jpg","text":"TemporaryFile(/tmp/multipartBody8736914705230351076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126593396,"filename":"image_29012025_05_54_36_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332539966","file1":"1332539963","file0":"1332539946","file4":"1332539974","file5":"1332539978","file3":"1332539970"},"map_files_photo_id_array":[{"photo_id":"1332539978","filename":"file5"},{"photo_id":"1332539966","filename":"file2"},{"photo_id":"1332539974","filename":"file4"},{"photo_id":"1332539963","filename":"file1"},{"photo_id":"1332539946","filename":"file0"},{"photo_id":"1332539970","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332539978":["hashtag1","hashtag2"]},{"1332539963":["hashtag1","hashtag2"]},{"1332539966":["hashtag1","hashtag2"]},{"1332539974":["hashtag1","hashtag2"]},{"1332539970":["hashtag1","hashtag2"]},{"1332539946":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332539978, 1332539963, 1332539966, 1332539974, 1332539970, 1332539946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.52775168418884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:56:32.577378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/55/image_29012025_05_55_46_10349.jpg', '/home/pi/Desktop/images/29012025/05/55/image_29012025_05_55_55_9442.jpg', '/home/pi/Desktop/images/29012025/05/55/image_29012025_05_56_05_10338.jpg', '/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_16_10337.jpg', '/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_25_9400.jpg', '/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_36_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/55/image_29012025_05_55_46_10349.jpg
/home/pi/Desktop/images/29012025/05/55/image_29012025_05_55_55_9442.jpg
/home/pi/Desktop/images/29012025/05/55/image_29012025_05_56_05_10338.jpg
/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_16_10337.jpg
/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_25_9400.jpg
/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_36_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":["1332540003","1332539998","1332540002","1332539994","1332539991","1332540001"],"photo_ids_order":["1332539991","1332539994","1332539998","1332540001","1332540002","1332540003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e2b52b4e29acc85b3c09b51a0dd67c2c.jpg","text":"TemporaryFile(/tmp/multipartBody1227146393475454863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126653496,"filename":"image_29012025_05_56_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/29/9eb1b74883cf38f6da3315806e824d95.jpg","text":"TemporaryFile(/tmp/multipartBody61290553941367867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126653496,"filename":"image_29012025_05_56_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/29/f01375de2a27e5dfd2891c4c36d902d6.jpg","text":"TemporaryFile(/tmp/multipartBody6058003481084597543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126653496,"filename":"image_29012025_05_56_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/29/f551205473f4f8b2270f6d919c178cc1.jpg","text":"TemporaryFile(/tmp/multipartBody382584150960913963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126653496,"filename":"image_29012025_05_55_55_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/29/14975b21dd2f9f0c1f0a7af336bf405f.jpg","text":"TemporaryFile(/tmp/multipartBody1991778677005275739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126653496,"filename":"image_29012025_05_55_46_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/29/260e11db726111f6cf99ea8786882807.jpg","text":"TemporaryFile(/tmp/multipartBody4660057261352412027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126653496,"filename":"image_29012025_05_56_16_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332539998","file1":"1332539994","file0":"1332539991","file4":"1332540002","file5":"1332540003","file3":"1332540001"},"map_files_photo_id_array":[{"photo_id":"1332540003","filename":"file5"},{"photo_id":"1332539998","filename":"file2"},{"photo_id":"1332540002","filename":"file4"},{"photo_id":"1332539994","filename":"file1"},{"photo_id":"1332539991","filename":"file0"},{"photo_id":"1332540001","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332540003":["hashtag1","hashtag2"]},{"1332539998":["hashtag1","hashtag2"]},{"1332540002":["hashtag1","hashtag2"]},{"1332539994":["hashtag1","hashtag2"]},{"1332539991":["hashtag1","hashtag2"]},{"1332540001":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332540003, 1332539998, 1332540002, 1332539994, 1332539991, 1332540001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2782244682312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 05:57:32.878469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_46_10362.jpg', '/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_55_9417.jpg', '/home/pi/Desktop/images/29012025/05/56/image_29012025_05_57_06_10336.jpg', '/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_15_9456.jpg', '/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_25_10378.jpg', '/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_46_10362.jpg
/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_55_9417.jpg
/home/pi/Desktop/images/29012025/05/56/image_29012025_05_57_06_10336.jpg
/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_15_9456.jpg
/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_25_10378.jpg
/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_45_9353.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-29 05:59:03.969958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_46_10362.jpg', '/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_55_9417.jpg', '/home/pi/Desktop/images/29012025/05/56/image_29012025_05_57_06_10336.jpg', '/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_15_9456.jpg', '/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_25_10378.jpg', '/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_46_10362.jpg
/home/pi/Desktop/images/29012025/05/56/image_29012025_05_56_55_9417.jpg
/home/pi/Desktop/images/29012025/05/56/image_29012025_05_57_06_10336.jpg
/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_15_9456.jpg
/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_25_10378.jpg
/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_45_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":["1332540056","1332540065","1332540044","1332540061","1332540052","1332540048"],"photo_ids_order":["1332540044","1332540048","1332540052","1332540056","1332540061","1332540065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e381c04bdf00e620b1bdfc7c46247fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3457498089031897274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126804968,"filename":"image_29012025_05_57_15_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/29/9c128d2f7cb5e4c992ef427565634dec.jpg","text":"TemporaryFile(/tmp/multipartBody1763875581865831194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126804968,"filename":"image_29012025_05_57_45_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/29/5ca1bf31b74b1c21a3cb7ef3570048f1.jpg","text":"TemporaryFile(/tmp/multipartBody8180974357885168377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126804968,"filename":"image_29012025_05_56_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/29/04cd46701b09a9631bb749c343db571c.jpg","text":"TemporaryFile(/tmp/multipartBody1156499738604472551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126804968,"filename":"image_29012025_05_57_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/29/69e71a6496dacb28c8b8b71f750dcf7f.jpg","text":"TemporaryFile(/tmp/multipartBody1620011100692017438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126804968,"filename":"image_29012025_05_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/29/e190d523b5317258a3d4590d00a2f5d1.jpg","text":"TemporaryFile(/tmp/multipartBody3700095218777171703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126804968,"filename":"image_29012025_05_56_55_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332540052","file1":"1332540048","file0":"1332540044","file4":"1332540061","file5":"1332540065","file3":"1332540056"},"map_files_photo_id_array":[{"photo_id":"1332540065","filename":"file5"},{"photo_id":"1332540052","filename":"file2"},{"photo_id":"1332540061","filename":"file4"},{"photo_id":"1332540048","filename":"file1"},{"photo_id":"1332540044","filename":"file0"},{"photo_id":"1332540056","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332540056":["hashtag1","hashtag2"]},{"1332540065":["hashtag1","hashtag2"]},{"1332540044":["hashtag1","hashtag2"]},{"1332540061":["hashtag1","hashtag2"]},{"1332540052":["hashtag1","hashtag2"]},{"1332540048":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332540056, 1332540065, 1332540044, 1332540061, 1332540052, 1332540048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.13148260116577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 05:59:52.241019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_55_10345.jpg', '/home/pi/Desktop/images/24012025/20/17/image_24012025_20_18_06_10359.jpg', '/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_16_9899.jpg', '/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_46_10352.jpg', '/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_55_9419.jpg', '/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_16_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_17_55_10345.jpg
/home/pi/Desktop/images/24012025/20/17/image_24012025_20_18_06_10359.jpg
/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_16_9899.jpg
/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_46_10352.jpg
/home/pi/Desktop/images/24012025/20/18/image_24012025_20_18_55_9419.jpg
/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_16_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":["1332540105","1332540107","1332540097","1332540101","1332540090","1332540093"],"photo_ids_order":["1332540090","1332540093","1332540097","1332540101","1332540105","1332540107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/56c2e9a845ee3fca2a507aba26b36df4.jpg","text":"TemporaryFile(/tmp/multipartBody4484328921959162115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126854392,"filename":"image_24012025_20_18_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/29/de4a1213520275f68421124f2879900a.jpg","text":"TemporaryFile(/tmp/multipartBody3850804164772447233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126854392,"filename":"image_24012025_20_19_16_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/29/b4f79aaac7eab1816ad668db7f7a0695.jpg","text":"TemporaryFile(/tmp/multipartBody4103284832018305775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126854392,"filename":"image_24012025_20_18_16_9899.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/76aff9cae1d9aa375d5188734cdfaca6.jpg","text":"TemporaryFile(/tmp/multipartBody500782590062834748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126854392,"filename":"image_24012025_20_18_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/29/559d32c105559d6ff9e4704806620245.jpg","text":"TemporaryFile(/tmp/multipartBody2038325686781488905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126854392,"filename":"image_24012025_20_17_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/29/513df3fca98b8954154d05c662fc4785.jpg","text":"TemporaryFile(/tmp/multipartBody8032255708002440263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126854392,"filename":"image_24012025_20_18_06_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332540097","file1":"1332540093","file0":"1332540090","file4":"1332540105","file5":"1332540107","file3":"1332540101"},"map_files_photo_id_array":[{"photo_id":"1332540107","filename":"file5"},{"photo_id":"1332540097","filename":"file2"},{"photo_id":"1332540105","filename":"file4"},{"photo_id":"1332540093","filename":"file1"},{"photo_id":"1332540090","filename":"file0"},{"photo_id":"1332540101","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332540105":["hashtag1","hashtag2"]},{"1332540107":["hashtag1","hashtag2"]},{"1332540097":["hashtag1","hashtag2"]},{"1332540101":["hashtag1","hashtag2"]},{"1332540090":["hashtag1","hashtag2"]},{"1332540093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332540105, 1332540107, 1332540097, 1332540101, 1332540090, 1332540093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75240731239319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:00:42.502677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_56_10375.jpg', '/home/pi/Desktop/images/29012025/05/57/image_29012025_05_58_06_10351.jpg', '/home/pi/Desktop/images/29012025/05/58/image_29012025_05_58_15_9426.jpg', '/home/pi/Desktop/images/29012025/05/58/image_29012025_05_58_26_10357.jpg', '/home/pi/Desktop/images/29012025/05/58/image_29012025_05_58_35_9371.jpg', '/home/pi/Desktop/images/29012025/05/58/image_29012025_05_58_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/57/image_29012025_05_57_56_10375.jpg
/home/pi/Desktop/images/29012025/05/57/image_29012025_05_58_06_10351.jpg
/home/pi/Desktop/images/29012025/05/58/image_29012025_05_58_15_9426.jpg
/home/pi/Desktop/images/29012025/05/58/image_29012025_05_58_26_10357.jpg
/home/pi/Desktop/images/29012025/05/58/image_29012025_05_58_35_9371.jpg
/home/pi/Desktop/images/29012025/05/58/image_29012025_05_58_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":["1332540887","1332540856","1332540718","1332540508","1332540369","1332540888"],"photo_ids_order":["1332540369","1332540508","1332540718","1332540856","1332540887","1332540888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8a34028bcf0549109b16c041c540cb65.jpg","text":"TemporaryFile(/tmp/multipartBody6004991361832428981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126903406,"filename":"image_29012025_05_58_35_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/29/d42263f8b6533468fb5cb5a21b26a019.jpg","text":"TemporaryFile(/tmp/multipartBody4023224612640710400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126903406,"filename":"image_29012025_05_58_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/29/e303b5afff830fc5c936822e56c3a2e2.jpg","text":"TemporaryFile(/tmp/multipartBody8270309131731614644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126903406,"filename":"image_29012025_05_58_15_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/29/7f3902fb96a2280894107bacf54ef1fb.jpg","text":"TemporaryFile(/tmp/multipartBody7156240371710168552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126903406,"filename":"image_29012025_05_58_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/29/7b7ee7908b8cd17d09a4b849c945705e.jpg","text":"TemporaryFile(/tmp/multipartBody7227817399797434335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126903406,"filename":"image_29012025_05_57_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/29/3b2a99d96bf99889bbe10e88e8c84e1a.jpg","text":"TemporaryFile(/tmp/multipartBody4729971748404301482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126903406,"filename":"image_29012025_05_58_45_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332540718","file1":"1332540508","file0":"1332540369","file4":"1332540887","file5":"1332540888","file3":"1332540856"},"map_files_photo_id_array":[{"photo_id":"1332540888","filename":"file5"},{"photo_id":"1332540718","filename":"file2"},{"photo_id":"1332540887","filename":"file4"},{"photo_id":"1332540508","filename":"file1"},{"photo_id":"1332540369","filename":"file0"},{"photo_id":"1332540856","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332540887":["hashtag1","hashtag2"]},{"1332540856":["hashtag1","hashtag2"]},{"1332540718":["hashtag1","hashtag2"]},{"1332540508":["hashtag1","hashtag2"]},{"1332540369":["hashtag1","hashtag2"]},{"1332540888":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332540887, 1332540856, 1332540718, 1332540508, 1332540369, 1332540888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.668018102645874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:01:42.679511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/05/58/image_29012025_05_58_56_10379.jpg', '/home/pi/Desktop/images/29012025/05/58/image_29012025_05_59_05_9431.jpg', '/home/pi/Desktop/images/29012025/05/59/image_29012025_05_59_16_10340.jpg', '/home/pi/Desktop/images/29012025/05/59/image_29012025_05_59_26_10361.jpg', '/home/pi/Desktop/images/29012025/05/59/image_29012025_05_59_35_9462.jpg', '/home/pi/Desktop/images/29012025/05/59/image_29012025_05_59_46_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/05/58/image_29012025_05_58_56_10379.jpg
/home/pi/Desktop/images/29012025/05/58/image_29012025_05_59_05_9431.jpg
/home/pi/Desktop/images/29012025/05/59/image_29012025_05_59_16_10340.jpg
/home/pi/Desktop/images/29012025/05/59/image_29012025_05_59_26_10361.jpg
/home/pi/Desktop/images/29012025/05/59/image_29012025_05_59_35_9462.jpg
/home/pi/Desktop/images/29012025/05/59/image_29012025_05_59_46_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":["1332541144","1332541123","1332540955","1332541152","1332541079","1332541017"],"photo_ids_order":["1332540955","1332541017","1332541079","1332541123","1332541144","1332541152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/544d513d1b996e51c8af8746c43fc8df.jpg","text":"TemporaryFile(/tmp/multipartBody924344801270171956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126963585,"filename":"image_29012025_05_59_35_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/29/e1339b5d36c984c8193dfbcef69b2203.jpg","text":"TemporaryFile(/tmp/multipartBody3291029272086217834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126963585,"filename":"image_29012025_05_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/29/e80504314a02c805ca521ad6a7fc69f2.jpg","text":"TemporaryFile(/tmp/multipartBody851881237933007491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126963585,"filename":"image_29012025_05_58_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/29/4070e91420278538f3c3dfec9c9cfcac.jpg","text":"TemporaryFile(/tmp/multipartBody6441693215117966006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126963585,"filename":"image_29012025_05_59_46_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/29/ced63b8bdff6539f65737ef4e3f6bd00.jpg","text":"TemporaryFile(/tmp/multipartBody9094027075745044938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126963585,"filename":"image_29012025_05_59_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/29/1e5cc99b2b387fa0d74489cae77c013a.jpg","text":"TemporaryFile(/tmp/multipartBody3829706533698883871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738126963585,"filename":"image_29012025_05_59_05_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332541079","file1":"1332541017","file0":"1332540955","file4":"1332541144","file5":"1332541152","file3":"1332541123"},"map_files_photo_id_array":[{"photo_id":"1332541152","filename":"file5"},{"photo_id":"1332541079","filename":"file2"},{"photo_id":"1332541144","filename":"file4"},{"photo_id":"1332541017","filename":"file1"},{"photo_id":"1332540955","filename":"file0"},{"photo_id":"1332541123","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332541144":["hashtag1","hashtag2"]},{"1332541123":["hashtag1","hashtag2"]},{"1332540955":["hashtag1","hashtag2"]},{"1332541152":["hashtag1","hashtag2"]},{"1332541079":["hashtag1","hashtag2"]},{"1332541017":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332541144, 1332541123, 1332540955, 1332541152, 1332541079, 1332541017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.33928942680359 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:02:32.913325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/00/image_29012025_06_00_15_10075.jpg', '/home/pi/Desktop/images/29012025/06/00/image_29012025_06_00_36_10415.jpg', '/home/pi/Desktop/images/29012025/06/00/image_29012025_06_00_56_10344.jpg', '/home/pi/Desktop/images/29012025/06/00/image_29012025_06_01_05_9410.jpg', '/home/pi/Desktop/images/29012025/06/01/image_29012025_06_01_16_10354.jpg', '/home/pi/Desktop/images/29012025/06/01/image_29012025_06_01_26_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/00/image_29012025_06_00_15_10075.jpg
/home/pi/Desktop/images/29012025/06/00/image_29012025_06_00_36_10415.jpg
/home/pi/Desktop/images/29012025/06/00/image_29012025_06_00_56_10344.jpg
/home/pi/Desktop/images/29012025/06/00/image_29012025_06_01_05_9410.jpg
/home/pi/Desktop/images/29012025/06/01/image_29012025_06_01_16_10354.jpg
/home/pi/Desktop/images/29012025/06/01/image_29012025_06_01_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":["1332541697","1332541651","1332541636","1332541695","1332541691","1332541493"],"photo_ids_order":["1332541493","1332541636","1332541651","1332541691","1332541695","1332541697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d3434cc3876825182e0b081831f97b55.jpg","text":"TemporaryFile(/tmp/multipartBody47149213914704362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127013820,"filename":"image_29012025_06_01_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/29/0e21d1c1b48cb659b96deceb6139e58a.jpg","text":"TemporaryFile(/tmp/multipartBody2431539777852240456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127013820,"filename":"image_29012025_06_00_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/29/dad0d8715b45c65f9e8a5b1fa5b36397.jpg","text":"TemporaryFile(/tmp/multipartBody2006965744205710762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127013820,"filename":"image_29012025_06_00_36_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/29/999c6f344aeeef91a54b0c2d99602ec5.jpg","text":"TemporaryFile(/tmp/multipartBody424941948085623792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127013820,"filename":"image_29012025_06_01_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/29/fafae8fdd537edccb73d3e189e067f73.jpg","text":"TemporaryFile(/tmp/multipartBody3167823219757675360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127013820,"filename":"image_29012025_06_01_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/29/03dad286c958bebf7d73ddeb1b7f2a09.jpg","text":"TemporaryFile(/tmp/multipartBody8419717825470618664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127013820,"filename":"image_29012025_06_00_15_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332541651","file1":"1332541636","file0":"1332541493","file4":"1332541695","file5":"1332541697","file3":"1332541691"},"map_files_photo_id_array":[{"photo_id":"1332541697","filename":"file5"},{"photo_id":"1332541651","filename":"file2"},{"photo_id":"1332541695","filename":"file4"},{"photo_id":"1332541636","filename":"file1"},{"photo_id":"1332541493","filename":"file0"},{"photo_id":"1332541691","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332541697":["hashtag1","hashtag2"]},{"1332541651":["hashtag1","hashtag2"]},{"1332541636":["hashtag1","hashtag2"]},{"1332541695":["hashtag1","hashtag2"]},{"1332541691":["hashtag1","hashtag2"]},{"1332541493":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332541697, 1332541651, 1332541636, 1332541695, 1332541691, 1332541493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.22785210609436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:03:34.068521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/01/image_29012025_06_01_35_9359.jpg', '/home/pi/Desktop/images/29012025/06/01/image_29012025_06_01_46_10340.jpg', '/home/pi/Desktop/images/29012025/06/01/image_29012025_06_01_56_10364.jpg', '/home/pi/Desktop/images/29012025/06/02/image_29012025_06_02_16_10328.jpg', '/home/pi/Desktop/images/29012025/06/02/image_29012025_06_02_26_10435.jpg', '/home/pi/Desktop/images/29012025/06/02/image_29012025_06_02_36_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/01/image_29012025_06_01_35_9359.jpg
/home/pi/Desktop/images/29012025/06/01/image_29012025_06_01_46_10340.jpg
/home/pi/Desktop/images/29012025/06/01/image_29012025_06_01_56_10364.jpg
/home/pi/Desktop/images/29012025/06/02/image_29012025_06_02_16_10328.jpg
/home/pi/Desktop/images/29012025/06/02/image_29012025_06_02_26_10435.jpg
/home/pi/Desktop/images/29012025/06/02/image_29012025_06_02_36_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":["1332541805","1332541808","1332541810","1332541807","1332541800","1332541803"],"photo_ids_order":["1332541800","1332541803","1332541805","1332541807","1332541808","1332541810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/58b9efe1da7c6052b4549c341f648660.jpg","text":"TemporaryFile(/tmp/multipartBody8638343967446853852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127074979,"filename":"image_29012025_06_01_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/29/0b0aa625d6dc4d00c9a4081d25b0858d.jpg","text":"TemporaryFile(/tmp/multipartBody5226554099388869102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127074979,"filename":"image_29012025_06_02_26_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/29/703c7aa2770c74c814b8ec5a73eddd0a.jpg","text":"TemporaryFile(/tmp/multipartBody4649166004410746782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127074979,"filename":"image_29012025_06_02_36_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/29/a05dfb30e0e39183b805adda0838acdf.jpg","text":"TemporaryFile(/tmp/multipartBody488616692757241087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127074979,"filename":"image_29012025_06_02_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/29/0fb4113191d9172ed4e8437f529547fc.jpg","text":"TemporaryFile(/tmp/multipartBody3280112303458567530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127074979,"filename":"image_29012025_06_01_35_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/29/6e2980c849a7ba9e524e771819a32204.jpg","text":"TemporaryFile(/tmp/multipartBody1316356867131649541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127074979,"filename":"image_29012025_06_01_46_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332541805","file1":"1332541803","file0":"1332541800","file4":"1332541808","file5":"1332541810","file3":"1332541807"},"map_files_photo_id_array":[{"photo_id":"1332541810","filename":"file5"},{"photo_id":"1332541805","filename":"file2"},{"photo_id":"1332541808","filename":"file4"},{"photo_id":"1332541803","filename":"file1"},{"photo_id":"1332541800","filename":"file0"},{"photo_id":"1332541807","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332541805":["hashtag1","hashtag2"]},{"1332541808":["hashtag1","hashtag2"]},{"1332541810":["hashtag1","hashtag2"]},{"1332541807":["hashtag1","hashtag2"]},{"1332541800":["hashtag1","hashtag2"]},{"1332541803":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332541805, 1332541808, 1332541810, 1332541807, 1332541800, 1332541803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.32676339149475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:04:33.074655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/02/image_29012025_06_02_46_10354.jpg', '/home/pi/Desktop/images/29012025/06/02/image_29012025_06_02_55_9367.jpg', '/home/pi/Desktop/images/29012025/06/03/image_29012025_06_03_25_9347.jpg', '/home/pi/Desktop/images/29012025/06/03/image_29012025_06_03_36_10504.jpg', '/home/pi/Desktop/images/29012025/06/03/image_29012025_06_03_46_10372.jpg', '/home/pi/Desktop/images/29012025/06/04/image_29012025_06_04_15_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/02/image_29012025_06_02_46_10354.jpg
/home/pi/Desktop/images/29012025/06/02/image_29012025_06_02_55_9367.jpg
/home/pi/Desktop/images/29012025/06/03/image_29012025_06_03_25_9347.jpg
/home/pi/Desktop/images/29012025/06/03/image_29012025_06_03_36_10504.jpg
/home/pi/Desktop/images/29012025/06/03/image_29012025_06_03_46_10372.jpg
/home/pi/Desktop/images/29012025/06/04/image_29012025_06_04_15_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":["1332541823","1332542182","1332542511","1332542010","1332541883","1332542324"],"photo_ids_order":["1332541823","1332541883","1332542010","1332542182","1332542324","1332542511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ddc904240b737ae1b16eca9c6fee14c5.jpg","text":"TemporaryFile(/tmp/multipartBody2454245195183125450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127134008,"filename":"image_29012025_06_02_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/29/a6118a70deb8fa0fd84b72f7f389b62a.jpg","text":"TemporaryFile(/tmp/multipartBody6808911420246070085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127134008,"filename":"image_29012025_06_03_36_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/29/73000ec047c1f8133fb631e906bc646f.jpg","text":"TemporaryFile(/tmp/multipartBody4331493388187177538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127134008,"filename":"image_29012025_06_04_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/29/12aa194ec2e48a524347da593d6db046.jpg","text":"TemporaryFile(/tmp/multipartBody5825664737518437442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127134008,"filename":"image_29012025_06_03_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/29/fce58129db677b7924f3124a4a421a75.jpg","text":"TemporaryFile(/tmp/multipartBody5896604277192766172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127134008,"filename":"image_29012025_06_02_55_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/29/f63ab6272d666ae3e090cb23ae5d5b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1129887449150774122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127134008,"filename":"image_29012025_06_03_46_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332542010","file1":"1332541883","file0":"1332541823","file4":"1332542324","file5":"1332542511","file3":"1332542182"},"map_files_photo_id_array":[{"photo_id":"1332542511","filename":"file5"},{"photo_id":"1332542010","filename":"file2"},{"photo_id":"1332542324","filename":"file4"},{"photo_id":"1332541883","filename":"file1"},{"photo_id":"1332541823","filename":"file0"},{"photo_id":"1332542182","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332541823":["hashtag1","hashtag2"]},{"1332542182":["hashtag1","hashtag2"]},{"1332542511":["hashtag1","hashtag2"]},{"1332542010":["hashtag1","hashtag2"]},{"1332541883":["hashtag1","hashtag2"]},{"1332542324":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332541823, 1332542182, 1332542511, 1332542010, 1332541883, 1332542324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.3804817199707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:05:32.216117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/04/image_29012025_06_04_26_10365.jpg', '/home/pi/Desktop/images/29012025/06/04/image_29012025_06_04_45_9355.jpg', '/home/pi/Desktop/images/29012025/06/04/image_29012025_06_04_56_10343.jpg', '/home/pi/Desktop/images/29012025/06/04/image_29012025_06_05_06_10400.jpg', '/home/pi/Desktop/images/29012025/06/05/image_29012025_06_05_16_9422.jpg', '/home/pi/Desktop/images/29012025/06/05/image_29012025_06_05_26_10476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/04/image_29012025_06_04_26_10365.jpg
/home/pi/Desktop/images/29012025/06/04/image_29012025_06_04_45_9355.jpg
/home/pi/Desktop/images/29012025/06/04/image_29012025_06_04_56_10343.jpg
/home/pi/Desktop/images/29012025/06/04/image_29012025_06_05_06_10400.jpg
/home/pi/Desktop/images/29012025/06/05/image_29012025_06_05_16_9422.jpg
/home/pi/Desktop/images/29012025/06/05/image_29012025_06_05_26_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":["1332542815","1332542799","1332542803","1332542811","1332542808","1332542813"],"photo_ids_order":["1332542799","1332542803","1332542808","1332542811","1332542813","1332542815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/edab4d3f20ac359ecd1d07dbee9e66b6.jpg","text":"TemporaryFile(/tmp/multipartBody2113047350923692107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127193132,"filename":"image_29012025_06_05_26_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/29/a7d40b3f24d2ef024070be278cef5b08.jpg","text":"TemporaryFile(/tmp/multipartBody122735867863772235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127193132,"filename":"image_29012025_06_04_26_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/29/8353a5ac5daa38360f15788d2db90997.jpg","text":"TemporaryFile(/tmp/multipartBody4167876370887917327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127193132,"filename":"image_29012025_06_04_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/29/98120ad507ea7caf5cc8ca102e6bca4c.jpg","text":"TemporaryFile(/tmp/multipartBody3394969041230269118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127193132,"filename":"image_29012025_06_05_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/29/d094dabbaa3a5ebac2406c21d043a569.jpg","text":"TemporaryFile(/tmp/multipartBody33456218066052316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127193132,"filename":"image_29012025_06_04_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/29/f1767ebe9b189ec7ce69fc46e46e6bb1.jpg","text":"TemporaryFile(/tmp/multipartBody7794138260694255268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127193132,"filename":"image_29012025_06_05_16_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332542808","file1":"1332542803","file0":"1332542799","file4":"1332542813","file5":"1332542815","file3":"1332542811"},"map_files_photo_id_array":[{"photo_id":"1332542815","filename":"file5"},{"photo_id":"1332542808","filename":"file2"},{"photo_id":"1332542813","filename":"file4"},{"photo_id":"1332542803","filename":"file1"},{"photo_id":"1332542799","filename":"file0"},{"photo_id":"1332542811","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332542815":["hashtag1","hashtag2"]},{"1332542799":["hashtag1","hashtag2"]},{"1332542803":["hashtag1","hashtag2"]},{"1332542811":["hashtag1","hashtag2"]},{"1332542808":["hashtag1","hashtag2"]},{"1332542813":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332542815, 1332542799, 1332542803, 1332542811, 1332542808, 1332542813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.636630058288574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:06:32.579448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/05/image_29012025_06_05_35_9345.jpg', '/home/pi/Desktop/images/29012025/06/05/image_29012025_06_05_55_9442.jpg', '/home/pi/Desktop/images/29012025/06/05/image_29012025_06_06_06_10431.jpg', '/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_16_10447.jpg', '/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_26_9358.jpg', '/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_36_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/05/image_29012025_06_05_35_9345.jpg
/home/pi/Desktop/images/29012025/06/05/image_29012025_06_05_55_9442.jpg
/home/pi/Desktop/images/29012025/06/05/image_29012025_06_06_06_10431.jpg
/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_16_10447.jpg
/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_26_9358.jpg
/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_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":["1332543166","1332543145","1332543099","1332543161","1332543164","1332543158"],"photo_ids_order":["1332543099","1332543145","1332543158","1332543161","1332543164","1332543166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/868f2e23643fb62fbdae0f92939d0c42.jpg","text":"TemporaryFile(/tmp/multipartBody3370566416065679809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127253497,"filename":"image_29012025_06_06_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/29/5824eef104d3c63c2d31b5d627ceedad.jpg","text":"TemporaryFile(/tmp/multipartBody648263685036080334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127253497,"filename":"image_29012025_06_05_55_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/29/b98b6e419c2de200dfb2355eba5d1f74.jpg","text":"TemporaryFile(/tmp/multipartBody4063479001571481825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127253497,"filename":"image_29012025_06_05_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/29/e740746d24910d41fe521d9a12a21e34.jpg","text":"TemporaryFile(/tmp/multipartBody4252488708544213465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127253497,"filename":"image_29012025_06_06_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/29/8ed6ad1483dbae5f0784bc6c51f30cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1109638593318205040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127253497,"filename":"image_29012025_06_06_26_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/29/4891d9a028874d4bb44a92b681fdcb53.jpg","text":"TemporaryFile(/tmp/multipartBody58186313353819614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127253497,"filename":"image_29012025_06_06_06_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332543158","file1":"1332543145","file0":"1332543099","file4":"1332543164","file5":"1332543166","file3":"1332543161"},"map_files_photo_id_array":[{"photo_id":"1332543166","filename":"file5"},{"photo_id":"1332543158","filename":"file2"},{"photo_id":"1332543164","filename":"file4"},{"photo_id":"1332543145","filename":"file1"},{"photo_id":"1332543099","filename":"file0"},{"photo_id":"1332543161","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332543166":["hashtag1","hashtag2"]},{"1332543145":["hashtag1","hashtag2"]},{"1332543099":["hashtag1","hashtag2"]},{"1332543161":["hashtag1","hashtag2"]},{"1332543164":["hashtag1","hashtag2"]},{"1332543158":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332543166, 1332543145, 1332543099, 1332543161, 1332543164, 1332543158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17226004600525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:07:32.830983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_46_10359.jpg', '/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_56_9365.jpg', '/home/pi/Desktop/images/29012025/06/06/image_29012025_06_07_06_10358.jpg', '/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_15_9431.jpg', '/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_26_10367.jpg', '/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_36_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_46_10359.jpg
/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_56_9365.jpg
/home/pi/Desktop/images/29012025/06/06/image_29012025_06_07_06_10358.jpg
/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_15_9431.jpg
/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_26_10367.jpg
/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_36_10466.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.513594388961792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:07:42.822923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_46_10359.jpg', '/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_56_9365.jpg', '/home/pi/Desktop/images/29012025/06/06/image_29012025_06_07_06_10358.jpg', '/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_15_9431.jpg', '/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_26_10367.jpg', '/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_36_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_46_10359.jpg
/home/pi/Desktop/images/29012025/06/06/image_29012025_06_06_56_9365.jpg
/home/pi/Desktop/images/29012025/06/06/image_29012025_06_07_06_10358.jpg
/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_15_9431.jpg
/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_26_10367.jpg
/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_36_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332543181","1332543192","1332543237","1332543228","1332543213","1332543209"],"photo_ids_order":["1332543181","1332543192","1332543209","1332543213","1332543228","1332543237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cbb56bda6adedd18d1fc9f3f3f166390.jpg","text":"TemporaryFile(/tmp/multipartBody1625703495723542865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127323730,"filename":"image_29012025_06_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/29/43bac05da61199789099719bbd858396.jpg","text":"TemporaryFile(/tmp/multipartBody2046607118096550146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127323730,"filename":"image_29012025_06_06_56_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/29/f88950fc578df80fc20d0e23b3beed43.jpg","text":"TemporaryFile(/tmp/multipartBody8067870203965278143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127323730,"filename":"image_29012025_06_07_36_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/29/0edee603c5d63d7ee1e34ffa734d8879.jpg","text":"TemporaryFile(/tmp/multipartBody8713813455889554966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127323730,"filename":"image_29012025_06_07_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/29/388690d6eac70faa3fdd1b25dba765dc.jpg","text":"TemporaryFile(/tmp/multipartBody7942607575352463401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127323730,"filename":"image_29012025_06_07_15_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/29/5f329c56d1f91932abc0e7b662be1c32.jpg","text":"TemporaryFile(/tmp/multipartBody5280345682102866447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127323730,"filename":"image_29012025_06_07_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332543209","file1":"1332543192","file0":"1332543181","file4":"1332543228","file5":"1332543237","file3":"1332543213"},"map_files_photo_id_array":[{"photo_id":"1332543237","filename":"file5"},{"photo_id":"1332543209","filename":"file2"},{"photo_id":"1332543228","filename":"file4"},{"photo_id":"1332543192","filename":"file1"},{"photo_id":"1332543181","filename":"file0"},{"photo_id":"1332543213","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332543181":["hashtag1","hashtag2"]},{"1332543192":["hashtag1","hashtag2"]},{"1332543237":["hashtag1","hashtag2"]},{"1332543228":["hashtag1","hashtag2"]},{"1332543213":["hashtag1","hashtag2"]},{"1332543209":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332543181, 1332543192, 1332543237, 1332543228, 1332543213, 1332543209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.758589029312134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:08:32.863135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_46_9346.jpg', '/home/pi/Desktop/images/29012025/06/08/image_29012025_06_08_16_10334.jpg', '/home/pi/Desktop/images/29012025/06/08/image_29012025_06_08_26_10492.jpg', '/home/pi/Desktop/images/29012025/06/08/image_29012025_06_08_36_9338.jpg', '/home/pi/Desktop/images/29012025/06/08/image_29012025_06_08_46_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/07/image_29012025_06_07_46_9346.jpg
/home/pi/Desktop/images/29012025/06/08/image_29012025_06_08_16_10334.jpg
/home/pi/Desktop/images/29012025/06/08/image_29012025_06_08_26_10492.jpg
/home/pi/Desktop/images/29012025/06/08/image_29012025_06_08_36_9338.jpg
/home/pi/Desktop/images/29012025/06/08/image_29012025_06_08_46_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":["1332543310","1332543312","1332543321","1332543317","1332543314"],"photo_ids_order":["1332543310","1332543312","1332543314","1332543317","1332543321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5428ee68f9ec2ffdf2641ddaaa9c5ed5.jpg","text":"TemporaryFile(/tmp/multipartBody8026136225337060837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127373773,"filename":"image_29012025_06_07_46_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/29/e95f6c7f064d40d8c762b664e1d63e0d.jpg","text":"TemporaryFile(/tmp/multipartBody7542626381387333102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127373773,"filename":"image_29012025_06_08_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/29/bb90d2705e0a16107b182b86d9bec3f2.jpg","text":"TemporaryFile(/tmp/multipartBody6078221293875005075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127373773,"filename":"image_29012025_06_08_46_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/29/94759183cb19a59b2c8ff503e58bf51f.jpg","text":"TemporaryFile(/tmp/multipartBody761491479156408628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127373773,"filename":"image_29012025_06_08_36_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/29/d0cc6cf4e7551ddb79e04a99c2c28b61.jpg","text":"TemporaryFile(/tmp/multipartBody8997559006987750803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127373773,"filename":"image_29012025_06_08_26_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332543314","file1":"1332543312","file0":"1332543310","file4":"1332543321","file3":"1332543317"},"map_files_photo_id_array":[{"photo_id":"1332543314","filename":"file2"},{"photo_id":"1332543321","filename":"file4"},{"photo_id":"1332543312","filename":"file1"},{"photo_id":"1332543310","filename":"file0"},{"photo_id":"1332543317","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332543310":["hashtag1","hashtag2"]},{"1332543312":["hashtag1","hashtag2"]},{"1332543321":["hashtag1","hashtag2"]},{"1332543317":["hashtag1","hashtag2"]},{"1332543314":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332543310, 1332543312, 1332543321, 1332543317, 1332543314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.87669253349304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:09:33.042046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/08/image_29012025_06_08_55_9357.jpg', '/home/pi/Desktop/images/29012025/06/08/image_29012025_06_09_06_10358.jpg', '/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_16_10367.jpg', '/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_25_9346.jpg', '/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_36_10339.jpg', '/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_46_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/08/image_29012025_06_08_55_9357.jpg
/home/pi/Desktop/images/29012025/06/08/image_29012025_06_09_06_10358.jpg
/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_16_10367.jpg
/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_25_9346.jpg
/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_36_10339.jpg
/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_46_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":["1332543370","1332543358","1332543367","1332543361","1332543354","1332543365"],"photo_ids_order":["1332543354","1332543358","1332543361","1332543365","1332543367","1332543370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/190db1442d690f8adb0465a0c2b4be03.jpg","text":"TemporaryFile(/tmp/multipartBody6878630685319590766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127433945,"filename":"image_29012025_06_09_46_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/29/02305e94dff72cca1ac0b6220149b74d.jpg","text":"TemporaryFile(/tmp/multipartBody9057316558638423339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127433945,"filename":"image_29012025_06_09_06_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/29/6510e4f0ebb4ff129a095e5545c3a8e6.jpg","text":"TemporaryFile(/tmp/multipartBody1177854182307084248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127433945,"filename":"image_29012025_06_09_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/29/0653d222b1bfd5003ed52c18cc754027.jpg","text":"TemporaryFile(/tmp/multipartBody7516071115344091854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127433945,"filename":"image_29012025_06_09_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/29/d778c759ff0edab34f28cbe2ce71d10a.jpg","text":"TemporaryFile(/tmp/multipartBody5937826522725498101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127433945,"filename":"image_29012025_06_08_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/29/318a4602ab03ca0ec0278b2487c61ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7039274475764407400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127433945,"filename":"image_29012025_06_09_25_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332543361","file1":"1332543358","file0":"1332543354","file4":"1332543367","file5":"1332543370","file3":"1332543365"},"map_files_photo_id_array":[{"photo_id":"1332543370","filename":"file5"},{"photo_id":"1332543361","filename":"file2"},{"photo_id":"1332543367","filename":"file4"},{"photo_id":"1332543358","filename":"file1"},{"photo_id":"1332543354","filename":"file0"},{"photo_id":"1332543365","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332543370":["hashtag1","hashtag2"]},{"1332543358":["hashtag1","hashtag2"]},{"1332543367":["hashtag1","hashtag2"]},{"1332543361":["hashtag1","hashtag2"]},{"1332543354":["hashtag1","hashtag2"]},{"1332543365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332543370, 1332543358, 1332543367, 1332543361, 1332543354, 1332543365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.77325487136841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:10:32.164091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_56_9401.jpg', '/home/pi/Desktop/images/29012025/06/09/image_29012025_06_10_06_10396.jpg', '/home/pi/Desktop/images/29012025/06/10/image_29012025_06_10_26_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_56_9401.jpg
/home/pi/Desktop/images/29012025/06/09/image_29012025_06_10_06_10396.jpg
/home/pi/Desktop/images/29012025/06/10/image_29012025_06_10_26_10365.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.47652673721313477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:10:42.178142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_56_9401.jpg', '/home/pi/Desktop/images/29012025/06/09/image_29012025_06_10_06_10396.jpg', '/home/pi/Desktop/images/29012025/06/10/image_29012025_06_10_26_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/09/image_29012025_06_09_56_9401.jpg
/home/pi/Desktop/images/29012025/06/09/image_29012025_06_10_06_10396.jpg
/home/pi/Desktop/images/29012025/06/10/image_29012025_06_10_26_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332543645","1332543683","1332543662"],"photo_ids_order":["1332543645","1332543662","1332543683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d320cfebe8933f707b70863c69712299.jpg","text":"TemporaryFile(/tmp/multipartBody4418041350049649499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127503058,"filename":"image_29012025_06_09_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/29/2bb388f3bdf26018fc7d9fd5df920d8d.jpg","text":"TemporaryFile(/tmp/multipartBody3845195019616670676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127503058,"filename":"image_29012025_06_10_26_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/29/1bf7912f3f119aba99e064946ee1a544.jpg","text":"TemporaryFile(/tmp/multipartBody3076304886175629627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127503058,"filename":"image_29012025_06_10_06_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332543683","file1":"1332543662","file0":"1332543645"},"map_files_photo_id_array":[{"photo_id":"1332543683","filename":"file2"},{"photo_id":"1332543662","filename":"file1"},{"photo_id":"1332543645","filename":"file0"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332543645":["hashtag1","hashtag2"]},{"1332543683":["hashtag1","hashtag2"]},{"1332543662":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332543645, 1332543683, 1332543662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 28.57776188850403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:11:32.509781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/10/image_29012025_06_10_45_9337.jpg', '/home/pi/Desktop/images/29012025/06/10/image_29012025_06_11_05_9420.jpg', '/home/pi/Desktop/images/29012025/06/11/image_29012025_06_11_16_10355.jpg', '/home/pi/Desktop/images/29012025/06/11/image_29012025_06_11_35_9343.jpg', '/home/pi/Desktop/images/29012025/06/11/image_29012025_06_11_46_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/10/image_29012025_06_10_45_9337.jpg
/home/pi/Desktop/images/29012025/06/10/image_29012025_06_11_05_9420.jpg
/home/pi/Desktop/images/29012025/06/11/image_29012025_06_11_16_10355.jpg
/home/pi/Desktop/images/29012025/06/11/image_29012025_06_11_35_9343.jpg
/home/pi/Desktop/images/29012025/06/11/image_29012025_06_11_46_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":["1332543843","1332543792","1332543723","1332543872","1332543865"],"photo_ids_order":["1332543723","1332543792","1332543843","1332543865","1332543872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7534679d2e9499e670c7e72858721b2e.jpg","text":"TemporaryFile(/tmp/multipartBody7711812459474115786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127553394,"filename":"image_29012025_06_11_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/29/0ef91085849a7a906a7ef52320ced6e3.jpg","text":"TemporaryFile(/tmp/multipartBody4345936261898801489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127553394,"filename":"image_29012025_06_11_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/29/8a88d8c93b9f0751e0ef25552d28c81f.jpg","text":"TemporaryFile(/tmp/multipartBody4813326942442764151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127553394,"filename":"image_29012025_06_10_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/29/85d83307cc2b01ace493b75b6b39642f.jpg","text":"TemporaryFile(/tmp/multipartBody7475897329280565748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127553394,"filename":"image_29012025_06_11_46_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/29/1d2e672e489d36d2595d01c85d257570.jpg","text":"TemporaryFile(/tmp/multipartBody2371834530572117984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127553394,"filename":"image_29012025_06_11_35_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332543843","file1":"1332543792","file0":"1332543723","file4":"1332543872","file3":"1332543865"},"map_files_photo_id_array":[{"photo_id":"1332543843","filename":"file2"},{"photo_id":"1332543872","filename":"file4"},{"photo_id":"1332543792","filename":"file1"},{"photo_id":"1332543723","filename":"file0"},{"photo_id":"1332543865","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332543843":["hashtag1","hashtag2"]},{"1332543792":["hashtag1","hashtag2"]},{"1332543723":["hashtag1","hashtag2"]},{"1332543872":["hashtag1","hashtag2"]},{"1332543865":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332543843, 1332543792, 1332543723, 1332543872, 1332543865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.05297827720642 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:12:32.704574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/11/image_29012025_06_11_56_10408.jpg', '/home/pi/Desktop/images/29012025/06/11/image_29012025_06_12_06_9337.jpg', '/home/pi/Desktop/images/29012025/06/12/image_29012025_06_12_16_10329.jpg', '/home/pi/Desktop/images/29012025/06/12/image_29012025_06_12_25_9414.jpg', '/home/pi/Desktop/images/29012025/06/12/image_29012025_06_12_36_10357.jpg', '/home/pi/Desktop/images/29012025/06/12/image_29012025_06_12_46_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/11/image_29012025_06_11_56_10408.jpg
/home/pi/Desktop/images/29012025/06/11/image_29012025_06_12_06_9337.jpg
/home/pi/Desktop/images/29012025/06/12/image_29012025_06_12_16_10329.jpg
/home/pi/Desktop/images/29012025/06/12/image_29012025_06_12_25_9414.jpg
/home/pi/Desktop/images/29012025/06/12/image_29012025_06_12_36_10357.jpg
/home/pi/Desktop/images/29012025/06/12/image_29012025_06_12_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":["1332543889","1332543901","1332543891","1332543893","1332543895","1332543898"],"photo_ids_order":["1332543889","1332543891","1332543893","1332543895","1332543898","1332543901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/483a0ac5eff9b86cb2aaae1290c1dd9f.jpg","text":"TemporaryFile(/tmp/multipartBody4969830303038621692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127613613,"filename":"image_29012025_06_11_56_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/29/5fe27b805ac83fa61e20064d8ab041e0.jpg","text":"TemporaryFile(/tmp/multipartBody6276973676541727237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127613613,"filename":"image_29012025_06_12_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/29/099fc559f5e5c94fa848b8db40ef5b85.jpg","text":"TemporaryFile(/tmp/multipartBody8563621016128948979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127613613,"filename":"image_29012025_06_12_06_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/29/c6168301b23b8651799ef57feeff6ca6.jpg","text":"TemporaryFile(/tmp/multipartBody4961946661405507238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127613613,"filename":"image_29012025_06_12_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/29/0c61bbbc8b06cbed859ba23ab2745326.jpg","text":"TemporaryFile(/tmp/multipartBody8118518024913729139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127613613,"filename":"image_29012025_06_12_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/29/8c5bec7aec0be3bb8f8adcc604e71c3c.jpg","text":"TemporaryFile(/tmp/multipartBody244460827832340122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127613613,"filename":"image_29012025_06_12_36_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332543893","file1":"1332543891","file0":"1332543889","file4":"1332543898","file5":"1332543901","file3":"1332543895"},"map_files_photo_id_array":[{"photo_id":"1332543901","filename":"file5"},{"photo_id":"1332543893","filename":"file2"},{"photo_id":"1332543898","filename":"file4"},{"photo_id":"1332543891","filename":"file1"},{"photo_id":"1332543889","filename":"file0"},{"photo_id":"1332543895","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332543889":["hashtag1","hashtag2"]},{"1332543901":["hashtag1","hashtag2"]},{"1332543891":["hashtag1","hashtag2"]},{"1332543893":["hashtag1","hashtag2"]},{"1332543895":["hashtag1","hashtag2"]},{"1332543898":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332543889, 1332543901, 1332543891, 1332543893, 1332543895, 1332543898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.331671714782715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:13:33.033288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/12/image_29012025_06_12_55_9350.jpg', '/home/pi/Desktop/images/29012025/06/12/image_29012025_06_13_06_10352.jpg', '/home/pi/Desktop/images/29012025/06/13/image_29012025_06_13_16_10407.jpg', '/home/pi/Desktop/images/29012025/06/13/image_29012025_06_13_25_9348.jpg', '/home/pi/Desktop/images/29012025/06/13/image_29012025_06_13_45_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/12/image_29012025_06_12_55_9350.jpg
/home/pi/Desktop/images/29012025/06/12/image_29012025_06_13_06_10352.jpg
/home/pi/Desktop/images/29012025/06/13/image_29012025_06_13_16_10407.jpg
/home/pi/Desktop/images/29012025/06/13/image_29012025_06_13_25_9348.jpg
/home/pi/Desktop/images/29012025/06/13/image_29012025_06_13_45_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":["1332543951","1332543912","1332543915","1332543944","1332543926"],"photo_ids_order":["1332543912","1332543915","1332543926","1332543944","1332543951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/601ac82dffc68e946db09131d966ad82.jpg","text":"TemporaryFile(/tmp/multipartBody6666737940442828152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127673942,"filename":"image_29012025_06_13_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/29/33f5653ea6f760b51fd57c698023d4b6.jpg","text":"TemporaryFile(/tmp/multipartBody1764504114766011814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127673942,"filename":"image_29012025_06_12_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/29/ab964a51f8be17a8bc8865c38be9e78a.jpg","text":"TemporaryFile(/tmp/multipartBody5466773233245953921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127673942,"filename":"image_29012025_06_13_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/29/630ca035387f68a367936f1bbf67b410.jpg","text":"TemporaryFile(/tmp/multipartBody7336894884819174954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127673942,"filename":"image_29012025_06_13_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/29/bebae387ab6c712b509279a505cbb0da.jpg","text":"TemporaryFile(/tmp/multipartBody476430077832223199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127673942,"filename":"image_29012025_06_13_16_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332543926","file1":"1332543915","file0":"1332543912","file4":"1332543951","file3":"1332543944"},"map_files_photo_id_array":[{"photo_id":"1332543926","filename":"file2"},{"photo_id":"1332543951","filename":"file4"},{"photo_id":"1332543915","filename":"file1"},{"photo_id":"1332543912","filename":"file0"},{"photo_id":"1332543944","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332543951":["hashtag1","hashtag2"]},{"1332543912":["hashtag1","hashtag2"]},{"1332543915":["hashtag1","hashtag2"]},{"1332543944":["hashtag1","hashtag2"]},{"1332543926":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332543951, 1332543912, 1332543915, 1332543944, 1332543926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.46578121185303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:14:33.135096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/13/image_29012025_06_13_56_10362.jpg', '/home/pi/Desktop/images/29012025/06/13/image_29012025_06_14_06_10328.jpg', '/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_15_9381.jpg', '/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_26_10386.jpg', '/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_36_10402.jpg', '/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_46_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/13/image_29012025_06_13_56_10362.jpg
/home/pi/Desktop/images/29012025/06/13/image_29012025_06_14_06_10328.jpg
/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_15_9381.jpg
/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_26_10386.jpg
/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_36_10402.jpg
/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_46_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332544065","1332544079","1332544082","1332544076","1332544072","1332544069"],"photo_ids_order":["1332544065","1332544069","1332544072","1332544076","1332544079","1332544082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4d743de483a969690faf21dbd724a099.jpg","text":"TemporaryFile(/tmp/multipartBody6989931034086971859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127734042,"filename":"image_29012025_06_13_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/29/4a5de824678c5ea65e8c479bec01a2a7.jpg","text":"TemporaryFile(/tmp/multipartBody3290376202420946290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127734042,"filename":"image_29012025_06_14_36_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/29/1787a61c29b457537077e97429f23a60.jpg","text":"TemporaryFile(/tmp/multipartBody3478006472237342457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127734042,"filename":"image_29012025_06_14_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/29/83edabc4686075894c9c12a968f68148.jpg","text":"TemporaryFile(/tmp/multipartBody2936917264336531949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127734042,"filename":"image_29012025_06_14_26_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/29/2a7effd0d18d960db411bc4fc6f4de49.jpg","text":"TemporaryFile(/tmp/multipartBody7192185837435524300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127734042,"filename":"image_29012025_06_14_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/29/9b88b8fab07a07084c5633b53c744d13.jpg","text":"TemporaryFile(/tmp/multipartBody5311697973805158525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127734042,"filename":"image_29012025_06_14_06_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332544072","file1":"1332544069","file0":"1332544065","file4":"1332544079","file5":"1332544082","file3":"1332544076"},"map_files_photo_id_array":[{"photo_id":"1332544082","filename":"file5"},{"photo_id":"1332544072","filename":"file2"},{"photo_id":"1332544079","filename":"file4"},{"photo_id":"1332544069","filename":"file1"},{"photo_id":"1332544065","filename":"file0"},{"photo_id":"1332544076","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332544065":["hashtag1","hashtag2"]},{"1332544079":["hashtag1","hashtag2"]},{"1332544082":["hashtag1","hashtag2"]},{"1332544076":["hashtag1","hashtag2"]},{"1332544072":["hashtag1","hashtag2"]},{"1332544069":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332544065, 1332544079, 1332544082, 1332544076, 1332544072, 1332544069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11167120933533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:15:32.371674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_56_10363.jpg', '/home/pi/Desktop/images/29012025/06/14/image_29012025_06_15_05_9422.jpg', '/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_16_10338.jpg', '/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_35_9367.jpg', '/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_46_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_56_10363.jpg
/home/pi/Desktop/images/29012025/06/14/image_29012025_06_15_05_9422.jpg
/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_16_10338.jpg
/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_35_9367.jpg
/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_46_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.5229034423828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:15:42.429830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_56_10363.jpg', '/home/pi/Desktop/images/29012025/06/14/image_29012025_06_15_05_9422.jpg', '/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_16_10338.jpg', '/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_35_9367.jpg', '/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_46_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/14/image_29012025_06_14_56_10363.jpg
/home/pi/Desktop/images/29012025/06/14/image_29012025_06_15_05_9422.jpg
/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_16_10338.jpg
/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_35_9367.jpg
/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_46_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":["1332544108","1332544110","1332544104","1332544113","1332544099"],"photo_ids_order":["1332544099","1332544104","1332544108","1332544110","1332544113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/786e5a4663ae584f6f7de34c99abf67f.jpg","text":"TemporaryFile(/tmp/multipartBody4900310446168489765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127803323,"filename":"image_29012025_06_15_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/29/25bf9d2fe52d0194d6fc172ac99db1ae.jpg","text":"TemporaryFile(/tmp/multipartBody7929657047188765726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127803323,"filename":"image_29012025_06_15_35_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/29/973ec2e3784d654eabb776568c87a17e.jpg","text":"TemporaryFile(/tmp/multipartBody5713754651418932182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127803323,"filename":"image_29012025_06_15_05_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/29/d540aafc8884df70b8206bf5faf71e78.jpg","text":"TemporaryFile(/tmp/multipartBody6563375027828309467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127803323,"filename":"image_29012025_06_15_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/29/3fb5ea0f652437284d9cd646b9b3fcfd.jpg","text":"TemporaryFile(/tmp/multipartBody5673477550137455601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127803323,"filename":"image_29012025_06_14_56_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332544108","file1":"1332544104","file0":"1332544099","file4":"1332544113","file3":"1332544110"},"map_files_photo_id_array":[{"photo_id":"1332544108","filename":"file2"},{"photo_id":"1332544113","filename":"file4"},{"photo_id":"1332544104","filename":"file1"},{"photo_id":"1332544099","filename":"file0"},{"photo_id":"1332544110","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332544108":["hashtag1","hashtag2"]},{"1332544110":["hashtag1","hashtag2"]},{"1332544104":["hashtag1","hashtag2"]},{"1332544113":["hashtag1","hashtag2"]},{"1332544099":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332544108, 1332544110, 1332544104, 1332544113, 1332544099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.42508602142334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:16:32.633599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_56_10370.jpg', '/home/pi/Desktop/images/29012025/06/15/image_29012025_06_16_06_9341.jpg', '/home/pi/Desktop/images/29012025/06/16/image_29012025_06_16_16_10373.jpg', '/home/pi/Desktop/images/29012025/06/16/image_29012025_06_16_25_9445.jpg', '/home/pi/Desktop/images/29012025/06/16/image_29012025_06_16_36_10363.jpg', '/home/pi/Desktop/images/29012025/06/16/image_29012025_06_16_46_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/15/image_29012025_06_15_56_10370.jpg
/home/pi/Desktop/images/29012025/06/15/image_29012025_06_16_06_9341.jpg
/home/pi/Desktop/images/29012025/06/16/image_29012025_06_16_16_10373.jpg
/home/pi/Desktop/images/29012025/06/16/image_29012025_06_16_25_9445.jpg
/home/pi/Desktop/images/29012025/06/16/image_29012025_06_16_36_10363.jpg
/home/pi/Desktop/images/29012025/06/16/image_29012025_06_16_46_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332544141","1332544123","1332544167","1332544137","1332544148","1332544132"],"photo_ids_order":["1332544123","1332544132","1332544137","1332544141","1332544148","1332544167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e69f8b083fa79d9777fa54c12ee43a67.jpg","text":"TemporaryFile(/tmp/multipartBody8159568864744098299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127853559,"filename":"image_29012025_06_16_25_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/29/c436f5b71b3183fbf32dd26a919150da.jpg","text":"TemporaryFile(/tmp/multipartBody6339234305128659208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127853559,"filename":"image_29012025_06_15_56_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/29/2510f15c219bd5b30ebb9bf1de23de16.jpg","text":"TemporaryFile(/tmp/multipartBody1220106703917198818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127853559,"filename":"image_29012025_06_16_46_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/29/d4c5c902f38c525459d48057a0f07e27.jpg","text":"TemporaryFile(/tmp/multipartBody8333583143159110109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127853559,"filename":"image_29012025_06_16_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/29/88bd1bc7434b18ec2ba65d95d4e9ef34.jpg","text":"TemporaryFile(/tmp/multipartBody2279632909647929549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127853559,"filename":"image_29012025_06_16_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/29/814401e8c781d1848c6ee200cd00087a.jpg","text":"TemporaryFile(/tmp/multipartBody3720627844835699794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127853559,"filename":"image_29012025_06_16_06_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332544137","file1":"1332544132","file0":"1332544123","file4":"1332544148","file5":"1332544167","file3":"1332544141"},"map_files_photo_id_array":[{"photo_id":"1332544167","filename":"file5"},{"photo_id":"1332544137","filename":"file2"},{"photo_id":"1332544148","filename":"file4"},{"photo_id":"1332544132","filename":"file1"},{"photo_id":"1332544123","filename":"file0"},{"photo_id":"1332544141","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332544141":["hashtag1","hashtag2"]},{"1332544123":["hashtag1","hashtag2"]},{"1332544167":["hashtag1","hashtag2"]},{"1332544137":["hashtag1","hashtag2"]},{"1332544148":["hashtag1","hashtag2"]},{"1332544132":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332544141, 1332544123, 1332544167, 1332544137, 1332544148, 1332544132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.316161155700684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:17:32.888277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/16/image_29012025_06_16_55_9339.jpg', '/home/pi/Desktop/images/29012025/06/16/image_29012025_06_17_06_10343.jpg', '/home/pi/Desktop/images/29012025/06/17/image_29012025_06_17_16_10351.jpg', '/home/pi/Desktop/images/29012025/06/17/image_29012025_06_17_26_9402.jpg', '/home/pi/Desktop/images/29012025/06/17/image_29012025_06_17_36_10339.jpg', '/home/pi/Desktop/images/29012025/06/17/image_29012025_06_17_45_9459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/16/image_29012025_06_16_55_9339.jpg
/home/pi/Desktop/images/29012025/06/16/image_29012025_06_17_06_10343.jpg
/home/pi/Desktop/images/29012025/06/17/image_29012025_06_17_16_10351.jpg
/home/pi/Desktop/images/29012025/06/17/image_29012025_06_17_26_9402.jpg
/home/pi/Desktop/images/29012025/06/17/image_29012025_06_17_36_10339.jpg
/home/pi/Desktop/images/29012025/06/17/image_29012025_06_17_45_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":["1332544197","1332544206","1332544209","1332544200","1332544193","1332544202"],"photo_ids_order":["1332544193","1332544197","1332544200","1332544202","1332544206","1332544209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/04c8ce48f804f2f00eaef761184644cb.jpg","text":"TemporaryFile(/tmp/multipartBody1877730519820630485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127913785,"filename":"image_29012025_06_17_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/29/8cc4ca09d85e2f470b2fbd24fc1e941a.jpg","text":"TemporaryFile(/tmp/multipartBody7883434400876394593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127913785,"filename":"image_29012025_06_17_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/29/49adbe18ebfc2833c45cc88943ccd8a5.jpg","text":"TemporaryFile(/tmp/multipartBody3142399557410740380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127913785,"filename":"image_29012025_06_17_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/29/d4fcddeb84a30b072ce4b7bdb25864a8.jpg","text":"TemporaryFile(/tmp/multipartBody5788560564794743396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127913785,"filename":"image_29012025_06_17_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/29/0b6b6abb41ca93ca76dba4047784123f.jpg","text":"TemporaryFile(/tmp/multipartBody4333873142555114704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127913785,"filename":"image_29012025_06_16_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/29/d4820790da17950b0da852612d160761.jpg","text":"TemporaryFile(/tmp/multipartBody6148401145044075502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127913785,"filename":"image_29012025_06_17_26_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332544200","file1":"1332544197","file0":"1332544193","file4":"1332544206","file5":"1332544209","file3":"1332544202"},"map_files_photo_id_array":[{"photo_id":"1332544209","filename":"file5"},{"photo_id":"1332544200","filename":"file2"},{"photo_id":"1332544206","filename":"file4"},{"photo_id":"1332544197","filename":"file1"},{"photo_id":"1332544193","filename":"file0"},{"photo_id":"1332544202","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332544197":["hashtag1","hashtag2"]},{"1332544206":["hashtag1","hashtag2"]},{"1332544209":["hashtag1","hashtag2"]},{"1332544200":["hashtag1","hashtag2"]},{"1332544193":["hashtag1","hashtag2"]},{"1332544202":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332544197, 1332544206, 1332544209, 1332544200, 1332544193, 1332544202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32215189933777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:18:33.029831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/17/image_29012025_06_17_56_10368.jpg', '/home/pi/Desktop/images/29012025/06/17/image_29012025_06_18_06_10418.jpg', '/home/pi/Desktop/images/29012025/06/18/image_29012025_06_18_15_9343.jpg', '/home/pi/Desktop/images/29012025/06/18/image_29012025_06_18_26_10456.jpg', '/home/pi/Desktop/images/29012025/06/18/image_29012025_06_18_35_9463.jpg', '/home/pi/Desktop/images/29012025/06/18/image_29012025_06_18_46_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/17/image_29012025_06_17_56_10368.jpg
/home/pi/Desktop/images/29012025/06/17/image_29012025_06_18_06_10418.jpg
/home/pi/Desktop/images/29012025/06/18/image_29012025_06_18_15_9343.jpg
/home/pi/Desktop/images/29012025/06/18/image_29012025_06_18_26_10456.jpg
/home/pi/Desktop/images/29012025/06/18/image_29012025_06_18_35_9463.jpg
/home/pi/Desktop/images/29012025/06/18/image_29012025_06_18_46_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":["1332544574","1332544934","1332544762","1332544930","1332544924","1332544933"],"photo_ids_order":["1332544574","1332544762","1332544924","1332544930","1332544933","1332544934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8c88ce6326d9e7a1bf72421262d2b19c.jpg","text":"TemporaryFile(/tmp/multipartBody1799050606316904469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127973940,"filename":"image_29012025_06_17_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/29/990e6daa95119e1404d76d9dd1614208.jpg","text":"TemporaryFile(/tmp/multipartBody4649114513061561762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127973940,"filename":"image_29012025_06_18_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/29/64c118e672d1c889c8a1029864425892.jpg","text":"TemporaryFile(/tmp/multipartBody8069239029431756918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127973940,"filename":"image_29012025_06_18_06_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/29/bd29652038bb7c3f946bca711ca89804.jpg","text":"TemporaryFile(/tmp/multipartBody4635717361631529522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127973940,"filename":"image_29012025_06_18_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/29/9fb4b5667560fc93860b6e23a057a007.jpg","text":"TemporaryFile(/tmp/multipartBody5821403089344617216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127973940,"filename":"image_29012025_06_18_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/29/eed1c966b1e33afc28b8a620a727b66b.jpg","text":"TemporaryFile(/tmp/multipartBody7895803679566275805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738127973940,"filename":"image_29012025_06_18_35_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332544924","file1":"1332544762","file0":"1332544574","file4":"1332544933","file5":"1332544934","file3":"1332544930"},"map_files_photo_id_array":[{"photo_id":"1332544934","filename":"file5"},{"photo_id":"1332544924","filename":"file2"},{"photo_id":"1332544933","filename":"file4"},{"photo_id":"1332544762","filename":"file1"},{"photo_id":"1332544574","filename":"file0"},{"photo_id":"1332544930","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332544574":["hashtag1","hashtag2"]},{"1332544934":["hashtag1","hashtag2"]},{"1332544762":["hashtag1","hashtag2"]},{"1332544930":["hashtag1","hashtag2"]},{"1332544924":["hashtag1","hashtag2"]},{"1332544933":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332544574, 1332544934, 1332544762, 1332544930, 1332544924, 1332544933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.55794978141785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:19:32.164613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/18/image_29012025_06_18_56_10375.jpg', '/home/pi/Desktop/images/29012025/06/18/image_29012025_06_19_06_9358.jpg', '/home/pi/Desktop/images/29012025/06/19/image_29012025_06_19_16_10350.jpg', '/home/pi/Desktop/images/29012025/06/19/image_29012025_06_19_25_9359.jpg', '/home/pi/Desktop/images/29012025/06/19/image_29012025_06_19_36_10374.jpg', '/home/pi/Desktop/images/29012025/06/19/image_29012025_06_19_46_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/18/image_29012025_06_18_56_10375.jpg
/home/pi/Desktop/images/29012025/06/18/image_29012025_06_19_06_9358.jpg
/home/pi/Desktop/images/29012025/06/19/image_29012025_06_19_16_10350.jpg
/home/pi/Desktop/images/29012025/06/19/image_29012025_06_19_25_9359.jpg
/home/pi/Desktop/images/29012025/06/19/image_29012025_06_19_36_10374.jpg
/home/pi/Desktop/images/29012025/06/19/image_29012025_06_19_46_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332545175","1332545148","1332545109","1332545106","1332545186","1332545181"],"photo_ids_order":["1332545106","1332545109","1332545148","1332545175","1332545181","1332545186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cc010273ad5c7cd0912d9da5e71be70e.jpg","text":"TemporaryFile(/tmp/multipartBody6593674628846141365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128033100,"filename":"image_29012025_06_19_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/29/20be90aba745cc11cded29ca291b7d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1856328867432366810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128033100,"filename":"image_29012025_06_19_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/29/8f4260181e417c29e104c1e9d6f4c487.jpg","text":"TemporaryFile(/tmp/multipartBody4744192364466256110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128033100,"filename":"image_29012025_06_19_06_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/29/2ab85db33686e064ca8cea5601a1cd76.jpg","text":"TemporaryFile(/tmp/multipartBody4647114352796992752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128033100,"filename":"image_29012025_06_18_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/29/97a375fb2f10b759f11b16eb62903144.jpg","text":"TemporaryFile(/tmp/multipartBody7824737520091161232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128033100,"filename":"image_29012025_06_19_46_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/29/c1fc3136947778fd075cbeb99be822bd.jpg","text":"TemporaryFile(/tmp/multipartBody6408290487936329036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128033100,"filename":"image_29012025_06_19_36_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332545148","file1":"1332545109","file0":"1332545106","file4":"1332545181","file5":"1332545186","file3":"1332545175"},"map_files_photo_id_array":[{"photo_id":"1332545186","filename":"file5"},{"photo_id":"1332545148","filename":"file2"},{"photo_id":"1332545181","filename":"file4"},{"photo_id":"1332545109","filename":"file1"},{"photo_id":"1332545106","filename":"file0"},{"photo_id":"1332545175","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332545175":["hashtag1","hashtag2"]},{"1332545148":["hashtag1","hashtag2"]},{"1332545109":["hashtag1","hashtag2"]},{"1332545106":["hashtag1","hashtag2"]},{"1332545186":["hashtag1","hashtag2"]},{"1332545181":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332545175, 1332545148, 1332545109, 1332545106, 1332545186, 1332545181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.967620611190796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:20:32.405890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/19/image_29012025_06_19_55_9365.jpg', '/home/pi/Desktop/images/29012025/06/19/image_29012025_06_20_06_10364.jpg', '/home/pi/Desktop/images/29012025/06/20/image_29012025_06_20_16_10365.jpg', '/home/pi/Desktop/images/29012025/06/20/image_29012025_06_20_26_9342.jpg', '/home/pi/Desktop/images/29012025/06/20/image_29012025_06_20_36_10342.jpg', '/home/pi/Desktop/images/29012025/06/20/image_29012025_06_20_45_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/19/image_29012025_06_19_55_9365.jpg
/home/pi/Desktop/images/29012025/06/19/image_29012025_06_20_06_10364.jpg
/home/pi/Desktop/images/29012025/06/20/image_29012025_06_20_16_10365.jpg
/home/pi/Desktop/images/29012025/06/20/image_29012025_06_20_26_9342.jpg
/home/pi/Desktop/images/29012025/06/20/image_29012025_06_20_36_10342.jpg
/home/pi/Desktop/images/29012025/06/20/image_29012025_06_20_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":["1332545259","1332545270","1332545264","1332545267","1332545252","1332545272"],"photo_ids_order":["1332545252","1332545259","1332545264","1332545267","1332545270","1332545272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2ee1e1244feaed1be46ad042a119b33c.jpg","text":"TemporaryFile(/tmp/multipartBody5255044975934941283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128093308,"filename":"image_29012025_06_20_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/29/6e891ca5ee1ca5df8a7ea0170546e339.jpg","text":"TemporaryFile(/tmp/multipartBody8479911462693986262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128093308,"filename":"image_29012025_06_20_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/29/0d162884dbf737f25786043c9a9e2946.jpg","text":"TemporaryFile(/tmp/multipartBody4128328882760053095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128093308,"filename":"image_29012025_06_20_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/29/8a5afadb38ce9c9fad81390092e67a3a.jpg","text":"TemporaryFile(/tmp/multipartBody1151498727642811548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128093308,"filename":"image_29012025_06_20_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/29/4789f78922f015787ce3feefce2111fc.jpg","text":"TemporaryFile(/tmp/multipartBody5974396906235959645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128093308,"filename":"image_29012025_06_19_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/29/160734dd0b4249098a25ab94377264ca.jpg","text":"TemporaryFile(/tmp/multipartBody4208566798879178553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128093308,"filename":"image_29012025_06_20_45_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332545264","file1":"1332545259","file0":"1332545252","file4":"1332545270","file5":"1332545272","file3":"1332545267"},"map_files_photo_id_array":[{"photo_id":"1332545272","filename":"file5"},{"photo_id":"1332545264","filename":"file2"},{"photo_id":"1332545270","filename":"file4"},{"photo_id":"1332545259","filename":"file1"},{"photo_id":"1332545252","filename":"file0"},{"photo_id":"1332545267","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332545259":["hashtag1","hashtag2"]},{"1332545270":["hashtag1","hashtag2"]},{"1332545264":["hashtag1","hashtag2"]},{"1332545267":["hashtag1","hashtag2"]},{"1332545252":["hashtag1","hashtag2"]},{"1332545272":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332545259, 1332545270, 1332545264, 1332545267, 1332545252, 1332545272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.76396894454956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:21:32.788906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/20/image_29012025_06_20_56_10420.jpg', '/home/pi/Desktop/images/29012025/06/20/image_29012025_06_21_06_10458.jpg', '/home/pi/Desktop/images/29012025/06/21/image_29012025_06_21_26_10425.jpg', '/home/pi/Desktop/images/29012025/06/21/image_29012025_06_21_35_9365.jpg', '/home/pi/Desktop/images/29012025/06/21/image_29012025_06_21_46_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/20/image_29012025_06_20_56_10420.jpg
/home/pi/Desktop/images/29012025/06/20/image_29012025_06_21_06_10458.jpg
/home/pi/Desktop/images/29012025/06/21/image_29012025_06_21_26_10425.jpg
/home/pi/Desktop/images/29012025/06/21/image_29012025_06_21_35_9365.jpg
/home/pi/Desktop/images/29012025/06/21/image_29012025_06_21_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":["1332545288","1332545297","1332545318","1332545309","1332545320"],"photo_ids_order":["1332545288","1332545297","1332545309","1332545318","1332545320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e0ff00d8809114fb9c1401237538a7a9.jpg","text":"TemporaryFile(/tmp/multipartBody3299093523258509990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128153680,"filename":"image_29012025_06_20_56_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/29/d6b01d581be36bf9c0a1c01e42b62bab.jpg","text":"TemporaryFile(/tmp/multipartBody5066809087702214923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128153680,"filename":"image_29012025_06_21_06_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/29/98d9848ef231d754d652575784b40dae.jpg","text":"TemporaryFile(/tmp/multipartBody5432044390460514557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128153680,"filename":"image_29012025_06_21_35_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/29/7d5c33bf7997b689f522f4696bda5d80.jpg","text":"TemporaryFile(/tmp/multipartBody5778592407235204561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128153680,"filename":"image_29012025_06_21_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/29/fee1d29847b3d77f8f931f7139d8d9cf.jpg","text":"TemporaryFile(/tmp/multipartBody5929377994864362992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128153680,"filename":"image_29012025_06_21_46_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332545309","file1":"1332545297","file0":"1332545288","file4":"1332545320","file3":"1332545318"},"map_files_photo_id_array":[{"photo_id":"1332545309","filename":"file2"},{"photo_id":"1332545320","filename":"file4"},{"photo_id":"1332545297","filename":"file1"},{"photo_id":"1332545288","filename":"file0"},{"photo_id":"1332545318","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332545288":["hashtag1","hashtag2"]},{"1332545297":["hashtag1","hashtag2"]},{"1332545318":["hashtag1","hashtag2"]},{"1332545309":["hashtag1","hashtag2"]},{"1332545320":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332545288, 1332545297, 1332545318, 1332545309, 1332545320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.85403037071228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:22:33.075349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/21/image_29012025_06_21_56_10466.jpg', '/home/pi/Desktop/images/29012025/06/21/image_29012025_06_22_06_9337.jpg', '/home/pi/Desktop/images/29012025/06/22/image_29012025_06_22_16_10331.jpg', '/home/pi/Desktop/images/29012025/06/22/image_29012025_06_22_26_10359.jpg', '/home/pi/Desktop/images/29012025/06/22/image_29012025_06_22_36_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/21/image_29012025_06_21_56_10466.jpg
/home/pi/Desktop/images/29012025/06/21/image_29012025_06_22_06_9337.jpg
/home/pi/Desktop/images/29012025/06/22/image_29012025_06_22_16_10331.jpg
/home/pi/Desktop/images/29012025/06/22/image_29012025_06_22_26_10359.jpg
/home/pi/Desktop/images/29012025/06/22/image_29012025_06_22_36_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":["1332545367","1332545392","1332545371","1332545350","1332545374"],"photo_ids_order":["1332545350","1332545367","1332545371","1332545374","1332545392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/434273cfd5d049200d1509739ada3005.jpg","text":"TemporaryFile(/tmp/multipartBody6756902084263752396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128213963,"filename":"image_29012025_06_22_06_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/29/3117a0bfe5c310361c23e2b69f6c7685.jpg","text":"TemporaryFile(/tmp/multipartBody7150144292677099602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128213963,"filename":"image_29012025_06_22_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/29/49fb3035431f8cb419ed82245e4a2209.jpg","text":"TemporaryFile(/tmp/multipartBody4969846319634306277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128213963,"filename":"image_29012025_06_22_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/29/e52ee77c1171307c23977cff2591b5b2.jpg","text":"TemporaryFile(/tmp/multipartBody7693301155255551563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128213963,"filename":"image_29012025_06_21_56_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/29/07479df8b37ce354655e3ef4dd41a67f.jpg","text":"TemporaryFile(/tmp/multipartBody7360381302484730311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128213963,"filename":"image_29012025_06_22_26_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332545371","file1":"1332545367","file0":"1332545350","file4":"1332545392","file3":"1332545374"},"map_files_photo_id_array":[{"photo_id":"1332545371","filename":"file2"},{"photo_id":"1332545392","filename":"file4"},{"photo_id":"1332545367","filename":"file1"},{"photo_id":"1332545350","filename":"file0"},{"photo_id":"1332545374","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332545367":["hashtag1","hashtag2"]},{"1332545392":["hashtag1","hashtag2"]},{"1332545371":["hashtag1","hashtag2"]},{"1332545350":["hashtag1","hashtag2"]},{"1332545374":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332545367, 1332545392, 1332545371, 1332545350, 1332545374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.20854091644287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:23:32.181262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/22/image_29012025_06_22_46_10351.jpg', '/home/pi/Desktop/images/29012025/06/22/image_29012025_06_23_06_10344.jpg', '/home/pi/Desktop/images/29012025/06/23/image_29012025_06_23_16_10463.jpg', '/home/pi/Desktop/images/29012025/06/23/image_29012025_06_23_25_9350.jpg', '/home/pi/Desktop/images/29012025/06/23/image_29012025_06_23_36_10354.jpg', '/home/pi/Desktop/images/29012025/06/23/image_29012025_06_23_45_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/22/image_29012025_06_22_46_10351.jpg
/home/pi/Desktop/images/29012025/06/22/image_29012025_06_23_06_10344.jpg
/home/pi/Desktop/images/29012025/06/23/image_29012025_06_23_16_10463.jpg
/home/pi/Desktop/images/29012025/06/23/image_29012025_06_23_25_9350.jpg
/home/pi/Desktop/images/29012025/06/23/image_29012025_06_23_36_10354.jpg
/home/pi/Desktop/images/29012025/06/23/image_29012025_06_23_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":["1332545418","1332545426","1332545431","1332545434","1332545437","1332545422"],"photo_ids_order":["1332545418","1332545422","1332545426","1332545431","1332545434","1332545437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cdfb1e3075bb4a736fe1843faedd88d3.jpg","text":"TemporaryFile(/tmp/multipartBody5447057011952203799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128273091,"filename":"image_29012025_06_22_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/29/028d8f8d95afe06bb5346a05403f0c49.jpg","text":"TemporaryFile(/tmp/multipartBody4010087889138601766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128273091,"filename":"image_29012025_06_23_16_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/29/cf59b5df7f01a59e5a5292a49274738f.jpg","text":"TemporaryFile(/tmp/multipartBody1894508786820739041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128273091,"filename":"image_29012025_06_23_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/29/6c7d0e4c0564cfae6421ab7e38978529.jpg","text":"TemporaryFile(/tmp/multipartBody2505767453770894648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128273091,"filename":"image_29012025_06_23_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/29/4d399a38793fbaf89564e38d58b9ee4c.jpg","text":"TemporaryFile(/tmp/multipartBody1162586716099911268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128273091,"filename":"image_29012025_06_23_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/29/726dfa247a538689422cca298199e14d.jpg","text":"TemporaryFile(/tmp/multipartBody253101813425312097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128273091,"filename":"image_29012025_06_23_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332545426","file1":"1332545422","file0":"1332545418","file4":"1332545434","file5":"1332545437","file3":"1332545431"},"map_files_photo_id_array":[{"photo_id":"1332545437","filename":"file5"},{"photo_id":"1332545426","filename":"file2"},{"photo_id":"1332545434","filename":"file4"},{"photo_id":"1332545422","filename":"file1"},{"photo_id":"1332545418","filename":"file0"},{"photo_id":"1332545431","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332545418":["hashtag1","hashtag2"]},{"1332545426":["hashtag1","hashtag2"]},{"1332545431":["hashtag1","hashtag2"]},{"1332545434":["hashtag1","hashtag2"]},{"1332545437":["hashtag1","hashtag2"]},{"1332545422":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332545418, 1332545426, 1332545431, 1332545434, 1332545437, 1332545422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.7209370136261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:24:32.401071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/23/image_29012025_06_23_56_10396.jpg', '/home/pi/Desktop/images/29012025/06/24/image_29012025_06_24_16_9348.jpg', '/home/pi/Desktop/images/29012025/06/24/image_29012025_06_24_26_10357.jpg', '/home/pi/Desktop/images/29012025/06/24/image_29012025_06_24_35_9361.jpg', '/home/pi/Desktop/images/29012025/06/24/image_29012025_06_24_46_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/23/image_29012025_06_23_56_10396.jpg
/home/pi/Desktop/images/29012025/06/24/image_29012025_06_24_16_9348.jpg
/home/pi/Desktop/images/29012025/06/24/image_29012025_06_24_26_10357.jpg
/home/pi/Desktop/images/29012025/06/24/image_29012025_06_24_35_9361.jpg
/home/pi/Desktop/images/29012025/06/24/image_29012025_06_24_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":["1332545472","1332545514","1332545573","1332545470","1332545467"],"photo_ids_order":["1332545467","1332545470","1332545472","1332545514","1332545573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/07c55fc8555cf5674a02f13678e03457.jpg","text":"TemporaryFile(/tmp/multipartBody3189261016676711758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128333314,"filename":"image_29012025_06_24_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/29/5a662eb9a09248170a84d0255e0c61e6.jpg","text":"TemporaryFile(/tmp/multipartBody3939152064043483433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128333314,"filename":"image_29012025_06_24_35_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/29/0241eadcc3c0df80da6aa1c6a46e01cf.jpg","text":"TemporaryFile(/tmp/multipartBody1745934149732061214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128333314,"filename":"image_29012025_06_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/29/57e6e8983656517c2054b4d659b284ac.jpg","text":"TemporaryFile(/tmp/multipartBody4663425621340708977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128333314,"filename":"image_29012025_06_24_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/29/e199d826b8a4dbb00f0e4918950286b3.jpg","text":"TemporaryFile(/tmp/multipartBody5409250024988764103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128333314,"filename":"image_29012025_06_23_56_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332545472","file1":"1332545470","file0":"1332545467","file4":"1332545573","file3":"1332545514"},"map_files_photo_id_array":[{"photo_id":"1332545472","filename":"file2"},{"photo_id":"1332545573","filename":"file4"},{"photo_id":"1332545470","filename":"file1"},{"photo_id":"1332545467","filename":"file0"},{"photo_id":"1332545514","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332545472":["hashtag1","hashtag2"]},{"1332545514":["hashtag1","hashtag2"]},{"1332545573":["hashtag1","hashtag2"]},{"1332545470":["hashtag1","hashtag2"]},{"1332545467":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332545472, 1332545514, 1332545573, 1332545470, 1332545467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.88677477836609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:25:32.626953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/24/image_29012025_06_24_56_10349.jpg', '/home/pi/Desktop/images/29012025/06/24/image_29012025_06_25_05_9333.jpg', '/home/pi/Desktop/images/29012025/06/25/image_29012025_06_25_16_10340.jpg', '/home/pi/Desktop/images/29012025/06/25/image_29012025_06_25_26_10345.jpg', '/home/pi/Desktop/images/29012025/06/25/image_29012025_06_25_35_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/24/image_29012025_06_24_56_10349.jpg
/home/pi/Desktop/images/29012025/06/24/image_29012025_06_25_05_9333.jpg
/home/pi/Desktop/images/29012025/06/25/image_29012025_06_25_16_10340.jpg
/home/pi/Desktop/images/29012025/06/25/image_29012025_06_25_26_10345.jpg
/home/pi/Desktop/images/29012025/06/25/image_29012025_06_25_35_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":["1332545643","1332545646","1332545644","1332545641","1332545617"],"photo_ids_order":["1332545617","1332545641","1332545643","1332545644","1332545646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cc2ee8ac2dea9f1ccdec6f44897b92ab.jpg","text":"TemporaryFile(/tmp/multipartBody2174829122474379154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128393515,"filename":"image_29012025_06_25_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/29/5a6fbbe7b0ec660aaa8fe5bef95a15ff.jpg","text":"TemporaryFile(/tmp/multipartBody7034048163447831786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128393515,"filename":"image_29012025_06_25_35_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/29/aaa173aae9700d89827ec286c2b1d5a0.jpg","text":"TemporaryFile(/tmp/multipartBody1981693606000397995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128393515,"filename":"image_29012025_06_25_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/29/301ff3cc4e14ef82335c88d88a2806ba.jpg","text":"TemporaryFile(/tmp/multipartBody5874702281792363272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128393515,"filename":"image_29012025_06_25_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/29/d29b4cd82296140c34dcf50b3b32f536.jpg","text":"TemporaryFile(/tmp/multipartBody1540858727900278841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128393515,"filename":"image_29012025_06_24_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332545643","file1":"1332545641","file0":"1332545617","file4":"1332545646","file3":"1332545644"},"map_files_photo_id_array":[{"photo_id":"1332545643","filename":"file2"},{"photo_id":"1332545646","filename":"file4"},{"photo_id":"1332545641","filename":"file1"},{"photo_id":"1332545617","filename":"file0"},{"photo_id":"1332545644","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332545643":["hashtag1","hashtag2"]},{"1332545646":["hashtag1","hashtag2"]},{"1332545644":["hashtag1","hashtag2"]},{"1332545641":["hashtag1","hashtag2"]},{"1332545617":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332545643, 1332545646, 1332545644, 1332545641, 1332545617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.332969665527344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:26:32.829780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/25/image_29012025_06_25_55_9507.jpg', '/home/pi/Desktop/images/29012025/06/25/image_29012025_06_26_06_10345.jpg', '/home/pi/Desktop/images/29012025/06/26/image_29012025_06_26_16_10423.jpg', '/home/pi/Desktop/images/29012025/06/26/image_29012025_06_26_25_9435.jpg', '/home/pi/Desktop/images/29012025/06/26/image_29012025_06_26_36_10373.jpg', '/home/pi/Desktop/images/29012025/06/26/image_29012025_06_26_46_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/25/image_29012025_06_25_55_9507.jpg
/home/pi/Desktop/images/29012025/06/25/image_29012025_06_26_06_10345.jpg
/home/pi/Desktop/images/29012025/06/26/image_29012025_06_26_16_10423.jpg
/home/pi/Desktop/images/29012025/06/26/image_29012025_06_26_25_9435.jpg
/home/pi/Desktop/images/29012025/06/26/image_29012025_06_26_36_10373.jpg
/home/pi/Desktop/images/29012025/06/26/image_29012025_06_26_46_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":["1332545934","1332545681","1332545687","1332545747","1332545677","1332545673"],"photo_ids_order":["1332545673","1332545677","1332545681","1332545687","1332545747","1332545934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a05732f68e9f364b4d143ab5493681ef.jpg","text":"TemporaryFile(/tmp/multipartBody7430976003413903921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128453736,"filename":"image_29012025_06_26_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/29/57cfe944e3ddb5804da59206ce2e94df.jpg","text":"TemporaryFile(/tmp/multipartBody154502432284827911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128453736,"filename":"image_29012025_06_26_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/29/eacbf02f216134e81012aa7661bc8a49.jpg","text":"TemporaryFile(/tmp/multipartBody6145320503086370587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128453736,"filename":"image_29012025_06_26_25_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/29/d81335534a3d71fcbe9bb157ab92033b.jpg","text":"TemporaryFile(/tmp/multipartBody6112278755228226760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128453736,"filename":"image_29012025_06_26_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/29/8f0c464aa597ebd9bf05465eea0c1ea4.jpg","text":"TemporaryFile(/tmp/multipartBody6504961980612175531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128453736,"filename":"image_29012025_06_26_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/29/a182789dccc3cd8169cba4513f710513.jpg","text":"TemporaryFile(/tmp/multipartBody3960465161746240533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128453736,"filename":"image_29012025_06_25_55_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332545681","file1":"1332545677","file0":"1332545673","file4":"1332545747","file5":"1332545934","file3":"1332545687"},"map_files_photo_id_array":[{"photo_id":"1332545934","filename":"file5"},{"photo_id":"1332545681","filename":"file2"},{"photo_id":"1332545747","filename":"file4"},{"photo_id":"1332545677","filename":"file1"},{"photo_id":"1332545673","filename":"file0"},{"photo_id":"1332545687","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332545934":["hashtag1","hashtag2"]},{"1332545681":["hashtag1","hashtag2"]},{"1332545687":["hashtag1","hashtag2"]},{"1332545747":["hashtag1","hashtag2"]},{"1332545677":["hashtag1","hashtag2"]},{"1332545673":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332545934, 1332545681, 1332545687, 1332545747, 1332545677, 1332545673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.3626024723053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:27:33.164727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/26/image_29012025_06_26_56_9382.jpg', '/home/pi/Desktop/images/29012025/06/26/image_29012025_06_27_06_10352.jpg', '/home/pi/Desktop/images/29012025/06/27/image_29012025_06_27_26_10368.jpg', '/home/pi/Desktop/images/29012025/06/27/image_29012025_06_27_36_10346.jpg', '/home/pi/Desktop/images/29012025/06/27/image_29012025_06_27_45_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/26/image_29012025_06_26_56_9382.jpg
/home/pi/Desktop/images/29012025/06/26/image_29012025_06_27_06_10352.jpg
/home/pi/Desktop/images/29012025/06/27/image_29012025_06_27_26_10368.jpg
/home/pi/Desktop/images/29012025/06/27/image_29012025_06_27_36_10346.jpg
/home/pi/Desktop/images/29012025/06/27/image_29012025_06_27_45_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":["1332545973","1332545967","1332545975","1332545978","1332545971"],"photo_ids_order":["1332545967","1332545971","1332545973","1332545975","1332545978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c07afa269bf91495d0967aa9fbbda40e.jpg","text":"TemporaryFile(/tmp/multipartBody1779227995404426771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128514049,"filename":"image_29012025_06_27_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/29/dc88dbe6973f7345fda90fa5a73f7e5f.jpg","text":"TemporaryFile(/tmp/multipartBody6386332006116789846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128514049,"filename":"image_29012025_06_26_56_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/29/5e38e86d375caf8b3f7941ce18e424d0.jpg","text":"TemporaryFile(/tmp/multipartBody7782477398714075197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128514049,"filename":"image_29012025_06_27_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/29/26bf6b0bae8ecc8b88874b75b1226422.jpg","text":"TemporaryFile(/tmp/multipartBody8671239553420526919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128514049,"filename":"image_29012025_06_27_45_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/29/a27eb7d95e9026f3a837426e259b2309.jpg","text":"TemporaryFile(/tmp/multipartBody7776906499318807506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128514049,"filename":"image_29012025_06_27_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332545973","file1":"1332545971","file0":"1332545967","file4":"1332545978","file3":"1332545975"},"map_files_photo_id_array":[{"photo_id":"1332545973","filename":"file2"},{"photo_id":"1332545978","filename":"file4"},{"photo_id":"1332545971","filename":"file1"},{"photo_id":"1332545967","filename":"file0"},{"photo_id":"1332545975","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332545973":["hashtag1","hashtag2"]},{"1332545967":["hashtag1","hashtag2"]},{"1332545975":["hashtag1","hashtag2"]},{"1332545978":["hashtag1","hashtag2"]},{"1332545971":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332545973, 1332545967, 1332545975, 1332545978, 1332545971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.72181034088135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:28:32.359515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/27/image_29012025_06_27_56_10369.jpg', '/home/pi/Desktop/images/29012025/06/27/image_29012025_06_28_06_10454.jpg', '/home/pi/Desktop/images/29012025/06/28/image_29012025_06_28_16_9349.jpg', '/home/pi/Desktop/images/29012025/06/28/image_29012025_06_28_26_10357.jpg', '/home/pi/Desktop/images/29012025/06/28/image_29012025_06_28_36_10357.jpg', '/home/pi/Desktop/images/29012025/06/28/image_29012025_06_28_46_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/27/image_29012025_06_27_56_10369.jpg
/home/pi/Desktop/images/29012025/06/27/image_29012025_06_28_06_10454.jpg
/home/pi/Desktop/images/29012025/06/28/image_29012025_06_28_16_9349.jpg
/home/pi/Desktop/images/29012025/06/28/image_29012025_06_28_26_10357.jpg
/home/pi/Desktop/images/29012025/06/28/image_29012025_06_28_36_10357.jpg
/home/pi/Desktop/images/29012025/06/28/image_29012025_06_28_46_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":["1332546086","1332546080","1332546088","1332546076","1332546100","1332546103"],"photo_ids_order":["1332546076","1332546080","1332546086","1332546088","1332546100","1332546103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5dc64f1e5e136e365692c0033d2d9fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3589141898981390773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128573296,"filename":"image_29012025_06_28_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/29/7257dc91f025378861360af1345d31f7.jpg","text":"TemporaryFile(/tmp/multipartBody9080179907407182881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128573296,"filename":"image_29012025_06_28_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/29/e224985df492eea3ffdd43f87db39c35.jpg","text":"TemporaryFile(/tmp/multipartBody1423790608202962736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128573296,"filename":"image_29012025_06_28_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/29/819463eb04f165cee8f3ae545324d8ec.jpg","text":"TemporaryFile(/tmp/multipartBody5183413319864738509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128573296,"filename":"image_29012025_06_27_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/29/b3e2b47bc58de269b8c42038d887fcb3.jpg","text":"TemporaryFile(/tmp/multipartBody3452153261295455855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128573296,"filename":"image_29012025_06_28_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/29/89ea2d22b887f7337ed616285d1c15c1.jpg","text":"TemporaryFile(/tmp/multipartBody8839414946424712654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128573296,"filename":"image_29012025_06_28_46_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332546086","file1":"1332546080","file0":"1332546076","file4":"1332546100","file5":"1332546103","file3":"1332546088"},"map_files_photo_id_array":[{"photo_id":"1332546103","filename":"file5"},{"photo_id":"1332546086","filename":"file2"},{"photo_id":"1332546100","filename":"file4"},{"photo_id":"1332546080","filename":"file1"},{"photo_id":"1332546076","filename":"file0"},{"photo_id":"1332546088","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332546086":["hashtag1","hashtag2"]},{"1332546080":["hashtag1","hashtag2"]},{"1332546088":["hashtag1","hashtag2"]},{"1332546076":["hashtag1","hashtag2"]},{"1332546100":["hashtag1","hashtag2"]},{"1332546103":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332546086, 1332546080, 1332546088, 1332546076, 1332546100, 1332546103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.40945744514465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:29:32.428331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/28/image_29012025_06_28_56_10371.jpg', '/home/pi/Desktop/images/29012025/06/28/image_29012025_06_29_05_9394.jpg', '/home/pi/Desktop/images/29012025/06/29/image_29012025_06_29_16_10428.jpg', '/home/pi/Desktop/images/29012025/06/29/image_29012025_06_29_25_9552.jpg', '/home/pi/Desktop/images/29012025/06/29/image_29012025_06_29_36_10388.jpg', '/home/pi/Desktop/images/29012025/06/29/image_29012025_06_29_46_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/28/image_29012025_06_28_56_10371.jpg
/home/pi/Desktop/images/29012025/06/28/image_29012025_06_29_05_9394.jpg
/home/pi/Desktop/images/29012025/06/29/image_29012025_06_29_16_10428.jpg
/home/pi/Desktop/images/29012025/06/29/image_29012025_06_29_25_9552.jpg
/home/pi/Desktop/images/29012025/06/29/image_29012025_06_29_36_10388.jpg
/home/pi/Desktop/images/29012025/06/29/image_29012025_06_29_46_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":["1332546158","1332546146","1332546160","1332546154","1332546133","1332546156"],"photo_ids_order":["1332546133","1332546146","1332546154","1332546156","1332546158","1332546160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/27c950108d2e6f302b4d115dd858ac25.jpg","text":"TemporaryFile(/tmp/multipartBody1519495210192900576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128633338,"filename":"image_29012025_06_29_36_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/29/0a2e1fa38925f9ba0e8f243f4f83bc61.jpg","text":"TemporaryFile(/tmp/multipartBody2393215296229842015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128633338,"filename":"image_29012025_06_29_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/29/f30dc01529557f44ddae549bd36eca58.jpg","text":"TemporaryFile(/tmp/multipartBody4295140062879211517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128633338,"filename":"image_29012025_06_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/29/5082701c97db5b8af6afeff5da467da9.jpg","text":"TemporaryFile(/tmp/multipartBody8497856472607828420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128633338,"filename":"image_29012025_06_29_16_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/29/65161a0d29b7955edcd2319cd1be47cd.jpg","text":"TemporaryFile(/tmp/multipartBody8622086698380796875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128633338,"filename":"image_29012025_06_28_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/29/32bb86e16eae8fa231b2c2034c0729b5.jpg","text":"TemporaryFile(/tmp/multipartBody14292301867009640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128633338,"filename":"image_29012025_06_29_25_9552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332546154","file1":"1332546146","file0":"1332546133","file4":"1332546158","file5":"1332546160","file3":"1332546156"},"map_files_photo_id_array":[{"photo_id":"1332546160","filename":"file5"},{"photo_id":"1332546154","filename":"file2"},{"photo_id":"1332546158","filename":"file4"},{"photo_id":"1332546146","filename":"file1"},{"photo_id":"1332546133","filename":"file0"},{"photo_id":"1332546156","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332546158":["hashtag1","hashtag2"]},{"1332546146":["hashtag1","hashtag2"]},{"1332546160":["hashtag1","hashtag2"]},{"1332546154":["hashtag1","hashtag2"]},{"1332546133":["hashtag1","hashtag2"]},{"1332546156":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332546158, 1332546146, 1332546160, 1332546154, 1332546133, 1332546156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.816309452056885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:30:32.610853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/29/image_29012025_06_29_56_9448.jpg', '/home/pi/Desktop/images/29012025/06/29/image_29012025_06_30_06_10361.jpg', '/home/pi/Desktop/images/29012025/06/30/image_29012025_06_30_15_9434.jpg', '/home/pi/Desktop/images/29012025/06/30/image_29012025_06_30_26_10373.jpg', '/home/pi/Desktop/images/29012025/06/30/image_29012025_06_30_36_10394.jpg', '/home/pi/Desktop/images/29012025/06/30/image_29012025_06_30_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/29/image_29012025_06_29_56_9448.jpg
/home/pi/Desktop/images/29012025/06/29/image_29012025_06_30_06_10361.jpg
/home/pi/Desktop/images/29012025/06/30/image_29012025_06_30_15_9434.jpg
/home/pi/Desktop/images/29012025/06/30/image_29012025_06_30_26_10373.jpg
/home/pi/Desktop/images/29012025/06/30/image_29012025_06_30_36_10394.jpg
/home/pi/Desktop/images/29012025/06/30/image_29012025_06_30_45_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":["1332546194","1332546176","1332546196","1332546199","1332546202","1332546192"],"photo_ids_order":["1332546176","1332546192","1332546194","1332546196","1332546199","1332546202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8fc78fb4960059513b5ec134c3212a24.jpg","text":"TemporaryFile(/tmp/multipartBody2787302141947068907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128693555,"filename":"image_29012025_06_30_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/29/5770a63d1096f091669e327108ee70c3.jpg","text":"TemporaryFile(/tmp/multipartBody2744350147068873389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128693555,"filename":"image_29012025_06_29_56_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/29/942b357b3e3975f2cb8b717a00f853b8.jpg","text":"TemporaryFile(/tmp/multipartBody3094474145191465394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128693555,"filename":"image_29012025_06_30_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/29/86062e98742f5cb143e861acb8874eca.jpg","text":"TemporaryFile(/tmp/multipartBody7729202617916489687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128693555,"filename":"image_29012025_06_30_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/29/5286cbcf87c782d8d5919f409db696e1.jpg","text":"TemporaryFile(/tmp/multipartBody3181115167683856210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128693555,"filename":"image_29012025_06_30_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/29/2ec32de04f272338289863b946ee0c10.jpg","text":"TemporaryFile(/tmp/multipartBody1945777409832853446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128693555,"filename":"image_29012025_06_30_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332546194","file1":"1332546192","file0":"1332546176","file4":"1332546199","file5":"1332546202","file3":"1332546196"},"map_files_photo_id_array":[{"photo_id":"1332546202","filename":"file5"},{"photo_id":"1332546194","filename":"file2"},{"photo_id":"1332546199","filename":"file4"},{"photo_id":"1332546192","filename":"file1"},{"photo_id":"1332546176","filename":"file0"},{"photo_id":"1332546196","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332546194":["hashtag1","hashtag2"]},{"1332546176":["hashtag1","hashtag2"]},{"1332546196":["hashtag1","hashtag2"]},{"1332546199":["hashtag1","hashtag2"]},{"1332546202":["hashtag1","hashtag2"]},{"1332546192":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332546194, 1332546176, 1332546196, 1332546199, 1332546202, 1332546192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.642242431640625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:31:32.865305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/30/image_29012025_06_30_56_10370.jpg', '/home/pi/Desktop/images/29012025/06/30/image_29012025_06_31_05_9420.jpg', '/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_16_10348.jpg', '/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_26_10394.jpg', '/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_35_9375.jpg', '/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_46_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/30/image_29012025_06_30_56_10370.jpg
/home/pi/Desktop/images/29012025/06/30/image_29012025_06_31_05_9420.jpg
/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_16_10348.jpg
/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_26_10394.jpg
/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_35_9375.jpg
/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_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":["1332546269","1332546265","1332546267","1332546261","1332546255","1332546258"],"photo_ids_order":["1332546255","1332546258","1332546261","1332546265","1332546267","1332546269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a816f25e843797609f454aeae576eda2.jpg","text":"TemporaryFile(/tmp/multipartBody5238737296833711989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128753784,"filename":"image_29012025_06_31_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/29/499257fcd659c785b85237f2e4c29a3a.jpg","text":"TemporaryFile(/tmp/multipartBody2932567203984649232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128753784,"filename":"image_29012025_06_31_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/29/4ca3d73551928c1c8afd309cba50697b.jpg","text":"TemporaryFile(/tmp/multipartBody9097897425352083032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128753784,"filename":"image_29012025_06_31_35_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/29/09a80c726974222af93dae615bfa58be.jpg","text":"TemporaryFile(/tmp/multipartBody3040873016804896645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128753784,"filename":"image_29012025_06_31_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/29/6a76d7ab5947e00646d2a52ac0e81838.jpg","text":"TemporaryFile(/tmp/multipartBody5253471432183534034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128753784,"filename":"image_29012025_06_30_56_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/29/c44b6c67ff619dd60d60e8ada8d65604.jpg","text":"TemporaryFile(/tmp/multipartBody8862410528391802831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128753784,"filename":"image_29012025_06_31_05_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332546261","file1":"1332546258","file0":"1332546255","file4":"1332546267","file5":"1332546269","file3":"1332546265"},"map_files_photo_id_array":[{"photo_id":"1332546269","filename":"file5"},{"photo_id":"1332546261","filename":"file2"},{"photo_id":"1332546267","filename":"file4"},{"photo_id":"1332546258","filename":"file1"},{"photo_id":"1332546255","filename":"file0"},{"photo_id":"1332546265","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332546269":["hashtag1","hashtag2"]},{"1332546265":["hashtag1","hashtag2"]},{"1332546267":["hashtag1","hashtag2"]},{"1332546261":["hashtag1","hashtag2"]},{"1332546255":["hashtag1","hashtag2"]},{"1332546258":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332546269, 1332546265, 1332546267, 1332546261, 1332546255, 1332546258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62181830406189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:32:32.200522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_56_10389.jpg', '/home/pi/Desktop/images/29012025/06/31/image_29012025_06_32_06_9357.jpg', '/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_26_10352.jpg', '/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_36_9362.jpg', '/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_46_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_56_10389.jpg
/home/pi/Desktop/images/29012025/06/31/image_29012025_06_32_06_9357.jpg
/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_26_10352.jpg
/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_36_9362.jpg
/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_46_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.5223815441131592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:32:42.161458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_56_10389.jpg', '/home/pi/Desktop/images/29012025/06/31/image_29012025_06_32_06_9357.jpg', '/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_26_10352.jpg', '/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_36_9362.jpg', '/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_46_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/31/image_29012025_06_31_56_10389.jpg
/home/pi/Desktop/images/29012025/06/31/image_29012025_06_32_06_9357.jpg
/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_26_10352.jpg
/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_36_9362.jpg
/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_46_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":["1332546314","1332546323","1332546319","1332546310","1332546324"],"photo_ids_order":["1332546310","1332546314","1332546319","1332546323","1332546324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a9df142e9c9f7883f5ea1a26830f6ac2.jpg","text":"TemporaryFile(/tmp/multipartBody8232825333994830376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128823077,"filename":"image_29012025_06_32_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/29/eef3c54ce89a038af980b74a8ac9cc68.jpg","text":"TemporaryFile(/tmp/multipartBody2897320050515043021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128823077,"filename":"image_29012025_06_32_36_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/29/eba077cd349b8a53729653efdc57b3a5.jpg","text":"TemporaryFile(/tmp/multipartBody9205691566169495605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128823077,"filename":"image_29012025_06_32_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/29/527b0064f5d4391ce2f5ca8badcfe871.jpg","text":"TemporaryFile(/tmp/multipartBody1757214843259406362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128823077,"filename":"image_29012025_06_31_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/29/e145ff05444d8c5865e752d2ba92be8f.jpg","text":"TemporaryFile(/tmp/multipartBody8378830351314824079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128823077,"filename":"image_29012025_06_32_46_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332546319","file1":"1332546314","file0":"1332546310","file4":"1332546324","file3":"1332546323"},"map_files_photo_id_array":[{"photo_id":"1332546319","filename":"file2"},{"photo_id":"1332546324","filename":"file4"},{"photo_id":"1332546314","filename":"file1"},{"photo_id":"1332546310","filename":"file0"},{"photo_id":"1332546323","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332546314":["hashtag1","hashtag2"]},{"1332546323":["hashtag1","hashtag2"]},{"1332546319":["hashtag1","hashtag2"]},{"1332546310":["hashtag1","hashtag2"]},{"1332546324":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332546314, 1332546323, 1332546319, 1332546310, 1332546324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.020498275756836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:33:32.520550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_55_9343.jpg', '/home/pi/Desktop/images/29012025/06/32/image_29012025_06_33_06_10370.jpg', '/home/pi/Desktop/images/29012025/06/33/image_29012025_06_33_16_10347.jpg', '/home/pi/Desktop/images/29012025/06/33/image_29012025_06_33_36_10358.jpg', '/home/pi/Desktop/images/29012025/06/33/image_29012025_06_33_46_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/32/image_29012025_06_32_55_9343.jpg
/home/pi/Desktop/images/29012025/06/32/image_29012025_06_33_06_10370.jpg
/home/pi/Desktop/images/29012025/06/33/image_29012025_06_33_16_10347.jpg
/home/pi/Desktop/images/29012025/06/33/image_29012025_06_33_36_10358.jpg
/home/pi/Desktop/images/29012025/06/33/image_29012025_06_33_46_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":["1332546347","1332546335","1332546338","1332546343","1332546340"],"photo_ids_order":["1332546335","1332546338","1332546340","1332546343","1332546347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3fd0a68dfd9a02d237f8d40097663bdd.jpg","text":"TemporaryFile(/tmp/multipartBody2360564242547555081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128873403,"filename":"image_29012025_06_33_46_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/29/5fd898f389eb13c59fa313088788704b.jpg","text":"TemporaryFile(/tmp/multipartBody5154943831500494687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128873403,"filename":"image_29012025_06_32_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/29/f89b55618c809e395f78b86d5ab63021.jpg","text":"TemporaryFile(/tmp/multipartBody5270978627412374755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128873403,"filename":"image_29012025_06_33_06_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/29/80f02abb7668558a99751bdc470f52d7.jpg","text":"TemporaryFile(/tmp/multipartBody6534759716139916918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128873403,"filename":"image_29012025_06_33_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/29/3fcaa8b2fe86b860bee197abefff36bc.jpg","text":"TemporaryFile(/tmp/multipartBody8606835241171796312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128873403,"filename":"image_29012025_06_33_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332546340","file1":"1332546338","file0":"1332546335","file4":"1332546347","file3":"1332546343"},"map_files_photo_id_array":[{"photo_id":"1332546340","filename":"file2"},{"photo_id":"1332546347","filename":"file4"},{"photo_id":"1332546338","filename":"file1"},{"photo_id":"1332546335","filename":"file0"},{"photo_id":"1332546343","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332546347":["hashtag1","hashtag2"]},{"1332546335":["hashtag1","hashtag2"]},{"1332546338":["hashtag1","hashtag2"]},{"1332546343":["hashtag1","hashtag2"]},{"1332546340":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332546347, 1332546335, 1332546338, 1332546343, 1332546340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.789082527160645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:34:32.765733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/33/image_29012025_06_33_56_9358.jpg', '/home/pi/Desktop/images/29012025/06/33/image_29012025_06_34_06_10516.jpg', '/home/pi/Desktop/images/29012025/06/34/image_29012025_06_34_15_9405.jpg', '/home/pi/Desktop/images/29012025/06/34/image_29012025_06_34_26_10383.jpg', '/home/pi/Desktop/images/29012025/06/34/image_29012025_06_34_35_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/33/image_29012025_06_33_56_9358.jpg
/home/pi/Desktop/images/29012025/06/33/image_29012025_06_34_06_10516.jpg
/home/pi/Desktop/images/29012025/06/34/image_29012025_06_34_15_9405.jpg
/home/pi/Desktop/images/29012025/06/34/image_29012025_06_34_26_10383.jpg
/home/pi/Desktop/images/29012025/06/34/image_29012025_06_34_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":["1332546371","1332546359","1332546368","1332546381","1332546363"],"photo_ids_order":["1332546359","1332546363","1332546368","1332546371","1332546381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ecfcae6c0127854628e1c2e6456eeb68.jpg","text":"TemporaryFile(/tmp/multipartBody2147166770324304895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128933667,"filename":"image_29012025_06_34_26_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/29/7e3be70580a55e635c7547f7a54c30ad.jpg","text":"TemporaryFile(/tmp/multipartBody88695244989166821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128933667,"filename":"image_29012025_06_33_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/29/eb9157a7f0fc406e2cf1929b40cef541.jpg","text":"TemporaryFile(/tmp/multipartBody4703451302517920156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128933667,"filename":"image_29012025_06_34_15_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/29/a70196cb28f415230791f7a2da6a65d9.jpg","text":"TemporaryFile(/tmp/multipartBody2941431305414586335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128933667,"filename":"image_29012025_06_34_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/29/04b92b4535505c78df34ec2bcf0d7a03.jpg","text":"TemporaryFile(/tmp/multipartBody4609448284788216986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128933667,"filename":"image_29012025_06_34_06_10516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332546368","file1":"1332546363","file0":"1332546359","file4":"1332546381","file3":"1332546371"},"map_files_photo_id_array":[{"photo_id":"1332546368","filename":"file2"},{"photo_id":"1332546381","filename":"file4"},{"photo_id":"1332546363","filename":"file1"},{"photo_id":"1332546359","filename":"file0"},{"photo_id":"1332546371","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332546371":["hashtag1","hashtag2"]},{"1332546359":["hashtag1","hashtag2"]},{"1332546368":["hashtag1","hashtag2"]},{"1332546381":["hashtag1","hashtag2"]},{"1332546363":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332546371, 1332546359, 1332546368, 1332546381, 1332546363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.88140106201172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:35:33.021809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/34/image_29012025_06_34_56_10261.jpg', '/home/pi/Desktop/images/29012025/06/34/image_29012025_06_35_05_9423.jpg', '/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_16_10336.jpg', '/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_26_10428.jpg', '/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_35_9363.jpg', '/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_46_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/34/image_29012025_06_34_56_10261.jpg
/home/pi/Desktop/images/29012025/06/34/image_29012025_06_35_05_9423.jpg
/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_16_10336.jpg
/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_26_10428.jpg
/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_35_9363.jpg
/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_46_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":["1332546545","1332546611","1332546428","1332546838","1332546957","1332546735"],"photo_ids_order":["1332546428","1332546545","1332546611","1332546735","1332546838","1332546957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/091585383192d7c468f9d81e985e1a0f.jpg","text":"TemporaryFile(/tmp/multipartBody4064581188303485049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128993949,"filename":"image_29012025_06_35_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/29/4a1d52ad6bfbc795c38caa7a91cc812e.jpg","text":"TemporaryFile(/tmp/multipartBody1843761903515404160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128993949,"filename":"image_29012025_06_35_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/29/e8492726208b46ed0798570a02090493.jpg","text":"TemporaryFile(/tmp/multipartBody5845978004654018314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128993949,"filename":"image_29012025_06_34_56_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/29/f2ee81a53ca0858f75e19d4a6f4b912a.jpg","text":"TemporaryFile(/tmp/multipartBody352823834882475100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128993949,"filename":"image_29012025_06_35_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/29/b238e2fcad7001141541f4d05664921e.jpg","text":"TemporaryFile(/tmp/multipartBody2869464365990602873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128993949,"filename":"image_29012025_06_35_46_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/29/36779580a63a03d58f092dc857331e62.jpg","text":"TemporaryFile(/tmp/multipartBody5283912788703371971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738128993949,"filename":"image_29012025_06_35_26_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332546611","file1":"1332546545","file0":"1332546428","file4":"1332546838","file5":"1332546957","file3":"1332546735"},"map_files_photo_id_array":[{"photo_id":"1332546957","filename":"file5"},{"photo_id":"1332546611","filename":"file2"},{"photo_id":"1332546838","filename":"file4"},{"photo_id":"1332546545","filename":"file1"},{"photo_id":"1332546428","filename":"file0"},{"photo_id":"1332546735","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332546545":["hashtag1","hashtag2"]},{"1332546611":["hashtag1","hashtag2"]},{"1332546428":["hashtag1","hashtag2"]},{"1332546838":["hashtag1","hashtag2"]},{"1332546957":["hashtag1","hashtag2"]},{"1332546735":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332546545, 1332546611, 1332546428, 1332546838, 1332546957, 1332546735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.248608112335205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:36:32.197111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_55_9478.jpg', '/home/pi/Desktop/images/29012025/06/35/image_29012025_06_36_06_10343.jpg', '/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_16_10347.jpg', '/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_25_9401.jpg', '/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_36_10412.jpg', '/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_45_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_55_9478.jpg
/home/pi/Desktop/images/29012025/06/35/image_29012025_06_36_06_10343.jpg
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_16_10347.jpg
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_25_9401.jpg
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_36_10412.jpg
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_45_9480.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.5259380340576172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:36:42.241579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_55_9478.jpg', '/home/pi/Desktop/images/29012025/06/35/image_29012025_06_36_06_10343.jpg', '/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_16_10347.jpg', '/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_25_9401.jpg', '/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_36_10412.jpg', '/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_45_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/35/image_29012025_06_35_55_9478.jpg
/home/pi/Desktop/images/29012025/06/35/image_29012025_06_36_06_10343.jpg
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_16_10347.jpg
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_25_9401.jpg
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_36_10412.jpg
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_45_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332547328","1332547106","1332547096","1332547336","1332547188","1332547101"],"photo_ids_order":["1332547096","1332547101","1332547106","1332547188","1332547328","1332547336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e8d3fcccbefb2a73ee092c22393e123d.jpg","text":"TemporaryFile(/tmp/multipartBody2172199740581203163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129063151,"filename":"image_29012025_06_36_36_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/29/fff9b18c82e02b0f13220b25a6c081bf.jpg","text":"TemporaryFile(/tmp/multipartBody4109256399872537025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129063151,"filename":"image_29012025_06_36_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/29/b9ffb10a391913dbdde5193db24d1b62.jpg","text":"TemporaryFile(/tmp/multipartBody1460876275411088585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129063151,"filename":"image_29012025_06_35_55_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/29/42cd769f01242e18b6313d9d3d972ffe.jpg","text":"TemporaryFile(/tmp/multipartBody5127370027973154057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129063151,"filename":"image_29012025_06_36_45_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/29/e000d9968c21685e5770be07c73bf536.jpg","text":"TemporaryFile(/tmp/multipartBody6614424562779129210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129063151,"filename":"image_29012025_06_36_25_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/29/b001ac1a7f4c1a1c40f6546d208c4c1d.jpg","text":"TemporaryFile(/tmp/multipartBody3515623494480465466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129063151,"filename":"image_29012025_06_36_06_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332547106","file1":"1332547101","file0":"1332547096","file4":"1332547328","file5":"1332547336","file3":"1332547188"},"map_files_photo_id_array":[{"photo_id":"1332547336","filename":"file5"},{"photo_id":"1332547106","filename":"file2"},{"photo_id":"1332547328","filename":"file4"},{"photo_id":"1332547101","filename":"file1"},{"photo_id":"1332547096","filename":"file0"},{"photo_id":"1332547188","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332547328":["hashtag1","hashtag2"]},{"1332547106":["hashtag1","hashtag2"]},{"1332547096":["hashtag1","hashtag2"]},{"1332547336":["hashtag1","hashtag2"]},{"1332547188":["hashtag1","hashtag2"]},{"1332547101":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332547328, 1332547106, 1332547096, 1332547336, 1332547188, 1332547101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42040419578552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:37:32.400434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_56_10376.jpg', '/home/pi/Desktop/images/29012025/06/36/image_29012025_06_37_06_10404.jpg', '/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_15_9391.jpg', '/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_26_10367.jpg', '/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_35_9447.jpg', '/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_56_10376.jpg
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_37_06_10404.jpg
/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_15_9391.jpg
/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_26_10367.jpg
/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_35_9447.jpg
/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_46_10368.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.5311071872711182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:37:42.511019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_56_10376.jpg', '/home/pi/Desktop/images/29012025/06/36/image_29012025_06_37_06_10404.jpg', '/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_15_9391.jpg', '/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_26_10367.jpg', '/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_35_9447.jpg', '/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_36_56_10376.jpg
/home/pi/Desktop/images/29012025/06/36/image_29012025_06_37_06_10404.jpg
/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_15_9391.jpg
/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_26_10367.jpg
/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_35_9447.jpg
/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_46_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332547379","1332547576","1332547558","1332547494","1332547578","1332547563"],"photo_ids_order":["1332547379","1332547494","1332547558","1332547563","1332547576","1332547578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8683a5b665d2ea750d55156be4dbe354.jpg","text":"TemporaryFile(/tmp/multipartBody7492160824102133495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129123425,"filename":"image_29012025_06_36_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/29/ab13f24235b7a673fb223500ed925407.jpg","text":"TemporaryFile(/tmp/multipartBody2848584736584502280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129123425,"filename":"image_29012025_06_37_35_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/29/543200e25072dbaef4f9cf8bc1904b38.jpg","text":"TemporaryFile(/tmp/multipartBody8428671362042302378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129123425,"filename":"image_29012025_06_37_15_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/29/6d40430f8c9b4559f9bfa6daeff89d80.jpg","text":"TemporaryFile(/tmp/multipartBody5239568973352035584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129123425,"filename":"image_29012025_06_37_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/29/5a9f95ccab168003025b44a7e91e7917.jpg","text":"TemporaryFile(/tmp/multipartBody4076937546264393247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129123425,"filename":"image_29012025_06_37_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/29/eff6a7983d26e753a4d63369312bf571.jpg","text":"TemporaryFile(/tmp/multipartBody426297173433463095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129123425,"filename":"image_29012025_06_37_26_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332547558","file1":"1332547494","file0":"1332547379","file4":"1332547576","file5":"1332547578","file3":"1332547563"},"map_files_photo_id_array":[{"photo_id":"1332547578","filename":"file5"},{"photo_id":"1332547558","filename":"file2"},{"photo_id":"1332547576","filename":"file4"},{"photo_id":"1332547494","filename":"file1"},{"photo_id":"1332547379","filename":"file0"},{"photo_id":"1332547563","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332547379":["hashtag1","hashtag2"]},{"1332547576":["hashtag1","hashtag2"]},{"1332547558":["hashtag1","hashtag2"]},{"1332547494":["hashtag1","hashtag2"]},{"1332547578":["hashtag1","hashtag2"]},{"1332547563":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332547379, 1332547576, 1332547558, 1332547494, 1332547578, 1332547563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.58033752441406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:38:32.655442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_56_10371.jpg', '/home/pi/Desktop/images/29012025/06/37/image_29012025_06_38_05_9346.jpg', '/home/pi/Desktop/images/29012025/06/38/image_29012025_06_38_16_10437.jpg', '/home/pi/Desktop/images/29012025/06/38/image_29012025_06_38_25_9449.jpg', '/home/pi/Desktop/images/29012025/06/38/image_29012025_06_38_36_10362.jpg', '/home/pi/Desktop/images/29012025/06/38/image_29012025_06_38_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/37/image_29012025_06_37_56_10371.jpg
/home/pi/Desktop/images/29012025/06/37/image_29012025_06_38_05_9346.jpg
/home/pi/Desktop/images/29012025/06/38/image_29012025_06_38_16_10437.jpg
/home/pi/Desktop/images/29012025/06/38/image_29012025_06_38_25_9449.jpg
/home/pi/Desktop/images/29012025/06/38/image_29012025_06_38_36_10362.jpg
/home/pi/Desktop/images/29012025/06/38/image_29012025_06_38_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":["1332547774","1332547777","1332547782","1332547779","1332547770","1332547722"],"photo_ids_order":["1332547722","1332547770","1332547774","1332547777","1332547779","1332547782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d31026403787edeefb2376e147a990ca.jpg","text":"TemporaryFile(/tmp/multipartBody8239424330985687668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129173609,"filename":"image_29012025_06_38_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/29/cc4a6d3999a5e4628fc427505849ef9d.jpg","text":"TemporaryFile(/tmp/multipartBody6826200248338841135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129173609,"filename":"image_29012025_06_38_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/29/90a666cd5105e9aca2e4fcb04a81ec8e.jpg","text":"TemporaryFile(/tmp/multipartBody7293087205403066867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129173609,"filename":"image_29012025_06_38_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/29/638acc3b978d459773dbc3e180aad43f.jpg","text":"TemporaryFile(/tmp/multipartBody2219322158660079414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129173609,"filename":"image_29012025_06_38_36_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/29/46debaf81e6eb81accb2e4b43cb15152.jpg","text":"TemporaryFile(/tmp/multipartBody1320739289351149199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129173609,"filename":"image_29012025_06_38_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/29/79319328169ab0443b1c4f4596e38109.jpg","text":"TemporaryFile(/tmp/multipartBody6592351711558457544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129173609,"filename":"image_29012025_06_37_56_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332547774","file1":"1332547770","file0":"1332547722","file4":"1332547779","file5":"1332547782","file3":"1332547777"},"map_files_photo_id_array":[{"photo_id":"1332547782","filename":"file5"},{"photo_id":"1332547774","filename":"file2"},{"photo_id":"1332547779","filename":"file4"},{"photo_id":"1332547770","filename":"file1"},{"photo_id":"1332547722","filename":"file0"},{"photo_id":"1332547777","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332547774":["hashtag1","hashtag2"]},{"1332547777":["hashtag1","hashtag2"]},{"1332547782":["hashtag1","hashtag2"]},{"1332547779":["hashtag1","hashtag2"]},{"1332547770":["hashtag1","hashtag2"]},{"1332547722":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332547774, 1332547777, 1332547782, 1332547779, 1332547770, 1332547722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.17438268661499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:39:32.876160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/38/image_29012025_06_38_55_9356.jpg', '/home/pi/Desktop/images/29012025/06/38/image_29012025_06_39_06_10335.jpg', '/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_16_10422.jpg', '/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_25_9357.jpg', '/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_36_10365.jpg', '/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_46_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/38/image_29012025_06_38_55_9356.jpg
/home/pi/Desktop/images/29012025/06/38/image_29012025_06_39_06_10335.jpg
/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_16_10422.jpg
/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_25_9357.jpg
/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_36_10365.jpg
/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_46_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":["1332547792","1332547801","1332547797","1332547821","1332547824","1332547818"],"photo_ids_order":["1332547792","1332547797","1332547801","1332547818","1332547821","1332547824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/230d90ada867cd1e369e0d628452e351.jpg","text":"TemporaryFile(/tmp/multipartBody5275810961649295515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129233788,"filename":"image_29012025_06_38_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/29/01a3825f7e094d50ab10fdf51617ae0c.jpg","text":"TemporaryFile(/tmp/multipartBody1473832228263924099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129233788,"filename":"image_29012025_06_39_16_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/29/f9eaf60200a78c20d9447a746836758a.jpg","text":"TemporaryFile(/tmp/multipartBody4054264605244570920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129233788,"filename":"image_29012025_06_39_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/29/ebaee1561ee0b0a4d4d998a8d0a21821.jpg","text":"TemporaryFile(/tmp/multipartBody6735760839535950075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129233788,"filename":"image_29012025_06_39_36_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/29/1cba327b5c63b14daa5a266c4e663cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1974462541238904554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129233788,"filename":"image_29012025_06_39_46_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/29/9bb3f6c5f17e42ca302c00fdfdf9aa63.jpg","text":"TemporaryFile(/tmp/multipartBody4623653724491387810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129233788,"filename":"image_29012025_06_39_25_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332547801","file1":"1332547797","file0":"1332547792","file4":"1332547821","file5":"1332547824","file3":"1332547818"},"map_files_photo_id_array":[{"photo_id":"1332547824","filename":"file5"},{"photo_id":"1332547801","filename":"file2"},{"photo_id":"1332547821","filename":"file4"},{"photo_id":"1332547797","filename":"file1"},{"photo_id":"1332547792","filename":"file0"},{"photo_id":"1332547818","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332547792":["hashtag1","hashtag2"]},{"1332547801":["hashtag1","hashtag2"]},{"1332547797":["hashtag1","hashtag2"]},{"1332547821":["hashtag1","hashtag2"]},{"1332547824":["hashtag1","hashtag2"]},{"1332547818":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332547792, 1332547801, 1332547797, 1332547821, 1332547824, 1332547818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21105742454529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:40:33.085838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_56_9353.jpg', '/home/pi/Desktop/images/29012025/06/39/image_29012025_06_40_06_10357.jpg', '/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_15_9319.jpg', '/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_26_10353.jpg', '/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_36_10344.jpg', '/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_45_9458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_56_9353.jpg
/home/pi/Desktop/images/29012025/06/39/image_29012025_06_40_06_10357.jpg
/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_15_9319.jpg
/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_26_10353.jpg
/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_36_10344.jpg
/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_45_9458.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.5191795825958252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:40:43.161147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_56_9353.jpg', '/home/pi/Desktop/images/29012025/06/39/image_29012025_06_40_06_10357.jpg', '/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_15_9319.jpg', '/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_26_10353.jpg', '/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_36_10344.jpg', '/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_45_9458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/39/image_29012025_06_39_56_9353.jpg
/home/pi/Desktop/images/29012025/06/39/image_29012025_06_40_06_10357.jpg
/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_15_9319.jpg
/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_26_10353.jpg
/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_36_10344.jpg
/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_45_9458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332547853","1332547841","1332547849","1332547857","1332547845","1332547859"],"photo_ids_order":["1332547841","1332547845","1332547849","1332547853","1332547857","1332547859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/30f26829478853ccdc83266d3edc921d.jpg","text":"TemporaryFile(/tmp/multipartBody8880006854876710572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129304069,"filename":"image_29012025_06_40_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/29/c6e1f8bfa08174cf032302e20c673520.jpg","text":"TemporaryFile(/tmp/multipartBody7877755806935071038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129304069,"filename":"image_29012025_06_39_56_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/29/0838fc54f0f76b4b346c50f979a13dae.jpg","text":"TemporaryFile(/tmp/multipartBody8148320753512799605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129304069,"filename":"image_29012025_06_40_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/29/7282dc1d18613f3b75a741bdc38b8ddd.jpg","text":"TemporaryFile(/tmp/multipartBody2135257066077431792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129304069,"filename":"image_29012025_06_40_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/29/3c0d1b5caf8da22b337548de84de48fd.jpg","text":"TemporaryFile(/tmp/multipartBody7837241872428448574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129304069,"filename":"image_29012025_06_40_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/29/57020aca09da2dfd564bf1bbe3946846.jpg","text":"TemporaryFile(/tmp/multipartBody6095953337447229419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129304069,"filename":"image_29012025_06_40_45_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332547849","file1":"1332547845","file0":"1332547841","file4":"1332547857","file5":"1332547859","file3":"1332547853"},"map_files_photo_id_array":[{"photo_id":"1332547859","filename":"file5"},{"photo_id":"1332547849","filename":"file2"},{"photo_id":"1332547857","filename":"file4"},{"photo_id":"1332547845","filename":"file1"},{"photo_id":"1332547841","filename":"file0"},{"photo_id":"1332547853","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332547853":["hashtag1","hashtag2"]},{"1332547841":["hashtag1","hashtag2"]},{"1332547849":["hashtag1","hashtag2"]},{"1332547857":["hashtag1","hashtag2"]},{"1332547845":["hashtag1","hashtag2"]},{"1332547859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332547853, 1332547841, 1332547849, 1332547857, 1332547845, 1332547859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.897196769714355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:41:32.319128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_56_10345.jpg', '/home/pi/Desktop/images/29012025/06/40/image_29012025_06_41_06_10382.jpg', '/home/pi/Desktop/images/29012025/06/41/image_29012025_06_41_15_9347.jpg', '/home/pi/Desktop/images/29012025/06/41/image_29012025_06_41_26_10373.jpg', '/home/pi/Desktop/images/29012025/06/41/image_29012025_06_41_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/40/image_29012025_06_40_56_10345.jpg
/home/pi/Desktop/images/29012025/06/40/image_29012025_06_41_06_10382.jpg
/home/pi/Desktop/images/29012025/06/41/image_29012025_06_41_15_9347.jpg
/home/pi/Desktop/images/29012025/06/41/image_29012025_06_41_26_10373.jpg
/home/pi/Desktop/images/29012025/06/41/image_29012025_06_41_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":["1332547901","1332547894","1332547898","1332547877","1332547886"],"photo_ids_order":["1332547877","1332547886","1332547894","1332547898","1332547901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/621f89936f86a0798526ddca45bc0d24.jpg","text":"TemporaryFile(/tmp/multipartBody7763118009982594826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129353215,"filename":"image_29012025_06_41_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/29/0127b973cc339a47bd81891f8f7a79fa.jpg","text":"TemporaryFile(/tmp/multipartBody6506922002613969500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129353215,"filename":"image_29012025_06_41_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/29/59194f19de6e945e536016638050638a.jpg","text":"TemporaryFile(/tmp/multipartBody6909675730952803743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129353215,"filename":"image_29012025_06_41_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/29/ecfcd051c144fb83b8207eb4ec11373b.jpg","text":"TemporaryFile(/tmp/multipartBody3245680265787150162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129353215,"filename":"image_29012025_06_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/29/4e626be20e0a3bad8a9687afdb84934e.jpg","text":"TemporaryFile(/tmp/multipartBody9101872257284291685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129353215,"filename":"image_29012025_06_41_06_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332547894","file1":"1332547886","file0":"1332547877","file4":"1332547901","file3":"1332547898"},"map_files_photo_id_array":[{"photo_id":"1332547894","filename":"file2"},{"photo_id":"1332547901","filename":"file4"},{"photo_id":"1332547886","filename":"file1"},{"photo_id":"1332547877","filename":"file0"},{"photo_id":"1332547898","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332547901":["hashtag1","hashtag2"]},{"1332547894":["hashtag1","hashtag2"]},{"1332547898":["hashtag1","hashtag2"]},{"1332547877":["hashtag1","hashtag2"]},{"1332547886":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332547901, 1332547894, 1332547898, 1332547877, 1332547886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.10870695114136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:42:32.608261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/41/image_29012025_06_41_46_9334.jpg', '/home/pi/Desktop/images/29012025/06/41/image_29012025_06_42_06_10342.jpg', '/home/pi/Desktop/images/29012025/06/42/image_29012025_06_42_16_9334.jpg', '/home/pi/Desktop/images/29012025/06/42/image_29012025_06_42_26_10371.jpg', '/home/pi/Desktop/images/29012025/06/42/image_29012025_06_42_35_9414.jpg', '/home/pi/Desktop/images/29012025/06/42/image_29012025_06_42_46_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/41/image_29012025_06_41_46_9334.jpg
/home/pi/Desktop/images/29012025/06/41/image_29012025_06_42_06_10342.jpg
/home/pi/Desktop/images/29012025/06/42/image_29012025_06_42_16_9334.jpg
/home/pi/Desktop/images/29012025/06/42/image_29012025_06_42_26_10371.jpg
/home/pi/Desktop/images/29012025/06/42/image_29012025_06_42_35_9414.jpg
/home/pi/Desktop/images/29012025/06/42/image_29012025_06_42_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":["1332548009","1332548006","1332547990","1332547998","1332548001","1332548012"],"photo_ids_order":["1332547990","1332547998","1332548001","1332548006","1332548009","1332548012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ab03ceaf0da7d6db9e88a82668e86871.jpg","text":"TemporaryFile(/tmp/multipartBody5487446128810910905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129413531,"filename":"image_29012025_06_42_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/29/c3e942fcae98de5172141c1c2bbbf089.jpg","text":"TemporaryFile(/tmp/multipartBody6366733189390544806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129413531,"filename":"image_29012025_06_42_26_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/29/085ea2139daf930db69a8ad8284dbb2e.jpg","text":"TemporaryFile(/tmp/multipartBody7105490884557144251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129413531,"filename":"image_29012025_06_41_46_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/29/2504beb2d0c80b6635fc24dad0e99674.jpg","text":"TemporaryFile(/tmp/multipartBody9131254501687261037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129413531,"filename":"image_29012025_06_42_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/29/ad63b9283c5573cb3315d5ebb2c1c476.jpg","text":"TemporaryFile(/tmp/multipartBody627827733833445807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129413531,"filename":"image_29012025_06_42_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/29/056f7659cba4e6fe0e1726ba2fd75c16.jpg","text":"TemporaryFile(/tmp/multipartBody2713261006290404315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129413531,"filename":"image_29012025_06_42_46_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332548001","file1":"1332547998","file0":"1332547990","file4":"1332548009","file5":"1332548012","file3":"1332548006"},"map_files_photo_id_array":[{"photo_id":"1332548012","filename":"file5"},{"photo_id":"1332548001","filename":"file2"},{"photo_id":"1332548009","filename":"file4"},{"photo_id":"1332547998","filename":"file1"},{"photo_id":"1332547990","filename":"file0"},{"photo_id":"1332548006","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332548009":["hashtag1","hashtag2"]},{"1332548006":["hashtag1","hashtag2"]},{"1332547990":["hashtag1","hashtag2"]},{"1332547998":["hashtag1","hashtag2"]},{"1332548001":["hashtag1","hashtag2"]},{"1332548012":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332548009, 1332548006, 1332547990, 1332547998, 1332548001, 1332548012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.68815064430237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:43:32.921263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/42/image_29012025_06_42_56_10412.jpg', '/home/pi/Desktop/images/29012025/06/42/image_29012025_06_43_05_9340.jpg', '/home/pi/Desktop/images/29012025/06/43/image_29012025_06_43_16_10371.jpg', '/home/pi/Desktop/images/29012025/06/43/image_29012025_06_43_26_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/42/image_29012025_06_42_56_10412.jpg
/home/pi/Desktop/images/29012025/06/42/image_29012025_06_43_05_9340.jpg
/home/pi/Desktop/images/29012025/06/43/image_29012025_06_43_16_10371.jpg
/home/pi/Desktop/images/29012025/06/43/image_29012025_06_43_26_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":["1332548233","1332548023","1332548070","1332548144"],"photo_ids_order":["1332548023","1332548070","1332548144","1332548233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bf9099c966b4cf9d0fbd5c7ed9f426c9.jpg","text":"TemporaryFile(/tmp/multipartBody6072763923620472736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129473800,"filename":"image_29012025_06_43_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/29/0ee569ed5b596d436475bd491bb864e1.jpg","text":"TemporaryFile(/tmp/multipartBody7951171555183003338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129473800,"filename":"image_29012025_06_42_56_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/29/375543f3b0bb2462b84d23ed05aa77fb.jpg","text":"TemporaryFile(/tmp/multipartBody2026836976998533103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129473800,"filename":"image_29012025_06_43_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/29/03464915ced6c76a3eae1338bcd04bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6505403531446229566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129473800,"filename":"image_29012025_06_43_16_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332548144","file1":"1332548070","file0":"1332548023","file3":"1332548233"},"map_files_photo_id_array":[{"photo_id":"1332548144","filename":"file2"},{"photo_id":"1332548070","filename":"file1"},{"photo_id":"1332548023","filename":"file0"},{"photo_id":"1332548233","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332548233":["hashtag1","hashtag2"]},{"1332548023":["hashtag1","hashtag2"]},{"1332548070":["hashtag1","hashtag2"]},{"1332548144":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332548233, 1332548023, 1332548070, 1332548144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.50142216682434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:44:33.109131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/43/image_29012025_06_43_55_9358.jpg', '/home/pi/Desktop/images/29012025/06/43/image_29012025_06_44_06_10363.jpg', '/home/pi/Desktop/images/29012025/06/44/image_29012025_06_44_16_10364.jpg', '/home/pi/Desktop/images/29012025/06/44/image_29012025_06_44_25_9426.jpg', '/home/pi/Desktop/images/29012025/06/44/image_29012025_06_44_36_10484.jpg', '/home/pi/Desktop/images/29012025/06/44/image_29012025_06_44_45_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/43/image_29012025_06_43_55_9358.jpg
/home/pi/Desktop/images/29012025/06/43/image_29012025_06_44_06_10363.jpg
/home/pi/Desktop/images/29012025/06/44/image_29012025_06_44_16_10364.jpg
/home/pi/Desktop/images/29012025/06/44/image_29012025_06_44_25_9426.jpg
/home/pi/Desktop/images/29012025/06/44/image_29012025_06_44_36_10484.jpg
/home/pi/Desktop/images/29012025/06/44/image_29012025_06_44_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":["1332548389","1332548380","1332548344","1332548373","1332548384","1332548378"],"photo_ids_order":["1332548344","1332548373","1332548378","1332548380","1332548384","1332548389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e1160ad97c854a2325453783f56d2bfb.jpg","text":"TemporaryFile(/tmp/multipartBody3783590321516436157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129534015,"filename":"image_29012025_06_44_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/29/8e49fb20af00539df4f9035c26ff9d62.jpg","text":"TemporaryFile(/tmp/multipartBody6552557160660550974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129534015,"filename":"image_29012025_06_44_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/29/793812cfbe5fd79094a6f9616ec0a8e0.jpg","text":"TemporaryFile(/tmp/multipartBody90405017547862794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129534015,"filename":"image_29012025_06_43_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/29/b17cbcf3559f8bca1ffb93fc049fc988.jpg","text":"TemporaryFile(/tmp/multipartBody6390447757157936224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129534015,"filename":"image_29012025_06_44_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/29/4bf86b188c4dbe421bf39551dd625a92.jpg","text":"TemporaryFile(/tmp/multipartBody5390423971718865173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129534015,"filename":"image_29012025_06_44_36_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5e62204f3f50041384ce599762136f2f.jpg","text":"TemporaryFile(/tmp/multipartBody7979551759248750669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129534015,"filename":"image_29012025_06_44_16_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332548378","file1":"1332548373","file0":"1332548344","file4":"1332548384","file5":"1332548389","file3":"1332548380"},"map_files_photo_id_array":[{"photo_id":"1332548389","filename":"file5"},{"photo_id":"1332548378","filename":"file2"},{"photo_id":"1332548384","filename":"file4"},{"photo_id":"1332548373","filename":"file1"},{"photo_id":"1332548344","filename":"file0"},{"photo_id":"1332548380","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332548389":["hashtag1","hashtag2"]},{"1332548380":["hashtag1","hashtag2"]},{"1332548344":["hashtag1","hashtag2"]},{"1332548373":["hashtag1","hashtag2"]},{"1332548384":["hashtag1","hashtag2"]},{"1332548378":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332548389, 1332548380, 1332548344, 1332548373, 1332548384, 1332548378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.857242584228516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:45:32.289752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/44/image_29012025_06_44_56_10378.jpg', '/home/pi/Desktop/images/29012025/06/44/image_29012025_06_45_06_10388.jpg', '/home/pi/Desktop/images/29012025/06/45/image_29012025_06_45_15_9341.jpg', '/home/pi/Desktop/images/29012025/06/45/image_29012025_06_45_26_10432.jpg', '/home/pi/Desktop/images/29012025/06/45/image_29012025_06_45_36_10409.jpg', '/home/pi/Desktop/images/29012025/06/45/image_29012025_06_45_46_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/44/image_29012025_06_44_56_10378.jpg
/home/pi/Desktop/images/29012025/06/44/image_29012025_06_45_06_10388.jpg
/home/pi/Desktop/images/29012025/06/45/image_29012025_06_45_15_9341.jpg
/home/pi/Desktop/images/29012025/06/45/image_29012025_06_45_26_10432.jpg
/home/pi/Desktop/images/29012025/06/45/image_29012025_06_45_36_10409.jpg
/home/pi/Desktop/images/29012025/06/45/image_29012025_06_45_46_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":["1332548689","1332548719","1332548713","1332548716","1332548646","1332548696"],"photo_ids_order":["1332548646","1332548689","1332548696","1332548713","1332548716","1332548719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e96cb171e1697e69690aa0bb4d109691.jpg","text":"TemporaryFile(/tmp/multipartBody1336972745669953856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129593204,"filename":"image_29012025_06_45_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/29/2c1f6cb05124f002c1a586b32d5d058e.jpg","text":"TemporaryFile(/tmp/multipartBody4195369118902825543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129593204,"filename":"image_29012025_06_45_46_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/29/750a1a19db645121733a48c6094b7089.jpg","text":"TemporaryFile(/tmp/multipartBody6887309783639870553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129593204,"filename":"image_29012025_06_45_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/29/b6991b5a2b5b454251a9fa699a4255a8.jpg","text":"TemporaryFile(/tmp/multipartBody4305213146334993478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129593204,"filename":"image_29012025_06_45_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/29/e072834c71ffac641e15bc40c340e73f.jpg","text":"TemporaryFile(/tmp/multipartBody6709710826998674578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129593204,"filename":"image_29012025_06_44_56_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/29/a9f4ad90868d8785e8137d7374da57eb.jpg","text":"TemporaryFile(/tmp/multipartBody4972996090661883591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129593204,"filename":"image_29012025_06_45_15_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332548696","file1":"1332548689","file0":"1332548646","file4":"1332548716","file5":"1332548719","file3":"1332548713"},"map_files_photo_id_array":[{"photo_id":"1332548719","filename":"file5"},{"photo_id":"1332548696","filename":"file2"},{"photo_id":"1332548716","filename":"file4"},{"photo_id":"1332548689","filename":"file1"},{"photo_id":"1332548646","filename":"file0"},{"photo_id":"1332548713","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332548689":["hashtag1","hashtag2"]},{"1332548719":["hashtag1","hashtag2"]},{"1332548713":["hashtag1","hashtag2"]},{"1332548716":["hashtag1","hashtag2"]},{"1332548646":["hashtag1","hashtag2"]},{"1332548696":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332548689, 1332548719, 1332548713, 1332548716, 1332548646, 1332548696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.25554037094116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:46:32.576932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/45/image_29012025_06_45_56_10348.jpg', '/home/pi/Desktop/images/29012025/06/45/image_29012025_06_46_05_9410.jpg', '/home/pi/Desktop/images/29012025/06/46/image_29012025_06_46_16_10390.jpg', '/home/pi/Desktop/images/29012025/06/46/image_29012025_06_46_26_10398.jpg', '/home/pi/Desktop/images/29012025/06/46/image_29012025_06_46_36_9342.jpg', '/home/pi/Desktop/images/29012025/06/46/image_29012025_06_46_46_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/45/image_29012025_06_45_56_10348.jpg
/home/pi/Desktop/images/29012025/06/45/image_29012025_06_46_05_9410.jpg
/home/pi/Desktop/images/29012025/06/46/image_29012025_06_46_16_10390.jpg
/home/pi/Desktop/images/29012025/06/46/image_29012025_06_46_26_10398.jpg
/home/pi/Desktop/images/29012025/06/46/image_29012025_06_46_36_9342.jpg
/home/pi/Desktop/images/29012025/06/46/image_29012025_06_46_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":["1332548767","1332548761","1332548779","1332548770","1332548764","1332548774"],"photo_ids_order":["1332548761","1332548764","1332548767","1332548770","1332548774","1332548779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/899cfd19b9475e62a843aea07d3ecd3a.jpg","text":"TemporaryFile(/tmp/multipartBody7114574779356794487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129653491,"filename":"image_29012025_06_46_16_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/29/34e8fcfedb86162d1191fa93b041f553.jpg","text":"TemporaryFile(/tmp/multipartBody8015794158946488316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129653491,"filename":"image_29012025_06_45_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/29/ca8a48afa6730af61bd9ec2c95778980.jpg","text":"TemporaryFile(/tmp/multipartBody8465377516821708861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129653491,"filename":"image_29012025_06_46_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/29/0404e19d7bf664f1dce5dc9f90764f39.jpg","text":"TemporaryFile(/tmp/multipartBody3308136217142116032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129653491,"filename":"image_29012025_06_46_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/29/9bba12b52572742e332cbb68804e3c83.jpg","text":"TemporaryFile(/tmp/multipartBody770851948517264952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129653491,"filename":"image_29012025_06_46_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/29/55e956ee99f56b1ce9b9f31ff714876a.jpg","text":"TemporaryFile(/tmp/multipartBody907159784212981100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129653491,"filename":"image_29012025_06_46_36_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332548767","file1":"1332548764","file0":"1332548761","file4":"1332548774","file5":"1332548779","file3":"1332548770"},"map_files_photo_id_array":[{"photo_id":"1332548779","filename":"file5"},{"photo_id":"1332548767","filename":"file2"},{"photo_id":"1332548774","filename":"file4"},{"photo_id":"1332548764","filename":"file1"},{"photo_id":"1332548761","filename":"file0"},{"photo_id":"1332548770","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332548767":["hashtag1","hashtag2"]},{"1332548761":["hashtag1","hashtag2"]},{"1332548779":["hashtag1","hashtag2"]},{"1332548770":["hashtag1","hashtag2"]},{"1332548764":["hashtag1","hashtag2"]},{"1332548774":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332548767, 1332548761, 1332548779, 1332548770, 1332548764, 1332548774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.655301094055176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:47:32.867512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/46/image_29012025_06_46_55_9416.jpg', '/home/pi/Desktop/images/29012025/06/46/image_29012025_06_47_06_10349.jpg', '/home/pi/Desktop/images/29012025/06/47/image_29012025_06_47_16_10404.jpg', '/home/pi/Desktop/images/29012025/06/47/image_29012025_06_47_25_9338.jpg', '/home/pi/Desktop/images/29012025/06/47/image_29012025_06_47_36_10358.jpg', '/home/pi/Desktop/images/29012025/06/47/image_29012025_06_47_46_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/46/image_29012025_06_46_55_9416.jpg
/home/pi/Desktop/images/29012025/06/46/image_29012025_06_47_06_10349.jpg
/home/pi/Desktop/images/29012025/06/47/image_29012025_06_47_16_10404.jpg
/home/pi/Desktop/images/29012025/06/47/image_29012025_06_47_25_9338.jpg
/home/pi/Desktop/images/29012025/06/47/image_29012025_06_47_36_10358.jpg
/home/pi/Desktop/images/29012025/06/47/image_29012025_06_47_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":["1332548801","1332548818","1332548806","1332548815","1332548811","1332548819"],"photo_ids_order":["1332548801","1332548806","1332548811","1332548815","1332548818","1332548819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/be1902f79eb8790bd2e352950b99720c.jpg","text":"TemporaryFile(/tmp/multipartBody7525064248886631344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129713785,"filename":"image_29012025_06_46_55_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/29/3091af395dc9e3ade42b3e7d432e32d1.jpg","text":"TemporaryFile(/tmp/multipartBody988680304514914677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129713785,"filename":"image_29012025_06_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/29/baab1f4b515e345320ee13c9f4852692.jpg","text":"TemporaryFile(/tmp/multipartBody2142109015801713898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129713785,"filename":"image_29012025_06_47_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/29/6aa22b0a4cc3941f67ba21a2ebfb351d.jpg","text":"TemporaryFile(/tmp/multipartBody1482202424426347827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129713785,"filename":"image_29012025_06_47_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/29/067aebfd8313a7debc3f38762224f8df.jpg","text":"TemporaryFile(/tmp/multipartBody8381306535427095330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129713785,"filename":"image_29012025_06_47_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/29/2f2ba932ec94a8989e4207bfabf48805.jpg","text":"TemporaryFile(/tmp/multipartBody5507007074129186020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129713785,"filename":"image_29012025_06_47_46_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332548811","file1":"1332548806","file0":"1332548801","file4":"1332548818","file5":"1332548819","file3":"1332548815"},"map_files_photo_id_array":[{"photo_id":"1332548819","filename":"file5"},{"photo_id":"1332548811","filename":"file2"},{"photo_id":"1332548818","filename":"file4"},{"photo_id":"1332548806","filename":"file1"},{"photo_id":"1332548801","filename":"file0"},{"photo_id":"1332548815","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332548801":["hashtag1","hashtag2"]},{"1332548818":["hashtag1","hashtag2"]},{"1332548806":["hashtag1","hashtag2"]},{"1332548815":["hashtag1","hashtag2"]},{"1332548811":["hashtag1","hashtag2"]},{"1332548819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332548801, 1332548818, 1332548806, 1332548815, 1332548811, 1332548819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47007703781128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:48:32.966187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/47/image_29012025_06_47_56_9335.jpg', '/home/pi/Desktop/images/29012025/06/47/image_29012025_06_48_06_10348.jpg', '/home/pi/Desktop/images/29012025/06/48/image_29012025_06_48_15_9437.jpg', '/home/pi/Desktop/images/29012025/06/48/image_29012025_06_48_36_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/47/image_29012025_06_47_56_9335.jpg
/home/pi/Desktop/images/29012025/06/47/image_29012025_06_48_06_10348.jpg
/home/pi/Desktop/images/29012025/06/48/image_29012025_06_48_15_9437.jpg
/home/pi/Desktop/images/29012025/06/48/image_29012025_06_48_36_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":["1332548835","1332548843","1332548837","1332548840"],"photo_ids_order":["1332548835","1332548837","1332548840","1332548843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fd32b71286a14376d90c6a2a3520a3ff.jpg","text":"TemporaryFile(/tmp/multipartBody2699793270599400549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129773847,"filename":"image_29012025_06_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/29/61344cb2eb86463eb496248e1c8fffe3.jpg","text":"TemporaryFile(/tmp/multipartBody7744895698737808655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129773847,"filename":"image_29012025_06_48_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/29/ad111a207d81ef4eae0ce855302728fc.jpg","text":"TemporaryFile(/tmp/multipartBody5065912775991519820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129773847,"filename":"image_29012025_06_48_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/29/9657dd2d327e7004a15b440ac2bbeec5.jpg","text":"TemporaryFile(/tmp/multipartBody3848736581763314405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129773847,"filename":"image_29012025_06_48_15_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332548840","file1":"1332548837","file0":"1332548835","file3":"1332548843"},"map_files_photo_id_array":[{"photo_id":"1332548840","filename":"file2"},{"photo_id":"1332548837","filename":"file1"},{"photo_id":"1332548835","filename":"file0"},{"photo_id":"1332548843","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332548835":["hashtag1","hashtag2"]},{"1332548843":["hashtag1","hashtag2"]},{"1332548837":["hashtag1","hashtag2"]},{"1332548840":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332548835, 1332548843, 1332548837, 1332548840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.84093403816223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:49:04.604494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_25_9351.jpg', '/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_36_10363.jpg', '/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_45_9408.jpg', '/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_55_10335.jpg', '/home/pi/Desktop/images/24012025/20/19/image_24012025_20_20_06_10374.jpg', '/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_15_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_25_9351.jpg
/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_36_10363.jpg
/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_45_9408.jpg
/home/pi/Desktop/images/24012025/20/19/image_24012025_20_19_55_10335.jpg
/home/pi/Desktop/images/24012025/20/19/image_24012025_20_20_06_10374.jpg
/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_15_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332548848","1332548857","1332548862","1332548865","1332548850","1332548853"],"photo_ids_order":["1332548848","1332548850","1332548853","1332548857","1332548862","1332548865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1cd98a781bf6ee5ab26fe9294f79616a.jpg","text":"TemporaryFile(/tmp/multipartBody8651190163623011716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129806403,"filename":"image_24012025_20_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/29/fefb8172169a52ed0549b3843e0ec6e8.jpg","text":"TemporaryFile(/tmp/multipartBody7039102600962661443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129806403,"filename":"image_24012025_20_19_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/29/0eb4c49202d153e6182883b9c3eedb06.jpg","text":"TemporaryFile(/tmp/multipartBody1645949581125222540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129806403,"filename":"image_24012025_20_20_06_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/29/a208f1943d6d34331e687fb18d9ec618.jpg","text":"TemporaryFile(/tmp/multipartBody2849404980488401871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129806403,"filename":"image_24012025_20_20_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/29/28faf841e0944c9fd1c96eb38268db00.jpg","text":"TemporaryFile(/tmp/multipartBody2599164178550854967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129806403,"filename":"image_24012025_20_19_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/29/65fcf328f012c10e63e75633fc8b4c0e.jpg","text":"TemporaryFile(/tmp/multipartBody1771819843974597956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129806403,"filename":"image_24012025_20_19_45_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332548853","file1":"1332548850","file0":"1332548848","file4":"1332548862","file5":"1332548865","file3":"1332548857"},"map_files_photo_id_array":[{"photo_id":"1332548865","filename":"file5"},{"photo_id":"1332548853","filename":"file2"},{"photo_id":"1332548862","filename":"file4"},{"photo_id":"1332548850","filename":"file1"},{"photo_id":"1332548848","filename":"file0"},{"photo_id":"1332548857","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332548848":["hashtag1","hashtag2"]},{"1332548857":["hashtag1","hashtag2"]},{"1332548862":["hashtag1","hashtag2"]},{"1332548865":["hashtag1","hashtag2"]},{"1332548850":["hashtag1","hashtag2"]},{"1332548853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332548848, 1332548857, 1332548862, 1332548865, 1332548850, 1332548853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.32260513305664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 06:49:53.040050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_25_10335.jpg', '/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_36_10419.jpg', '/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_45_9358.jpg', '/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_56_10335.jpg', '/home/pi/Desktop/images/24012025/20/20/image_24012025_20_21_05_9453.jpg', '/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_15_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_25_10335.jpg
/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_36_10419.jpg
/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_45_9358.jpg
/home/pi/Desktop/images/24012025/20/20/image_24012025_20_20_56_10335.jpg
/home/pi/Desktop/images/24012025/20/20/image_24012025_20_21_05_9453.jpg
/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_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":["1332548903","1332548880","1332548877","1332548871","1332548907","1332548873"],"photo_ids_order":["1332548871","1332548873","1332548877","1332548880","1332548903","1332548907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2dcd33f7f98c65f5f75b356cfef4f092.jpg","text":"TemporaryFile(/tmp/multipartBody4564879168659678029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129855168,"filename":"image_24012025_20_21_05_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/29/8c6a6f145672fdacf074f132b516d750.jpg","text":"TemporaryFile(/tmp/multipartBody7710485919606621617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129855168,"filename":"image_24012025_20_20_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/29/04880886a08a708926e719b6b3dcf60b.jpg","text":"TemporaryFile(/tmp/multipartBody1384105923049670881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129855168,"filename":"image_24012025_20_20_45_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/29/6d89c2944ff4b958cd754dd290610bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8987579691963876378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129855168,"filename":"image_24012025_20_20_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/29/361e6637b4270cd91620a713eb87526e.jpg","text":"TemporaryFile(/tmp/multipartBody9188161087314741191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129855168,"filename":"image_24012025_20_21_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/29/aa0f6d4389022b4b349c9e1dfc060e6e.jpg","text":"TemporaryFile(/tmp/multipartBody712004828091469226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129855168,"filename":"image_24012025_20_20_36_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332548877","file1":"1332548873","file0":"1332548871","file4":"1332548903","file5":"1332548907","file3":"1332548880"},"map_files_photo_id_array":[{"photo_id":"1332548907","filename":"file5"},{"photo_id":"1332548877","filename":"file2"},{"photo_id":"1332548903","filename":"file4"},{"photo_id":"1332548873","filename":"file1"},{"photo_id":"1332548871","filename":"file0"},{"photo_id":"1332548880","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332548903":["hashtag1","hashtag2"]},{"1332548880":["hashtag1","hashtag2"]},{"1332548877":["hashtag1","hashtag2"]},{"1332548871":["hashtag1","hashtag2"]},{"1332548907":["hashtag1","hashtag2"]},{"1332548873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332548903, 1332548880, 1332548877, 1332548871, 1332548907, 1332548873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.836514472961426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:50:42.239904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/48/image_29012025_06_48_56_10355.jpg', '/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_15_9332.jpg', '/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_26_10442.jpg', '/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_35_9347.jpg', '/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_46_10353.jpg', '/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_56_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/48/image_29012025_06_48_56_10355.jpg
/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_15_9332.jpg
/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_26_10442.jpg
/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_35_9347.jpg
/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_46_10353.jpg
/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_56_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.5180656909942627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 06:50:52.240901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_26_10344.jpg', '/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_35_9412.jpg', '/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_46_10405.jpg', '/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_56_10364.jpg', '/home/pi/Desktop/images/24012025/20/21/image_24012025_20_22_05_9353.jpg', '/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_16_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_26_10344.jpg
/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_35_9412.jpg
/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_46_10405.jpg
/home/pi/Desktop/images/24012025/20/21/image_24012025_20_21_56_10364.jpg
/home/pi/Desktop/images/24012025/20/21/image_24012025_20_22_05_9353.jpg
/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_16_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":["1332548965","1332548968","1332548976","1332548979","1332548972","1332548963"],"photo_ids_order":["1332548963","1332548965","1332548968","1332548972","1332548976","1332548979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b7872d05ad54553b233d1f560b29f4e2.jpg","text":"TemporaryFile(/tmp/multipartBody6289748723286402329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129914368,"filename":"image_24012025_20_21_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/29/809200810c0b32a7309ce2fff6057f97.jpg","text":"TemporaryFile(/tmp/multipartBody826979061154458084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129914368,"filename":"image_24012025_20_21_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/29/73efdba51b5521d6787b8cd0d036d673.jpg","text":"TemporaryFile(/tmp/multipartBody4644643134383805674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129914368,"filename":"image_24012025_20_22_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/29/5347efc8db82046866ffdcce30c997d2.jpg","text":"TemporaryFile(/tmp/multipartBody2177744092291164837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129914368,"filename":"image_24012025_20_22_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/29/3ac0ababe5f126c10a68135d6ede36f7.jpg","text":"TemporaryFile(/tmp/multipartBody6140459046439496928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129914368,"filename":"image_24012025_20_21_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/29/78bbdb7bc62f781c7f21f0dbe9ee60fa.jpg","text":"TemporaryFile(/tmp/multipartBody2640169717153251770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129914368,"filename":"image_24012025_20_21_26_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332548968","file1":"1332548965","file0":"1332548963","file4":"1332548976","file5":"1332548979","file3":"1332548972"},"map_files_photo_id_array":[{"photo_id":"1332548979","filename":"file5"},{"photo_id":"1332548968","filename":"file2"},{"photo_id":"1332548976","filename":"file4"},{"photo_id":"1332548965","filename":"file1"},{"photo_id":"1332548963","filename":"file0"},{"photo_id":"1332548972","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332548965":["hashtag1","hashtag2"]},{"1332548968":["hashtag1","hashtag2"]},{"1332548976":["hashtag1","hashtag2"]},{"1332548979":["hashtag1","hashtag2"]},{"1332548972":["hashtag1","hashtag2"]},{"1332548963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332548965, 1332548968, 1332548976, 1332548979, 1332548972, 1332548963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.01809096336365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 06:51:42.555775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/48/image_29012025_06_48_56_10355.jpg', '/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_15_9332.jpg', '/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_26_10442.jpg', '/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_35_9347.jpg', '/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_46_10353.jpg', '/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_56_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/48/image_29012025_06_48_56_10355.jpg
/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_15_9332.jpg
/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_26_10442.jpg
/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_35_9347.jpg
/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_46_10353.jpg
/home/pi/Desktop/images/29012025/06/49/image_29012025_06_49_56_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":["1332549238","1332549189","1332549231","1332549263","1332549242","1332549274"],"photo_ids_order":["1332549189","1332549231","1332549238","1332549242","1332549263","1332549274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/12014652faf46b796533a5fa1cc5a9b4.jpg","text":"TemporaryFile(/tmp/multipartBody5465611969737048243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129963496,"filename":"image_29012025_06_49_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/29/e87fd0a1c706b471877213363b8158cb.jpg","text":"TemporaryFile(/tmp/multipartBody1588114755142378120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129963496,"filename":"image_29012025_06_48_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/29/5453992ddb6c9620bed649bcfd613df6.jpg","text":"TemporaryFile(/tmp/multipartBody2652021613928732132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129963496,"filename":"image_29012025_06_49_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/29/32a1cb978142971063eb2d29eed57e16.jpg","text":"TemporaryFile(/tmp/multipartBody8197320764997158331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129963496,"filename":"image_29012025_06_49_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/29/bc52ec3dbea7f5b0a9cbc5bc2d3a065c.jpg","text":"TemporaryFile(/tmp/multipartBody1207517326478237203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129963496,"filename":"image_29012025_06_49_35_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/29/043b3e88ead33efe31fa536ff8e7d681.jpg","text":"TemporaryFile(/tmp/multipartBody4014420927800863866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738129963496,"filename":"image_29012025_06_49_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332549238","file1":"1332549231","file0":"1332549189","file4":"1332549263","file5":"1332549274","file3":"1332549242"},"map_files_photo_id_array":[{"photo_id":"1332549274","filename":"file5"},{"photo_id":"1332549238","filename":"file2"},{"photo_id":"1332549263","filename":"file4"},{"photo_id":"1332549231","filename":"file1"},{"photo_id":"1332549189","filename":"file0"},{"photo_id":"1332549242","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332549238":["hashtag1","hashtag2"]},{"1332549189":["hashtag1","hashtag2"]},{"1332549231":["hashtag1","hashtag2"]},{"1332549263":["hashtag1","hashtag2"]},{"1332549242":["hashtag1","hashtag2"]},{"1332549274":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332549238, 1332549189, 1332549231, 1332549263, 1332549242, 1332549274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4212281703949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:52:32.725535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/49/image_29012025_06_50_05_9356.jpg', '/home/pi/Desktop/images/29012025/06/50/image_29012025_06_50_16_10351.jpg', '/home/pi/Desktop/images/29012025/06/50/image_29012025_06_50_26_10488.jpg', '/home/pi/Desktop/images/29012025/06/50/image_29012025_06_50_36_9417.jpg', '/home/pi/Desktop/images/29012025/06/50/image_29012025_06_50_46_10346.jpg', '/home/pi/Desktop/images/29012025/06/50/image_29012025_06_50_55_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/49/image_29012025_06_50_05_9356.jpg
/home/pi/Desktop/images/29012025/06/50/image_29012025_06_50_16_10351.jpg
/home/pi/Desktop/images/29012025/06/50/image_29012025_06_50_26_10488.jpg
/home/pi/Desktop/images/29012025/06/50/image_29012025_06_50_36_9417.jpg
/home/pi/Desktop/images/29012025/06/50/image_29012025_06_50_46_10346.jpg
/home/pi/Desktop/images/29012025/06/50/image_29012025_06_50_55_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":["1332549375","1332549395","1332549398","1332549392","1332549371","1332549388"],"photo_ids_order":["1332549371","1332549375","1332549388","1332549392","1332549395","1332549398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/73bba3fdacb2e15fc9e519f6a3d169d5.jpg","text":"TemporaryFile(/tmp/multipartBody2970393528997743765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130013631,"filename":"image_29012025_06_50_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/29/acaaf04cbe12b02dc336bca41ad2c21e.jpg","text":"TemporaryFile(/tmp/multipartBody4592221880496803657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130013631,"filename":"image_29012025_06_50_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/29/73f4e8bd5a8a098ed340250282a85c28.jpg","text":"TemporaryFile(/tmp/multipartBody1519220026227901837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130013631,"filename":"image_29012025_06_50_55_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/29/af98ec2da4e1b90f1e7d92cac36de28f.jpg","text":"TemporaryFile(/tmp/multipartBody3916275742276193341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130013631,"filename":"image_29012025_06_50_36_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/29/c8cd9415b0b6b47f6696f762db4aa76d.jpg","text":"TemporaryFile(/tmp/multipartBody1255904314072645941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130013631,"filename":"image_29012025_06_50_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/29/56bef3ac7e8d46d84428573745abd18d.jpg","text":"TemporaryFile(/tmp/multipartBody6819452600018220619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130013631,"filename":"image_29012025_06_50_26_10488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332549388","file1":"1332549375","file0":"1332549371","file4":"1332549395","file5":"1332549398","file3":"1332549392"},"map_files_photo_id_array":[{"photo_id":"1332549398","filename":"file5"},{"photo_id":"1332549388","filename":"file2"},{"photo_id":"1332549395","filename":"file4"},{"photo_id":"1332549375","filename":"file1"},{"photo_id":"1332549371","filename":"file0"},{"photo_id":"1332549392","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332549375":["hashtag1","hashtag2"]},{"1332549395":["hashtag1","hashtag2"]},{"1332549398":["hashtag1","hashtag2"]},{"1332549392":["hashtag1","hashtag2"]},{"1332549371":["hashtag1","hashtag2"]},{"1332549388":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332549375, 1332549395, 1332549398, 1332549392, 1332549371, 1332549388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26221942901611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:53:33.041809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/50/image_29012025_06_51_06_10403.jpg', '/home/pi/Desktop/images/29012025/06/51/image_29012025_06_51_16_10403.jpg', '/home/pi/Desktop/images/29012025/06/51/image_29012025_06_51_26_9363.jpg', '/home/pi/Desktop/images/29012025/06/51/image_29012025_06_51_36_10358.jpg', '/home/pi/Desktop/images/29012025/06/51/image_29012025_06_51_45_9406.jpg', '/home/pi/Desktop/images/29012025/06/51/image_29012025_06_51_56_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/50/image_29012025_06_51_06_10403.jpg
/home/pi/Desktop/images/29012025/06/51/image_29012025_06_51_16_10403.jpg
/home/pi/Desktop/images/29012025/06/51/image_29012025_06_51_26_9363.jpg
/home/pi/Desktop/images/29012025/06/51/image_29012025_06_51_36_10358.jpg
/home/pi/Desktop/images/29012025/06/51/image_29012025_06_51_45_9406.jpg
/home/pi/Desktop/images/29012025/06/51/image_29012025_06_51_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":["1332549412","1332549441","1332549435","1332549438","1332549426","1332549408"],"photo_ids_order":["1332549408","1332549412","1332549426","1332549435","1332549438","1332549441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/935a9339b9bbc4168f33c05ff20a513e.jpg","text":"TemporaryFile(/tmp/multipartBody5658594583625869386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130073945,"filename":"image_29012025_06_51_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/29/62be9ff501ff24c31d57f2b8d8d9c9a7.jpg","text":"TemporaryFile(/tmp/multipartBody994297546857840632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130073945,"filename":"image_29012025_06_51_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/29/69ba48f9accc268fc78a304fb0934bfc.jpg","text":"TemporaryFile(/tmp/multipartBody7070405342629971515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130073945,"filename":"image_29012025_06_51_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/29/72212c4b92d16eb5263363db55d0160e.jpg","text":"TemporaryFile(/tmp/multipartBody7524798507545266486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130073945,"filename":"image_29012025_06_51_45_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/29/b8e9e477a20b8a22e6142359fbba7ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7579556076320106323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130073945,"filename":"image_29012025_06_51_26_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/29/88824aa70f47032eccf20b81fca24af8.jpg","text":"TemporaryFile(/tmp/multipartBody2325468439451857239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130073945,"filename":"image_29012025_06_51_06_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332549426","file1":"1332549412","file0":"1332549408","file4":"1332549438","file5":"1332549441","file3":"1332549435"},"map_files_photo_id_array":[{"photo_id":"1332549441","filename":"file5"},{"photo_id":"1332549426","filename":"file2"},{"photo_id":"1332549438","filename":"file4"},{"photo_id":"1332549412","filename":"file1"},{"photo_id":"1332549408","filename":"file0"},{"photo_id":"1332549435","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332549412":["hashtag1","hashtag2"]},{"1332549441":["hashtag1","hashtag2"]},{"1332549435":["hashtag1","hashtag2"]},{"1332549438":["hashtag1","hashtag2"]},{"1332549426":["hashtag1","hashtag2"]},{"1332549408":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332549412, 1332549441, 1332549435, 1332549438, 1332549426, 1332549408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.068787813186646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:54:33.261123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/51/image_29012025_06_52_06_10423.jpg', '/home/pi/Desktop/images/29012025/06/52/image_29012025_06_52_15_9359.jpg', '/home/pi/Desktop/images/29012025/06/52/image_29012025_06_52_26_10351.jpg', '/home/pi/Desktop/images/29012025/06/52/image_29012025_06_52_36_10436.jpg', '/home/pi/Desktop/images/29012025/06/52/image_29012025_06_52_46_9410.jpg', '/home/pi/Desktop/images/29012025/06/52/image_29012025_06_52_56_10496.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/51/image_29012025_06_52_06_10423.jpg
/home/pi/Desktop/images/29012025/06/52/image_29012025_06_52_15_9359.jpg
/home/pi/Desktop/images/29012025/06/52/image_29012025_06_52_26_10351.jpg
/home/pi/Desktop/images/29012025/06/52/image_29012025_06_52_36_10436.jpg
/home/pi/Desktop/images/29012025/06/52/image_29012025_06_52_46_9410.jpg
/home/pi/Desktop/images/29012025/06/52/image_29012025_06_52_56_10496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332549477","1332549471","1332549474","1332549461","1332549464","1332549467"],"photo_ids_order":["1332549461","1332549464","1332549467","1332549471","1332549474","1332549477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d2cac3b3b84c4f2f64ac37a484262688.jpg","text":"TemporaryFile(/tmp/multipartBody7084155778696450272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130134180,"filename":"image_29012025_06_52_56_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/29/e974a44c2055b1246e42e6ea3d91857e.jpg","text":"TemporaryFile(/tmp/multipartBody570764099370487351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130134180,"filename":"image_29012025_06_52_36_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/29/b9c3479cf9dee949bdbf130ec625478d.jpg","text":"TemporaryFile(/tmp/multipartBody5097924626037525831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130134180,"filename":"image_29012025_06_52_46_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/29/d6dd46c87f8cff39d0044068f4fd0e67.jpg","text":"TemporaryFile(/tmp/multipartBody4561830679772043579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130134180,"filename":"image_29012025_06_52_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/29/d58c93fe4fc0cef9620080e0d99768e5.jpg","text":"TemporaryFile(/tmp/multipartBody9029975255055040227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130134180,"filename":"image_29012025_06_52_15_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/29/f0c0076720a32d363594cd828d20007c.jpg","text":"TemporaryFile(/tmp/multipartBody5441509712641993723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130134180,"filename":"image_29012025_06_52_26_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332549467","file1":"1332549464","file0":"1332549461","file4":"1332549474","file5":"1332549477","file3":"1332549471"},"map_files_photo_id_array":[{"photo_id":"1332549477","filename":"file5"},{"photo_id":"1332549467","filename":"file2"},{"photo_id":"1332549474","filename":"file4"},{"photo_id":"1332549464","filename":"file1"},{"photo_id":"1332549461","filename":"file0"},{"photo_id":"1332549471","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332549477":["hashtag1","hashtag2"]},{"1332549471":["hashtag1","hashtag2"]},{"1332549474":["hashtag1","hashtag2"]},{"1332549461":["hashtag1","hashtag2"]},{"1332549464":["hashtag1","hashtag2"]},{"1332549467":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332549477, 1332549471, 1332549474, 1332549461, 1332549464, 1332549467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98804593086243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:55:32.348769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/52/image_29012025_06_53_06_9365.jpg', '/home/pi/Desktop/images/29012025/06/53/image_29012025_06_53_16_10346.jpg', '/home/pi/Desktop/images/29012025/06/53/image_29012025_06_53_26_10374.jpg', '/home/pi/Desktop/images/29012025/06/53/image_29012025_06_53_36_9354.jpg', '/home/pi/Desktop/images/29012025/06/53/image_29012025_06_53_46_10351.jpg', '/home/pi/Desktop/images/29012025/06/53/image_29012025_06_53_55_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/52/image_29012025_06_53_06_9365.jpg
/home/pi/Desktop/images/29012025/06/53/image_29012025_06_53_16_10346.jpg
/home/pi/Desktop/images/29012025/06/53/image_29012025_06_53_26_10374.jpg
/home/pi/Desktop/images/29012025/06/53/image_29012025_06_53_36_9354.jpg
/home/pi/Desktop/images/29012025/06/53/image_29012025_06_53_46_10351.jpg
/home/pi/Desktop/images/29012025/06/53/image_29012025_06_53_55_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":["1332549495","1332549514","1332549504","1332549539","1332549536","1332549515"],"photo_ids_order":["1332549495","1332549504","1332549514","1332549515","1332549536","1332549539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e6001734b1a43e6085ff584287d24ba9.jpg","text":"TemporaryFile(/tmp/multipartBody4782708941493153851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130193262,"filename":"image_29012025_06_53_06_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/29/218fde316eaa22588838cbdde4320e18.jpg","text":"TemporaryFile(/tmp/multipartBody8616896455517558864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130193262,"filename":"image_29012025_06_53_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/29/ae8dd0259730d672b822e9e21d7e51b4.jpg","text":"TemporaryFile(/tmp/multipartBody1991795161947981685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130193262,"filename":"image_29012025_06_53_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/29/0177fc2f0f485e3976ed06b202c34f29.jpg","text":"TemporaryFile(/tmp/multipartBody4368211364272250020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130193262,"filename":"image_29012025_06_53_55_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/29/3b58189e9eb3b73c3338dede37db0374.jpg","text":"TemporaryFile(/tmp/multipartBody6586299938623110592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130193262,"filename":"image_29012025_06_53_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/29/6fec4695dbe1c415dca920ff6c081526.jpg","text":"TemporaryFile(/tmp/multipartBody2234347592343635904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130193262,"filename":"image_29012025_06_53_36_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332549514","file1":"1332549504","file0":"1332549495","file4":"1332549536","file5":"1332549539","file3":"1332549515"},"map_files_photo_id_array":[{"photo_id":"1332549539","filename":"file5"},{"photo_id":"1332549514","filename":"file2"},{"photo_id":"1332549536","filename":"file4"},{"photo_id":"1332549504","filename":"file1"},{"photo_id":"1332549495","filename":"file0"},{"photo_id":"1332549515","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332549495":["hashtag1","hashtag2"]},{"1332549514":["hashtag1","hashtag2"]},{"1332549504":["hashtag1","hashtag2"]},{"1332549539":["hashtag1","hashtag2"]},{"1332549536":["hashtag1","hashtag2"]},{"1332549515":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332549495, 1332549514, 1332549504, 1332549539, 1332549536, 1332549515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.74993586540222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:56:32.510105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/53/image_29012025_06_54_06_10368.jpg', '/home/pi/Desktop/images/29012025/06/54/image_29012025_06_54_16_10466.jpg', '/home/pi/Desktop/images/29012025/06/54/image_29012025_06_54_26_9336.jpg', '/home/pi/Desktop/images/29012025/06/54/image_29012025_06_54_36_10409.jpg', '/home/pi/Desktop/images/29012025/06/54/image_29012025_06_54_56_10373.jpg', '/home/pi/Desktop/images/29012025/06/54/image_29012025_06_55_06_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/53/image_29012025_06_54_06_10368.jpg
/home/pi/Desktop/images/29012025/06/54/image_29012025_06_54_16_10466.jpg
/home/pi/Desktop/images/29012025/06/54/image_29012025_06_54_26_9336.jpg
/home/pi/Desktop/images/29012025/06/54/image_29012025_06_54_36_10409.jpg
/home/pi/Desktop/images/29012025/06/54/image_29012025_06_54_56_10373.jpg
/home/pi/Desktop/images/29012025/06/54/image_29012025_06_55_06_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":["1332549564","1332549558","1332549572","1332549574","1332549568","1332549553"],"photo_ids_order":["1332549553","1332549558","1332549564","1332549568","1332549572","1332549574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d176b9ff235cbd10792782f000074c37.jpg","text":"TemporaryFile(/tmp/multipartBody4880913639973560535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130253444,"filename":"image_29012025_06_54_26_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/29/b22e90d43dc7568b367549b82080e06a.jpg","text":"TemporaryFile(/tmp/multipartBody7361724105107698046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130253444,"filename":"image_29012025_06_54_16_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/29/00808b2d954b19411671301d74c1a0b2.jpg","text":"TemporaryFile(/tmp/multipartBody3137641824228210998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130253444,"filename":"image_29012025_06_54_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/29/861f33ba9ca24f842cb16bae18fa82b2.jpg","text":"TemporaryFile(/tmp/multipartBody6308582610086959827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130253444,"filename":"image_29012025_06_55_06_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/29/7a49d4c6319953845a12b56449844947.jpg","text":"TemporaryFile(/tmp/multipartBody6651887728182562684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130253444,"filename":"image_29012025_06_54_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/29/6d209d8608b4f5f2c683b73af1c32e7e.jpg","text":"TemporaryFile(/tmp/multipartBody2462232095505896877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130253444,"filename":"image_29012025_06_54_06_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332549564","file1":"1332549558","file0":"1332549553","file4":"1332549572","file5":"1332549574","file3":"1332549568"},"map_files_photo_id_array":[{"photo_id":"1332549574","filename":"file5"},{"photo_id":"1332549564","filename":"file2"},{"photo_id":"1332549572","filename":"file4"},{"photo_id":"1332549558","filename":"file1"},{"photo_id":"1332549553","filename":"file0"},{"photo_id":"1332549568","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332549564":["hashtag1","hashtag2"]},{"1332549558":["hashtag1","hashtag2"]},{"1332549572":["hashtag1","hashtag2"]},{"1332549574":["hashtag1","hashtag2"]},{"1332549568":["hashtag1","hashtag2"]},{"1332549553":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332549564, 1332549558, 1332549572, 1332549574, 1332549568, 1332549553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.921061754226685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 06:57:32.752696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/55/image_29012025_06_55_56_10364.jpg', '/home/pi/Desktop/images/29012025/06/55/image_29012025_06_56_05_9459.jpg', '/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_16_10346.jpg', '/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_25_9466.jpg', '/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_36_10412.jpg', '/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/55/image_29012025_06_55_56_10364.jpg
/home/pi/Desktop/images/29012025/06/55/image_29012025_06_56_05_9459.jpg
/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_16_10346.jpg
/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_25_9466.jpg
/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_36_10412.jpg
/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_46_10351.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-29 06:59:03.735224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/55/image_29012025_06_55_56_10364.jpg', '/home/pi/Desktop/images/29012025/06/55/image_29012025_06_56_05_9459.jpg', '/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_16_10346.jpg', '/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_25_9466.jpg', '/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_36_10412.jpg', '/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/55/image_29012025_06_55_56_10364.jpg
/home/pi/Desktop/images/29012025/06/55/image_29012025_06_56_05_9459.jpg
/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_16_10346.jpg
/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_25_9466.jpg
/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_36_10412.jpg
/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_46_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":["1332549649","1332549643","1332549657","1332549662","1332549665","1332549653"],"photo_ids_order":["1332549643","1332549649","1332549653","1332549657","1332549662","1332549665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bb2369b8422328502b7c3f09365666c6.jpg","text":"TemporaryFile(/tmp/multipartBody4718939945966100625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130404712,"filename":"image_29012025_06_56_05_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/29/98163dd7d835e0c27730488b56f71ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6651847625379989661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130404712,"filename":"image_29012025_06_55_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/29/d62abb537754af2dfcec4d294a07fe3b.jpg","text":"TemporaryFile(/tmp/multipartBody3381009377596287931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130404712,"filename":"image_29012025_06_56_25_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/29/033736dc8980539e82b8319d62e9a2a6.jpg","text":"TemporaryFile(/tmp/multipartBody2754228124544253514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130404712,"filename":"image_29012025_06_56_36_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/29/c8666b39973f7b26f31c3dfc990d11f0.jpg","text":"TemporaryFile(/tmp/multipartBody8458558027350608905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130404712,"filename":"image_29012025_06_56_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/29/9c15880c5c07b2aa254b7be2f6e5b27e.jpg","text":"TemporaryFile(/tmp/multipartBody3172587108227926999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130404712,"filename":"image_29012025_06_56_16_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332549653","file1":"1332549649","file0":"1332549643","file4":"1332549662","file5":"1332549665","file3":"1332549657"},"map_files_photo_id_array":[{"photo_id":"1332549665","filename":"file5"},{"photo_id":"1332549653","filename":"file2"},{"photo_id":"1332549662","filename":"file4"},{"photo_id":"1332549649","filename":"file1"},{"photo_id":"1332549643","filename":"file0"},{"photo_id":"1332549657","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332549649":["hashtag1","hashtag2"]},{"1332549643":["hashtag1","hashtag2"]},{"1332549657":["hashtag1","hashtag2"]},{"1332549662":["hashtag1","hashtag2"]},{"1332549665":["hashtag1","hashtag2"]},{"1332549653":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332549649, 1332549643, 1332549657, 1332549662, 1332549665, 1332549653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.84990739822388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 06:59:52.472847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_25_9354.jpg', '/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_35_10435.jpg', '/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_46_10496.jpg', '/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_55_9405.jpg', '/home/pi/Desktop/images/24012025/20/22/image_24012025_20_23_06_10401.jpg', '/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_15_9386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_25_9354.jpg
/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_35_10435.jpg
/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_46_10496.jpg
/home/pi/Desktop/images/24012025/20/22/image_24012025_20_22_55_9405.jpg
/home/pi/Desktop/images/24012025/20/22/image_24012025_20_23_06_10401.jpg
/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_15_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332549676","1332549690","1332549672","1332549683","1332549679","1332549670"],"photo_ids_order":["1332549670","1332549672","1332549676","1332549679","1332549683","1332549690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/46aed7add4a0622727280e1854124f46.jpg","text":"TemporaryFile(/tmp/multipartBody8527344538220240722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130454636,"filename":"image_24012025_20_22_46_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/29/e9d0b0eac5d244d9873ed8abd8e4488a.jpg","text":"TemporaryFile(/tmp/multipartBody7247267663462572941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130454636,"filename":"image_24012025_20_23_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/29/6fb550849eecc9d7c66507da46eb5a54.jpg","text":"TemporaryFile(/tmp/multipartBody1052974709209065902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130454636,"filename":"image_24012025_20_22_35_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/29/2c8a4b815880939d121d815d0a655a2a.jpg","text":"TemporaryFile(/tmp/multipartBody1326001967072155979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130454636,"filename":"image_24012025_20_23_06_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/29/221ba2238eccd5973b66d5f8df896833.jpg","text":"TemporaryFile(/tmp/multipartBody3411293204171353307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130454636,"filename":"image_24012025_20_22_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/29/42f60238ecec227bcca5f30b36dd9ecf.jpg","text":"TemporaryFile(/tmp/multipartBody2035341916158004596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130454636,"filename":"image_24012025_20_22_25_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332549676","file1":"1332549672","file0":"1332549670","file4":"1332549683","file5":"1332549690","file3":"1332549679"},"map_files_photo_id_array":[{"photo_id":"1332549690","filename":"file5"},{"photo_id":"1332549676","filename":"file2"},{"photo_id":"1332549683","filename":"file4"},{"photo_id":"1332549672","filename":"file1"},{"photo_id":"1332549670","filename":"file0"},{"photo_id":"1332549679","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332549676":["hashtag1","hashtag2"]},{"1332549690":["hashtag1","hashtag2"]},{"1332549672":["hashtag1","hashtag2"]},{"1332549683":["hashtag1","hashtag2"]},{"1332549679":["hashtag1","hashtag2"]},{"1332549670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332549676, 1332549690, 1332549672, 1332549683, 1332549679, 1332549670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.89993405342102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 07:00:42.705454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_55_9453.jpg', '/home/pi/Desktop/images/29012025/06/56/image_29012025_06_57_06_10432.jpg', '/home/pi/Desktop/images/29012025/06/57/image_29012025_06_57_15_9444.jpg', '/home/pi/Desktop/images/29012025/06/57/image_29012025_06_57_26_10365.jpg', '/home/pi/Desktop/images/29012025/06/57/image_29012025_06_57_36_10455.jpg', '/home/pi/Desktop/images/29012025/06/57/image_29012025_06_57_46_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/56/image_29012025_06_56_55_9453.jpg
/home/pi/Desktop/images/29012025/06/56/image_29012025_06_57_06_10432.jpg
/home/pi/Desktop/images/29012025/06/57/image_29012025_06_57_15_9444.jpg
/home/pi/Desktop/images/29012025/06/57/image_29012025_06_57_26_10365.jpg
/home/pi/Desktop/images/29012025/06/57/image_29012025_06_57_36_10455.jpg
/home/pi/Desktop/images/29012025/06/57/image_29012025_06_57_46_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":["1332550126","1332549915","1332549705","1332550020","1332549818","1332549752"],"photo_ids_order":["1332549705","1332549752","1332549818","1332549915","1332550020","1332550126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ff8510d71a81dcf82c31bfb4e95d75ba.jpg","text":"TemporaryFile(/tmp/multipartBody8534988285222883425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130503606,"filename":"image_29012025_06_57_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/29/3127edfe03499b6a3d01f35d619a4807.jpg","text":"TemporaryFile(/tmp/multipartBody3795986540663888644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130503606,"filename":"image_29012025_06_57_26_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/29/284bceaea1664a772d50265710785130.jpg","text":"TemporaryFile(/tmp/multipartBody631393399325283080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130503606,"filename":"image_29012025_06_56_55_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/29/5f5f640038280ad058a527a5d5b47e3f.jpg","text":"TemporaryFile(/tmp/multipartBody7699084548512796857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130503606,"filename":"image_29012025_06_57_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/29/906aedd88ca34147ab04ef0a68cc9ef0.jpg","text":"TemporaryFile(/tmp/multipartBody5120713042927999826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130503606,"filename":"image_29012025_06_57_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/29/71f9398959a6f2f0f71c7d32d1c6ef43.jpg","text":"TemporaryFile(/tmp/multipartBody5121439230113384590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130503606,"filename":"image_29012025_06_57_06_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332549818","file1":"1332549752","file0":"1332549705","file4":"1332550020","file5":"1332550126","file3":"1332549915"},"map_files_photo_id_array":[{"photo_id":"1332550126","filename":"file5"},{"photo_id":"1332549818","filename":"file2"},{"photo_id":"1332550020","filename":"file4"},{"photo_id":"1332549752","filename":"file1"},{"photo_id":"1332549705","filename":"file0"},{"photo_id":"1332549915","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332550126":["hashtag1","hashtag2"]},{"1332549915":["hashtag1","hashtag2"]},{"1332549705":["hashtag1","hashtag2"]},{"1332550020":["hashtag1","hashtag2"]},{"1332549818":["hashtag1","hashtag2"]},{"1332549752":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332550126, 1332549915, 1332549705, 1332550020, 1332549818, 1332549752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.982961893081665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:01:33.138430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/57/image_29012025_06_57_56_10428.jpg', '/home/pi/Desktop/images/29012025/06/57/image_29012025_06_58_05_9378.jpg', '/home/pi/Desktop/images/29012025/06/58/image_29012025_06_58_16_10340.jpg', '/home/pi/Desktop/images/29012025/06/58/image_29012025_06_58_26_10411.jpg', '/home/pi/Desktop/images/29012025/06/58/image_29012025_06_58_35_9363.jpg', '/home/pi/Desktop/images/29012025/06/58/image_29012025_06_58_46_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/57/image_29012025_06_57_56_10428.jpg
/home/pi/Desktop/images/29012025/06/57/image_29012025_06_58_05_9378.jpg
/home/pi/Desktop/images/29012025/06/58/image_29012025_06_58_16_10340.jpg
/home/pi/Desktop/images/29012025/06/58/image_29012025_06_58_26_10411.jpg
/home/pi/Desktop/images/29012025/06/58/image_29012025_06_58_35_9363.jpg
/home/pi/Desktop/images/29012025/06/58/image_29012025_06_58_46_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":["1332550530","1332550691","1332550682","1332550649","1332550664","1332550703"],"photo_ids_order":["1332550530","1332550649","1332550664","1332550682","1332550691","1332550703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/acb7a3210062ae20ade14782da89225f.jpg","text":"TemporaryFile(/tmp/multipartBody6200476448619600668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130554072,"filename":"image_29012025_06_57_56_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/29/2bcf204bcfacb7e241c891dda8be1b05.jpg","text":"TemporaryFile(/tmp/multipartBody2376094177814924980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130554072,"filename":"image_29012025_06_58_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/29/4ebb936e2eeadf39e8547f8f43560794.jpg","text":"TemporaryFile(/tmp/multipartBody5413824166715387217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130554072,"filename":"image_29012025_06_58_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/29/27640b55076519d69eeab1430bf3617a.jpg","text":"TemporaryFile(/tmp/multipartBody2200523201355883064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130554072,"filename":"image_29012025_06_58_05_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/29/fa989089f61123a62a446f953589adcb.jpg","text":"TemporaryFile(/tmp/multipartBody8024947821057019682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130554072,"filename":"image_29012025_06_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/29/1fd4a64e123632849b784700d0af4e78.jpg","text":"TemporaryFile(/tmp/multipartBody1723501295989788004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130554072,"filename":"image_29012025_06_58_46_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332550664","file1":"1332550649","file0":"1332550530","file4":"1332550691","file5":"1332550703","file3":"1332550682"},"map_files_photo_id_array":[{"photo_id":"1332550703","filename":"file5"},{"photo_id":"1332550664","filename":"file2"},{"photo_id":"1332550691","filename":"file4"},{"photo_id":"1332550649","filename":"file1"},{"photo_id":"1332550530","filename":"file0"},{"photo_id":"1332550682","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332550530":["hashtag1","hashtag2"]},{"1332550691":["hashtag1","hashtag2"]},{"1332550682":["hashtag1","hashtag2"]},{"1332550649":["hashtag1","hashtag2"]},{"1332550664":["hashtag1","hashtag2"]},{"1332550703":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332550530, 1332550691, 1332550682, 1332550649, 1332550664, 1332550703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.05502104759216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:02:32.159072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/58/image_29012025_06_58_55_9474.jpg', '/home/pi/Desktop/images/29012025/06/58/image_29012025_06_59_06_10408.jpg', '/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_16_10352.jpg', '/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_25_9439.jpg', '/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_36_10405.jpg', '/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_45_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/58/image_29012025_06_58_55_9474.jpg
/home/pi/Desktop/images/29012025/06/58/image_29012025_06_59_06_10408.jpg
/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_16_10352.jpg
/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_25_9439.jpg
/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_36_10405.jpg
/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_45_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":["1332550951","1332550971","1332551069","1332551078","1332550898","1332551033"],"photo_ids_order":["1332550898","1332550951","1332550971","1332551033","1332551069","1332551078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ee075ce3edd5bf3938a35999289f7dc9.jpg","text":"TemporaryFile(/tmp/multipartBody8701845590857969428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130613062,"filename":"image_29012025_06_59_06_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/29/e1524f61553b02d8f908e0b6262b5e9d.jpg","text":"TemporaryFile(/tmp/multipartBody7689883679777697373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130613062,"filename":"image_29012025_06_59_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/29/723828836da3304f7f28fd492708eac1.jpg","text":"TemporaryFile(/tmp/multipartBody8547105888132036417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130613062,"filename":"image_29012025_06_59_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/29/eeec8ef4385948685d56acf5a9ed64ed.jpg","text":"TemporaryFile(/tmp/multipartBody3200936555547887211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130613062,"filename":"image_29012025_06_59_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/29/faca24421f5cf5a207ff7b7554ea5e4a.jpg","text":"TemporaryFile(/tmp/multipartBody4492269986965330900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130613062,"filename":"image_29012025_06_58_55_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/29/d78654ce2aa7e565affe9ab0f090a4a5.jpg","text":"TemporaryFile(/tmp/multipartBody2477171005179567288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130613062,"filename":"image_29012025_06_59_25_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332550971","file1":"1332550951","file0":"1332550898","file4":"1332551069","file5":"1332551078","file3":"1332551033"},"map_files_photo_id_array":[{"photo_id":"1332551078","filename":"file5"},{"photo_id":"1332550971","filename":"file2"},{"photo_id":"1332551069","filename":"file4"},{"photo_id":"1332550951","filename":"file1"},{"photo_id":"1332550898","filename":"file0"},{"photo_id":"1332551033","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332550951":["hashtag1","hashtag2"]},{"1332550971":["hashtag1","hashtag2"]},{"1332551069":["hashtag1","hashtag2"]},{"1332551078":["hashtag1","hashtag2"]},{"1332550898":["hashtag1","hashtag2"]},{"1332551033":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332550951, 1332550971, 1332551069, 1332551078, 1332550898, 1332551033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.18633985519409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:03:32.489954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_56_10372.jpg', '/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_14_10081.jpg', '/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_25_10344.jpg', '/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_35_10475.jpg', '/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_45_9341.jpg', '/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_55_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_56_10372.jpg
/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_14_10081.jpg
/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_25_10344.jpg
/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_35_10475.jpg
/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_45_9341.jpg
/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_55_10364.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.5202906131744385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 07:03:42.435111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_56_10372.jpg', '/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_14_10081.jpg', '/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_25_10344.jpg', '/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_35_10475.jpg', '/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_45_9341.jpg', '/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_55_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/06/59/image_29012025_06_59_56_10372.jpg
/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_14_10081.jpg
/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_25_10344.jpg
/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_35_10475.jpg
/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_45_9341.jpg
/home/pi/Desktop/images/29012025/07/01/image_29012025_07_01_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332551128","1332551113","1332551124","1332551120","1332551108","1332551117"],"photo_ids_order":["1332551108","1332551113","1332551117","1332551120","1332551124","1332551128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/70d84a7b66e82446a9d26d4fc6e522c0.jpg","text":"TemporaryFile(/tmp/multipartBody8269219140324171632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130683341,"filename":"image_29012025_07_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/29/4a934fe226a8bcb7872ff57fab116f6d.jpg","text":"TemporaryFile(/tmp/multipartBody460867248756569045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130683341,"filename":"image_29012025_07_01_14_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/29/5f1908e2fac5998280543b622ae11bba.jpg","text":"TemporaryFile(/tmp/multipartBody7356423191789462142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130683341,"filename":"image_29012025_07_01_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/29/5d95b75aad665aba44bd52bcd1504b36.jpg","text":"TemporaryFile(/tmp/multipartBody8889811406622674505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130683341,"filename":"image_29012025_07_01_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/29/bc0b3578487c5ed7e78d628d3b31180d.jpg","text":"TemporaryFile(/tmp/multipartBody7774534563613274744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130683341,"filename":"image_29012025_06_59_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/29/f2e4e7d52a9c7e62f1eceae1f8f176e5.jpg","text":"TemporaryFile(/tmp/multipartBody6282414321259358324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130683341,"filename":"image_29012025_07_01_25_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332551117","file1":"1332551113","file0":"1332551108","file4":"1332551124","file5":"1332551128","file3":"1332551120"},"map_files_photo_id_array":[{"photo_id":"1332551128","filename":"file5"},{"photo_id":"1332551117","filename":"file2"},{"photo_id":"1332551124","filename":"file4"},{"photo_id":"1332551113","filename":"file1"},{"photo_id":"1332551108","filename":"file0"},{"photo_id":"1332551120","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332551128":["hashtag1","hashtag2"]},{"1332551113":["hashtag1","hashtag2"]},{"1332551124":["hashtag1","hashtag2"]},{"1332551120":["hashtag1","hashtag2"]},{"1332551108":["hashtag1","hashtag2"]},{"1332551117":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332551128, 1332551113, 1332551124, 1332551120, 1332551108, 1332551117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87325429916382 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:04:32.513928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/01/image_29012025_07_02_05_10346.jpg', '/home/pi/Desktop/images/29012025/07/02/image_29012025_07_02_15_9331.jpg', '/home/pi/Desktop/images/29012025/07/02/image_29012025_07_02_25_10348.jpg', '/home/pi/Desktop/images/29012025/07/02/image_29012025_07_02_34_9392.jpg', '/home/pi/Desktop/images/29012025/07/02/image_29012025_07_02_55_10465.jpg', '/home/pi/Desktop/images/29012025/07/02/image_29012025_07_03_05_9378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/01/image_29012025_07_02_05_10346.jpg
/home/pi/Desktop/images/29012025/07/02/image_29012025_07_02_15_9331.jpg
/home/pi/Desktop/images/29012025/07/02/image_29012025_07_02_25_10348.jpg
/home/pi/Desktop/images/29012025/07/02/image_29012025_07_02_34_9392.jpg
/home/pi/Desktop/images/29012025/07/02/image_29012025_07_02_55_10465.jpg
/home/pi/Desktop/images/29012025/07/02/image_29012025_07_03_05_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332551149","1332551151","1332551285","1332551156","1332551144","1332551194"],"photo_ids_order":["1332551144","1332551149","1332551151","1332551156","1332551194","1332551285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/527a0aed56d17b79761683740025eee3.jpg","text":"TemporaryFile(/tmp/multipartBody5858966972431533470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130733423,"filename":"image_29012025_07_02_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/29/14b1973bc078c8887e403c0d8dec3fc2.jpg","text":"TemporaryFile(/tmp/multipartBody3232022434655191233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130733423,"filename":"image_29012025_07_02_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/29/601efe140ad9da6258d786631d1eeda5.jpg","text":"TemporaryFile(/tmp/multipartBody2777073609628929631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130733423,"filename":"image_29012025_07_03_05_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/29/1d7062d9c19706323615969692205bc5.jpg","text":"TemporaryFile(/tmp/multipartBody1126790308896640216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130733423,"filename":"image_29012025_07_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/29/1914b0953fc37d96a2890ede69b674fc.jpg","text":"TemporaryFile(/tmp/multipartBody7844878938906693344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130733423,"filename":"image_29012025_07_02_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/29/0cd9c36890757dd34a58fbb6fccc1427.jpg","text":"TemporaryFile(/tmp/multipartBody5941264094582136834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130733423,"filename":"image_29012025_07_02_55_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332551151","file1":"1332551149","file0":"1332551144","file4":"1332551194","file5":"1332551285","file3":"1332551156"},"map_files_photo_id_array":[{"photo_id":"1332551285","filename":"file5"},{"photo_id":"1332551151","filename":"file2"},{"photo_id":"1332551194","filename":"file4"},{"photo_id":"1332551149","filename":"file1"},{"photo_id":"1332551144","filename":"file0"},{"photo_id":"1332551156","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332551149":["hashtag1","hashtag2"]},{"1332551151":["hashtag1","hashtag2"]},{"1332551285":["hashtag1","hashtag2"]},{"1332551156":["hashtag1","hashtag2"]},{"1332551144":["hashtag1","hashtag2"]},{"1332551194":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332551149, 1332551151, 1332551285, 1332551156, 1332551144, 1332551194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.98814940452576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:05:32.797718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/03/image_29012025_07_03_25_10361.jpg', '/home/pi/Desktop/images/29012025/07/03/image_29012025_07_03_35_9346.jpg', '/home/pi/Desktop/images/29012025/07/03/image_29012025_07_03_54_9407.jpg', '/home/pi/Desktop/images/29012025/07/05/image_29012025_07_05_44_9386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/03/image_29012025_07_03_25_10361.jpg
/home/pi/Desktop/images/29012025/07/03/image_29012025_07_03_35_9346.jpg
/home/pi/Desktop/images/29012025/07/03/image_29012025_07_03_54_9407.jpg
/home/pi/Desktop/images/29012025/07/05/image_29012025_07_05_44_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":["1332551902","1332551937","1332551930","1332551924"],"photo_ids_order":["1332551902","1332551924","1332551930","1332551937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/077d24d0d4e426f2e9c18714a6e44475.jpg","text":"TemporaryFile(/tmp/multipartBody7561032990305244751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130793695,"filename":"image_29012025_07_03_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/29/cade8f033257fcf514df697db18a97e0.jpg","text":"TemporaryFile(/tmp/multipartBody1927269097779192098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130793695,"filename":"image_29012025_07_05_44_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/29/8ec575b5e6534317e75ea567273f26c5.jpg","text":"TemporaryFile(/tmp/multipartBody2795373369996549518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130793695,"filename":"image_29012025_07_03_54_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/29/7438ae4e2f0f8fd8ee90d0d1b850dfa1.jpg","text":"TemporaryFile(/tmp/multipartBody6555314808913302282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130793695,"filename":"image_29012025_07_03_35_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332551930","file1":"1332551924","file0":"1332551902","file3":"1332551937"},"map_files_photo_id_array":[{"photo_id":"1332551930","filename":"file2"},{"photo_id":"1332551924","filename":"file1"},{"photo_id":"1332551902","filename":"file0"},{"photo_id":"1332551937","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332551902":["hashtag1","hashtag2"]},{"1332551937":["hashtag1","hashtag2"]},{"1332551930":["hashtag1","hashtag2"]},{"1332551924":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332551902, 1332551937, 1332551930, 1332551924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.380582332611084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:06:32.964145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/05/image_29012025_07_05_55_10337.jpg', '/home/pi/Desktop/images/29012025/07/06/image_29012025_07_06_25_10471.jpg', '/home/pi/Desktop/images/29012025/07/06/image_29012025_07_06_34_9416.jpg', '/home/pi/Desktop/images/29012025/07/06/image_29012025_07_06_45_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/05/image_29012025_07_05_55_10337.jpg
/home/pi/Desktop/images/29012025/07/06/image_29012025_07_06_25_10471.jpg
/home/pi/Desktop/images/29012025/07/06/image_29012025_07_06_34_9416.jpg
/home/pi/Desktop/images/29012025/07/06/image_29012025_07_06_45_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":["1332552167","1332552065","1332552073","1332552058"],"photo_ids_order":["1332552058","1332552065","1332552073","1332552167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/064c880e866c9f0e2df6cf87491890b0.jpg","text":"TemporaryFile(/tmp/multipartBody2448827054734883529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130853845,"filename":"image_29012025_07_06_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/29/f6f059bf0811a9cb4c794a97dfbcb24f.jpg","text":"TemporaryFile(/tmp/multipartBody1145304770642191374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130853845,"filename":"image_29012025_07_06_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/29/f7c9c219b7a6b1d533f32e2d169c8535.jpg","text":"TemporaryFile(/tmp/multipartBody8506927045513917784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130853845,"filename":"image_29012025_07_06_34_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/29/68826c27a4f99bc0b5a2c5ac3a658d31.jpg","text":"TemporaryFile(/tmp/multipartBody3453812951971267864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130853845,"filename":"image_29012025_07_05_55_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332552073","file1":"1332552065","file0":"1332552058","file3":"1332552167"},"map_files_photo_id_array":[{"photo_id":"1332552073","filename":"file2"},{"photo_id":"1332552065","filename":"file1"},{"photo_id":"1332552058","filename":"file0"},{"photo_id":"1332552167","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332552167":["hashtag1","hashtag2"]},{"1332552065":["hashtag1","hashtag2"]},{"1332552073":["hashtag1","hashtag2"]},{"1332552058":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332552167, 1332552065, 1332552073, 1332552058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91283822059631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:07:32.316584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/06/image_29012025_07_06_55_10484.jpg', '/home/pi/Desktop/images/29012025/07/06/image_29012025_07_07_05_9416.jpg', '/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_15_10460.jpg', '/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_24_9368.jpg', '/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_35_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/06/image_29012025_07_06_55_10484.jpg
/home/pi/Desktop/images/29012025/07/06/image_29012025_07_07_05_9416.jpg
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_15_10460.jpg
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_24_9368.jpg
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_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":["1332552591","1332552660","1332552624","1332552653","1332552556"],"photo_ids_order":["1332552556","1332552591","1332552624","1332552653","1332552660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8a5975f1ad93da5a49846f80b025eaa2.jpg","text":"TemporaryFile(/tmp/multipartBody796169894975490394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130913234,"filename":"image_29012025_07_07_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/29/790197a66530a21ab531c09d7a2a733c.jpg","text":"TemporaryFile(/tmp/multipartBody1404257774060482206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130913234,"filename":"image_29012025_07_07_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/29/38784866dca396ef96d827ae630cbb27.jpg","text":"TemporaryFile(/tmp/multipartBody2028667176649421842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130913234,"filename":"image_29012025_07_07_15_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/29/a773a33c5b45340c2218564b9eaffc95.jpg","text":"TemporaryFile(/tmp/multipartBody7083073193239447771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130913234,"filename":"image_29012025_07_07_24_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/29/b5afbe05cbd14c038481167f52facbcc.jpg","text":"TemporaryFile(/tmp/multipartBody8224263315493892296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738130913234,"filename":"image_29012025_07_06_55_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332552624","file1":"1332552591","file0":"1332552556","file4":"1332552660","file3":"1332552653"},"map_files_photo_id_array":[{"photo_id":"1332552624","filename":"file2"},{"photo_id":"1332552660","filename":"file4"},{"photo_id":"1332552591","filename":"file1"},{"photo_id":"1332552556","filename":"file0"},{"photo_id":"1332552653","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332552591":["hashtag1","hashtag2"]},{"1332552660":["hashtag1","hashtag2"]},{"1332552624":["hashtag1","hashtag2"]},{"1332552653":["hashtag1","hashtag2"]},{"1332552556":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332552591, 1332552660, 1332552624, 1332552653, 1332552556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.94349026679993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:08:32.411522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg', '/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_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 [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>88ae9mc6h</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>88ae9mc6h</strong>.
uploaded 0 photos
time to upload: 30.402114391326904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:09:32.632704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg', '/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_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 [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>88ae9pndj</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>88ae9pndj</strong>.
uploaded 0 photos
time to upload: 30.524582386016846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:10:32.813314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg', '/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_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 [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>88aea38eh</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>88aea38eh</strong>.
uploaded 0 photos
time to upload: 30.533276081085205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:11:33.035256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg', '/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_9333.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.5165538787841797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 07:11:43.051328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg', '/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_9333.jpg
 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>88aea78c2</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>88aea78c2</strong>.
uploaded 0 photos
time to upload: 30.53919792175293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:12:32.246424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg', '/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_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 [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>88aeaa364</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>88aeaa364</strong>.
uploaded 0 photos
time to upload: 30.52946424484253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:13:32.481743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg', '/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_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 [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>88aeade8h</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>88aeade8h</strong>.
uploaded 0 photos
time to upload: 30.521591424942017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:14:32.552454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg', '/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_07_45_10351.jpg
/home/pi/Desktop/images/29012025/07/07/image_29012025_07_08_05_10345.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_14_9463.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_25_10422.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_35_10424.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_45_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":["1332552753","1332552749","1332552722","1332552731","1332552745","1332552739"],"photo_ids_order":["1332552722","1332552731","1332552739","1332552745","1332552749","1332552753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7d139b129bdeaf71d88cc4287288a443.jpg","text":"TemporaryFile(/tmp/multipartBody4885930446372728272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131333459,"filename":"image_29012025_07_08_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/29/3b154c7c2895d898d7820b11bead9d6b.jpg","text":"TemporaryFile(/tmp/multipartBody5630511810749229664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131333459,"filename":"image_29012025_07_08_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/29/a24390a9a980bb35daccf65cc33e9237.jpg","text":"TemporaryFile(/tmp/multipartBody2049135823121451952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131333459,"filename":"image_29012025_07_07_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/29/e520f193d6440b0675f17afba96be126.jpg","text":"TemporaryFile(/tmp/multipartBody6389334506811678207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131333459,"filename":"image_29012025_07_08_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/29/e6f531547785df9d2aaf29941d69341a.jpg","text":"TemporaryFile(/tmp/multipartBody2893330869563753015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131333459,"filename":"image_29012025_07_08_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/29/96b167e263d0f785862ce01aad283269.jpg","text":"TemporaryFile(/tmp/multipartBody7496618458468887131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131333459,"filename":"image_29012025_07_08_14_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332552739","file1":"1332552731","file0":"1332552722","file4":"1332552749","file5":"1332552753","file3":"1332552745"},"map_files_photo_id_array":[{"photo_id":"1332552753","filename":"file5"},{"photo_id":"1332552739","filename":"file2"},{"photo_id":"1332552749","filename":"file4"},{"photo_id":"1332552731","filename":"file1"},{"photo_id":"1332552722","filename":"file0"},{"photo_id":"1332552745","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332552753":["hashtag1","hashtag2"]},{"1332552749":["hashtag1","hashtag2"]},{"1332552722":["hashtag1","hashtag2"]},{"1332552731":["hashtag1","hashtag2"]},{"1332552745":["hashtag1","hashtag2"]},{"1332552739":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332552753, 1332552749, 1332552722, 1332552731, 1332552745, 1332552739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49230623245239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:15:32.861587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_55_10360.jpg', '/home/pi/Desktop/images/29012025/07/08/image_29012025_07_09_05_10384.jpg', '/home/pi/Desktop/images/29012025/07/09/image_29012025_07_09_15_9362.jpg', '/home/pi/Desktop/images/29012025/07/09/image_29012025_07_09_25_10364.jpg', '/home/pi/Desktop/images/29012025/07/09/image_29012025_07_09_34_9371.jpg', '/home/pi/Desktop/images/29012025/07/09/image_29012025_07_09_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_08_55_10360.jpg
/home/pi/Desktop/images/29012025/07/08/image_29012025_07_09_05_10384.jpg
/home/pi/Desktop/images/29012025/07/09/image_29012025_07_09_15_9362.jpg
/home/pi/Desktop/images/29012025/07/09/image_29012025_07_09_25_10364.jpg
/home/pi/Desktop/images/29012025/07/09/image_29012025_07_09_34_9371.jpg
/home/pi/Desktop/images/29012025/07/09/image_29012025_07_09_45_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":["1332552780","1332552788","1332552803","1332552796","1332552775","1332552808"],"photo_ids_order":["1332552775","1332552780","1332552788","1332552796","1332552803","1332552808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6811d817024d6fb9e6e378807955de69.jpg","text":"TemporaryFile(/tmp/multipartBody4884772130660357069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131393762,"filename":"image_29012025_07_09_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/29/02604ba63df477a380623d747bd2ede9.jpg","text":"TemporaryFile(/tmp/multipartBody3593551143003812588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131393762,"filename":"image_29012025_07_09_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/29/e99ff2ff3e0899fb1ab9e455fff0c40e.jpg","text":"TemporaryFile(/tmp/multipartBody7850937398867944518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131393762,"filename":"image_29012025_07_09_34_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/29/b27c6ff1b60866e9003db088e8379b7f.jpg","text":"TemporaryFile(/tmp/multipartBody8490310521546363254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131393762,"filename":"image_29012025_07_09_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/29/e3260c11eed9e22d65a210ab4b70ead0.jpg","text":"TemporaryFile(/tmp/multipartBody331618623089808453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131393762,"filename":"image_29012025_07_08_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/29/6115602a7d9cb287ef0ab6ddb2f0f2e1.jpg","text":"TemporaryFile(/tmp/multipartBody1810289158817840988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131393762,"filename":"image_29012025_07_09_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332552788","file1":"1332552780","file0":"1332552775","file4":"1332552803","file5":"1332552808","file3":"1332552796"},"map_files_photo_id_array":[{"photo_id":"1332552808","filename":"file5"},{"photo_id":"1332552788","filename":"file2"},{"photo_id":"1332552803","filename":"file4"},{"photo_id":"1332552780","filename":"file1"},{"photo_id":"1332552775","filename":"file0"},{"photo_id":"1332552796","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332552780":["hashtag1","hashtag2"]},{"1332552788":["hashtag1","hashtag2"]},{"1332552803":["hashtag1","hashtag2"]},{"1332552796":["hashtag1","hashtag2"]},{"1332552775":["hashtag1","hashtag2"]},{"1332552808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332552780, 1332552788, 1332552803, 1332552796, 1332552775, 1332552808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72463297843933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:16:33.152987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/09/image_29012025_07_09_55_10414.jpg', '/home/pi/Desktop/images/29012025/07/09/image_29012025_07_10_05_9426.jpg', '/home/pi/Desktop/images/29012025/07/10/image_29012025_07_10_15_10374.jpg', '/home/pi/Desktop/images/29012025/07/10/image_29012025_07_10_24_9425.jpg', '/home/pi/Desktop/images/29012025/07/10/image_29012025_07_10_35_10353.jpg', '/home/pi/Desktop/images/29012025/07/10/image_29012025_07_10_45_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/09/image_29012025_07_09_55_10414.jpg
/home/pi/Desktop/images/29012025/07/09/image_29012025_07_10_05_9426.jpg
/home/pi/Desktop/images/29012025/07/10/image_29012025_07_10_15_10374.jpg
/home/pi/Desktop/images/29012025/07/10/image_29012025_07_10_24_9425.jpg
/home/pi/Desktop/images/29012025/07/10/image_29012025_07_10_35_10353.jpg
/home/pi/Desktop/images/29012025/07/10/image_29012025_07_10_45_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":["1332552825","1332552849","1332552872","1332552842","1332552830","1332552835"],"photo_ids_order":["1332552825","1332552830","1332552835","1332552842","1332552849","1332552872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f4b645cb41902a0bf7cad76d8e37819f.jpg","text":"TemporaryFile(/tmp/multipartBody2926794279158851518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131454075,"filename":"image_29012025_07_09_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/29/6aa645b571f084f73a0cde7e6821d650.jpg","text":"TemporaryFile(/tmp/multipartBody6694583737204226737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131454075,"filename":"image_29012025_07_10_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/29/28b434e293fdc93bd6cd21ae3509fe96.jpg","text":"TemporaryFile(/tmp/multipartBody8364058002586299570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131454075,"filename":"image_29012025_07_10_45_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/29/1f3652d9b78debb463a8a6549d6c7f23.jpg","text":"TemporaryFile(/tmp/multipartBody1251300958692756140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131454075,"filename":"image_29012025_07_10_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/29/949a7773d72824aea5b47c6cbed71596.jpg","text":"TemporaryFile(/tmp/multipartBody3048361474554738062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131454075,"filename":"image_29012025_07_10_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/29/289b56a6b5d32b291f88007204e9e3a2.jpg","text":"TemporaryFile(/tmp/multipartBody3821045482452726218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131454075,"filename":"image_29012025_07_10_15_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332552835","file1":"1332552830","file0":"1332552825","file4":"1332552849","file5":"1332552872","file3":"1332552842"},"map_files_photo_id_array":[{"photo_id":"1332552872","filename":"file5"},{"photo_id":"1332552835","filename":"file2"},{"photo_id":"1332552849","filename":"file4"},{"photo_id":"1332552830","filename":"file1"},{"photo_id":"1332552825","filename":"file0"},{"photo_id":"1332552842","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332552825":["hashtag1","hashtag2"]},{"1332552849":["hashtag1","hashtag2"]},{"1332552872":["hashtag1","hashtag2"]},{"1332552842":["hashtag1","hashtag2"]},{"1332552830":["hashtag1","hashtag2"]},{"1332552835":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332552825, 1332552849, 1332552872, 1332552842, 1332552830, 1332552835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.784114360809326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:17:33.017076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/10/image_29012025_07_10_55_9414.jpg', '/home/pi/Desktop/images/29012025/07/10/image_29012025_07_11_05_10345.jpg', '/home/pi/Desktop/images/29012025/07/11/image_29012025_07_11_14_9419.jpg', '/home/pi/Desktop/images/29012025/07/11/image_29012025_07_11_25_10465.jpg', '/home/pi/Desktop/images/29012025/07/11/image_29012025_07_11_35_10476.jpg', '/home/pi/Desktop/images/29012025/07/11/image_29012025_07_11_45_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/10/image_29012025_07_10_55_9414.jpg
/home/pi/Desktop/images/29012025/07/10/image_29012025_07_11_05_10345.jpg
/home/pi/Desktop/images/29012025/07/11/image_29012025_07_11_14_9419.jpg
/home/pi/Desktop/images/29012025/07/11/image_29012025_07_11_25_10465.jpg
/home/pi/Desktop/images/29012025/07/11/image_29012025_07_11_35_10476.jpg
/home/pi/Desktop/images/29012025/07/11/image_29012025_07_11_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":["1332552960","1332552954","1332552963","1332552957","1332552974","1332552968"],"photo_ids_order":["1332552954","1332552957","1332552960","1332552963","1332552968","1332552974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5f5614f88efbf4206ae752ebe97f6ed9.jpg","text":"TemporaryFile(/tmp/multipartBody4151787320639422520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131513927,"filename":"image_29012025_07_11_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/29/5337b7ae8f6a4147c5d09894f5acc434.jpg","text":"TemporaryFile(/tmp/multipartBody6081167232291719246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131513927,"filename":"image_29012025_07_10_55_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/29/b28eaf1f4ea8f477cce52795190d2924.jpg","text":"TemporaryFile(/tmp/multipartBody3869159537035338454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131513927,"filename":"image_29012025_07_11_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/29/06a5287ec64d1b1dd4f7b411d685eb6b.jpg","text":"TemporaryFile(/tmp/multipartBody6524943096347276562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131513927,"filename":"image_29012025_07_11_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/29/93e0742846175d57af89f3417710c8f8.jpg","text":"TemporaryFile(/tmp/multipartBody1558538196352352287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131513927,"filename":"image_29012025_07_11_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/29/68d76262248a40f2a882623dc1d480b1.jpg","text":"TemporaryFile(/tmp/multipartBody3896039449523477090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131513927,"filename":"image_29012025_07_11_35_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332552960","file1":"1332552957","file0":"1332552954","file4":"1332552968","file5":"1332552974","file3":"1332552963"},"map_files_photo_id_array":[{"photo_id":"1332552974","filename":"file5"},{"photo_id":"1332552960","filename":"file2"},{"photo_id":"1332552968","filename":"file4"},{"photo_id":"1332552957","filename":"file1"},{"photo_id":"1332552954","filename":"file0"},{"photo_id":"1332552963","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332552960":["hashtag1","hashtag2"]},{"1332552954":["hashtag1","hashtag2"]},{"1332552963":["hashtag1","hashtag2"]},{"1332552957":["hashtag1","hashtag2"]},{"1332552974":["hashtag1","hashtag2"]},{"1332552968":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332552960, 1332552954, 1332552963, 1332552957, 1332552974, 1332552968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.009684801101685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:18:32.189270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/11/image_29012025_07_11_55_10386.jpg', '/home/pi/Desktop/images/29012025/07/11/image_29012025_07_12_04_9377.jpg', '/home/pi/Desktop/images/29012025/07/12/image_29012025_07_12_25_10425.jpg', '/home/pi/Desktop/images/29012025/07/12/image_29012025_07_12_45_10350.jpg', '/home/pi/Desktop/images/29012025/07/12/image_29012025_07_12_54_9401.jpg', '/home/pi/Desktop/images/29012025/07/12/image_29012025_07_13_05_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/11/image_29012025_07_11_55_10386.jpg
/home/pi/Desktop/images/29012025/07/11/image_29012025_07_12_04_9377.jpg
/home/pi/Desktop/images/29012025/07/12/image_29012025_07_12_25_10425.jpg
/home/pi/Desktop/images/29012025/07/12/image_29012025_07_12_45_10350.jpg
/home/pi/Desktop/images/29012025/07/12/image_29012025_07_12_54_9401.jpg
/home/pi/Desktop/images/29012025/07/12/image_29012025_07_13_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":["1332553050","1332553011","1332553029","1332553058","1332552998","1332553055"],"photo_ids_order":["1332552998","1332553011","1332553029","1332553050","1332553055","1332553058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/80ed20d9b57f2da51ebe4469a896882e.jpg","text":"TemporaryFile(/tmp/multipartBody2347719219296252757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131573129,"filename":"image_29012025_07_12_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/29/83db40bd991f20dd027c664137f9f2c5.jpg","text":"TemporaryFile(/tmp/multipartBody1887526001485679036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131573129,"filename":"image_29012025_07_12_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/29/2547a1e4f3ac0acaf21c88dfebbce3ed.jpg","text":"TemporaryFile(/tmp/multipartBody4432565254997274866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131573129,"filename":"image_29012025_07_12_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/29/463e9a317bc618f5138fb54172effa80.jpg","text":"TemporaryFile(/tmp/multipartBody7337356540036560507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131573129,"filename":"image_29012025_07_13_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/29/cbc5230bca6b277df40fc97fc9b8d837.jpg","text":"TemporaryFile(/tmp/multipartBody6279711351040097820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131573129,"filename":"image_29012025_07_11_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/29/546e03c1563ff87ad2c813e7cdc7b354.jpg","text":"TemporaryFile(/tmp/multipartBody1121468795117253426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131573129,"filename":"image_29012025_07_12_54_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332553029","file1":"1332553011","file0":"1332552998","file4":"1332553055","file5":"1332553058","file3":"1332553050"},"map_files_photo_id_array":[{"photo_id":"1332553058","filename":"file5"},{"photo_id":"1332553029","filename":"file2"},{"photo_id":"1332553055","filename":"file4"},{"photo_id":"1332553011","filename":"file1"},{"photo_id":"1332552998","filename":"file0"},{"photo_id":"1332553050","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332553050":["hashtag1","hashtag2"]},{"1332553011":["hashtag1","hashtag2"]},{"1332553029":["hashtag1","hashtag2"]},{"1332553058":["hashtag1","hashtag2"]},{"1332552998":["hashtag1","hashtag2"]},{"1332553055":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332553050, 1332553011, 1332553029, 1332553058, 1332552998, 1332553055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.00370240211487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:19:32.491894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/13/image_29012025_07_13_15_10349.jpg', '/home/pi/Desktop/images/29012025/07/13/image_29012025_07_13_24_9422.jpg', '/home/pi/Desktop/images/29012025/07/13/image_29012025_07_13_35_10347.jpg', '/home/pi/Desktop/images/29012025/07/13/image_29012025_07_14_05_10350.jpg', '/home/pi/Desktop/images/29012025/07/14/image_29012025_07_14_15_10426.jpg', '/home/pi/Desktop/images/29012025/07/14/image_29012025_07_14_24_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/13/image_29012025_07_13_15_10349.jpg
/home/pi/Desktop/images/29012025/07/13/image_29012025_07_13_24_9422.jpg
/home/pi/Desktop/images/29012025/07/13/image_29012025_07_13_35_10347.jpg
/home/pi/Desktop/images/29012025/07/13/image_29012025_07_14_05_10350.jpg
/home/pi/Desktop/images/29012025/07/14/image_29012025_07_14_15_10426.jpg
/home/pi/Desktop/images/29012025/07/14/image_29012025_07_14_24_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":["1332553308","1332553209","1332553283","1332553294","1332553261","1332553287"],"photo_ids_order":["1332553209","1332553261","1332553283","1332553287","1332553294","1332553308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/eb660ea922735182f6a892e34f79574e.jpg","text":"TemporaryFile(/tmp/multipartBody2558997733307919336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131633396,"filename":"image_29012025_07_14_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/29/f90858def0884f019ad57ffd37948f88.jpg","text":"TemporaryFile(/tmp/multipartBody7138504777884646319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131633396,"filename":"image_29012025_07_13_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/29/259336521ebd7ce27651a5de7ac9538c.jpg","text":"TemporaryFile(/tmp/multipartBody8506850795615832907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131633396,"filename":"image_29012025_07_13_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/29/42afef17bd03907a2ca8653ab2f4c64e.jpg","text":"TemporaryFile(/tmp/multipartBody2324299046721245218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131633396,"filename":"image_29012025_07_14_15_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/29/f3f8bf37f5f699bd78f7b67d8d2ea81c.jpg","text":"TemporaryFile(/tmp/multipartBody5417738192453289201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131633396,"filename":"image_29012025_07_13_24_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/29/04aec944da86e8c47402b6f8976010a0.jpg","text":"TemporaryFile(/tmp/multipartBody1118121564272405080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131633396,"filename":"image_29012025_07_14_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332553283","file1":"1332553261","file0":"1332553209","file4":"1332553294","file5":"1332553308","file3":"1332553287"},"map_files_photo_id_array":[{"photo_id":"1332553308","filename":"file5"},{"photo_id":"1332553283","filename":"file2"},{"photo_id":"1332553294","filename":"file4"},{"photo_id":"1332553261","filename":"file1"},{"photo_id":"1332553209","filename":"file0"},{"photo_id":"1332553287","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332553308":["hashtag1","hashtag2"]},{"1332553209":["hashtag1","hashtag2"]},{"1332553283":["hashtag1","hashtag2"]},{"1332553294":["hashtag1","hashtag2"]},{"1332553261":["hashtag1","hashtag2"]},{"1332553287":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332553308, 1332553209, 1332553283, 1332553294, 1332553261, 1332553287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.62278747558594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:20:32.713452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/14/image_29012025_07_14_35_10384.jpg', '/home/pi/Desktop/images/29012025/07/14/image_29012025_07_14_45_10360.jpg', '/home/pi/Desktop/images/29012025/07/14/image_29012025_07_14_55_9437.jpg', '/home/pi/Desktop/images/29012025/07/14/image_29012025_07_15_05_10364.jpg', '/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_14_9345.jpg', '/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_25_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/14/image_29012025_07_14_35_10384.jpg
/home/pi/Desktop/images/29012025/07/14/image_29012025_07_14_45_10360.jpg
/home/pi/Desktop/images/29012025/07/14/image_29012025_07_14_55_9437.jpg
/home/pi/Desktop/images/29012025/07/14/image_29012025_07_15_05_10364.jpg
/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_14_9345.jpg
/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_25_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":["1332553349","1332553357","1332553339","1332553371","1332553365","1332553344"],"photo_ids_order":["1332553339","1332553344","1332553349","1332553357","1332553365","1332553371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e872ff198be0604e832939637eeae193.jpg","text":"TemporaryFile(/tmp/multipartBody8183879629831015189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131693617,"filename":"image_29012025_07_14_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/29/fef91553cf6e3289118f5b37a5c675ad.jpg","text":"TemporaryFile(/tmp/multipartBody3415022819379531067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131693617,"filename":"image_29012025_07_15_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/29/eda016ccf4f75943a7d4d440dd25d342.jpg","text":"TemporaryFile(/tmp/multipartBody2325040711115394504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131693617,"filename":"image_29012025_07_14_35_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/29/c6fa58cd48613f13b0d497b6e6724876.jpg","text":"TemporaryFile(/tmp/multipartBody3263065481162441988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131693617,"filename":"image_29012025_07_15_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/29/8240b48e158bc88db033c9e489904dbf.jpg","text":"TemporaryFile(/tmp/multipartBody8389478428577162781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131693617,"filename":"image_29012025_07_15_14_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/29/1e24f6be11a70c9ebbaa0eeed2375127.jpg","text":"TemporaryFile(/tmp/multipartBody5666132337994301191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131693617,"filename":"image_29012025_07_14_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332553349","file1":"1332553344","file0":"1332553339","file4":"1332553365","file5":"1332553371","file3":"1332553357"},"map_files_photo_id_array":[{"photo_id":"1332553371","filename":"file5"},{"photo_id":"1332553349","filename":"file2"},{"photo_id":"1332553365","filename":"file4"},{"photo_id":"1332553344","filename":"file1"},{"photo_id":"1332553339","filename":"file0"},{"photo_id":"1332553357","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332553349":["hashtag1","hashtag2"]},{"1332553357":["hashtag1","hashtag2"]},{"1332553339":["hashtag1","hashtag2"]},{"1332553371":["hashtag1","hashtag2"]},{"1332553365":["hashtag1","hashtag2"]},{"1332553344":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332553349, 1332553357, 1332553339, 1332553371, 1332553365, 1332553344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.404483795166016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:21:32.889695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_44_9357.jpg', '/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_55_10418.jpg', '/home/pi/Desktop/images/29012025/07/15/image_29012025_07_16_05_10429.jpg', '/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_15_9348.jpg', '/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_34_9340.jpg', '/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_44_9357.jpg
/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_55_10418.jpg
/home/pi/Desktop/images/29012025/07/15/image_29012025_07_16_05_10429.jpg
/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_15_9348.jpg
/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_34_9340.jpg
/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_45_10348.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.52492356300354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 07:21:43.018792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_44_9357.jpg', '/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_55_10418.jpg', '/home/pi/Desktop/images/29012025/07/15/image_29012025_07_16_05_10429.jpg', '/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_15_9348.jpg', '/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_34_9340.jpg', '/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_44_9357.jpg
/home/pi/Desktop/images/29012025/07/15/image_29012025_07_15_55_10418.jpg
/home/pi/Desktop/images/29012025/07/15/image_29012025_07_16_05_10429.jpg
/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_15_9348.jpg
/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_34_9340.jpg
/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_45_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":["1332553428","1332553422","1332553416","1332553442","1332553409","1332553398"],"photo_ids_order":["1332553398","1332553409","1332553416","1332553422","1332553428","1332553442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/13809100ec43c33641ec34fe4a4d5c79.jpg","text":"TemporaryFile(/tmp/multipartBody8714801437725115787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131763948,"filename":"image_29012025_07_16_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/29/11256d4a870462f3eba08baefc3dffab.jpg","text":"TemporaryFile(/tmp/multipartBody3971962064582242634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131763948,"filename":"image_29012025_07_16_15_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/29/79eee06d0b11fa32927297b9ca09174f.jpg","text":"TemporaryFile(/tmp/multipartBody265819432399668348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131763948,"filename":"image_29012025_07_16_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/29/71e5ce1aa2841f62e6c642a02b68eadd.jpg","text":"TemporaryFile(/tmp/multipartBody3438193291898631852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131763948,"filename":"image_29012025_07_16_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/29/14bdee7b2f1392a227b63e6ecd6b72ee.jpg","text":"TemporaryFile(/tmp/multipartBody8249566621810128212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131763948,"filename":"image_29012025_07_15_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/29/d96b189f23fa18243cf260b18f63d78a.jpg","text":"TemporaryFile(/tmp/multipartBody4849082632042710304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131763948,"filename":"image_29012025_07_15_44_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332553416","file1":"1332553409","file0":"1332553398","file4":"1332553428","file5":"1332553442","file3":"1332553422"},"map_files_photo_id_array":[{"photo_id":"1332553442","filename":"file5"},{"photo_id":"1332553416","filename":"file2"},{"photo_id":"1332553428","filename":"file4"},{"photo_id":"1332553409","filename":"file1"},{"photo_id":"1332553398","filename":"file0"},{"photo_id":"1332553422","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332553428":["hashtag1","hashtag2"]},{"1332553422":["hashtag1","hashtag2"]},{"1332553416":["hashtag1","hashtag2"]},{"1332553442":["hashtag1","hashtag2"]},{"1332553409":["hashtag1","hashtag2"]},{"1332553398":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332553428, 1332553422, 1332553416, 1332553442, 1332553409, 1332553398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.977858543395996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:22:33.086528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_55_10474.jpg', '/home/pi/Desktop/images/29012025/07/16/image_29012025_07_17_05_9353.jpg', '/home/pi/Desktop/images/29012025/07/17/image_29012025_07_17_15_10335.jpg', '/home/pi/Desktop/images/29012025/07/17/image_29012025_07_17_25_10351.jpg', '/home/pi/Desktop/images/29012025/07/17/image_29012025_07_17_35_9442.jpg', '/home/pi/Desktop/images/29012025/07/17/image_29012025_07_17_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/16/image_29012025_07_16_55_10474.jpg
/home/pi/Desktop/images/29012025/07/16/image_29012025_07_17_05_9353.jpg
/home/pi/Desktop/images/29012025/07/17/image_29012025_07_17_15_10335.jpg
/home/pi/Desktop/images/29012025/07/17/image_29012025_07_17_25_10351.jpg
/home/pi/Desktop/images/29012025/07/17/image_29012025_07_17_35_9442.jpg
/home/pi/Desktop/images/29012025/07/17/image_29012025_07_17_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":["1332553499","1332553493","1332553487","1332553474","1332553468","1332553479"],"photo_ids_order":["1332553468","1332553474","1332553479","1332553487","1332553493","1332553499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ac319f65a7313023601f2c83ca8ee320.jpg","text":"TemporaryFile(/tmp/multipartBody5727077525828865892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131813992,"filename":"image_29012025_07_17_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/29/7c9f536011f631aae6cffa417ccbcb4d.jpg","text":"TemporaryFile(/tmp/multipartBody4487997838053204033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131813992,"filename":"image_29012025_07_17_35_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/29/65aa4550d8af6566a1974911bc7c2fa1.jpg","text":"TemporaryFile(/tmp/multipartBody953435628180076821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131813992,"filename":"image_29012025_07_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/29/603d0e697010e265f3641cf603915b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1184508497432958906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131813992,"filename":"image_29012025_07_17_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/29/45024bc1fd24fb533390a0bbf33e65b3.jpg","text":"TemporaryFile(/tmp/multipartBody8615509151757407241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131813992,"filename":"image_29012025_07_16_55_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/29/66a37a38fc72ca3adc1821c194b3627b.jpg","text":"TemporaryFile(/tmp/multipartBody7473496915005793463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131813992,"filename":"image_29012025_07_17_15_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332553479","file1":"1332553474","file0":"1332553468","file4":"1332553493","file5":"1332553499","file3":"1332553487"},"map_files_photo_id_array":[{"photo_id":"1332553499","filename":"file5"},{"photo_id":"1332553479","filename":"file2"},{"photo_id":"1332553493","filename":"file4"},{"photo_id":"1332553474","filename":"file1"},{"photo_id":"1332553468","filename":"file0"},{"photo_id":"1332553487","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332553499":["hashtag1","hashtag2"]},{"1332553493":["hashtag1","hashtag2"]},{"1332553487":["hashtag1","hashtag2"]},{"1332553474":["hashtag1","hashtag2"]},{"1332553468":["hashtag1","hashtag2"]},{"1332553479":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332553499, 1332553493, 1332553487, 1332553474, 1332553468, 1332553479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19457983970642 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:23:32.407915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/17/image_29012025_07_17_54_9427.jpg', '/home/pi/Desktop/images/29012025/07/18/image_29012025_07_18_35_10426.jpg', '/home/pi/Desktop/images/29012025/07/18/image_29012025_07_18_44_9332.jpg', '/home/pi/Desktop/images/29012025/07/18/image_29012025_07_18_55_10358.jpg', '/home/pi/Desktop/images/29012025/07/18/image_29012025_07_19_05_10425.jpg', '/home/pi/Desktop/images/29012025/07/19/image_29012025_07_19_15_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/17/image_29012025_07_17_54_9427.jpg
/home/pi/Desktop/images/29012025/07/18/image_29012025_07_18_35_10426.jpg
/home/pi/Desktop/images/29012025/07/18/image_29012025_07_18_44_9332.jpg
/home/pi/Desktop/images/29012025/07/18/image_29012025_07_18_55_10358.jpg
/home/pi/Desktop/images/29012025/07/18/image_29012025_07_19_05_10425.jpg
/home/pi/Desktop/images/29012025/07/19/image_29012025_07_19_15_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":["1332553548","1332553629","1332553614","1332553541","1332553535","1332553624"],"photo_ids_order":["1332553535","1332553541","1332553548","1332553614","1332553624","1332553629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5704cded1c32cf3fc5b3ba7cb70c1967.jpg","text":"TemporaryFile(/tmp/multipartBody8722763635547022885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131873357,"filename":"image_29012025_07_18_44_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/29/b375eb7c89903405e1376062dff8e479.jpg","text":"TemporaryFile(/tmp/multipartBody509140935784804973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131873357,"filename":"image_29012025_07_19_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/29/a306b988eade6a80dd710a0063f0316b.jpg","text":"TemporaryFile(/tmp/multipartBody4288680726915791974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131873357,"filename":"image_29012025_07_18_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/29/393124c0a004e32ef25e8f0d3bc54353.jpg","text":"TemporaryFile(/tmp/multipartBody1963326844981411588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131873357,"filename":"image_29012025_07_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/29/54aa6b94982bd44c976fb6bd455a8913.jpg","text":"TemporaryFile(/tmp/multipartBody4375720389573601051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131873357,"filename":"image_29012025_07_17_54_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/29/8b2887582f0edd3b5e8d29a77bb21d78.jpg","text":"TemporaryFile(/tmp/multipartBody6583629636823716657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131873357,"filename":"image_29012025_07_19_05_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332553548","file1":"1332553541","file0":"1332553535","file4":"1332553624","file5":"1332553629","file3":"1332553614"},"map_files_photo_id_array":[{"photo_id":"1332553629","filename":"file5"},{"photo_id":"1332553548","filename":"file2"},{"photo_id":"1332553624","filename":"file4"},{"photo_id":"1332553541","filename":"file1"},{"photo_id":"1332553535","filename":"file0"},{"photo_id":"1332553614","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332553548":["hashtag1","hashtag2"]},{"1332553629":["hashtag1","hashtag2"]},{"1332553614":["hashtag1","hashtag2"]},{"1332553541":["hashtag1","hashtag2"]},{"1332553535":["hashtag1","hashtag2"]},{"1332553624":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332553548, 1332553629, 1332553614, 1332553541, 1332553535, 1332553624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46640944480896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:24:32.583434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/19/image_29012025_07_19_25_10399.jpg', '/home/pi/Desktop/images/29012025/07/19/image_29012025_07_19_34_9415.jpg', '/home/pi/Desktop/images/29012025/07/19/image_29012025_07_19_45_10369.jpg', '/home/pi/Desktop/images/29012025/07/19/image_29012025_07_19_55_10398.jpg', '/home/pi/Desktop/images/29012025/07/19/image_29012025_07_20_04_9350.jpg', '/home/pi/Desktop/images/29012025/07/20/image_29012025_07_20_15_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/19/image_29012025_07_19_25_10399.jpg
/home/pi/Desktop/images/29012025/07/19/image_29012025_07_19_34_9415.jpg
/home/pi/Desktop/images/29012025/07/19/image_29012025_07_19_45_10369.jpg
/home/pi/Desktop/images/29012025/07/19/image_29012025_07_19_55_10398.jpg
/home/pi/Desktop/images/29012025/07/19/image_29012025_07_20_04_9350.jpg
/home/pi/Desktop/images/29012025/07/20/image_29012025_07_20_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":["1332553850","1332553868","1332553837","1332553878","1332553875","1332553860"],"photo_ids_order":["1332553837","1332553850","1332553860","1332553868","1332553875","1332553878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1d4e465322ab0082382bd0c19e3d882e.jpg","text":"TemporaryFile(/tmp/multipartBody3880229165025569609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131933491,"filename":"image_29012025_07_19_34_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/29/d4597c0ff428270d7e716854a22ea43b.jpg","text":"TemporaryFile(/tmp/multipartBody3553544158168639981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131933491,"filename":"image_29012025_07_19_55_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/29/e22b90ed57a857e14602e78f6dd5a932.jpg","text":"TemporaryFile(/tmp/multipartBody909407727074329394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131933491,"filename":"image_29012025_07_19_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/29/e3b05a16a3ab742d47e27061d70ae96a.jpg","text":"TemporaryFile(/tmp/multipartBody7434606900244047795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131933491,"filename":"image_29012025_07_20_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/29/ea18f9cf1d18497d96a082ba3d3c8727.jpg","text":"TemporaryFile(/tmp/multipartBody5092589376551324402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131933491,"filename":"image_29012025_07_20_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/29/89c394186691dafd46c08988c9e02e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5249601851624754214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131933491,"filename":"image_29012025_07_19_45_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332553860","file1":"1332553850","file0":"1332553837","file4":"1332553875","file5":"1332553878","file3":"1332553868"},"map_files_photo_id_array":[{"photo_id":"1332553878","filename":"file5"},{"photo_id":"1332553860","filename":"file2"},{"photo_id":"1332553875","filename":"file4"},{"photo_id":"1332553850","filename":"file1"},{"photo_id":"1332553837","filename":"file0"},{"photo_id":"1332553868","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332553850":["hashtag1","hashtag2"]},{"1332553868":["hashtag1","hashtag2"]},{"1332553837":["hashtag1","hashtag2"]},{"1332553878":["hashtag1","hashtag2"]},{"1332553875":["hashtag1","hashtag2"]},{"1332553860":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332553850, 1332553868, 1332553837, 1332553878, 1332553875, 1332553860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53722357749939 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:25:32.709309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/20/image_29012025_07_20_25_10432.jpg', '/home/pi/Desktop/images/29012025/07/20/image_29012025_07_20_35_9348.jpg', '/home/pi/Desktop/images/29012025/07/20/image_29012025_07_20_45_10465.jpg', '/home/pi/Desktop/images/29012025/07/20/image_29012025_07_20_55_9417.jpg', '/home/pi/Desktop/images/29012025/07/20/image_29012025_07_21_05_10405.jpg', '/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_14_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/20/image_29012025_07_20_25_10432.jpg
/home/pi/Desktop/images/29012025/07/20/image_29012025_07_20_35_9348.jpg
/home/pi/Desktop/images/29012025/07/20/image_29012025_07_20_45_10465.jpg
/home/pi/Desktop/images/29012025/07/20/image_29012025_07_20_55_9417.jpg
/home/pi/Desktop/images/29012025/07/20/image_29012025_07_21_05_10405.jpg
/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_14_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332553908","1332553964","1332553940","1332553954","1332553921","1332553900"],"photo_ids_order":["1332553900","1332553908","1332553921","1332553940","1332553954","1332553964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/03489d7f302ac3e94b9aa8575c2352e8.jpg","text":"TemporaryFile(/tmp/multipartBody7737417941390753434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131993634,"filename":"image_29012025_07_20_35_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/29/d07d8d730c5f696f57f5d19723a339cb.jpg","text":"TemporaryFile(/tmp/multipartBody2158079607888892068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131993634,"filename":"image_29012025_07_21_14_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/29/4b8784acd9ddd3a4e96f574b038e200c.jpg","text":"TemporaryFile(/tmp/multipartBody7672208697626940698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131993634,"filename":"image_29012025_07_20_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/29/40d6934b675f97a3f1750709d8c7ff77.jpg","text":"TemporaryFile(/tmp/multipartBody5291701353314331435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131993634,"filename":"image_29012025_07_21_05_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/29/eb08f49168ca3eca433ba4f3b395acaa.jpg","text":"TemporaryFile(/tmp/multipartBody1156116674775499415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131993634,"filename":"image_29012025_07_20_45_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/29/aa189f871c686dcc8ad2126767b0f2e6.jpg","text":"TemporaryFile(/tmp/multipartBody3336872684851002422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738131993634,"filename":"image_29012025_07_20_25_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332553921","file1":"1332553908","file0":"1332553900","file4":"1332553954","file5":"1332553964","file3":"1332553940"},"map_files_photo_id_array":[{"photo_id":"1332553964","filename":"file5"},{"photo_id":"1332553921","filename":"file2"},{"photo_id":"1332553954","filename":"file4"},{"photo_id":"1332553908","filename":"file1"},{"photo_id":"1332553900","filename":"file0"},{"photo_id":"1332553940","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332553908":["hashtag1","hashtag2"]},{"1332553964":["hashtag1","hashtag2"]},{"1332553940":["hashtag1","hashtag2"]},{"1332553954":["hashtag1","hashtag2"]},{"1332553921":["hashtag1","hashtag2"]},{"1332553900":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332553908, 1332553964, 1332553940, 1332553954, 1332553921, 1332553900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08527970314026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:26:33.066152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_25_10357.jpg', '/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_35_10460.jpg', '/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_45_9380.jpg', '/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_55_10343.jpg', '/home/pi/Desktop/images/29012025/07/21/image_29012025_07_22_04_9416.jpg', '/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_15_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_25_10357.jpg
/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_35_10460.jpg
/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_45_9380.jpg
/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_55_10343.jpg
/home/pi/Desktop/images/29012025/07/21/image_29012025_07_22_04_9416.jpg
/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_15_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.52048659324646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 07:26:43.099727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_25_10357.jpg', '/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_35_10460.jpg', '/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_45_9380.jpg', '/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_55_10343.jpg', '/home/pi/Desktop/images/29012025/07/21/image_29012025_07_22_04_9416.jpg', '/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_15_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_25_10357.jpg
/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_35_10460.jpg
/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_45_9380.jpg
/home/pi/Desktop/images/29012025/07/21/image_29012025_07_21_55_10343.jpg
/home/pi/Desktop/images/29012025/07/21/image_29012025_07_22_04_9416.jpg
/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_15_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":["1332554106","1332554090","1332554083","1332554102","1332554110","1332554097"],"photo_ids_order":["1332554083","1332554090","1332554097","1332554102","1332554106","1332554110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3321098a728d02c85faf5a37e43ef3e6.jpg","text":"TemporaryFile(/tmp/multipartBody5068921944221897244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132064029,"filename":"image_29012025_07_22_04_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/29/df45bf4dc9f2471cd18e9b26203b1024.jpg","text":"TemporaryFile(/tmp/multipartBody7776564567072552003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132064029,"filename":"image_29012025_07_21_35_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/29/c8a1eb17f4151047a021987766334401.jpg","text":"TemporaryFile(/tmp/multipartBody7527118816355359405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132064029,"filename":"image_29012025_07_21_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/29/31399f591496238e7453968e7c99e314.jpg","text":"TemporaryFile(/tmp/multipartBody2476011576005708084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132064029,"filename":"image_29012025_07_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/29/1db7c0dc2b79cb545630f7cd6e228c4b.jpg","text":"TemporaryFile(/tmp/multipartBody1779447169306595718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132064029,"filename":"image_29012025_07_22_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/29/7a9a8986fe51d7c9a4009269dd1b57d0.jpg","text":"TemporaryFile(/tmp/multipartBody2536504731055345031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132064029,"filename":"image_29012025_07_21_45_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332554097","file1":"1332554090","file0":"1332554083","file4":"1332554106","file5":"1332554110","file3":"1332554102"},"map_files_photo_id_array":[{"photo_id":"1332554110","filename":"file5"},{"photo_id":"1332554097","filename":"file2"},{"photo_id":"1332554106","filename":"file4"},{"photo_id":"1332554090","filename":"file1"},{"photo_id":"1332554083","filename":"file0"},{"photo_id":"1332554102","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332554106":["hashtag1","hashtag2"]},{"1332554090":["hashtag1","hashtag2"]},{"1332554083":["hashtag1","hashtag2"]},{"1332554102":["hashtag1","hashtag2"]},{"1332554110":["hashtag1","hashtag2"]},{"1332554097":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332554106, 1332554090, 1332554083, 1332554102, 1332554110, 1332554097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.027695655822754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:27:32.302552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_25_10422.jpg', '/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_35_9368.jpg', '/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_45_10388.jpg', '/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_54_9417.jpg', '/home/pi/Desktop/images/29012025/07/22/image_29012025_07_23_05_10426.jpg', '/home/pi/Desktop/images/29012025/07/23/image_29012025_07_23_15_10522.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_25_10422.jpg
/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_35_9368.jpg
/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_45_10388.jpg
/home/pi/Desktop/images/29012025/07/22/image_29012025_07_22_54_9417.jpg
/home/pi/Desktop/images/29012025/07/22/image_29012025_07_23_05_10426.jpg
/home/pi/Desktop/images/29012025/07/23/image_29012025_07_23_15_10522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332554170","1332554152","1332554134","1332554148","1332554127","1332554142"],"photo_ids_order":["1332554127","1332554134","1332554142","1332554148","1332554152","1332554170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1cd5cfda367425d9207daf4ecd01c547.jpg","text":"TemporaryFile(/tmp/multipartBody1777317234686726995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132113211,"filename":"image_29012025_07_23_15_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/29/e560ec9dac6c918ed4fee53d16ebda1f.jpg","text":"TemporaryFile(/tmp/multipartBody2178410329766109713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132113211,"filename":"image_29012025_07_23_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/29/22fb8514b143652d5f8054b3dbf0e6d3.jpg","text":"TemporaryFile(/tmp/multipartBody1759762796470733309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132113211,"filename":"image_29012025_07_22_35_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/29/5a9b7780bdb37841fa9abd4ff0ed18f3.jpg","text":"TemporaryFile(/tmp/multipartBody3066136609842688246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132113211,"filename":"image_29012025_07_22_54_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/29/ffcf8fb8f7cc0d73aca4f1618294c967.jpg","text":"TemporaryFile(/tmp/multipartBody6183598339451564072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132113211,"filename":"image_29012025_07_22_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/29/8dcb40a85e47b3453a63884ad2f542e7.jpg","text":"TemporaryFile(/tmp/multipartBody2287184367380439592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132113211,"filename":"image_29012025_07_22_45_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332554142","file1":"1332554134","file0":"1332554127","file4":"1332554152","file5":"1332554170","file3":"1332554148"},"map_files_photo_id_array":[{"photo_id":"1332554170","filename":"file5"},{"photo_id":"1332554142","filename":"file2"},{"photo_id":"1332554152","filename":"file4"},{"photo_id":"1332554134","filename":"file1"},{"photo_id":"1332554127","filename":"file0"},{"photo_id":"1332554148","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332554170":["hashtag1","hashtag2"]},{"1332554152":["hashtag1","hashtag2"]},{"1332554134":["hashtag1","hashtag2"]},{"1332554148":["hashtag1","hashtag2"]},{"1332554127":["hashtag1","hashtag2"]},{"1332554142":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332554170, 1332554152, 1332554134, 1332554148, 1332554127, 1332554142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50747203826904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:28:32.404491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/23/image_29012025_07_23_25_9352.jpg', '/home/pi/Desktop/images/29012025/07/23/image_29012025_07_23_35_10498.jpg', '/home/pi/Desktop/images/29012025/07/23/image_29012025_07_23_44_9352.jpg', '/home/pi/Desktop/images/29012025/07/23/image_29012025_07_23_55_10358.jpg', '/home/pi/Desktop/images/29012025/07/23/image_29012025_07_24_05_10352.jpg', '/home/pi/Desktop/images/29012025/07/24/image_29012025_07_24_25_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/23/image_29012025_07_23_25_9352.jpg
/home/pi/Desktop/images/29012025/07/23/image_29012025_07_23_35_10498.jpg
/home/pi/Desktop/images/29012025/07/23/image_29012025_07_23_44_9352.jpg
/home/pi/Desktop/images/29012025/07/23/image_29012025_07_23_55_10358.jpg
/home/pi/Desktop/images/29012025/07/23/image_29012025_07_24_05_10352.jpg
/home/pi/Desktop/images/29012025/07/24/image_29012025_07_24_25_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":["1332554231","1332554236","1332554221","1332554215","1332554226","1332554211"],"photo_ids_order":["1332554211","1332554215","1332554221","1332554226","1332554231","1332554236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ab09a40bf5c1e642b14251c435506fd9.jpg","text":"TemporaryFile(/tmp/multipartBody8468339616208514716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132173350,"filename":"image_29012025_07_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/29/57ddae81106c16b17f5afb67e608fa7d.jpg","text":"TemporaryFile(/tmp/multipartBody7992480115572960122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132173350,"filename":"image_29012025_07_24_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/29/7f1441ca37b61b0a0dfd2847a5ca0076.jpg","text":"TemporaryFile(/tmp/multipartBody7068215022234078587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132173350,"filename":"image_29012025_07_23_44_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/29/c9b09e24889454b3a87427683aa13865.jpg","text":"TemporaryFile(/tmp/multipartBody3232252021955130284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132173350,"filename":"image_29012025_07_23_35_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8bc5ddbc799b7c3120c701c0fa706610.jpg","text":"TemporaryFile(/tmp/multipartBody1151327958427556321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132173350,"filename":"image_29012025_07_23_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/29/ad1be83890c33effad47ad837d8d96ee.jpg","text":"TemporaryFile(/tmp/multipartBody8895361975595803586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132173350,"filename":"image_29012025_07_23_25_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332554221","file1":"1332554215","file0":"1332554211","file4":"1332554231","file5":"1332554236","file3":"1332554226"},"map_files_photo_id_array":[{"photo_id":"1332554236","filename":"file5"},{"photo_id":"1332554221","filename":"file2"},{"photo_id":"1332554231","filename":"file4"},{"photo_id":"1332554215","filename":"file1"},{"photo_id":"1332554211","filename":"file0"},{"photo_id":"1332554226","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332554231":["hashtag1","hashtag2"]},{"1332554236":["hashtag1","hashtag2"]},{"1332554221":["hashtag1","hashtag2"]},{"1332554215":["hashtag1","hashtag2"]},{"1332554226":["hashtag1","hashtag2"]},{"1332554211":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332554231, 1332554236, 1332554221, 1332554215, 1332554226, 1332554211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96688485145569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:29:32.583056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/24/image_29012025_07_24_34_9428.jpg', '/home/pi/Desktop/images/29012025/07/24/image_29012025_07_24_45_10365.jpg', '/home/pi/Desktop/images/29012025/07/24/image_29012025_07_24_55_10410.jpg', '/home/pi/Desktop/images/29012025/07/24/image_29012025_07_25_04_9340.jpg', '/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_15_10343.jpg', '/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_25_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/24/image_29012025_07_24_34_9428.jpg
/home/pi/Desktop/images/29012025/07/24/image_29012025_07_24_45_10365.jpg
/home/pi/Desktop/images/29012025/07/24/image_29012025_07_24_55_10410.jpg
/home/pi/Desktop/images/29012025/07/24/image_29012025_07_25_04_9340.jpg
/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_15_10343.jpg
/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_25_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":["1332554432","1332554264","1332554389","1332554422","1332554454","1332554313"],"photo_ids_order":["1332554264","1332554313","1332554389","1332554422","1332554432","1332554454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a376b11316cb4796f975dbe253185af1.jpg","text":"TemporaryFile(/tmp/multipartBody6302995586206252252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132233519,"filename":"image_29012025_07_25_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/29/5320b9ab9c59747d1ef618617afba5d9.jpg","text":"TemporaryFile(/tmp/multipartBody4220211506811870607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132233519,"filename":"image_29012025_07_24_34_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/29/1c26aafdd18e6566a6b372fe90f415c2.jpg","text":"TemporaryFile(/tmp/multipartBody6331356890986008861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132233519,"filename":"image_29012025_07_24_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/29/df09da2150b7dcbb90671a22d4c555c4.jpg","text":"TemporaryFile(/tmp/multipartBody5481868036153842467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132233519,"filename":"image_29012025_07_25_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/29/a0e10beadcf498d744278f417ea572d9.jpg","text":"TemporaryFile(/tmp/multipartBody1879424178785203552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132233519,"filename":"image_29012025_07_25_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/29/5d4c8221511ddb1231bc1392ff91af34.jpg","text":"TemporaryFile(/tmp/multipartBody5248134531766619538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132233519,"filename":"image_29012025_07_24_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332554389","file1":"1332554313","file0":"1332554264","file4":"1332554432","file5":"1332554454","file3":"1332554422"},"map_files_photo_id_array":[{"photo_id":"1332554454","filename":"file5"},{"photo_id":"1332554389","filename":"file2"},{"photo_id":"1332554432","filename":"file4"},{"photo_id":"1332554313","filename":"file1"},{"photo_id":"1332554264","filename":"file0"},{"photo_id":"1332554422","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332554432":["hashtag1","hashtag2"]},{"1332554264":["hashtag1","hashtag2"]},{"1332554389":["hashtag1","hashtag2"]},{"1332554422":["hashtag1","hashtag2"]},{"1332554454":["hashtag1","hashtag2"]},{"1332554313":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332554432, 1332554264, 1332554389, 1332554422, 1332554454, 1332554313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27406597137451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:30:32.891627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_35_9341.jpg', '/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_45_10354.jpg', '/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_54_9365.jpg', '/home/pi/Desktop/images/29012025/07/26/image_29012025_07_26_15_10409.jpg', '/home/pi/Desktop/images/29012025/07/26/image_29012025_07_26_35_10427.jpg', '/home/pi/Desktop/images/29012025/07/26/image_29012025_07_27_05_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_35_9341.jpg
/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_45_10354.jpg
/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_54_9365.jpg
/home/pi/Desktop/images/29012025/07/26/image_29012025_07_26_15_10409.jpg
/home/pi/Desktop/images/29012025/07/26/image_29012025_07_26_35_10427.jpg
/home/pi/Desktop/images/29012025/07/26/image_29012025_07_27_05_10398.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.5430605411529541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 07:30:42.858482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_35_9341.jpg', '/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_45_10354.jpg', '/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_54_9365.jpg', '/home/pi/Desktop/images/29012025/07/26/image_29012025_07_26_15_10409.jpg', '/home/pi/Desktop/images/29012025/07/26/image_29012025_07_26_35_10427.jpg', '/home/pi/Desktop/images/29012025/07/26/image_29012025_07_27_05_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_35_9341.jpg
/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_45_10354.jpg
/home/pi/Desktop/images/29012025/07/25/image_29012025_07_25_54_9365.jpg
/home/pi/Desktop/images/29012025/07/26/image_29012025_07_26_15_10409.jpg
/home/pi/Desktop/images/29012025/07/26/image_29012025_07_26_35_10427.jpg
/home/pi/Desktop/images/29012025/07/26/image_29012025_07_27_05_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":["1332554534","1332554543","1332554516","1332554504","1332554512","1332554547"],"photo_ids_order":["1332554504","1332554512","1332554516","1332554534","1332554543","1332554547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bfac10a1e730eab73ebbdf3d2504c1a6.jpg","text":"TemporaryFile(/tmp/multipartBody7415572816464486399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132303807,"filename":"image_29012025_07_26_15_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/29/bb582f7a23890cf947daa56a4d12d2b5.jpg","text":"TemporaryFile(/tmp/multipartBody6973070989869591296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132303807,"filename":"image_29012025_07_26_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/29/8176665faef99dbc5e361f52e7e4e623.jpg","text":"TemporaryFile(/tmp/multipartBody4892168669915368428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132303807,"filename":"image_29012025_07_25_54_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/29/c9a4c0585f94cdd7c9d2bef62fcecbc3.jpg","text":"TemporaryFile(/tmp/multipartBody6639458366899479780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132303807,"filename":"image_29012025_07_25_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/29/04b1763f4243d4d8058db9c376a450b7.jpg","text":"TemporaryFile(/tmp/multipartBody718270736235451340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132303807,"filename":"image_29012025_07_25_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/29/b9a0d1ca8ebdb26b50fd061509eb42e9.jpg","text":"TemporaryFile(/tmp/multipartBody8727982220974093794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132303807,"filename":"image_29012025_07_27_05_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332554516","file1":"1332554512","file0":"1332554504","file4":"1332554543","file5":"1332554547","file3":"1332554534"},"map_files_photo_id_array":[{"photo_id":"1332554547","filename":"file5"},{"photo_id":"1332554516","filename":"file2"},{"photo_id":"1332554543","filename":"file4"},{"photo_id":"1332554512","filename":"file1"},{"photo_id":"1332554504","filename":"file0"},{"photo_id":"1332554534","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332554534":["hashtag1","hashtag2"]},{"1332554543":["hashtag1","hashtag2"]},{"1332554516":["hashtag1","hashtag2"]},{"1332554504":["hashtag1","hashtag2"]},{"1332554512":["hashtag1","hashtag2"]},{"1332554547":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332554534, 1332554543, 1332554516, 1332554504, 1332554512, 1332554547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.61846590042114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:31:33.080195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/27/image_29012025_07_27_14_9333.jpg', '/home/pi/Desktop/images/29012025/07/27/image_29012025_07_27_25_10344.jpg', '/home/pi/Desktop/images/29012025/07/27/image_29012025_07_27_35_10388.jpg', '/home/pi/Desktop/images/29012025/07/28/image_29012025_07_28_25_10368.jpg', '/home/pi/Desktop/images/29012025/07/28/image_29012025_07_28_34_9406.jpg', '/home/pi/Desktop/images/29012025/07/29/image_29012025_07_29_15_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/27/image_29012025_07_27_14_9333.jpg
/home/pi/Desktop/images/29012025/07/27/image_29012025_07_27_25_10344.jpg
/home/pi/Desktop/images/29012025/07/27/image_29012025_07_27_35_10388.jpg
/home/pi/Desktop/images/29012025/07/28/image_29012025_07_28_25_10368.jpg
/home/pi/Desktop/images/29012025/07/28/image_29012025_07_28_34_9406.jpg
/home/pi/Desktop/images/29012025/07/29/image_29012025_07_29_15_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":["1332554873","1332554897","1332554977","1332554839","1332554994","1332554889"],"photo_ids_order":["1332554839","1332554873","1332554889","1332554897","1332554977","1332554994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c5be7ceb36c3e3c2dee7e7191e5dcf11.jpg","text":"TemporaryFile(/tmp/multipartBody8141495916531094621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132353997,"filename":"image_29012025_07_27_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/29/634c134e2e048bd1f803e5ed1b4c0643.jpg","text":"TemporaryFile(/tmp/multipartBody1251513217211461301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132353997,"filename":"image_29012025_07_28_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/29/0a4daae482bd92d57414f9af442998c6.jpg","text":"TemporaryFile(/tmp/multipartBody67606346721263274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132353997,"filename":"image_29012025_07_28_34_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/29/0718aa03226e9a21c1012ee625038367.jpg","text":"TemporaryFile(/tmp/multipartBody5221921863914937647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132353997,"filename":"image_29012025_07_27_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/29/f4317ffacd684d6e694e8989c12ca57c.jpg","text":"TemporaryFile(/tmp/multipartBody3645859773291061686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132353997,"filename":"image_29012025_07_29_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/29/fdce05d1b4e7383c67df556fe85e0141.jpg","text":"TemporaryFile(/tmp/multipartBody4256538236533749331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132353997,"filename":"image_29012025_07_27_35_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332554889","file1":"1332554873","file0":"1332554839","file4":"1332554977","file5":"1332554994","file3":"1332554897"},"map_files_photo_id_array":[{"photo_id":"1332554994","filename":"file5"},{"photo_id":"1332554889","filename":"file2"},{"photo_id":"1332554977","filename":"file4"},{"photo_id":"1332554873","filename":"file1"},{"photo_id":"1332554839","filename":"file0"},{"photo_id":"1332554897","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332554873":["hashtag1","hashtag2"]},{"1332554897":["hashtag1","hashtag2"]},{"1332554977":["hashtag1","hashtag2"]},{"1332554839":["hashtag1","hashtag2"]},{"1332554994":["hashtag1","hashtag2"]},{"1332554889":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332554873, 1332554897, 1332554977, 1332554839, 1332554994, 1332554889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.89511227607727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:32:32.329708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/29/image_29012025_07_29_25_10366.jpg', '/home/pi/Desktop/images/29012025/07/29/image_29012025_07_29_35_9355.jpg', '/home/pi/Desktop/images/29012025/07/29/image_29012025_07_29_45_10368.jpg', '/home/pi/Desktop/images/29012025/07/29/image_29012025_07_29_54_9422.jpg', '/home/pi/Desktop/images/29012025/07/29/image_29012025_07_30_05_10342.jpg', '/home/pi/Desktop/images/29012025/07/30/image_29012025_07_30_15_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/29/image_29012025_07_29_25_10366.jpg
/home/pi/Desktop/images/29012025/07/29/image_29012025_07_29_35_9355.jpg
/home/pi/Desktop/images/29012025/07/29/image_29012025_07_29_45_10368.jpg
/home/pi/Desktop/images/29012025/07/29/image_29012025_07_29_54_9422.jpg
/home/pi/Desktop/images/29012025/07/29/image_29012025_07_30_05_10342.jpg
/home/pi/Desktop/images/29012025/07/30/image_29012025_07_30_15_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332555044","1332555113","1332555063","1332555057","1332555054","1332555048"],"photo_ids_order":["1332555044","1332555048","1332555054","1332555057","1332555063","1332555113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3e6514fa6f2b194d12c97bca298e6df2.jpg","text":"TemporaryFile(/tmp/multipartBody488936796769714801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132413257,"filename":"image_29012025_07_29_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/29/99ca65b2b4f5bdceed688a6a620b4924.jpg","text":"TemporaryFile(/tmp/multipartBody8694000507789113893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132413257,"filename":"image_29012025_07_30_15_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/29/a4efb11dd8c69e544e10e6178783bf48.jpg","text":"TemporaryFile(/tmp/multipartBody5601130680339784018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132413257,"filename":"image_29012025_07_30_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/29/ee8ef9a789a0f3ef34214f36e174f80b.jpg","text":"TemporaryFile(/tmp/multipartBody8895455216315313786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132413257,"filename":"image_29012025_07_29_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/29/a3766034e4988e000971eec379b3d7a4.jpg","text":"TemporaryFile(/tmp/multipartBody6150385970261765682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132413257,"filename":"image_29012025_07_29_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/29/b34ab08dce5754c2d5b614510070bb03.jpg","text":"TemporaryFile(/tmp/multipartBody4384607912108368986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132413257,"filename":"image_29012025_07_29_35_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332555054","file1":"1332555048","file0":"1332555044","file4":"1332555063","file5":"1332555113","file3":"1332555057"},"map_files_photo_id_array":[{"photo_id":"1332555113","filename":"file5"},{"photo_id":"1332555054","filename":"file2"},{"photo_id":"1332555063","filename":"file4"},{"photo_id":"1332555048","filename":"file1"},{"photo_id":"1332555044","filename":"file0"},{"photo_id":"1332555057","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332555044":["hashtag1","hashtag2"]},{"1332555113":["hashtag1","hashtag2"]},{"1332555063":["hashtag1","hashtag2"]},{"1332555057":["hashtag1","hashtag2"]},{"1332555054":["hashtag1","hashtag2"]},{"1332555048":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332555044, 1332555113, 1332555063, 1332555057, 1332555054, 1332555048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91031312942505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:33:32.426989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/30/image_29012025_07_30_25_9364.jpg', '/home/pi/Desktop/images/29012025/07/30/image_29012025_07_30_45_10366.jpg', '/home/pi/Desktop/images/29012025/07/30/image_29012025_07_30_55_9437.jpg', '/home/pi/Desktop/images/29012025/07/30/image_29012025_07_31_05_10434.jpg', '/home/pi/Desktop/images/29012025/07/31/image_29012025_07_31_14_9349.jpg', '/home/pi/Desktop/images/29012025/07/31/image_29012025_07_31_25_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/30/image_29012025_07_30_25_9364.jpg
/home/pi/Desktop/images/29012025/07/30/image_29012025_07_30_45_10366.jpg
/home/pi/Desktop/images/29012025/07/30/image_29012025_07_30_55_9437.jpg
/home/pi/Desktop/images/29012025/07/30/image_29012025_07_31_05_10434.jpg
/home/pi/Desktop/images/29012025/07/31/image_29012025_07_31_14_9349.jpg
/home/pi/Desktop/images/29012025/07/31/image_29012025_07_31_25_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":["1332555382","1332555376","1332555364","1332555403","1332555310","1332555386"],"photo_ids_order":["1332555310","1332555364","1332555376","1332555382","1332555386","1332555403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/039367a706a775181ba698e4f827b5e2.jpg","text":"TemporaryFile(/tmp/multipartBody807421626526772819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132473331,"filename":"image_29012025_07_31_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/29/2d21c6c7eaea2b76f76c3a3af8fcca9c.jpg","text":"TemporaryFile(/tmp/multipartBody8693383114768347722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132473331,"filename":"image_29012025_07_30_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/29/fc3af5a69353c683c70a5d2d9b853147.jpg","text":"TemporaryFile(/tmp/multipartBody5721222375241224026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132473331,"filename":"image_29012025_07_30_45_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/29/04535a6645620fb21bef7c8140f922a4.jpg","text":"TemporaryFile(/tmp/multipartBody413374005760784899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132473331,"filename":"image_29012025_07_31_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/29/420717cfae8ce9134752a45380575e08.jpg","text":"TemporaryFile(/tmp/multipartBody1814152123967867292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132473331,"filename":"image_29012025_07_30_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/29/428b230917c5efaaa95a84b14ab60fd6.jpg","text":"TemporaryFile(/tmp/multipartBody9158617276921350916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132473331,"filename":"image_29012025_07_31_14_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332555376","file1":"1332555364","file0":"1332555310","file4":"1332555386","file5":"1332555403","file3":"1332555382"},"map_files_photo_id_array":[{"photo_id":"1332555403","filename":"file5"},{"photo_id":"1332555376","filename":"file2"},{"photo_id":"1332555386","filename":"file4"},{"photo_id":"1332555364","filename":"file1"},{"photo_id":"1332555310","filename":"file0"},{"photo_id":"1332555382","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332555382":["hashtag1","hashtag2"]},{"1332555376":["hashtag1","hashtag2"]},{"1332555364":["hashtag1","hashtag2"]},{"1332555403":["hashtag1","hashtag2"]},{"1332555310":["hashtag1","hashtag2"]},{"1332555386":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332555382, 1332555376, 1332555364, 1332555403, 1332555310, 1332555386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.672388315200806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:34:32.722071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/31/image_29012025_07_31_45_9413.jpg', '/home/pi/Desktop/images/29012025/07/31/image_29012025_07_31_55_10355.jpg', '/home/pi/Desktop/images/29012025/07/31/image_29012025_07_32_04_9412.jpg', '/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_15_10343.jpg', '/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_25_10494.jpg', '/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_35_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/31/image_29012025_07_31_45_9413.jpg
/home/pi/Desktop/images/29012025/07/31/image_29012025_07_31_55_10355.jpg
/home/pi/Desktop/images/29012025/07/31/image_29012025_07_32_04_9412.jpg
/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_15_10343.jpg
/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_25_10494.jpg
/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_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":["1332555842","1332556141","1332555997","1332555772","1332556076","1332555912"],"photo_ids_order":["1332555772","1332555842","1332555912","1332555997","1332556076","1332556141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2e799e354122be340208d6e0b18402c5.jpg","text":"TemporaryFile(/tmp/multipartBody1944071617851156323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132534186,"filename":"image_29012025_07_31_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/29/ca128ebe2e6f77c5313aa2f7ca2ec82e.jpg","text":"TemporaryFile(/tmp/multipartBody3887778665001290243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132534186,"filename":"image_29012025_07_32_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/29/1cc60fe9b755db616ea11ed06e9f2f37.jpg","text":"TemporaryFile(/tmp/multipartBody5944373950117325544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132534186,"filename":"image_29012025_07_32_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/29/aa799742283cc45d3abc50dd4207ea5f.jpg","text":"TemporaryFile(/tmp/multipartBody1523753711911434535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132534186,"filename":"image_29012025_07_31_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/29/f02a88e2bad84f8543701f1f70090e17.jpg","text":"TemporaryFile(/tmp/multipartBody8975221096816769933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132534186,"filename":"image_29012025_07_32_25_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/29/cfcc13b38e31f275b8e9e5dc0a72d9a1.jpg","text":"TemporaryFile(/tmp/multipartBody1428025992174345902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132534186,"filename":"image_29012025_07_32_04_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332555912","file1":"1332555842","file0":"1332555772","file4":"1332556076","file5":"1332556141","file3":"1332555997"},"map_files_photo_id_array":[{"photo_id":"1332556141","filename":"file5"},{"photo_id":"1332555912","filename":"file2"},{"photo_id":"1332556076","filename":"file4"},{"photo_id":"1332555842","filename":"file1"},{"photo_id":"1332555772","filename":"file0"},{"photo_id":"1332555997","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332555842":["hashtag1","hashtag2"]},{"1332556141":["hashtag1","hashtag2"]},{"1332555997":["hashtag1","hashtag2"]},{"1332555772":["hashtag1","hashtag2"]},{"1332556076":["hashtag1","hashtag2"]},{"1332555912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332555842, 1332556141, 1332555997, 1332555772, 1332556076, 1332555912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.34577226638794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:35:32.949754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_45_10436.jpg', '/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_54_9412.jpg', '/home/pi/Desktop/images/29012025/07/32/image_29012025_07_33_05_10349.jpg', '/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_15_10457.jpg', '/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_25_9430.jpg', '/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_35_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_45_10436.jpg
/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_54_9412.jpg
/home/pi/Desktop/images/29012025/07/32/image_29012025_07_33_05_10349.jpg
/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_15_10457.jpg
/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_25_9430.jpg
/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_35_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.5180683135986328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 07:35:43.001581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_45_10436.jpg', '/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_54_9412.jpg', '/home/pi/Desktop/images/29012025/07/32/image_29012025_07_33_05_10349.jpg', '/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_15_10457.jpg', '/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_25_9430.jpg', '/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_35_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_45_10436.jpg
/home/pi/Desktop/images/29012025/07/32/image_29012025_07_32_54_9412.jpg
/home/pi/Desktop/images/29012025/07/32/image_29012025_07_33_05_10349.jpg
/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_15_10457.jpg
/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_25_9430.jpg
/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_35_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":["1332556779","1332557040","1332556997","1332556877","1332557071","1332557074"],"photo_ids_order":["1332556779","1332556877","1332556997","1332557040","1332557071","1332557074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f7ca21595135c6c2aed45f4e9ea0d2c2.jpg","text":"TemporaryFile(/tmp/multipartBody7999630658893616289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132603929,"filename":"image_29012025_07_32_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/29/e804ee547b652f9e7eb60f2cc2e07e8f.jpg","text":"TemporaryFile(/tmp/multipartBody6813648246764188547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132603929,"filename":"image_29012025_07_33_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/29/215bb1aa257366e6227ac209b9e7df69.jpg","text":"TemporaryFile(/tmp/multipartBody2311463914225547526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132603929,"filename":"image_29012025_07_33_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/29/42be42721d4c24db4f4060dfe1179553.jpg","text":"TemporaryFile(/tmp/multipartBody5629716473314109964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132603929,"filename":"image_29012025_07_32_54_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/29/977c9119046093b58103ba96982923fa.jpg","text":"TemporaryFile(/tmp/multipartBody6666968852385679065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132603929,"filename":"image_29012025_07_33_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/29/902779900cb7f094daa5d4cf593b8448.jpg","text":"TemporaryFile(/tmp/multipartBody2701409613389895365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132603929,"filename":"image_29012025_07_33_35_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332556997","file1":"1332556877","file0":"1332556779","file4":"1332557071","file5":"1332557074","file3":"1332557040"},"map_files_photo_id_array":[{"photo_id":"1332557074","filename":"file5"},{"photo_id":"1332556997","filename":"file2"},{"photo_id":"1332557071","filename":"file4"},{"photo_id":"1332556877","filename":"file1"},{"photo_id":"1332556779","filename":"file0"},{"photo_id":"1332557040","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332556779":["hashtag1","hashtag2"]},{"1332557040":["hashtag1","hashtag2"]},{"1332556997":["hashtag1","hashtag2"]},{"1332556877":["hashtag1","hashtag2"]},{"1332557071":["hashtag1","hashtag2"]},{"1332557074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332556779, 1332557040, 1332556997, 1332556877, 1332557071, 1332557074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.225608348846436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:36:32.278748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_44_9342.jpg', '/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_55_10347.jpg', '/home/pi/Desktop/images/29012025/07/33/image_29012025_07_34_05_10518.jpg', '/home/pi/Desktop/images/29012025/07/34/image_29012025_07_34_15_9339.jpg', '/home/pi/Desktop/images/29012025/07/34/image_29012025_07_34_25_10388.jpg', '/home/pi/Desktop/images/29012025/07/34/image_29012025_07_34_35_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_44_9342.jpg
/home/pi/Desktop/images/29012025/07/33/image_29012025_07_33_55_10347.jpg
/home/pi/Desktop/images/29012025/07/33/image_29012025_07_34_05_10518.jpg
/home/pi/Desktop/images/29012025/07/34/image_29012025_07_34_15_9339.jpg
/home/pi/Desktop/images/29012025/07/34/image_29012025_07_34_25_10388.jpg
/home/pi/Desktop/images/29012025/07/34/image_29012025_07_34_35_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":["1332557238","1332557093","1332557174","1332557105","1332557098","1332557089"],"photo_ids_order":["1332557089","1332557093","1332557098","1332557105","1332557174","1332557238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cfbc6ec52c980d8b6cce4c3969f6563c.jpg","text":"TemporaryFile(/tmp/multipartBody7451868642168808112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132653211,"filename":"image_29012025_07_34_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/29/5e69647bdcbeaabf1aabfb324476fa54.jpg","text":"TemporaryFile(/tmp/multipartBody1902325152115096506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132653211,"filename":"image_29012025_07_33_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/29/e929389d652a0a73c1d6b7779f1b14c6.jpg","text":"TemporaryFile(/tmp/multipartBody6470139782074658913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132653211,"filename":"image_29012025_07_34_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/29/7e1b3ee214fe0f19ef593a87c89e4567.jpg","text":"TemporaryFile(/tmp/multipartBody7786456588311046480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132653211,"filename":"image_29012025_07_34_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/29/7ff4bc766d122d89f014d84705519b97.jpg","text":"TemporaryFile(/tmp/multipartBody3712313617240098139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132653211,"filename":"image_29012025_07_34_05_10518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7897d958f54513031d03a626c1c494cd.jpg","text":"TemporaryFile(/tmp/multipartBody5274076784863293778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132653211,"filename":"image_29012025_07_33_44_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332557098","file1":"1332557093","file0":"1332557089","file4":"1332557174","file5":"1332557238","file3":"1332557105"},"map_files_photo_id_array":[{"photo_id":"1332557238","filename":"file5"},{"photo_id":"1332557098","filename":"file2"},{"photo_id":"1332557174","filename":"file4"},{"photo_id":"1332557093","filename":"file1"},{"photo_id":"1332557089","filename":"file0"},{"photo_id":"1332557105","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332557238":["hashtag1","hashtag2"]},{"1332557093":["hashtag1","hashtag2"]},{"1332557174":["hashtag1","hashtag2"]},{"1332557105":["hashtag1","hashtag2"]},{"1332557098":["hashtag1","hashtag2"]},{"1332557089":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332557238, 1332557093, 1332557174, 1332557105, 1332557098, 1332557089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.44461488723755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:37:32.328161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/34/image_29012025_07_34_55_10395.jpg', '/home/pi/Desktop/images/29012025/07/34/image_29012025_07_35_04_9354.jpg', '/home/pi/Desktop/images/29012025/07/35/image_29012025_07_35_24_9507.jpg', '/home/pi/Desktop/images/29012025/07/35/image_29012025_07_35_34_10005.jpg', '/home/pi/Desktop/images/29012025/07/35/image_29012025_07_35_45_10400.jpg', '/home/pi/Desktop/images/29012025/07/35/image_29012025_07_35_55_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/34/image_29012025_07_34_55_10395.jpg
/home/pi/Desktop/images/29012025/07/34/image_29012025_07_35_04_9354.jpg
/home/pi/Desktop/images/29012025/07/35/image_29012025_07_35_24_9507.jpg
/home/pi/Desktop/images/29012025/07/35/image_29012025_07_35_34_10005.jpg
/home/pi/Desktop/images/29012025/07/35/image_29012025_07_35_45_10400.jpg
/home/pi/Desktop/images/29012025/07/35/image_29012025_07_35_55_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":["1332557440","1332557450","1332557546","1332557555","1332557456","1332557470"],"photo_ids_order":["1332557440","1332557450","1332557456","1332557470","1332557546","1332557555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6a5698025a6d0058d2b7025322ce1176.jpg","text":"TemporaryFile(/tmp/multipartBody838412786554854008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132713235,"filename":"image_29012025_07_34_55_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/29/02321e3d252a6c1dfbc053a46382eaca.jpg","text":"TemporaryFile(/tmp/multipartBody2972963943816212211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132713235,"filename":"image_29012025_07_35_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/29/d758642e4b095b7683dfd2788ac0a2d7.jpg","text":"TemporaryFile(/tmp/multipartBody2734189664832219472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132713235,"filename":"image_29012025_07_35_45_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/29/085ac14335ca1bb633770950ac9d6246.jpg","text":"TemporaryFile(/tmp/multipartBody6591975293441908117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132713235,"filename":"image_29012025_07_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/29/00b6851b3220e5ced68356c68fc2383f.jpg","text":"TemporaryFile(/tmp/multipartBody3002353603287801310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132713235,"filename":"image_29012025_07_35_24_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/01d4c1dcec1653767ee6736c755e3a88.jpg","text":"TemporaryFile(/tmp/multipartBody760495961748665746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132713235,"filename":"image_29012025_07_35_34_10005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332557456","file1":"1332557450","file0":"1332557440","file4":"1332557546","file5":"1332557555","file3":"1332557470"},"map_files_photo_id_array":[{"photo_id":"1332557555","filename":"file5"},{"photo_id":"1332557456","filename":"file2"},{"photo_id":"1332557546","filename":"file4"},{"photo_id":"1332557450","filename":"file1"},{"photo_id":"1332557440","filename":"file0"},{"photo_id":"1332557470","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332557440":["hashtag1","hashtag2"]},{"1332557450":["hashtag1","hashtag2"]},{"1332557546":["hashtag1","hashtag2"]},{"1332557555":["hashtag1","hashtag2"]},{"1332557456":["hashtag1","hashtag2"]},{"1332557470":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332557440, 1332557450, 1332557546, 1332557555, 1332557456, 1332557470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.59984874725342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:38:32.572139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_05_9581.jpg', '/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_15_10402.jpg', '/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_25_9411.jpg', '/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_35_10393.jpg', '/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_44_9431.jpg', '/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_55_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_05_9581.jpg
/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_15_10402.jpg
/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_25_9411.jpg
/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_35_10393.jpg
/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_44_9431.jpg
/home/pi/Desktop/images/29012025/07/36/image_29012025_07_36_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":["1332557768","1332557765","1332557759","1332557750","1332557744","1332557738"],"photo_ids_order":["1332557738","1332557744","1332557750","1332557759","1332557765","1332557768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b397fbaee693bfc6d502bad1744e487c.jpg","text":"TemporaryFile(/tmp/multipartBody2723726086125331637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132773482,"filename":"image_29012025_07_36_55_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/29/d57299e6e4f48a739b490b1d2af4836e.jpg","text":"TemporaryFile(/tmp/multipartBody3829157267842711650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132773482,"filename":"image_29012025_07_36_44_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/29/aedcbbe051e9e74cb1a6f7d542909b94.jpg","text":"TemporaryFile(/tmp/multipartBody4717836011429292622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132773482,"filename":"image_29012025_07_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/29/142c83119483cdcf11bc997df741c45f.jpg","text":"TemporaryFile(/tmp/multipartBody3929507252404188039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132773482,"filename":"image_29012025_07_36_25_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/29/fe224a47642f6be4308fbeaa23ba26d9.jpg","text":"TemporaryFile(/tmp/multipartBody7980491110432453717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132773482,"filename":"image_29012025_07_36_15_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/29/fdb91b1fd4513e50a2d6e16f763190b6.jpg","text":"TemporaryFile(/tmp/multipartBody9074213790060548539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132773482,"filename":"image_29012025_07_36_05_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332557750","file1":"1332557744","file0":"1332557738","file4":"1332557765","file5":"1332557768","file3":"1332557759"},"map_files_photo_id_array":[{"photo_id":"1332557768","filename":"file5"},{"photo_id":"1332557750","filename":"file2"},{"photo_id":"1332557765","filename":"file4"},{"photo_id":"1332557744","filename":"file1"},{"photo_id":"1332557738","filename":"file0"},{"photo_id":"1332557759","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332557768":["hashtag1","hashtag2"]},{"1332557765":["hashtag1","hashtag2"]},{"1332557759":["hashtag1","hashtag2"]},{"1332557750":["hashtag1","hashtag2"]},{"1332557744":["hashtag1","hashtag2"]},{"1332557738":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332557768, 1332557765, 1332557759, 1332557750, 1332557744, 1332557738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.07704782485962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:39:32.940265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/36/image_29012025_07_37_05_10474.jpg', '/home/pi/Desktop/images/29012025/07/37/image_29012025_07_37_15_9324.jpg', '/home/pi/Desktop/images/29012025/07/37/image_29012025_07_37_25_10353.jpg', '/home/pi/Desktop/images/29012025/07/37/image_29012025_07_37_35_10438.jpg', '/home/pi/Desktop/images/29012025/07/37/image_29012025_07_37_45_9350.jpg', '/home/pi/Desktop/images/29012025/07/37/image_29012025_07_37_55_10460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/36/image_29012025_07_37_05_10474.jpg
/home/pi/Desktop/images/29012025/07/37/image_29012025_07_37_15_9324.jpg
/home/pi/Desktop/images/29012025/07/37/image_29012025_07_37_25_10353.jpg
/home/pi/Desktop/images/29012025/07/37/image_29012025_07_37_35_10438.jpg
/home/pi/Desktop/images/29012025/07/37/image_29012025_07_37_45_9350.jpg
/home/pi/Desktop/images/29012025/07/37/image_29012025_07_37_55_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332557820","1332557823","1332557817","1332557837","1332557831","1332557827"],"photo_ids_order":["1332557817","1332557820","1332557823","1332557827","1332557831","1332557837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/61fe7f60f74523ef22b0ded7c8c0993f.jpg","text":"TemporaryFile(/tmp/multipartBody8402851939889035743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132833881,"filename":"image_29012025_07_37_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/29/af54944304758ddd9caaa330e19c7c9a.jpg","text":"TemporaryFile(/tmp/multipartBody7837272193285324245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132833881,"filename":"image_29012025_07_37_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/29/0213e041357474308a3bde1aadae279d.jpg","text":"TemporaryFile(/tmp/multipartBody7498999795363807404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132833881,"filename":"image_29012025_07_37_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/29/1324440dda5e1a733f7bbaf712734d74.jpg","text":"TemporaryFile(/tmp/multipartBody4773722274924560217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132833881,"filename":"image_29012025_07_37_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/29/f38ac9775c748e44096adb23d488f45c.jpg","text":"TemporaryFile(/tmp/multipartBody7786344182334428143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132833881,"filename":"image_29012025_07_37_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/29/c0bce28b44195b017c629be8a63b11f8.jpg","text":"TemporaryFile(/tmp/multipartBody2608408205995742016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132833881,"filename":"image_29012025_07_37_35_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332557823","file1":"1332557820","file0":"1332557817","file4":"1332557831","file5":"1332557837","file3":"1332557827"},"map_files_photo_id_array":[{"photo_id":"1332557837","filename":"file5"},{"photo_id":"1332557823","filename":"file2"},{"photo_id":"1332557831","filename":"file4"},{"photo_id":"1332557820","filename":"file1"},{"photo_id":"1332557817","filename":"file0"},{"photo_id":"1332557827","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332557820":["hashtag1","hashtag2"]},{"1332557823":["hashtag1","hashtag2"]},{"1332557817":["hashtag1","hashtag2"]},{"1332557837":["hashtag1","hashtag2"]},{"1332557831":["hashtag1","hashtag2"]},{"1332557827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332557820, 1332557823, 1332557817, 1332557837, 1332557831, 1332557827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.590986490249634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:40:33.159681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/37/image_29012025_07_38_04_9338.jpg', '/home/pi/Desktop/images/29012025/07/38/image_29012025_07_38_15_10336.jpg', '/home/pi/Desktop/images/29012025/07/38/image_29012025_07_38_25_10291.jpg', '/home/pi/Desktop/images/29012025/07/38/image_29012025_07_38_34_9338.jpg', '/home/pi/Desktop/images/29012025/07/38/image_29012025_07_38_45_10351.jpg', '/home/pi/Desktop/images/29012025/07/38/image_29012025_07_38_55_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/37/image_29012025_07_38_04_9338.jpg
/home/pi/Desktop/images/29012025/07/38/image_29012025_07_38_15_10336.jpg
/home/pi/Desktop/images/29012025/07/38/image_29012025_07_38_25_10291.jpg
/home/pi/Desktop/images/29012025/07/38/image_29012025_07_38_34_9338.jpg
/home/pi/Desktop/images/29012025/07/38/image_29012025_07_38_45_10351.jpg
/home/pi/Desktop/images/29012025/07/38/image_29012025_07_38_55_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":["1332558138","1332558132","1332558146","1332558128","1332558101","1332558026"],"photo_ids_order":["1332558026","1332558101","1332558128","1332558132","1332558138","1332558146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/91b5af0504367d5d5e6b1adabd0271ad.jpg","text":"TemporaryFile(/tmp/multipartBody5095495235531624497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132894082,"filename":"image_29012025_07_38_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/29/b00c32ecace68d5164146258d395578d.jpg","text":"TemporaryFile(/tmp/multipartBody1969758155822010153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132894082,"filename":"image_29012025_07_38_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/29/a354542dcb58dee9058d25356eca42b6.jpg","text":"TemporaryFile(/tmp/multipartBody2767792473646832583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132894082,"filename":"image_29012025_07_38_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/29/7f89223a755c219e4bb97f0eac32579a.jpg","text":"TemporaryFile(/tmp/multipartBody510871502051307385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132894082,"filename":"image_29012025_07_38_25_10291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/704298adb4f35d2abd916aaeaf369bef.jpg","text":"TemporaryFile(/tmp/multipartBody6860797163092964736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132894082,"filename":"image_29012025_07_38_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/29/493698de444e72ede9828558c7335023.jpg","text":"TemporaryFile(/tmp/multipartBody5821925782427375051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132894082,"filename":"image_29012025_07_38_04_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332558128","file1":"1332558101","file0":"1332558026","file4":"1332558138","file5":"1332558146","file3":"1332558132"},"map_files_photo_id_array":[{"photo_id":"1332558146","filename":"file5"},{"photo_id":"1332558128","filename":"file2"},{"photo_id":"1332558138","filename":"file4"},{"photo_id":"1332558101","filename":"file1"},{"photo_id":"1332558026","filename":"file0"},{"photo_id":"1332558132","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332558138":["hashtag1","hashtag2"]},{"1332558132":["hashtag1","hashtag2"]},{"1332558146":["hashtag1","hashtag2"]},{"1332558128":["hashtag1","hashtag2"]},{"1332558101":["hashtag1","hashtag2"]},{"1332558026":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332558138, 1332558132, 1332558146, 1332558128, 1332558101, 1332558026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.75084972381592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:41:32.553937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/39/image_29012025_07_39_15_10358.jpg', '/home/pi/Desktop/images/29012025/07/39/image_29012025_07_39_24_9432.jpg', '/home/pi/Desktop/images/29012025/07/39/image_29012025_07_39_35_10386.jpg', '/home/pi/Desktop/images/29012025/07/39/image_29012025_07_39_45_10465.jpg', '/home/pi/Desktop/images/29012025/07/39/image_29012025_07_39_55_9409.jpg', '/home/pi/Desktop/images/29012025/07/39/image_29012025_07_40_05_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/39/image_29012025_07_39_15_10358.jpg
/home/pi/Desktop/images/29012025/07/39/image_29012025_07_39_24_9432.jpg
/home/pi/Desktop/images/29012025/07/39/image_29012025_07_39_35_10386.jpg
/home/pi/Desktop/images/29012025/07/39/image_29012025_07_39_45_10465.jpg
/home/pi/Desktop/images/29012025/07/39/image_29012025_07_39_55_9409.jpg
/home/pi/Desktop/images/29012025/07/39/image_29012025_07_40_05_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":["1332558195","1332558189","1332558201","1332558184","1332558205","1332558198"],"photo_ids_order":["1332558184","1332558189","1332558195","1332558198","1332558201","1332558205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/62ad3a102ac8e56cde42e74cf98a26ce.jpg","text":"TemporaryFile(/tmp/multipartBody8364286485577293529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132953453,"filename":"image_29012025_07_39_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/29/f059fa88b61fea3dd018660f5d6d3966.jpg","text":"TemporaryFile(/tmp/multipartBody7261080800929021057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132953453,"filename":"image_29012025_07_39_24_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/29/1aa82fcf601562f7686d38d9135e15b5.jpg","text":"TemporaryFile(/tmp/multipartBody8301825809388213524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132953453,"filename":"image_29012025_07_39_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/29/ab46846c566bc92ba35360b8dc50ac3c.jpg","text":"TemporaryFile(/tmp/multipartBody6745413274715129539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132953453,"filename":"image_29012025_07_39_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/29/0e079d4b8e674a30a925c1d13c3988c5.jpg","text":"TemporaryFile(/tmp/multipartBody5035926565716032477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132953453,"filename":"image_29012025_07_40_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/29/2211da23450875eb0ca1c1544b41507d.jpg","text":"TemporaryFile(/tmp/multipartBody6237915794827092497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738132953453,"filename":"image_29012025_07_39_45_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332558195","file1":"1332558189","file0":"1332558184","file4":"1332558201","file5":"1332558205","file3":"1332558198"},"map_files_photo_id_array":[{"photo_id":"1332558205","filename":"file5"},{"photo_id":"1332558195","filename":"file2"},{"photo_id":"1332558201","filename":"file4"},{"photo_id":"1332558189","filename":"file1"},{"photo_id":"1332558184","filename":"file0"},{"photo_id":"1332558198","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332558195":["hashtag1","hashtag2"]},{"1332558189":["hashtag1","hashtag2"]},{"1332558201":["hashtag1","hashtag2"]},{"1332558184":["hashtag1","hashtag2"]},{"1332558205":["hashtag1","hashtag2"]},{"1332558198":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332558195, 1332558189, 1332558201, 1332558184, 1332558205, 1332558198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.613823890686035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:42:32.624106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/40/image_29012025_07_40_14_9387.jpg', '/home/pi/Desktop/images/29012025/07/40/image_29012025_07_40_25_10452.jpg', '/home/pi/Desktop/images/29012025/07/40/image_29012025_07_40_35_10392.jpg', '/home/pi/Desktop/images/29012025/07/40/image_29012025_07_40_55_10335.jpg', '/home/pi/Desktop/images/29012025/07/40/image_29012025_07_41_04_9439.jpg', '/home/pi/Desktop/images/29012025/07/41/image_29012025_07_41_15_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/40/image_29012025_07_40_14_9387.jpg
/home/pi/Desktop/images/29012025/07/40/image_29012025_07_40_25_10452.jpg
/home/pi/Desktop/images/29012025/07/40/image_29012025_07_40_35_10392.jpg
/home/pi/Desktop/images/29012025/07/40/image_29012025_07_40_55_10335.jpg
/home/pi/Desktop/images/29012025/07/40/image_29012025_07_41_04_9439.jpg
/home/pi/Desktop/images/29012025/07/41/image_29012025_07_41_15_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":["1332558243","1332558254","1332558248","1332558238","1332558223","1332558229"],"photo_ids_order":["1332558223","1332558229","1332558238","1332558243","1332558248","1332558254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/426796224bb4aeb756998a7963bb221a.jpg","text":"TemporaryFile(/tmp/multipartBody5229593331723596844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133013531,"filename":"image_29012025_07_40_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/29/1a5ba987db4835d7e108b727c5a637c6.jpg","text":"TemporaryFile(/tmp/multipartBody5917609666215964498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133013531,"filename":"image_29012025_07_41_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/29/971cfff21868e5e4a5ebefec92896879.jpg","text":"TemporaryFile(/tmp/multipartBody2140725825576239025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133013531,"filename":"image_29012025_07_41_04_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/29/e747bb386b97134cc671bc4462adc777.jpg","text":"TemporaryFile(/tmp/multipartBody8904782696411327453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133013531,"filename":"image_29012025_07_40_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/29/ef4dfe72bc0f87129042cb22b05ef823.jpg","text":"TemporaryFile(/tmp/multipartBody7324367201111405088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133013531,"filename":"image_29012025_07_40_14_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/29/2b0380ac07d264764968971dcb99b2e9.jpg","text":"TemporaryFile(/tmp/multipartBody842784933558079253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133013531,"filename":"image_29012025_07_40_25_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332558238","file1":"1332558229","file0":"1332558223","file4":"1332558248","file5":"1332558254","file3":"1332558243"},"map_files_photo_id_array":[{"photo_id":"1332558254","filename":"file5"},{"photo_id":"1332558238","filename":"file2"},{"photo_id":"1332558248","filename":"file4"},{"photo_id":"1332558229","filename":"file1"},{"photo_id":"1332558223","filename":"file0"},{"photo_id":"1332558243","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332558243":["hashtag1","hashtag2"]},{"1332558254":["hashtag1","hashtag2"]},{"1332558248":["hashtag1","hashtag2"]},{"1332558238":["hashtag1","hashtag2"]},{"1332558223":["hashtag1","hashtag2"]},{"1332558229":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332558243, 1332558254, 1332558248, 1332558238, 1332558223, 1332558229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.41375160217285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:43:32.880000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/41/image_29012025_07_41_25_10457.jpg', '/home/pi/Desktop/images/29012025/07/41/image_29012025_07_41_35_9417.jpg', '/home/pi/Desktop/images/29012025/07/41/image_29012025_07_41_45_10350.jpg', '/home/pi/Desktop/images/29012025/07/41/image_29012025_07_41_54_9416.jpg', '/home/pi/Desktop/images/29012025/07/41/image_29012025_07_42_05_10335.jpg', '/home/pi/Desktop/images/29012025/07/42/image_29012025_07_42_15_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/41/image_29012025_07_41_25_10457.jpg
/home/pi/Desktop/images/29012025/07/41/image_29012025_07_41_35_9417.jpg
/home/pi/Desktop/images/29012025/07/41/image_29012025_07_41_45_10350.jpg
/home/pi/Desktop/images/29012025/07/41/image_29012025_07_41_54_9416.jpg
/home/pi/Desktop/images/29012025/07/41/image_29012025_07_42_05_10335.jpg
/home/pi/Desktop/images/29012025/07/42/image_29012025_07_42_15_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":["1332558279","1332558294","1332558273","1332558300","1332558284","1332558289"],"photo_ids_order":["1332558273","1332558279","1332558284","1332558289","1332558294","1332558300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/179dca09ab1d30894c29ed3902eeead2.jpg","text":"TemporaryFile(/tmp/multipartBody3120465935477320193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133073802,"filename":"image_29012025_07_41_35_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/29/3463553347198f5d2f9fe8a0b0a7c4b1.jpg","text":"TemporaryFile(/tmp/multipartBody2127305254508761475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133073802,"filename":"image_29012025_07_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/29/ec1fc3b9f0e54ba42f5360e68cff3f47.jpg","text":"TemporaryFile(/tmp/multipartBody8661132933353975764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133073802,"filename":"image_29012025_07_41_25_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/29/94b645478d826635a5ad46eb4cba589b.jpg","text":"TemporaryFile(/tmp/multipartBody3234193022535474996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133073802,"filename":"image_29012025_07_42_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/29/ebad2d4b4f0ad28e615a8c320ce7f216.jpg","text":"TemporaryFile(/tmp/multipartBody351246943468814530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133073802,"filename":"image_29012025_07_41_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/29/51267928845c03ebe014717d47447730.jpg","text":"TemporaryFile(/tmp/multipartBody7207847045258943859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133073802,"filename":"image_29012025_07_41_54_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332558284","file1":"1332558279","file0":"1332558273","file4":"1332558294","file5":"1332558300","file3":"1332558289"},"map_files_photo_id_array":[{"photo_id":"1332558300","filename":"file5"},{"photo_id":"1332558284","filename":"file2"},{"photo_id":"1332558294","filename":"file4"},{"photo_id":"1332558279","filename":"file1"},{"photo_id":"1332558273","filename":"file0"},{"photo_id":"1332558289","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332558279":["hashtag1","hashtag2"]},{"1332558294":["hashtag1","hashtag2"]},{"1332558273":["hashtag1","hashtag2"]},{"1332558300":["hashtag1","hashtag2"]},{"1332558284":["hashtag1","hashtag2"]},{"1332558289":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332558279, 1332558294, 1332558273, 1332558300, 1332558284, 1332558289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.20944380760193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:44:33.042461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/42/image_29012025_07_42_24_9392.jpg', '/home/pi/Desktop/images/29012025/07/42/image_29012025_07_42_35_10347.jpg', '/home/pi/Desktop/images/29012025/07/42/image_29012025_07_42_45_10466.jpg', '/home/pi/Desktop/images/29012025/07/42/image_29012025_07_42_55_9359.jpg', '/home/pi/Desktop/images/29012025/07/42/image_29012025_07_43_05_10367.jpg', '/home/pi/Desktop/images/29012025/07/43/image_29012025_07_43_14_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/42/image_29012025_07_42_24_9392.jpg
/home/pi/Desktop/images/29012025/07/42/image_29012025_07_42_35_10347.jpg
/home/pi/Desktop/images/29012025/07/42/image_29012025_07_42_45_10466.jpg
/home/pi/Desktop/images/29012025/07/42/image_29012025_07_42_55_9359.jpg
/home/pi/Desktop/images/29012025/07/42/image_29012025_07_43_05_10367.jpg
/home/pi/Desktop/images/29012025/07/43/image_29012025_07_43_14_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":["1332558366","1332558357","1332558321","1332558339","1332558332","1332558328"],"photo_ids_order":["1332558321","1332558328","1332558332","1332558339","1332558357","1332558366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8655b47cdf8aa44e46cc22bce270b04a.jpg","text":"TemporaryFile(/tmp/multipartBody4778973383559961477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133133957,"filename":"image_29012025_07_43_14_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/29/eefec5ed5008448cfbe9c8b759ba728e.jpg","text":"TemporaryFile(/tmp/multipartBody343842884284119527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133133957,"filename":"image_29012025_07_43_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/29/7bb655d1f9b1235ae4a70b59c23f5219.jpg","text":"TemporaryFile(/tmp/multipartBody3174017590366416744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133133957,"filename":"image_29012025_07_42_24_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/29/b8fa91f589be1b1506aecb8736a34104.jpg","text":"TemporaryFile(/tmp/multipartBody6245463123029584608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133133957,"filename":"image_29012025_07_42_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/29/d725d39083ba27bfaa1b2263f626ed0c.jpg","text":"TemporaryFile(/tmp/multipartBody4595718706722606954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133133957,"filename":"image_29012025_07_42_45_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/29/7621cb0837c626a48c201be14e65b305.jpg","text":"TemporaryFile(/tmp/multipartBody3680627681559793418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133133957,"filename":"image_29012025_07_42_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332558332","file1":"1332558328","file0":"1332558321","file4":"1332558357","file5":"1332558366","file3":"1332558339"},"map_files_photo_id_array":[{"photo_id":"1332558366","filename":"file5"},{"photo_id":"1332558332","filename":"file2"},{"photo_id":"1332558357","filename":"file4"},{"photo_id":"1332558328","filename":"file1"},{"photo_id":"1332558321","filename":"file0"},{"photo_id":"1332558339","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332558366":["hashtag1","hashtag2"]},{"1332558357":["hashtag1","hashtag2"]},{"1332558321":["hashtag1","hashtag2"]},{"1332558339":["hashtag1","hashtag2"]},{"1332558332":["hashtag1","hashtag2"]},{"1332558328":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332558366, 1332558357, 1332558321, 1332558339, 1332558332, 1332558328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.271522521972656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:45:32.207443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/43/image_29012025_07_43_25_10357.jpg', '/home/pi/Desktop/images/29012025/07/43/image_29012025_07_43_35_10426.jpg', '/home/pi/Desktop/images/29012025/07/43/image_29012025_07_43_44_9342.jpg', '/home/pi/Desktop/images/29012025/07/43/image_29012025_07_43_55_10335.jpg', '/home/pi/Desktop/images/29012025/07/44/image_29012025_07_44_15_9341.jpg', '/home/pi/Desktop/images/29012025/07/44/image_29012025_07_44_25_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/43/image_29012025_07_43_25_10357.jpg
/home/pi/Desktop/images/29012025/07/43/image_29012025_07_43_35_10426.jpg
/home/pi/Desktop/images/29012025/07/43/image_29012025_07_43_44_9342.jpg
/home/pi/Desktop/images/29012025/07/43/image_29012025_07_43_55_10335.jpg
/home/pi/Desktop/images/29012025/07/44/image_29012025_07_44_15_9341.jpg
/home/pi/Desktop/images/29012025/07/44/image_29012025_07_44_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":["1332558600","1332558419","1332558509","1332558602","1332558535","1332558529"],"photo_ids_order":["1332558419","1332558509","1332558529","1332558535","1332558600","1332558602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9cf53aeaa38fa4bc45ec5a9299ce3257.jpg","text":"TemporaryFile(/tmp/multipartBody7156965339943511480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133193121,"filename":"image_29012025_07_44_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/29/7e309c8c35ee974013c709d4399ec26f.jpg","text":"TemporaryFile(/tmp/multipartBody8155701532916540674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133193121,"filename":"image_29012025_07_43_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/29/32dd69c02b426dafcdcee2ef99b8faae.jpg","text":"TemporaryFile(/tmp/multipartBody9136477357137781841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133193121,"filename":"image_29012025_07_43_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/29/aa97723f3a37fa38f84ef27fa91aa973.jpg","text":"TemporaryFile(/tmp/multipartBody1228567091838133099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133193121,"filename":"image_29012025_07_44_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/29/95fd332c570c9531f294e1caebb92119.jpg","text":"TemporaryFile(/tmp/multipartBody1142771313327274844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133193121,"filename":"image_29012025_07_43_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/29/742d7249b80787c19dd353553c69591b.jpg","text":"TemporaryFile(/tmp/multipartBody2625734727191806398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133193121,"filename":"image_29012025_07_43_44_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332558529","file1":"1332558509","file0":"1332558419","file4":"1332558600","file5":"1332558602","file3":"1332558535"},"map_files_photo_id_array":[{"photo_id":"1332558602","filename":"file5"},{"photo_id":"1332558529","filename":"file2"},{"photo_id":"1332558600","filename":"file4"},{"photo_id":"1332558509","filename":"file1"},{"photo_id":"1332558419","filename":"file0"},{"photo_id":"1332558535","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332558600":["hashtag1","hashtag2"]},{"1332558419":["hashtag1","hashtag2"]},{"1332558509":["hashtag1","hashtag2"]},{"1332558602":["hashtag1","hashtag2"]},{"1332558535":["hashtag1","hashtag2"]},{"1332558529":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332558600, 1332558419, 1332558509, 1332558602, 1332558535, 1332558529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.61402630805969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:46:32.431637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/44/image_29012025_07_44_45_10446.jpg', '/home/pi/Desktop/images/29012025/07/44/image_29012025_07_44_55_10533.jpg', '/home/pi/Desktop/images/29012025/07/44/image_29012025_07_45_05_9345.jpg', '/home/pi/Desktop/images/29012025/07/45/image_29012025_07_45_15_10476.jpg', '/home/pi/Desktop/images/29012025/07/45/image_29012025_07_45_25_9443.jpg', '/home/pi/Desktop/images/29012025/07/45/image_29012025_07_45_35_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/44/image_29012025_07_44_45_10446.jpg
/home/pi/Desktop/images/29012025/07/44/image_29012025_07_44_55_10533.jpg
/home/pi/Desktop/images/29012025/07/44/image_29012025_07_45_05_9345.jpg
/home/pi/Desktop/images/29012025/07/45/image_29012025_07_45_15_10476.jpg
/home/pi/Desktop/images/29012025/07/45/image_29012025_07_45_25_9443.jpg
/home/pi/Desktop/images/29012025/07/45/image_29012025_07_45_35_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":["1332558681","1332558747","1332558689","1332558694","1332558721","1332558703"],"photo_ids_order":["1332558681","1332558689","1332558694","1332558703","1332558721","1332558747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6dd0f1ac915524f0ab8d6088aeb30cd3.jpg","text":"TemporaryFile(/tmp/multipartBody1814296996676170144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133253368,"filename":"image_29012025_07_44_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/29/b778bc5c4f781bacc4195076d25fa184.jpg","text":"TemporaryFile(/tmp/multipartBody6039095590276164990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133253368,"filename":"image_29012025_07_45_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/29/afe1abc65ed6e3071ae4690350585ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7123295817070125588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133253368,"filename":"image_29012025_07_44_55_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/29/23db848891d63c900ef5e407a919a967.jpg","text":"TemporaryFile(/tmp/multipartBody25375990272376392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133253368,"filename":"image_29012025_07_45_05_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/29/97fea96cd882c5c9e28a435737fc79b3.jpg","text":"TemporaryFile(/tmp/multipartBody2472114701139157753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133253368,"filename":"image_29012025_07_45_25_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/29/7957ddefb83f29faf292c72d0d5fa900.jpg","text":"TemporaryFile(/tmp/multipartBody2578067105960190157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133253368,"filename":"image_29012025_07_45_15_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332558694","file1":"1332558689","file0":"1332558681","file4":"1332558721","file5":"1332558747","file3":"1332558703"},"map_files_photo_id_array":[{"photo_id":"1332558747","filename":"file5"},{"photo_id":"1332558694","filename":"file2"},{"photo_id":"1332558721","filename":"file4"},{"photo_id":"1332558689","filename":"file1"},{"photo_id":"1332558681","filename":"file0"},{"photo_id":"1332558703","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332558681":["hashtag1","hashtag2"]},{"1332558747":["hashtag1","hashtag2"]},{"1332558689":["hashtag1","hashtag2"]},{"1332558694":["hashtag1","hashtag2"]},{"1332558721":["hashtag1","hashtag2"]},{"1332558703":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332558681, 1332558747, 1332558689, 1332558694, 1332558721, 1332558703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.79827070236206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:47:32.818398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/45/image_29012025_07_45_45_10350.jpg', '/home/pi/Desktop/images/29012025/07/45/image_29012025_07_45_55_9354.jpg', '/home/pi/Desktop/images/29012025/07/45/image_29012025_07_46_05_10356.jpg', '/home/pi/Desktop/images/29012025/07/46/image_29012025_07_46_14_9437.jpg', '/home/pi/Desktop/images/29012025/07/46/image_29012025_07_46_25_10383.jpg', '/home/pi/Desktop/images/29012025/07/46/image_29012025_07_46_35_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/45/image_29012025_07_45_45_10350.jpg
/home/pi/Desktop/images/29012025/07/45/image_29012025_07_45_55_9354.jpg
/home/pi/Desktop/images/29012025/07/45/image_29012025_07_46_05_10356.jpg
/home/pi/Desktop/images/29012025/07/46/image_29012025_07_46_14_9437.jpg
/home/pi/Desktop/images/29012025/07/46/image_29012025_07_46_25_10383.jpg
/home/pi/Desktop/images/29012025/07/46/image_29012025_07_46_35_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":["1332558771","1332558791","1332558785","1332558776","1332558781","1332558778"],"photo_ids_order":["1332558771","1332558776","1332558778","1332558781","1332558785","1332558791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/26bc7be0152d820e202e458833ac9c7b.jpg","text":"TemporaryFile(/tmp/multipartBody5744392996861983893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133313722,"filename":"image_29012025_07_45_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/29/9b9f4733e0ad7a6a8c75f61f67c46a0f.jpg","text":"TemporaryFile(/tmp/multipartBody4270977661496129520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133313722,"filename":"image_29012025_07_46_35_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/29/20eb58795df16c0d8162266c54eeb0ab.jpg","text":"TemporaryFile(/tmp/multipartBody5568664982539751037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133313722,"filename":"image_29012025_07_46_25_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/29/b3ab422131be372c82a5bfb93f91757f.jpg","text":"TemporaryFile(/tmp/multipartBody1611757120649488779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133313722,"filename":"image_29012025_07_45_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/29/935f97a29be81d650cde9f42cf560ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3787926041820997623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133313722,"filename":"image_29012025_07_46_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/29/f2efffcac724811a247cbc033722d35e.jpg","text":"TemporaryFile(/tmp/multipartBody5129443230753864680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133313722,"filename":"image_29012025_07_46_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332558778","file1":"1332558776","file0":"1332558771","file4":"1332558785","file5":"1332558791","file3":"1332558781"},"map_files_photo_id_array":[{"photo_id":"1332558791","filename":"file5"},{"photo_id":"1332558778","filename":"file2"},{"photo_id":"1332558785","filename":"file4"},{"photo_id":"1332558776","filename":"file1"},{"photo_id":"1332558771","filename":"file0"},{"photo_id":"1332558781","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332558771":["hashtag1","hashtag2"]},{"1332558791":["hashtag1","hashtag2"]},{"1332558785":["hashtag1","hashtag2"]},{"1332558776":["hashtag1","hashtag2"]},{"1332558781":["hashtag1","hashtag2"]},{"1332558778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332558771, 1332558791, 1332558785, 1332558776, 1332558781, 1332558778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.10772085189819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:48:33.008699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/46/image_29012025_07_46_45_9399.jpg', '/home/pi/Desktop/images/29012025/07/46/image_29012025_07_46_55_10405.jpg', '/home/pi/Desktop/images/29012025/07/46/image_29012025_07_47_05_10350.jpg', '/home/pi/Desktop/images/29012025/07/47/image_29012025_07_47_15_9330.jpg', '/home/pi/Desktop/images/29012025/07/47/image_29012025_07_47_25_10344.jpg', '/home/pi/Desktop/images/29012025/07/47/image_29012025_07_47_34_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/46/image_29012025_07_46_45_9399.jpg
/home/pi/Desktop/images/29012025/07/46/image_29012025_07_46_55_10405.jpg
/home/pi/Desktop/images/29012025/07/46/image_29012025_07_47_05_10350.jpg
/home/pi/Desktop/images/29012025/07/47/image_29012025_07_47_15_9330.jpg
/home/pi/Desktop/images/29012025/07/47/image_29012025_07_47_25_10344.jpg
/home/pi/Desktop/images/29012025/07/47/image_29012025_07_47_34_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":["1332558843","1332558828","1332558839","1332558844","1332558835","1332558820"],"photo_ids_order":["1332558820","1332558828","1332558835","1332558839","1332558843","1332558844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2054bfb2ef35a986c455e1fead1ed423.jpg","text":"TemporaryFile(/tmp/multipartBody6352613893196268705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133373935,"filename":"image_29012025_07_47_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/29/cf4547c71ad649ad838ada506ff7190e.jpg","text":"TemporaryFile(/tmp/multipartBody6279233908342979726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133373935,"filename":"image_29012025_07_46_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/29/378d980fb39f021b8061d573b8e59f39.jpg","text":"TemporaryFile(/tmp/multipartBody2326558096303195660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133373935,"filename":"image_29012025_07_47_15_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/29/c55609cb9426a4cb102e2c12b4ce9538.jpg","text":"TemporaryFile(/tmp/multipartBody3012926734579295811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133373935,"filename":"image_29012025_07_47_34_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/29/0bc180d7e3079ccdf310420843c488b2.jpg","text":"TemporaryFile(/tmp/multipartBody3774811108637059999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133373935,"filename":"image_29012025_07_47_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/29/c0c6b8b3c7bc99e879520bcd8482d505.jpg","text":"TemporaryFile(/tmp/multipartBody3993423240735962940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133373935,"filename":"image_29012025_07_46_45_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332558835","file1":"1332558828","file0":"1332558820","file4":"1332558843","file5":"1332558844","file3":"1332558839"},"map_files_photo_id_array":[{"photo_id":"1332558844","filename":"file5"},{"photo_id":"1332558835","filename":"file2"},{"photo_id":"1332558843","filename":"file4"},{"photo_id":"1332558828","filename":"file1"},{"photo_id":"1332558820","filename":"file0"},{"photo_id":"1332558839","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332558843":["hashtag1","hashtag2"]},{"1332558828":["hashtag1","hashtag2"]},{"1332558839":["hashtag1","hashtag2"]},{"1332558844":["hashtag1","hashtag2"]},{"1332558835":["hashtag1","hashtag2"]},{"1332558820":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332558843, 1332558828, 1332558839, 1332558844, 1332558835, 1332558820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70148158073425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:49:32.241202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/47/image_29012025_07_47_45_10360.jpg', '/home/pi/Desktop/images/29012025/07/47/image_29012025_07_47_55_10433.jpg', '/home/pi/Desktop/images/29012025/07/47/image_29012025_07_48_05_9365.jpg', '/home/pi/Desktop/images/29012025/07/48/image_29012025_07_48_15_10333.jpg', '/home/pi/Desktop/images/29012025/07/48/image_29012025_07_48_25_10354.jpg', '/home/pi/Desktop/images/29012025/07/48/image_29012025_07_48_35_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/47/image_29012025_07_47_45_10360.jpg
/home/pi/Desktop/images/29012025/07/47/image_29012025_07_47_55_10433.jpg
/home/pi/Desktop/images/29012025/07/47/image_29012025_07_48_05_9365.jpg
/home/pi/Desktop/images/29012025/07/48/image_29012025_07_48_15_10333.jpg
/home/pi/Desktop/images/29012025/07/48/image_29012025_07_48_25_10354.jpg
/home/pi/Desktop/images/29012025/07/48/image_29012025_07_48_35_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":["1332558873","1332558867","1332558882","1332558878","1332558886","1332558891"],"photo_ids_order":["1332558867","1332558873","1332558878","1332558882","1332558886","1332558891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b6b48e67873f171579b48abd5e35373d.jpg","text":"TemporaryFile(/tmp/multipartBody6908096848834685861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133433154,"filename":"image_29012025_07_47_55_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/29/71d0017c230334664e1066fa1aa77c5a.jpg","text":"TemporaryFile(/tmp/multipartBody255958295254928177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133433154,"filename":"image_29012025_07_47_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/29/9ff06e40f5873c84b61d3773fc47f322.jpg","text":"TemporaryFile(/tmp/multipartBody2909598089419611161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133433154,"filename":"image_29012025_07_48_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/29/15e84eea167c153c47b0b8f3bdb4aaad.jpg","text":"TemporaryFile(/tmp/multipartBody5554139069974541371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133433154,"filename":"image_29012025_07_48_05_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/29/af927990c71b9dc5c78621dd80786021.jpg","text":"TemporaryFile(/tmp/multipartBody2121461149912703265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133433154,"filename":"image_29012025_07_48_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/29/274fbcb74d0245c6a262659c97bf3cee.jpg","text":"TemporaryFile(/tmp/multipartBody6642292475829144897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133433154,"filename":"image_29012025_07_48_35_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332558878","file1":"1332558873","file0":"1332558867","file4":"1332558886","file5":"1332558891","file3":"1332558882"},"map_files_photo_id_array":[{"photo_id":"1332558891","filename":"file5"},{"photo_id":"1332558878","filename":"file2"},{"photo_id":"1332558886","filename":"file4"},{"photo_id":"1332558873","filename":"file1"},{"photo_id":"1332558867","filename":"file0"},{"photo_id":"1332558882","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332558873":["hashtag1","hashtag2"]},{"1332558867":["hashtag1","hashtag2"]},{"1332558882":["hashtag1","hashtag2"]},{"1332558878":["hashtag1","hashtag2"]},{"1332558886":["hashtag1","hashtag2"]},{"1332558891":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332558873, 1332558867, 1332558882, 1332558878, 1332558886, 1332558891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59891200065613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:50:32.906712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/48/image_29012025_07_48_45_10384.jpg', '/home/pi/Desktop/images/29012025/07/48/image_29012025_07_48_54_9437.jpg', '/home/pi/Desktop/images/29012025/07/48/image_29012025_07_49_05_10338.jpg', '/home/pi/Desktop/images/29012025/07/49/image_29012025_07_49_15_10443.jpg', '/home/pi/Desktop/images/29012025/07/49/image_29012025_07_49_25_9354.jpg', '/home/pi/Desktop/images/29012025/07/49/image_29012025_07_49_35_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/48/image_29012025_07_48_45_10384.jpg
/home/pi/Desktop/images/29012025/07/48/image_29012025_07_48_54_9437.jpg
/home/pi/Desktop/images/29012025/07/48/image_29012025_07_49_05_10338.jpg
/home/pi/Desktop/images/29012025/07/49/image_29012025_07_49_15_10443.jpg
/home/pi/Desktop/images/29012025/07/49/image_29012025_07_49_25_9354.jpg
/home/pi/Desktop/images/29012025/07/49/image_29012025_07_49_35_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":["1332558969","1332558959","1332559045","1332559024","1332559027","1332559032"],"photo_ids_order":["1332558959","1332558969","1332559024","1332559027","1332559032","1332559045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/533ac4d26530f9636c3a5fb0c9f91b48.jpg","text":"TemporaryFile(/tmp/multipartBody3398875771817030424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133493816,"filename":"image_29012025_07_48_54_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/29/e577592fe30b89a7bd072cb082c65bbc.jpg","text":"TemporaryFile(/tmp/multipartBody7486854364178911079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133493816,"filename":"image_29012025_07_48_45_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/29/1d5005282807826dcc3b6312ffab94d5.jpg","text":"TemporaryFile(/tmp/multipartBody7406487497016801408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133493816,"filename":"image_29012025_07_49_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/29/c25cd0164afd57db7f818bb668beed5a.jpg","text":"TemporaryFile(/tmp/multipartBody2726805424917002784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133493816,"filename":"image_29012025_07_49_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/29/e3986a73fe8ada3cf774837068f4c990.jpg","text":"TemporaryFile(/tmp/multipartBody4770663033525823582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133493816,"filename":"image_29012025_07_49_15_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/29/767f71bf3199b686da69dbdd937cb952.jpg","text":"TemporaryFile(/tmp/multipartBody6597035304280463287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133493816,"filename":"image_29012025_07_49_25_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332559024","file1":"1332558969","file0":"1332558959","file4":"1332559032","file5":"1332559045","file3":"1332559027"},"map_files_photo_id_array":[{"photo_id":"1332559045","filename":"file5"},{"photo_id":"1332559024","filename":"file2"},{"photo_id":"1332559032","filename":"file4"},{"photo_id":"1332558969","filename":"file1"},{"photo_id":"1332558959","filename":"file0"},{"photo_id":"1332559027","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332558969":["hashtag1","hashtag2"]},{"1332558959":["hashtag1","hashtag2"]},{"1332559045":["hashtag1","hashtag2"]},{"1332559024":["hashtag1","hashtag2"]},{"1332559027":["hashtag1","hashtag2"]},{"1332559032":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332558969, 1332558959, 1332559045, 1332559024, 1332559027, 1332559032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76983594894409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:51:33.206982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/49/image_29012025_07_49_44_9434.jpg', '/home/pi/Desktop/images/29012025/07/49/image_29012025_07_49_55_10349.jpg', '/home/pi/Desktop/images/29012025/07/49/image_29012025_07_50_05_10458.jpg', '/home/pi/Desktop/images/29012025/07/50/image_29012025_07_50_15_9355.jpg', '/home/pi/Desktop/images/29012025/07/50/image_29012025_07_50_25_10413.jpg', '/home/pi/Desktop/images/29012025/07/50/image_29012025_07_50_35_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/49/image_29012025_07_49_44_9434.jpg
/home/pi/Desktop/images/29012025/07/49/image_29012025_07_49_55_10349.jpg
/home/pi/Desktop/images/29012025/07/49/image_29012025_07_50_05_10458.jpg
/home/pi/Desktop/images/29012025/07/50/image_29012025_07_50_15_9355.jpg
/home/pi/Desktop/images/29012025/07/50/image_29012025_07_50_25_10413.jpg
/home/pi/Desktop/images/29012025/07/50/image_29012025_07_50_35_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":["1332559155","1332559169","1332559160","1332559148","1332559162","1332559164"],"photo_ids_order":["1332559148","1332559155","1332559160","1332559162","1332559164","1332559169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/784112cccb5e49cc9c73fd0c37ff74b2.jpg","text":"TemporaryFile(/tmp/multipartBody9072884990841084394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133554130,"filename":"image_29012025_07_49_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/29/17e83769bce8ccdc8dc51e9b4049289d.jpg","text":"TemporaryFile(/tmp/multipartBody310450261598953155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133554130,"filename":"image_29012025_07_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/29/3877280abc16874bc2ec0ddfbe6f2df5.jpg","text":"TemporaryFile(/tmp/multipartBody2265230015843962330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133554130,"filename":"image_29012025_07_50_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/29/5889ee408314d6764b59a763e22c1670.jpg","text":"TemporaryFile(/tmp/multipartBody8040042871753346840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133554130,"filename":"image_29012025_07_49_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/29/10be297bd65a5e115921614f0fbd314b.jpg","text":"TemporaryFile(/tmp/multipartBody5909579351055604486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133554130,"filename":"image_29012025_07_50_15_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/29/5ee0e51465dbb72dc5bde06eecc164e8.jpg","text":"TemporaryFile(/tmp/multipartBody7393195332780214677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133554130,"filename":"image_29012025_07_50_25_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332559160","file1":"1332559155","file0":"1332559148","file4":"1332559164","file5":"1332559169","file3":"1332559162"},"map_files_photo_id_array":[{"photo_id":"1332559169","filename":"file5"},{"photo_id":"1332559160","filename":"file2"},{"photo_id":"1332559164","filename":"file4"},{"photo_id":"1332559155","filename":"file1"},{"photo_id":"1332559148","filename":"file0"},{"photo_id":"1332559162","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332559155":["hashtag1","hashtag2"]},{"1332559169":["hashtag1","hashtag2"]},{"1332559160":["hashtag1","hashtag2"]},{"1332559148":["hashtag1","hashtag2"]},{"1332559162":["hashtag1","hashtag2"]},{"1332559164":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332559155, 1332559169, 1332559160, 1332559148, 1332559162, 1332559164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.987125396728516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:52:32.208731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/50/image_29012025_07_50_45_9349.jpg', '/home/pi/Desktop/images/29012025/07/50/image_29012025_07_50_55_10371.jpg', '/home/pi/Desktop/images/29012025/07/50/image_29012025_07_51_04_9389.jpg', '/home/pi/Desktop/images/29012025/07/51/image_29012025_07_51_15_10667.jpg', '/home/pi/Desktop/images/29012025/07/51/image_29012025_07_51_24_9420.jpg', '/home/pi/Desktop/images/29012025/07/51/image_29012025_07_51_35_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/50/image_29012025_07_50_45_9349.jpg
/home/pi/Desktop/images/29012025/07/50/image_29012025_07_50_55_10371.jpg
/home/pi/Desktop/images/29012025/07/50/image_29012025_07_51_04_9389.jpg
/home/pi/Desktop/images/29012025/07/51/image_29012025_07_51_15_10667.jpg
/home/pi/Desktop/images/29012025/07/51/image_29012025_07_51_24_9420.jpg
/home/pi/Desktop/images/29012025/07/51/image_29012025_07_51_35_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":["1332559215","1332559224","1332559241","1332559208","1332559237","1332559231"],"photo_ids_order":["1332559208","1332559215","1332559224","1332559231","1332559237","1332559241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1d6eb94a1ea338a952ecde4e654e1996.jpg","text":"TemporaryFile(/tmp/multipartBody8047463049310499496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133613122,"filename":"image_29012025_07_50_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/29/04211e17d05b67ec8f27bcf388156e18.jpg","text":"TemporaryFile(/tmp/multipartBody3516801827817030326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133613122,"filename":"image_29012025_07_51_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/29/cbdc4645f796355c508916993aeb5a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8906707321709812228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133613122,"filename":"image_29012025_07_51_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/29/5ac6f4fa92456bbe2c77171ebef3260c.jpg","text":"TemporaryFile(/tmp/multipartBody1533656763225985992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133613122,"filename":"image_29012025_07_50_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/29/a8b37f5fc09d48822ddeefbe4b2a2891.jpg","text":"TemporaryFile(/tmp/multipartBody7592681660974206443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133613122,"filename":"image_29012025_07_51_24_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/29/d4d710dba05ab4dca8591f4b545b57e5.jpg","text":"TemporaryFile(/tmp/multipartBody803141868198846357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133613122,"filename":"image_29012025_07_51_15_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332559224","file1":"1332559215","file0":"1332559208","file4":"1332559237","file5":"1332559241","file3":"1332559231"},"map_files_photo_id_array":[{"photo_id":"1332559241","filename":"file5"},{"photo_id":"1332559224","filename":"file2"},{"photo_id":"1332559237","filename":"file4"},{"photo_id":"1332559215","filename":"file1"},{"photo_id":"1332559208","filename":"file0"},{"photo_id":"1332559231","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332559215":["hashtag1","hashtag2"]},{"1332559224":["hashtag1","hashtag2"]},{"1332559241":["hashtag1","hashtag2"]},{"1332559208":["hashtag1","hashtag2"]},{"1332559237":["hashtag1","hashtag2"]},{"1332559231":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332559215, 1332559224, 1332559241, 1332559208, 1332559237, 1332559231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18275856971741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:53:32.439589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/51/image_29012025_07_51_45_10359.jpg', '/home/pi/Desktop/images/29012025/07/51/image_29012025_07_51_55_9411.jpg', '/home/pi/Desktop/images/29012025/07/51/image_29012025_07_52_05_10522.jpg', '/home/pi/Desktop/images/29012025/07/52/image_29012025_07_52_14_9344.jpg', '/home/pi/Desktop/images/29012025/07/52/image_29012025_07_52_25_10364.jpg', '/home/pi/Desktop/images/29012025/07/52/image_29012025_07_52_35_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/51/image_29012025_07_51_45_10359.jpg
/home/pi/Desktop/images/29012025/07/51/image_29012025_07_51_55_9411.jpg
/home/pi/Desktop/images/29012025/07/51/image_29012025_07_52_05_10522.jpg
/home/pi/Desktop/images/29012025/07/52/image_29012025_07_52_14_9344.jpg
/home/pi/Desktop/images/29012025/07/52/image_29012025_07_52_25_10364.jpg
/home/pi/Desktop/images/29012025/07/52/image_29012025_07_52_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":["1332559311","1332559289","1332559322","1332559293","1332559299","1332559284"],"photo_ids_order":["1332559284","1332559289","1332559293","1332559299","1332559311","1332559322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4555871f40fb5320e4506d2c1e5b5fb2.jpg","text":"TemporaryFile(/tmp/multipartBody4601059744674166096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133673353,"filename":"image_29012025_07_52_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/29/c926b90d7e309e636bc27bcaa0f57355.jpg","text":"TemporaryFile(/tmp/multipartBody5449920316639729870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133673353,"filename":"image_29012025_07_51_55_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/29/942e7db6fe9cf98376b926ab759767aa.jpg","text":"TemporaryFile(/tmp/multipartBody6038485881065901532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133673353,"filename":"image_29012025_07_52_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/29/6635e1d451f1e05a0983cd571c65ae5b.jpg","text":"TemporaryFile(/tmp/multipartBody2025408412833981556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133673353,"filename":"image_29012025_07_52_05_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/29/393cb00fc6f5d6a1d52795ccda29f78e.jpg","text":"TemporaryFile(/tmp/multipartBody3947962941870711616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133673353,"filename":"image_29012025_07_52_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/29/8c0458661b97c9ccf4d006620461f99e.jpg","text":"TemporaryFile(/tmp/multipartBody8926570733776716556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133673353,"filename":"image_29012025_07_51_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332559293","file1":"1332559289","file0":"1332559284","file4":"1332559311","file5":"1332559322","file3":"1332559299"},"map_files_photo_id_array":[{"photo_id":"1332559322","filename":"file5"},{"photo_id":"1332559293","filename":"file2"},{"photo_id":"1332559311","filename":"file4"},{"photo_id":"1332559289","filename":"file1"},{"photo_id":"1332559284","filename":"file0"},{"photo_id":"1332559299","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332559311":["hashtag1","hashtag2"]},{"1332559289":["hashtag1","hashtag2"]},{"1332559322":["hashtag1","hashtag2"]},{"1332559293":["hashtag1","hashtag2"]},{"1332559299":["hashtag1","hashtag2"]},{"1332559284":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332559311, 1332559289, 1332559322, 1332559293, 1332559299, 1332559284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42241358757019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:54:32.781527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/52/image_29012025_07_52_45_9357.jpg', '/home/pi/Desktop/images/29012025/07/52/image_29012025_07_52_55_10479.jpg', '/home/pi/Desktop/images/29012025/07/52/image_29012025_07_53_04_9340.jpg', '/home/pi/Desktop/images/29012025/07/53/image_29012025_07_53_15_10387.jpg', '/home/pi/Desktop/images/29012025/07/53/image_29012025_07_53_25_10369.jpg', '/home/pi/Desktop/images/29012025/07/53/image_29012025_07_53_35_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/52/image_29012025_07_52_45_9357.jpg
/home/pi/Desktop/images/29012025/07/52/image_29012025_07_52_55_10479.jpg
/home/pi/Desktop/images/29012025/07/52/image_29012025_07_53_04_9340.jpg
/home/pi/Desktop/images/29012025/07/53/image_29012025_07_53_15_10387.jpg
/home/pi/Desktop/images/29012025/07/53/image_29012025_07_53_25_10369.jpg
/home/pi/Desktop/images/29012025/07/53/image_29012025_07_53_35_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":["1332559506","1332559416","1332559451","1332559508","1332559456","1332559443"],"photo_ids_order":["1332559416","1332559443","1332559451","1332559456","1332559506","1332559508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/760e69b4be38ee49e33cf048a4ded3ea.jpg","text":"TemporaryFile(/tmp/multipartBody5853360418045136182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133733706,"filename":"image_29012025_07_53_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/29/caef4aa05b98872f66a3ff059f4d98bf.jpg","text":"TemporaryFile(/tmp/multipartBody5808753735471616003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133733706,"filename":"image_29012025_07_52_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/29/9282a47e6ff82323b19fb888259fd583.jpg","text":"TemporaryFile(/tmp/multipartBody3025015194802975093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133733706,"filename":"image_29012025_07_53_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/29/35a22a4a4127233821145a164c2f98c6.jpg","text":"TemporaryFile(/tmp/multipartBody7184045324856725097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133733706,"filename":"image_29012025_07_53_35_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/29/f959f98975fbe852f82aff9f41c724ce.jpg","text":"TemporaryFile(/tmp/multipartBody6024107839724059069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133733706,"filename":"image_29012025_07_53_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/29/34fd34b830c61ad34899fd409bec290e.jpg","text":"TemporaryFile(/tmp/multipartBody3527044603948589266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133733706,"filename":"image_29012025_07_52_55_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332559451","file1":"1332559443","file0":"1332559416","file4":"1332559506","file5":"1332559508","file3":"1332559456"},"map_files_photo_id_array":[{"photo_id":"1332559508","filename":"file5"},{"photo_id":"1332559451","filename":"file2"},{"photo_id":"1332559506","filename":"file4"},{"photo_id":"1332559443","filename":"file1"},{"photo_id":"1332559416","filename":"file0"},{"photo_id":"1332559456","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332559506":["hashtag1","hashtag2"]},{"1332559416":["hashtag1","hashtag2"]},{"1332559451":["hashtag1","hashtag2"]},{"1332559508":["hashtag1","hashtag2"]},{"1332559456":["hashtag1","hashtag2"]},{"1332559443":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332559506, 1332559416, 1332559451, 1332559508, 1332559456, 1332559443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.201661586761475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:55:32.956050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/53/image_29012025_07_53_45_10428.jpg', '/home/pi/Desktop/images/29012025/07/53/image_29012025_07_53_55_10358.jpg', '/home/pi/Desktop/images/29012025/07/53/image_29012025_07_54_05_9345.jpg', '/home/pi/Desktop/images/29012025/07/54/image_29012025_07_54_15_10345.jpg', '/home/pi/Desktop/images/29012025/07/54/image_29012025_07_54_24_9374.jpg', '/home/pi/Desktop/images/29012025/07/54/image_29012025_07_54_35_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/53/image_29012025_07_53_45_10428.jpg
/home/pi/Desktop/images/29012025/07/53/image_29012025_07_53_55_10358.jpg
/home/pi/Desktop/images/29012025/07/53/image_29012025_07_54_05_9345.jpg
/home/pi/Desktop/images/29012025/07/54/image_29012025_07_54_15_10345.jpg
/home/pi/Desktop/images/29012025/07/54/image_29012025_07_54_24_9374.jpg
/home/pi/Desktop/images/29012025/07/54/image_29012025_07_54_35_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332559545","1332559530","1332559550","1332559538","1332559534","1332559542"],"photo_ids_order":["1332559530","1332559534","1332559538","1332559542","1332559545","1332559550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/37a9dbcfe392582389cc1da952a25adf.jpg","text":"TemporaryFile(/tmp/multipartBody1274465464490110234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133793895,"filename":"image_29012025_07_54_24_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/29/597cdef035b4e8565df43b2733d2f949.jpg","text":"TemporaryFile(/tmp/multipartBody4312470833704128649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133793895,"filename":"image_29012025_07_53_45_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/29/ebbb96a95db7df1aa12c75d7fd48156a.jpg","text":"TemporaryFile(/tmp/multipartBody1525809562356928560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133793895,"filename":"image_29012025_07_54_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/29/695741f0766b125660a77a2643eed058.jpg","text":"TemporaryFile(/tmp/multipartBody5134408115435308124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133793895,"filename":"image_29012025_07_54_05_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/29/031466acb83ac661aaa0b11a312eb2b9.jpg","text":"TemporaryFile(/tmp/multipartBody4615528689195746809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133793895,"filename":"image_29012025_07_53_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/29/b44a3b37efb9dc3457fd1284269c4be7.jpg","text":"TemporaryFile(/tmp/multipartBody6795407375848320898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133793895,"filename":"image_29012025_07_54_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332559538","file1":"1332559534","file0":"1332559530","file4":"1332559545","file5":"1332559550","file3":"1332559542"},"map_files_photo_id_array":[{"photo_id":"1332559550","filename":"file5"},{"photo_id":"1332559538","filename":"file2"},{"photo_id":"1332559545","filename":"file4"},{"photo_id":"1332559534","filename":"file1"},{"photo_id":"1332559530","filename":"file0"},{"photo_id":"1332559542","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332559545":["hashtag1","hashtag2"]},{"1332559530":["hashtag1","hashtag2"]},{"1332559550":["hashtag1","hashtag2"]},{"1332559538":["hashtag1","hashtag2"]},{"1332559534":["hashtag1","hashtag2"]},{"1332559542":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332559545, 1332559530, 1332559550, 1332559538, 1332559534, 1332559542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.77522110939026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:56:32.178106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/54/image_29012025_07_54_45_10392.jpg', '/home/pi/Desktop/images/29012025/07/54/image_29012025_07_55_05_10349.jpg', '/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_15_10348.jpg', '/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_25_9362.jpg', '/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_35_10391.jpg', '/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_44_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/54/image_29012025_07_54_45_10392.jpg
/home/pi/Desktop/images/29012025/07/54/image_29012025_07_55_05_10349.jpg
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_15_10348.jpg
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_25_9362.jpg
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_35_10391.jpg
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_44_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: 0.5485365390777588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 07:56:42.317420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/54/image_29012025_07_54_45_10392.jpg', '/home/pi/Desktop/images/29012025/07/54/image_29012025_07_55_05_10349.jpg', '/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_15_10348.jpg', '/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_25_9362.jpg', '/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_35_10391.jpg', '/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_44_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/54/image_29012025_07_54_45_10392.jpg
/home/pi/Desktop/images/29012025/07/54/image_29012025_07_55_05_10349.jpg
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_15_10348.jpg
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_25_9362.jpg
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_35_10391.jpg
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_44_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":["1332559809","1332559814","1332559789","1332559816","1332559765","1332559779"],"photo_ids_order":["1332559765","1332559779","1332559789","1332559809","1332559814","1332559816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0154b4d4e7245cdeed2db35032b6ca55.jpg","text":"TemporaryFile(/tmp/multipartBody3242230302135432926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133863228,"filename":"image_29012025_07_55_25_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/29/c286decdafeb02be7a3d4fc0f2fa32ca.jpg","text":"TemporaryFile(/tmp/multipartBody5585915637129802473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133863228,"filename":"image_29012025_07_55_35_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/29/c35aabd03b7e4ba02b362ae058e02fde.jpg","text":"TemporaryFile(/tmp/multipartBody7796878061534706356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133863228,"filename":"image_29012025_07_55_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/29/b98e6bf59f8e3ac1664d72326d362e44.jpg","text":"TemporaryFile(/tmp/multipartBody140279219471548144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133863228,"filename":"image_29012025_07_55_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/29/8e937c7e988d3fda36ed48592dcf316d.jpg","text":"TemporaryFile(/tmp/multipartBody2772368724376040744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133863228,"filename":"image_29012025_07_54_45_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/29/3b2597ebd81bc8f68c25a23f0a3fd876.jpg","text":"TemporaryFile(/tmp/multipartBody8364946067973879747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738133863228,"filename":"image_29012025_07_55_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332559789","file1":"1332559779","file0":"1332559765","file4":"1332559814","file5":"1332559816","file3":"1332559809"},"map_files_photo_id_array":[{"photo_id":"1332559816","filename":"file5"},{"photo_id":"1332559789","filename":"file2"},{"photo_id":"1332559814","filename":"file4"},{"photo_id":"1332559779","filename":"file1"},{"photo_id":"1332559765","filename":"file0"},{"photo_id":"1332559809","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332559809":["hashtag1","hashtag2"]},{"1332559814":["hashtag1","hashtag2"]},{"1332559789":["hashtag1","hashtag2"]},{"1332559816":["hashtag1","hashtag2"]},{"1332559765":["hashtag1","hashtag2"]},{"1332559779":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332559809, 1332559814, 1332559789, 1332559816, 1332559765, 1332559779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.998865365982056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 07:57:32.457027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_55_10353.jpg', '/home/pi/Desktop/images/29012025/07/55/image_29012025_07_56_05_10407.jpg', '/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_14_9346.jpg', '/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_25_10366.jpg', '/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_35_10356.jpg', '/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_45_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_55_10353.jpg
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_56_05_10407.jpg
/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_14_9346.jpg
/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_25_10366.jpg
/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_35_10356.jpg
/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_45_9366.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-29 07:59:04.319365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_55_10353.jpg', '/home/pi/Desktop/images/29012025/07/55/image_29012025_07_56_05_10407.jpg', '/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_14_9346.jpg', '/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_25_10366.jpg', '/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_35_10356.jpg', '/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_45_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_55_55_10353.jpg
/home/pi/Desktop/images/29012025/07/55/image_29012025_07_56_05_10407.jpg
/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_14_9346.jpg
/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_25_10366.jpg
/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_35_10356.jpg
/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_45_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":["1332559898","1332559913","1332559918","1332559903","1332559906","1332559909"],"photo_ids_order":["1332559898","1332559903","1332559906","1332559909","1332559913","1332559918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5a4f2287943e3d422975e39f741273d9.jpg","text":"TemporaryFile(/tmp/multipartBody5433342462372071321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134005346,"filename":"image_29012025_07_55_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/29/cb9440c56290396d82e6369caa67cdde.jpg","text":"TemporaryFile(/tmp/multipartBody8858971459870187318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134005346,"filename":"image_29012025_07_56_35_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/29/3f19a09549d61440dc527ca9458311b8.jpg","text":"TemporaryFile(/tmp/multipartBody1526789846125031773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134005346,"filename":"image_29012025_07_56_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/29/f8e8575e23ba796bf9c272605de346af.jpg","text":"TemporaryFile(/tmp/multipartBody6258355086883437954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134005346,"filename":"image_29012025_07_56_05_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/29/261dda59abe214851b0490275b6b1fde.jpg","text":"TemporaryFile(/tmp/multipartBody4801380561708636266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134005346,"filename":"image_29012025_07_56_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/29/25c26149caef854fa9c3056a93c5a36a.jpg","text":"TemporaryFile(/tmp/multipartBody4718489599172855808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134005346,"filename":"image_29012025_07_56_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332559906","file1":"1332559903","file0":"1332559898","file4":"1332559913","file5":"1332559918","file3":"1332559909"},"map_files_photo_id_array":[{"photo_id":"1332559918","filename":"file5"},{"photo_id":"1332559906","filename":"file2"},{"photo_id":"1332559913","filename":"file4"},{"photo_id":"1332559903","filename":"file1"},{"photo_id":"1332559898","filename":"file0"},{"photo_id":"1332559909","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332559898":["hashtag1","hashtag2"]},{"1332559913":["hashtag1","hashtag2"]},{"1332559918":["hashtag1","hashtag2"]},{"1332559903":["hashtag1","hashtag2"]},{"1332559906":["hashtag1","hashtag2"]},{"1332559909":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332559898, 1332559913, 1332559918, 1332559903, 1332559906, 1332559909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.760669469833374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 07:59:52.893121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_25_10334.jpg', '/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_35_9494.jpg', '/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_45_10333.jpg', '/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_56_10339.jpg', '/home/pi/Desktop/images/24012025/20/23/image_24012025_20_24_05_9451.jpg', '/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_15_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_25_10334.jpg
/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_35_9494.jpg
/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_45_10333.jpg
/home/pi/Desktop/images/24012025/20/23/image_24012025_20_23_56_10339.jpg
/home/pi/Desktop/images/24012025/20/23/image_24012025_20_24_05_9451.jpg
/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_15_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":["1332559938","1332559960","1332559954","1332559957","1332559942","1332559950"],"photo_ids_order":["1332559938","1332559942","1332559950","1332559954","1332559957","1332559960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3edddbac74b56103fefd5692d96426ce.jpg","text":"TemporaryFile(/tmp/multipartBody3690226239996153837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134055065,"filename":"image_24012025_20_23_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/29/16e4189fb152bda5ce3129b9bde1cfb9.jpg","text":"TemporaryFile(/tmp/multipartBody8204287790144739714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134055065,"filename":"image_24012025_20_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/29/aa1a81a2da362a8fbd823da8cde047fa.jpg","text":"TemporaryFile(/tmp/multipartBody5001261579371233849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134055065,"filename":"image_24012025_20_23_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/29/df9415393ad8a11bd485c3cbfe3eb99c.jpg","text":"TemporaryFile(/tmp/multipartBody4339274748272054730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134055065,"filename":"image_24012025_20_24_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/29/bd76f112b5b5c867e3509354c7ddbc0e.jpg","text":"TemporaryFile(/tmp/multipartBody926194953648634908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134055065,"filename":"image_24012025_20_23_35_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aa4351119f7a8727d22b22ace4a113f2.jpg","text":"TemporaryFile(/tmp/multipartBody5162740784982028504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134055065,"filename":"image_24012025_20_23_45_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332559950","file1":"1332559942","file0":"1332559938","file4":"1332559957","file5":"1332559960","file3":"1332559954"},"map_files_photo_id_array":[{"photo_id":"1332559960","filename":"file5"},{"photo_id":"1332559950","filename":"file2"},{"photo_id":"1332559957","filename":"file4"},{"photo_id":"1332559942","filename":"file1"},{"photo_id":"1332559938","filename":"file0"},{"photo_id":"1332559954","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332559938":["hashtag1","hashtag2"]},{"1332559960":["hashtag1","hashtag2"]},{"1332559954":["hashtag1","hashtag2"]},{"1332559957":["hashtag1","hashtag2"]},{"1332559942":["hashtag1","hashtag2"]},{"1332559950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332559938, 1332559960, 1332559954, 1332559957, 1332559942, 1332559950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.10826063156128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 08:00:53.061171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_25_9516.jpg', '/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_35_10355.jpg', '/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_46_10355.jpg', '/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_55_9359.jpg', '/home/pi/Desktop/images/24012025/20/24/image_24012025_20_25_05_10353.jpg', '/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_16_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_25_9516.jpg
/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_35_10355.jpg
/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_46_10355.jpg
/home/pi/Desktop/images/24012025/20/24/image_24012025_20_24_55_9359.jpg
/home/pi/Desktop/images/24012025/20/24/image_24012025_20_25_05_10353.jpg
/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_16_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332560008","1332559994","1332560013","1332559981","1332560017","1332559986"],"photo_ids_order":["1332559981","1332559986","1332559994","1332560008","1332560013","1332560017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/93e3a8a73b785b3205ac1664c3eb2c7e.jpg","text":"TemporaryFile(/tmp/multipartBody5022036067614149522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134115208,"filename":"image_24012025_20_24_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/29/bdfd34667111b06f94d3eb0c1882e0be.jpg","text":"TemporaryFile(/tmp/multipartBody3651746960152647702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134115208,"filename":"image_24012025_20_24_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/29/3571af6a4c05dc846d4616c03254ac62.jpg","text":"TemporaryFile(/tmp/multipartBody2816955341618346937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134115208,"filename":"image_24012025_20_25_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/29/eca202a7770d770ac518b3959e23d00e.jpg","text":"TemporaryFile(/tmp/multipartBody525306711616543163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134115208,"filename":"image_24012025_20_24_25_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8948d38d32f0b8e4744ec070da4b06e5.jpg","text":"TemporaryFile(/tmp/multipartBody2028201613994464457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134115208,"filename":"image_24012025_20_25_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/29/6ebbcd42d97372a10c4ebadbbc6b2511.jpg","text":"TemporaryFile(/tmp/multipartBody2075035964473870993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134115208,"filename":"image_24012025_20_24_35_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332559994","file1":"1332559986","file0":"1332559981","file4":"1332560013","file5":"1332560017","file3":"1332560008"},"map_files_photo_id_array":[{"photo_id":"1332560017","filename":"file5"},{"photo_id":"1332559994","filename":"file2"},{"photo_id":"1332560013","filename":"file4"},{"photo_id":"1332559986","filename":"file1"},{"photo_id":"1332559981","filename":"file0"},{"photo_id":"1332560008","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332560008":["hashtag1","hashtag2"]},{"1332559994":["hashtag1","hashtag2"]},{"1332560013":["hashtag1","hashtag2"]},{"1332559981":["hashtag1","hashtag2"]},{"1332560017":["hashtag1","hashtag2"]},{"1332559986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332560008, 1332559994, 1332560013, 1332559981, 1332560017, 1332559986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.91078209877014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 08:01:42.339648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_55_10343.jpg', '/home/pi/Desktop/images/29012025/07/56/image_29012025_07_57_05_10352.jpg', '/home/pi/Desktop/images/29012025/07/57/image_29012025_07_57_15_9332.jpg', '/home/pi/Desktop/images/29012025/07/57/image_29012025_07_57_34_9425.jpg', '/home/pi/Desktop/images/29012025/07/57/image_29012025_07_57_55_10352.jpg', '/home/pi/Desktop/images/29012025/07/57/image_29012025_07_58_05_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/56/image_29012025_07_56_55_10343.jpg
/home/pi/Desktop/images/29012025/07/56/image_29012025_07_57_05_10352.jpg
/home/pi/Desktop/images/29012025/07/57/image_29012025_07_57_15_9332.jpg
/home/pi/Desktop/images/29012025/07/57/image_29012025_07_57_34_9425.jpg
/home/pi/Desktop/images/29012025/07/57/image_29012025_07_57_55_10352.jpg
/home/pi/Desktop/images/29012025/07/57/image_29012025_07_58_05_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":["1332560082","1332560199","1332560048","1332560108","1332560053","1332560044"],"photo_ids_order":["1332560044","1332560048","1332560053","1332560082","1332560108","1332560199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dd3692d4e77d55da55ca5223d156f33a.jpg","text":"TemporaryFile(/tmp/multipartBody6483197455392947864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134163255,"filename":"image_29012025_07_57_34_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/29/d9e1925b9a3ab88496eaec10bf750f6f.jpg","text":"TemporaryFile(/tmp/multipartBody4391267350520165681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134163255,"filename":"image_29012025_07_58_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/29/9a8475ac0e38f44a76e6f6d0b40c879c.jpg","text":"TemporaryFile(/tmp/multipartBody6367666715084247398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134163255,"filename":"image_29012025_07_57_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/29/1661202c631b3ca35a26a24e29f4199a.jpg","text":"TemporaryFile(/tmp/multipartBody3705451633996055705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134163255,"filename":"image_29012025_07_57_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/29/78f0a39acd3d181f805962ace1fa2ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7777559297830381924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134163255,"filename":"image_29012025_07_57_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/29/9d271724f5b086d930c24cee2d18b41a.jpg","text":"TemporaryFile(/tmp/multipartBody2990672726575642065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134163255,"filename":"image_29012025_07_56_55_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332560053","file1":"1332560048","file0":"1332560044","file4":"1332560108","file5":"1332560199","file3":"1332560082"},"map_files_photo_id_array":[{"photo_id":"1332560199","filename":"file5"},{"photo_id":"1332560053","filename":"file2"},{"photo_id":"1332560108","filename":"file4"},{"photo_id":"1332560048","filename":"file1"},{"photo_id":"1332560044","filename":"file0"},{"photo_id":"1332560082","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332560082":["hashtag1","hashtag2"]},{"1332560199":["hashtag1","hashtag2"]},{"1332560048":["hashtag1","hashtag2"]},{"1332560108":["hashtag1","hashtag2"]},{"1332560053":["hashtag1","hashtag2"]},{"1332560044":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332560082, 1332560199, 1332560048, 1332560108, 1332560053, 1332560044)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.72512912750244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 08:02:42.535036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_15_10357.jpg', '/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_25_10434.jpg', '/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_35_9338.jpg', '/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_45_10371.jpg', '/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_54_9438.jpg', '/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_15_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_15_10357.jpg
/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_25_10434.jpg
/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_35_9338.jpg
/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_45_10371.jpg
/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_54_9438.jpg
/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_15_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.5276370048522949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 08:02:52.510652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_25_9347.jpg', '/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_35_10389.jpg', '/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_45_9449.jpg', '/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_55_10372.jpg', '/home/pi/Desktop/images/24012025/20/25/image_24012025_20_26_06_10374.jpg', '/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_15_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_25_9347.jpg
/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_35_10389.jpg
/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_45_9449.jpg
/home/pi/Desktop/images/24012025/20/25/image_24012025_20_25_55_10372.jpg
/home/pi/Desktop/images/24012025/20/25/image_24012025_20_26_06_10374.jpg
/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_15_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":["1332561179","1332561161","1332561190","1332560729","1332560926","1332561019"],"photo_ids_order":["1332560729","1332560926","1332561019","1332561161","1332561179","1332561190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c5fe6f650b4c7b6e5dd910d00475d84e.jpg","text":"TemporaryFile(/tmp/multipartBody2745149487442409337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134234649,"filename":"image_24012025_20_26_06_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/29/22e59be5d2f301e420e4d2c083e40f62.jpg","text":"TemporaryFile(/tmp/multipartBody7736558750729098745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134234649,"filename":"image_24012025_20_25_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/29/cab3db935813b50666085f7300dfe95d.jpg","text":"TemporaryFile(/tmp/multipartBody8838286043223192561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134234649,"filename":"image_24012025_20_26_15_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/29/6e77e24ab15a278d41a18043ea6b244d.jpg","text":"TemporaryFile(/tmp/multipartBody4927828352450534021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134234649,"filename":"image_24012025_20_25_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/29/13fdd7e5c8859885d5ff238d21b3d117.jpg","text":"TemporaryFile(/tmp/multipartBody4445520791325787127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134234649,"filename":"image_24012025_20_25_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/29/47c49cfc4fc59b733afea47e318e4482.jpg","text":"TemporaryFile(/tmp/multipartBody1294904300493318553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134234649,"filename":"image_24012025_20_25_45_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332561019","file1":"1332560926","file0":"1332560729","file4":"1332561179","file5":"1332561190","file3":"1332561161"},"map_files_photo_id_array":[{"photo_id":"1332561190","filename":"file5"},{"photo_id":"1332561019","filename":"file2"},{"photo_id":"1332561179","filename":"file4"},{"photo_id":"1332560926","filename":"file1"},{"photo_id":"1332560729","filename":"file0"},{"photo_id":"1332561161","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332561179":["hashtag1","hashtag2"]},{"1332561161":["hashtag1","hashtag2"]},{"1332561190":["hashtag1","hashtag2"]},{"1332560729":["hashtag1","hashtag2"]},{"1332560926":["hashtag1","hashtag2"]},{"1332561019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332561179, 1332561161, 1332561190, 1332560729, 1332560926, 1332561019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.03919053077698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 08:03:42.258092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_15_10357.jpg', '/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_25_10434.jpg', '/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_35_9338.jpg', '/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_45_10371.jpg', '/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_54_9438.jpg', '/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_15_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_15_10357.jpg
/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_25_10434.jpg
/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_35_9338.jpg
/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_45_10371.jpg
/home/pi/Desktop/images/29012025/07/58/image_29012025_07_58_54_9438.jpg
/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_15_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":["1332561242","1332561323","1332561310","1332561328","1332561235","1332561240"],"photo_ids_order":["1332561235","1332561240","1332561242","1332561310","1332561323","1332561328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2563801469476a3dc5f9556137df7217.jpg","text":"TemporaryFile(/tmp/multipartBody2578376318086449570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134283201,"filename":"image_29012025_07_58_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/29/6b83988bf42636c1bd7ead3e63e58479.jpg","text":"TemporaryFile(/tmp/multipartBody6104066958435857447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134283201,"filename":"image_29012025_07_58_54_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/29/a064aedc6f93b69f60b077baa173e773.jpg","text":"TemporaryFile(/tmp/multipartBody5916751681638194314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134283201,"filename":"image_29012025_07_58_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/29/b2d90517d442538c1e8fd995f3923b0f.jpg","text":"TemporaryFile(/tmp/multipartBody7296917288792146935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134283201,"filename":"image_29012025_07_59_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/29/06963a1e35599c49b8335a9af2703041.jpg","text":"TemporaryFile(/tmp/multipartBody9149730153380482982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134283201,"filename":"image_29012025_07_58_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/29/13f26baf7eda1c0003e72e18b7607d6f.jpg","text":"TemporaryFile(/tmp/multipartBody4960283133333363801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134283201,"filename":"image_29012025_07_58_25_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332561242","file1":"1332561240","file0":"1332561235","file4":"1332561323","file5":"1332561328","file3":"1332561310"},"map_files_photo_id_array":[{"photo_id":"1332561328","filename":"file5"},{"photo_id":"1332561242","filename":"file2"},{"photo_id":"1332561323","filename":"file4"},{"photo_id":"1332561240","filename":"file1"},{"photo_id":"1332561235","filename":"file0"},{"photo_id":"1332561310","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332561242":["hashtag1","hashtag2"]},{"1332561323":["hashtag1","hashtag2"]},{"1332561310":["hashtag1","hashtag2"]},{"1332561328":["hashtag1","hashtag2"]},{"1332561235":["hashtag1","hashtag2"]},{"1332561240":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332561242, 1332561323, 1332561310, 1332561328, 1332561235, 1332561240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55999732017517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:04:32.674861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_24_9337.jpg', '/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_35_10349.jpg', '/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_44_9461.jpg', '/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_55_10338.jpg', '/home/pi/Desktop/images/29012025/08/00/image_29012025_08_00_16_10069.jpg', '/home/pi/Desktop/images/29012025/08/00/image_29012025_08_00_26_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_24_9337.jpg
/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_35_10349.jpg
/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_44_9461.jpg
/home/pi/Desktop/images/29012025/07/59/image_29012025_07_59_55_10338.jpg
/home/pi/Desktop/images/29012025/08/00/image_29012025_08_00_16_10069.jpg
/home/pi/Desktop/images/29012025/08/00/image_29012025_08_00_26_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":["1332561711","1332561537","1332561694","1332561795","1332561762","1332561864"],"photo_ids_order":["1332561537","1332561694","1332561711","1332561762","1332561795","1332561864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/882822fcaaf6763a9504990acd386e8d.jpg","text":"TemporaryFile(/tmp/multipartBody3337662446758555959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134333590,"filename":"image_29012025_07_59_44_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/29/100e08a45c08dad3710421cc55263f51.jpg","text":"TemporaryFile(/tmp/multipartBody2742364097853947435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134333590,"filename":"image_29012025_07_59_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/29/dc856e64fcd562cb38d1ae8a905dea9e.jpg","text":"TemporaryFile(/tmp/multipartBody5592601565510769008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134333590,"filename":"image_29012025_07_59_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/29/4ce41e64f03d6ff1473f281a4d96440f.jpg","text":"TemporaryFile(/tmp/multipartBody7692818697789296930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134333590,"filename":"image_29012025_08_00_16_10069.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/13d1d8533f51ec402d57f3c9736099c3.jpg","text":"TemporaryFile(/tmp/multipartBody7704001741074393316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134333590,"filename":"image_29012025_07_59_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/29/56b58c7e72ce141f4b87966823c47b53.jpg","text":"TemporaryFile(/tmp/multipartBody365919502388434764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134333590,"filename":"image_29012025_08_00_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332561711","file1":"1332561694","file0":"1332561537","file4":"1332561795","file5":"1332561864","file3":"1332561762"},"map_files_photo_id_array":[{"photo_id":"1332561864","filename":"file5"},{"photo_id":"1332561711","filename":"file2"},{"photo_id":"1332561795","filename":"file4"},{"photo_id":"1332561694","filename":"file1"},{"photo_id":"1332561537","filename":"file0"},{"photo_id":"1332561762","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332561711":["hashtag1","hashtag2"]},{"1332561537":["hashtag1","hashtag2"]},{"1332561694":["hashtag1","hashtag2"]},{"1332561795":["hashtag1","hashtag2"]},{"1332561762":["hashtag1","hashtag2"]},{"1332561864":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332561711, 1332561537, 1332561694, 1332561795, 1332561762, 1332561864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.972203731536865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:05:33.013587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/00/image_29012025_08_00_37_10352.jpg', '/home/pi/Desktop/images/29012025/08/00/image_29012025_08_00_46_9432.jpg', '/home/pi/Desktop/images/29012025/08/00/image_29012025_08_00_57_10416.jpg', '/home/pi/Desktop/images/29012025/08/00/image_29012025_08_01_07_10356.jpg', '/home/pi/Desktop/images/29012025/08/01/image_29012025_08_01_16_9446.jpg', '/home/pi/Desktop/images/29012025/08/01/image_29012025_08_01_27_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/00/image_29012025_08_00_37_10352.jpg
/home/pi/Desktop/images/29012025/08/00/image_29012025_08_00_46_9432.jpg
/home/pi/Desktop/images/29012025/08/00/image_29012025_08_00_57_10416.jpg
/home/pi/Desktop/images/29012025/08/00/image_29012025_08_01_07_10356.jpg
/home/pi/Desktop/images/29012025/08/01/image_29012025_08_01_16_9446.jpg
/home/pi/Desktop/images/29012025/08/01/image_29012025_08_01_27_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":["1332561924","1332561998","1332561986","1332561994","1332562003","1332561984"],"photo_ids_order":["1332561924","1332561984","1332561986","1332561994","1332561998","1332562003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3c9997037fed4bc3db8d55064dc62c1c.jpg","text":"TemporaryFile(/tmp/multipartBody6032401723275438313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134393950,"filename":"image_29012025_08_00_37_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/29/def61fd2896682455ba6416c73da12b6.jpg","text":"TemporaryFile(/tmp/multipartBody140520819919439871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134393950,"filename":"image_29012025_08_01_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/29/756f117a8921364f2b8efb4ae45935e4.jpg","text":"TemporaryFile(/tmp/multipartBody4325619346605775585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134393950,"filename":"image_29012025_08_00_57_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/29/e0a0defcfca23ff51bd4c0aa876d2c49.jpg","text":"TemporaryFile(/tmp/multipartBody2184213113833150482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134393950,"filename":"image_29012025_08_01_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/29/0e6acb58f274aeb3d655cafe6b64215a.jpg","text":"TemporaryFile(/tmp/multipartBody2182161957187199424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134393950,"filename":"image_29012025_08_01_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/29/cdc2aef9519b79d336b8d900cdd65048.jpg","text":"TemporaryFile(/tmp/multipartBody2526267701319880567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134393950,"filename":"image_29012025_08_00_46_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332561986","file1":"1332561984","file0":"1332561924","file4":"1332561998","file5":"1332562003","file3":"1332561994"},"map_files_photo_id_array":[{"photo_id":"1332562003","filename":"file5"},{"photo_id":"1332561986","filename":"file2"},{"photo_id":"1332561998","filename":"file4"},{"photo_id":"1332561984","filename":"file1"},{"photo_id":"1332561924","filename":"file0"},{"photo_id":"1332561994","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332561924":["hashtag1","hashtag2"]},{"1332561998":["hashtag1","hashtag2"]},{"1332561986":["hashtag1","hashtag2"]},{"1332561994":["hashtag1","hashtag2"]},{"1332562003":["hashtag1","hashtag2"]},{"1332561984":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332561924, 1332561998, 1332561986, 1332561994, 1332562003, 1332561984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.62514114379883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:06:32.153628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/01/image_29012025_08_01_36_9457.jpg', '/home/pi/Desktop/images/29012025/08/01/image_29012025_08_01_46_10346.jpg', '/home/pi/Desktop/images/29012025/08/01/image_29012025_08_01_57_10347.jpg', '/home/pi/Desktop/images/29012025/08/01/image_29012025_08_02_06_9434.jpg', '/home/pi/Desktop/images/29012025/08/02/image_29012025_08_02_17_10446.jpg', '/home/pi/Desktop/images/29012025/08/02/image_29012025_08_02_26_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/01/image_29012025_08_01_36_9457.jpg
/home/pi/Desktop/images/29012025/08/01/image_29012025_08_01_46_10346.jpg
/home/pi/Desktop/images/29012025/08/01/image_29012025_08_01_57_10347.jpg
/home/pi/Desktop/images/29012025/08/01/image_29012025_08_02_06_9434.jpg
/home/pi/Desktop/images/29012025/08/02/image_29012025_08_02_17_10446.jpg
/home/pi/Desktop/images/29012025/08/02/image_29012025_08_02_26_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332562031","1332562034","1332562042","1332562045","1332562027","1332562038"],"photo_ids_order":["1332562027","1332562031","1332562034","1332562038","1332562042","1332562045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bc69006838160b0f18508b0cfb6cf350.jpg","text":"TemporaryFile(/tmp/multipartBody1529304021718682789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134453064,"filename":"image_29012025_08_01_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/29/fd0c163ac96d87614043fada9d848e22.jpg","text":"TemporaryFile(/tmp/multipartBody624442756101718929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134453064,"filename":"image_29012025_08_01_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/29/f717f807d233d5849245509669408306.jpg","text":"TemporaryFile(/tmp/multipartBody4393891852112006881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134453064,"filename":"image_29012025_08_02_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/29/c841863c0b4d2b4df91fb606fc49ff1b.jpg","text":"TemporaryFile(/tmp/multipartBody1573229354796978968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134453064,"filename":"image_29012025_08_02_26_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/29/31955f739f9203a7854d21ec0048e9aa.jpg","text":"TemporaryFile(/tmp/multipartBody822885464472352601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134453064,"filename":"image_29012025_08_01_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/29/3f5e6f11a0af9571b33303740c7bb92e.jpg","text":"TemporaryFile(/tmp/multipartBody906758523070297531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134453064,"filename":"image_29012025_08_02_06_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332562034","file1":"1332562031","file0":"1332562027","file4":"1332562042","file5":"1332562045","file3":"1332562038"},"map_files_photo_id_array":[{"photo_id":"1332562045","filename":"file5"},{"photo_id":"1332562034","filename":"file2"},{"photo_id":"1332562042","filename":"file4"},{"photo_id":"1332562031","filename":"file1"},{"photo_id":"1332562027","filename":"file0"},{"photo_id":"1332562038","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332562031":["hashtag1","hashtag2"]},{"1332562034":["hashtag1","hashtag2"]},{"1332562042":["hashtag1","hashtag2"]},{"1332562045":["hashtag1","hashtag2"]},{"1332562027":["hashtag1","hashtag2"]},{"1332562038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332562031, 1332562034, 1332562042, 1332562045, 1332562027, 1332562038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.8118577003479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:07:32.371327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/02/image_29012025_08_02_37_10358.jpg', '/home/pi/Desktop/images/29012025/08/02/image_29012025_08_02_47_10344.jpg', '/home/pi/Desktop/images/29012025/08/02/image_29012025_08_02_56_9335.jpg', '/home/pi/Desktop/images/29012025/08/02/image_29012025_08_03_07_10351.jpg', '/home/pi/Desktop/images/29012025/08/03/image_29012025_08_03_16_9329.jpg', '/home/pi/Desktop/images/29012025/08/03/image_29012025_08_03_26_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/02/image_29012025_08_02_37_10358.jpg
/home/pi/Desktop/images/29012025/08/02/image_29012025_08_02_47_10344.jpg
/home/pi/Desktop/images/29012025/08/02/image_29012025_08_02_56_9335.jpg
/home/pi/Desktop/images/29012025/08/02/image_29012025_08_03_07_10351.jpg
/home/pi/Desktop/images/29012025/08/03/image_29012025_08_03_16_9329.jpg
/home/pi/Desktop/images/29012025/08/03/image_29012025_08_03_26_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":["1332563364","1332562833","1332563369","1332563360","1332563234","1332563057"],"photo_ids_order":["1332562833","1332563057","1332563234","1332563360","1332563364","1332563369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ae08402c5de4ad417849907bf5bad094.jpg","text":"TemporaryFile(/tmp/multipartBody2572048982516625132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134513317,"filename":"image_29012025_08_03_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/29/103264a95ee7681568a4c18b48a29cc3.jpg","text":"TemporaryFile(/tmp/multipartBody1932309201092145550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134513317,"filename":"image_29012025_08_02_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/29/2fb62419a8a485c3b3eff9ed99300a47.jpg","text":"TemporaryFile(/tmp/multipartBody5930740904932614078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134513317,"filename":"image_29012025_08_03_26_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/29/3b83dfff0777f74ae1ca6371174475da.jpg","text":"TemporaryFile(/tmp/multipartBody1526689598882217819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134513317,"filename":"image_29012025_08_03_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/29/82b353f516e906b1d458eb6c35d793c6.jpg","text":"TemporaryFile(/tmp/multipartBody7033707345072653713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134513317,"filename":"image_29012025_08_02_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/29/a5d41e4c2f7ea9d06a4e5a9ab94266db.jpg","text":"TemporaryFile(/tmp/multipartBody8540592431860681923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134513317,"filename":"image_29012025_08_02_47_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332563234","file1":"1332563057","file0":"1332562833","file4":"1332563364","file5":"1332563369","file3":"1332563360"},"map_files_photo_id_array":[{"photo_id":"1332563369","filename":"file5"},{"photo_id":"1332563234","filename":"file2"},{"photo_id":"1332563364","filename":"file4"},{"photo_id":"1332563057","filename":"file1"},{"photo_id":"1332562833","filename":"file0"},{"photo_id":"1332563360","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332563364":["hashtag1","hashtag2"]},{"1332562833":["hashtag1","hashtag2"]},{"1332563369":["hashtag1","hashtag2"]},{"1332563360":["hashtag1","hashtag2"]},{"1332563234":["hashtag1","hashtag2"]},{"1332563057":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332563364, 1332562833, 1332563369, 1332563360, 1332563234, 1332563057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.996294021606445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:08:32.612940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/03/image_29012025_08_03_37_10378.jpg', '/home/pi/Desktop/images/29012025/08/03/image_29012025_08_03_47_9990.jpg', '/home/pi/Desktop/images/29012025/08/03/image_29012025_08_03_56_9472.jpg', '/home/pi/Desktop/images/29012025/08/04/image_29012025_08_04_17_10345.jpg', '/home/pi/Desktop/images/29012025/08/04/image_29012025_08_04_26_9360.jpg', '/home/pi/Desktop/images/29012025/08/04/image_29012025_08_04_37_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/03/image_29012025_08_03_37_10378.jpg
/home/pi/Desktop/images/29012025/08/03/image_29012025_08_03_47_9990.jpg
/home/pi/Desktop/images/29012025/08/03/image_29012025_08_03_56_9472.jpg
/home/pi/Desktop/images/29012025/08/04/image_29012025_08_04_17_10345.jpg
/home/pi/Desktop/images/29012025/08/04/image_29012025_08_04_26_9360.jpg
/home/pi/Desktop/images/29012025/08/04/image_29012025_08_04_37_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332563497","1332563713","1332563697","1332563592","1332563430","1332563561"],"photo_ids_order":["1332563430","1332563497","1332563561","1332563592","1332563697","1332563713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/af2340fd69d4408fef0e4e7152a408de.jpg","text":"TemporaryFile(/tmp/multipartBody538778669007365502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134573522,"filename":"image_29012025_08_03_47_9990.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/edfd179040592e7cc1f3b33cbc48db54.jpg","text":"TemporaryFile(/tmp/multipartBody6561862028287532026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134573522,"filename":"image_29012025_08_04_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/29/d11e0e75be90b221fd5d26803f217ce8.jpg","text":"TemporaryFile(/tmp/multipartBody7910709223382292502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134573522,"filename":"image_29012025_08_04_26_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/29/e6fd2b493db78d13ce8b0dd45ceaccbf.jpg","text":"TemporaryFile(/tmp/multipartBody5212094731649678354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134573522,"filename":"image_29012025_08_04_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/29/29ab19859b738101622628c2ba636716.jpg","text":"TemporaryFile(/tmp/multipartBody4082984430021496855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134573522,"filename":"image_29012025_08_03_37_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/29/5bbef79ba92281f74beb9453debc2896.jpg","text":"TemporaryFile(/tmp/multipartBody7142459685787879721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134573522,"filename":"image_29012025_08_03_56_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332563561","file1":"1332563497","file0":"1332563430","file4":"1332563697","file5":"1332563713","file3":"1332563592"},"map_files_photo_id_array":[{"photo_id":"1332563713","filename":"file5"},{"photo_id":"1332563561","filename":"file2"},{"photo_id":"1332563697","filename":"file4"},{"photo_id":"1332563497","filename":"file1"},{"photo_id":"1332563430","filename":"file0"},{"photo_id":"1332563592","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332563497":["hashtag1","hashtag2"]},{"1332563713":["hashtag1","hashtag2"]},{"1332563697":["hashtag1","hashtag2"]},{"1332563592":["hashtag1","hashtag2"]},{"1332563430":["hashtag1","hashtag2"]},{"1332563561":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332563497, 1332563713, 1332563697, 1332563592, 1332563430, 1332563561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.54019093513489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 08:09:42.911998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/04/image_29012025_08_04_46_9342.jpg', '/home/pi/Desktop/images/29012025/08/04/image_29012025_08_04_56_10363.jpg', '/home/pi/Desktop/images/29012025/08/04/image_29012025_08_05_07_10330.jpg', '/home/pi/Desktop/images/29012025/08/05/image_29012025_08_05_16_9363.jpg', '/home/pi/Desktop/images/29012025/08/05/image_29012025_08_05_26_10469.jpg', '/home/pi/Desktop/images/29012025/08/05/image_29012025_08_05_37_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/04/image_29012025_08_04_46_9342.jpg
/home/pi/Desktop/images/29012025/08/04/image_29012025_08_04_56_10363.jpg
/home/pi/Desktop/images/29012025/08/04/image_29012025_08_05_07_10330.jpg
/home/pi/Desktop/images/29012025/08/05/image_29012025_08_05_16_9363.jpg
/home/pi/Desktop/images/29012025/08/05/image_29012025_08_05_26_10469.jpg
/home/pi/Desktop/images/29012025/08/05/image_29012025_08_05_37_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":["1332563828","1332563869","1332563874","1332563877","1332563856","1332563843"],"photo_ids_order":["1332563828","1332563843","1332563856","1332563869","1332563874","1332563877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/462044f6f95719f48df2374b095640bf.jpg","text":"TemporaryFile(/tmp/multipartBody2946380952773962777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134643823,"filename":"image_29012025_08_04_46_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/29/97687ddaf727f76695676c162363eab2.jpg","text":"TemporaryFile(/tmp/multipartBody384371715731098188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134643823,"filename":"image_29012025_08_05_16_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/29/65c60c2188ec0dee564526d48487437a.jpg","text":"TemporaryFile(/tmp/multipartBody2162383304435680436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134643823,"filename":"image_29012025_08_05_26_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/29/529068effc01d07d2d78535b2864795e.jpg","text":"TemporaryFile(/tmp/multipartBody3397704389477563947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134643823,"filename":"image_29012025_08_05_37_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/29/62cc9f7e693757d60e71d2bd4cb8556f.jpg","text":"TemporaryFile(/tmp/multipartBody4968877132548692140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134643823,"filename":"image_29012025_08_05_07_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/29/cce0fe6799bc8f20f69fa8f493bb3ff8.jpg","text":"TemporaryFile(/tmp/multipartBody231816518268523660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134643823,"filename":"image_29012025_08_04_56_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332563856","file1":"1332563843","file0":"1332563828","file4":"1332563874","file5":"1332563877","file3":"1332563869"},"map_files_photo_id_array":[{"photo_id":"1332563877","filename":"file5"},{"photo_id":"1332563856","filename":"file2"},{"photo_id":"1332563874","filename":"file4"},{"photo_id":"1332563843","filename":"file1"},{"photo_id":"1332563828","filename":"file0"},{"photo_id":"1332563869","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332563828":["hashtag1","hashtag2"]},{"1332563869":["hashtag1","hashtag2"]},{"1332563874":["hashtag1","hashtag2"]},{"1332563877":["hashtag1","hashtag2"]},{"1332563856":["hashtag1","hashtag2"]},{"1332563843":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332563828, 1332563869, 1332563874, 1332563877, 1332563856, 1332563843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.39503884315491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:10:33.120482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/05/image_29012025_08_05_46_9409.jpg', '/home/pi/Desktop/images/29012025/08/05/image_29012025_08_05_57_10368.jpg', '/home/pi/Desktop/images/29012025/08/05/image_29012025_08_06_06_9356.jpg', '/home/pi/Desktop/images/29012025/08/06/image_29012025_08_06_16_10352.jpg', '/home/pi/Desktop/images/29012025/08/06/image_29012025_08_06_27_10339.jpg', '/home/pi/Desktop/images/29012025/08/06/image_29012025_08_06_36_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/05/image_29012025_08_05_46_9409.jpg
/home/pi/Desktop/images/29012025/08/05/image_29012025_08_05_57_10368.jpg
/home/pi/Desktop/images/29012025/08/05/image_29012025_08_06_06_9356.jpg
/home/pi/Desktop/images/29012025/08/06/image_29012025_08_06_16_10352.jpg
/home/pi/Desktop/images/29012025/08/06/image_29012025_08_06_27_10339.jpg
/home/pi/Desktop/images/29012025/08/06/image_29012025_08_06_36_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":["1332564025","1332564036","1332564006","1332563984","1332564041","1332564044"],"photo_ids_order":["1332563984","1332564006","1332564025","1332564036","1332564041","1332564044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1507cf561dcc3ca7d08deb390a5e0c9d.jpg","text":"TemporaryFile(/tmp/multipartBody7029369957707036183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134694039,"filename":"image_29012025_08_06_06_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/29/70d0b1f5a39cca45632896f6ae0d6c30.jpg","text":"TemporaryFile(/tmp/multipartBody4844665536074279198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134694039,"filename":"image_29012025_08_06_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/29/bef13d2a6585f3de07e7b8650fac4d2e.jpg","text":"TemporaryFile(/tmp/multipartBody3434388667249802350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134694039,"filename":"image_29012025_08_05_57_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/29/e888a50f917ed6c9669b39116d47efc8.jpg","text":"TemporaryFile(/tmp/multipartBody4550749481797886200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134694039,"filename":"image_29012025_08_05_46_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/29/f26e8a85d69deb7ba0fbe4fadd394428.jpg","text":"TemporaryFile(/tmp/multipartBody800244563420767394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134694039,"filename":"image_29012025_08_06_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/29/28d3fd09b671f5878480722973061d62.jpg","text":"TemporaryFile(/tmp/multipartBody6352721223159024929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134694039,"filename":"image_29012025_08_06_36_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332564025","file1":"1332564006","file0":"1332563984","file4":"1332564041","file5":"1332564044","file3":"1332564036"},"map_files_photo_id_array":[{"photo_id":"1332564044","filename":"file5"},{"photo_id":"1332564025","filename":"file2"},{"photo_id":"1332564041","filename":"file4"},{"photo_id":"1332564006","filename":"file1"},{"photo_id":"1332563984","filename":"file0"},{"photo_id":"1332564036","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332564025":["hashtag1","hashtag2"]},{"1332564036":["hashtag1","hashtag2"]},{"1332564006":["hashtag1","hashtag2"]},{"1332563984":["hashtag1","hashtag2"]},{"1332564041":["hashtag1","hashtag2"]},{"1332564044":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332564025, 1332564036, 1332564006, 1332563984, 1332564041, 1332564044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98780369758606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:11:32.309605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/06/image_29012025_08_06_46_10370.jpg', '/home/pi/Desktop/images/29012025/08/06/image_29012025_08_06_57_10369.jpg', '/home/pi/Desktop/images/29012025/08/06/image_29012025_08_07_06_9464.jpg', '/home/pi/Desktop/images/29012025/08/07/image_29012025_08_07_17_10448.jpg', '/home/pi/Desktop/images/29012025/08/07/image_29012025_08_07_26_9356.jpg', '/home/pi/Desktop/images/29012025/08/07/image_29012025_08_07_36_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/06/image_29012025_08_06_46_10370.jpg
/home/pi/Desktop/images/29012025/08/06/image_29012025_08_06_57_10369.jpg
/home/pi/Desktop/images/29012025/08/06/image_29012025_08_07_06_9464.jpg
/home/pi/Desktop/images/29012025/08/07/image_29012025_08_07_17_10448.jpg
/home/pi/Desktop/images/29012025/08/07/image_29012025_08_07_26_9356.jpg
/home/pi/Desktop/images/29012025/08/07/image_29012025_08_07_36_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":["1332564099","1332564084","1332564093","1332564111","1332564105","1332564088"],"photo_ids_order":["1332564084","1332564088","1332564093","1332564099","1332564105","1332564111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4b81209024eebf2da79e174fc6e8cf16.jpg","text":"TemporaryFile(/tmp/multipartBody7490896118080429347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134753229,"filename":"image_29012025_08_07_17_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/29/bfa9528c330b3997f936b67a9244b2a3.jpg","text":"TemporaryFile(/tmp/multipartBody3373545075897892365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134753229,"filename":"image_29012025_08_06_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/29/802283e432ea97cced8002d4d99d1bda.jpg","text":"TemporaryFile(/tmp/multipartBody6880509977973935087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134753229,"filename":"image_29012025_08_07_06_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/29/09b9d2a0604ef7ccfa77da65c932892f.jpg","text":"TemporaryFile(/tmp/multipartBody7536661690984584631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134753229,"filename":"image_29012025_08_07_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/29/7ed290a8861d757b3a55c0c1704de74a.jpg","text":"TemporaryFile(/tmp/multipartBody1669282948980743206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134753229,"filename":"image_29012025_08_07_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/29/6b50e3bbc3c47d31131d90119c401193.jpg","text":"TemporaryFile(/tmp/multipartBody4671582338379652748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134753229,"filename":"image_29012025_08_06_57_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332564093","file1":"1332564088","file0":"1332564084","file4":"1332564105","file5":"1332564111","file3":"1332564099"},"map_files_photo_id_array":[{"photo_id":"1332564111","filename":"file5"},{"photo_id":"1332564093","filename":"file2"},{"photo_id":"1332564105","filename":"file4"},{"photo_id":"1332564088","filename":"file1"},{"photo_id":"1332564084","filename":"file0"},{"photo_id":"1332564099","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332564099":["hashtag1","hashtag2"]},{"1332564084":["hashtag1","hashtag2"]},{"1332564093":["hashtag1","hashtag2"]},{"1332564111":["hashtag1","hashtag2"]},{"1332564105":["hashtag1","hashtag2"]},{"1332564088":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332564099, 1332564084, 1332564093, 1332564111, 1332564105, 1332564088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.65251660346985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:12:32.640898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/07/image_29012025_08_07_47_10364.jpg', '/home/pi/Desktop/images/29012025/08/07/image_29012025_08_07_56_9435.jpg', '/home/pi/Desktop/images/29012025/08/07/image_29012025_08_08_06_10358.jpg', '/home/pi/Desktop/images/29012025/08/08/image_29012025_08_08_17_10352.jpg', '/home/pi/Desktop/images/29012025/08/08/image_29012025_08_08_26_9420.jpg', '/home/pi/Desktop/images/29012025/08/08/image_29012025_08_08_37_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/07/image_29012025_08_07_47_10364.jpg
/home/pi/Desktop/images/29012025/08/07/image_29012025_08_07_56_9435.jpg
/home/pi/Desktop/images/29012025/08/07/image_29012025_08_08_06_10358.jpg
/home/pi/Desktop/images/29012025/08/08/image_29012025_08_08_17_10352.jpg
/home/pi/Desktop/images/29012025/08/08/image_29012025_08_08_26_9420.jpg
/home/pi/Desktop/images/29012025/08/08/image_29012025_08_08_37_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":["1332564282","1332564351","1332564345","1332564333","1332564320","1332564314"],"photo_ids_order":["1332564282","1332564314","1332564320","1332564333","1332564345","1332564351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/937214fc46c75be5fd00f24d50053455.jpg","text":"TemporaryFile(/tmp/multipartBody2623249460092943448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134813552,"filename":"image_29012025_08_07_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/29/eae2e73bed5923009ab637d6bc84c689.jpg","text":"TemporaryFile(/tmp/multipartBody1536503811471614707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134813552,"filename":"image_29012025_08_08_37_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/29/8cd05752496e8dd237c4ed3ac91abf9f.jpg","text":"TemporaryFile(/tmp/multipartBody3897417713736103421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134813552,"filename":"image_29012025_08_08_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/29/6f470283247e4319a27a15d56a03f518.jpg","text":"TemporaryFile(/tmp/multipartBody4855508565678951012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134813552,"filename":"image_29012025_08_08_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/29/b29736147a944aa5945a87b9e3b01519.jpg","text":"TemporaryFile(/tmp/multipartBody5175290893650737580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134813552,"filename":"image_29012025_08_08_06_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/29/033ec50a8c54133d105be7b2d6223536.jpg","text":"TemporaryFile(/tmp/multipartBody2635336498325308826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134813552,"filename":"image_29012025_08_07_56_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332564320","file1":"1332564314","file0":"1332564282","file4":"1332564345","file5":"1332564351","file3":"1332564333"},"map_files_photo_id_array":[{"photo_id":"1332564351","filename":"file5"},{"photo_id":"1332564320","filename":"file2"},{"photo_id":"1332564345","filename":"file4"},{"photo_id":"1332564314","filename":"file1"},{"photo_id":"1332564282","filename":"file0"},{"photo_id":"1332564333","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332564282":["hashtag1","hashtag2"]},{"1332564351":["hashtag1","hashtag2"]},{"1332564345":["hashtag1","hashtag2"]},{"1332564333":["hashtag1","hashtag2"]},{"1332564320":["hashtag1","hashtag2"]},{"1332564314":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332564282, 1332564351, 1332564345, 1332564333, 1332564320, 1332564314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.854148149490356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:13:32.958886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/08/image_29012025_08_08_46_9358.jpg', '/home/pi/Desktop/images/29012025/08/08/image_29012025_08_08_56_10447.jpg', '/home/pi/Desktop/images/29012025/08/08/image_29012025_08_09_07_10345.jpg', '/home/pi/Desktop/images/29012025/08/09/image_29012025_08_09_16_9449.jpg', '/home/pi/Desktop/images/29012025/08/09/image_29012025_08_09_27_10360.jpg', '/home/pi/Desktop/images/29012025/08/09/image_29012025_08_09_36_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/08/image_29012025_08_08_46_9358.jpg
/home/pi/Desktop/images/29012025/08/08/image_29012025_08_08_56_10447.jpg
/home/pi/Desktop/images/29012025/08/08/image_29012025_08_09_07_10345.jpg
/home/pi/Desktop/images/29012025/08/09/image_29012025_08_09_16_9449.jpg
/home/pi/Desktop/images/29012025/08/09/image_29012025_08_09_27_10360.jpg
/home/pi/Desktop/images/29012025/08/09/image_29012025_08_09_36_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":["1332564475","1332564469","1332564492","1332564398","1332564458","1332564509"],"photo_ids_order":["1332564398","1332564458","1332564469","1332564475","1332564492","1332564509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9add61be74765f8758e282eac2827422.jpg","text":"TemporaryFile(/tmp/multipartBody8030371910627442108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134873862,"filename":"image_29012025_08_09_16_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/29/efe3ff5a119ec3c82e79a2c369ef8056.jpg","text":"TemporaryFile(/tmp/multipartBody4927148712583804020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134873862,"filename":"image_29012025_08_09_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/29/ce3f90d8abd8d256c18ac2682eb76e12.jpg","text":"TemporaryFile(/tmp/multipartBody8975224977781970971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134873862,"filename":"image_29012025_08_09_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/29/3d2cf846a9d193d247e15dc032f8b0c5.jpg","text":"TemporaryFile(/tmp/multipartBody8839411565767706472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134873862,"filename":"image_29012025_08_08_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/29/34231f0a87d658c2207ebb97ec9f79d0.jpg","text":"TemporaryFile(/tmp/multipartBody4036599708212690684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134873862,"filename":"image_29012025_08_08_56_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/29/86c26f0c4d284e6367c0d086182f3d67.jpg","text":"TemporaryFile(/tmp/multipartBody3683074787180793339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134873862,"filename":"image_29012025_08_09_36_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332564469","file1":"1332564458","file0":"1332564398","file4":"1332564492","file5":"1332564509","file3":"1332564475"},"map_files_photo_id_array":[{"photo_id":"1332564509","filename":"file5"},{"photo_id":"1332564469","filename":"file2"},{"photo_id":"1332564492","filename":"file4"},{"photo_id":"1332564458","filename":"file1"},{"photo_id":"1332564398","filename":"file0"},{"photo_id":"1332564475","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332564475":["hashtag1","hashtag2"]},{"1332564469":["hashtag1","hashtag2"]},{"1332564492":["hashtag1","hashtag2"]},{"1332564398":["hashtag1","hashtag2"]},{"1332564458":["hashtag1","hashtag2"]},{"1332564509":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332564475, 1332564469, 1332564492, 1332564398, 1332564458, 1332564509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.70491337776184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:14:33.195960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/09/image_29012025_08_09_46_10367.jpg', '/home/pi/Desktop/images/29012025/08/09/image_29012025_08_09_57_10368.jpg', '/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_06_9679.jpg', '/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_17_10342.jpg', '/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_26_9694.jpg', '/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_37_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/09/image_29012025_08_09_46_10367.jpg
/home/pi/Desktop/images/29012025/08/09/image_29012025_08_09_57_10368.jpg
/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_06_9679.jpg
/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_17_10342.jpg
/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_26_9694.jpg
/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_37_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":["1332564601","1332564619","1332564607","1332564618","1332564615","1332564620"],"photo_ids_order":["1332564601","1332564607","1332564615","1332564618","1332564619","1332564620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a5dcc42056efd0db36771b1707efc820.jpg","text":"TemporaryFile(/tmp/multipartBody480152895351485899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134934100,"filename":"image_29012025_08_09_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/29/c62814d9b7994f210da54faedbfbf34d.jpg","text":"TemporaryFile(/tmp/multipartBody6650248081928749805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134934100,"filename":"image_29012025_08_10_26_9694.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c642087a6fd27bdea7cd9a66fbc5e56e.jpg","text":"TemporaryFile(/tmp/multipartBody6623059651671012905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134934100,"filename":"image_29012025_08_09_57_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/29/20f070c806ef89a8997a116c181d0e4a.jpg","text":"TemporaryFile(/tmp/multipartBody686814439044976743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134934100,"filename":"image_29012025_08_10_17_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/29/d50516015abe0a580e24b2f330e13a84.jpg","text":"TemporaryFile(/tmp/multipartBody1689543341745068965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134934100,"filename":"image_29012025_08_10_06_9679.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7c951aa79e59f88ceffe4d36330c1ea8.jpg","text":"TemporaryFile(/tmp/multipartBody8461091771805767731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134934100,"filename":"image_29012025_08_10_37_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332564615","file1":"1332564607","file0":"1332564601","file4":"1332564619","file5":"1332564620","file3":"1332564618"},"map_files_photo_id_array":[{"photo_id":"1332564620","filename":"file5"},{"photo_id":"1332564615","filename":"file2"},{"photo_id":"1332564619","filename":"file4"},{"photo_id":"1332564607","filename":"file1"},{"photo_id":"1332564601","filename":"file0"},{"photo_id":"1332564618","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332564601":["hashtag1","hashtag2"]},{"1332564619":["hashtag1","hashtag2"]},{"1332564607":["hashtag1","hashtag2"]},{"1332564618":["hashtag1","hashtag2"]},{"1332564615":["hashtag1","hashtag2"]},{"1332564620":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332564601, 1332564619, 1332564607, 1332564618, 1332564615, 1332564620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.697577238082886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:15:32.296454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_46_9455.jpg', '/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_57_10366.jpg', '/home/pi/Desktop/images/29012025/08/10/image_29012025_08_11_06_9375.jpg', '/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_16_10409.jpg', '/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_27_10351.jpg', '/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_36_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_46_9455.jpg
/home/pi/Desktop/images/29012025/08/10/image_29012025_08_10_57_10366.jpg
/home/pi/Desktop/images/29012025/08/10/image_29012025_08_11_06_9375.jpg
/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_16_10409.jpg
/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_27_10351.jpg
/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_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":["1332564811","1332564802","1332564816","1332564839","1332564854","1332564806"],"photo_ids_order":["1332564802","1332564806","1332564811","1332564816","1332564839","1332564854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5b8cb96beb0108ba8bcf0f5c4938838f.jpg","text":"TemporaryFile(/tmp/multipartBody832776000190688821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134993226,"filename":"image_29012025_08_11_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/29/41b472cf54adee63e022f656b8fe6a65.jpg","text":"TemporaryFile(/tmp/multipartBody1827769553161338488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134993226,"filename":"image_29012025_08_10_46_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/29/5a4c02aefdb8da233bee8404d7d687b7.jpg","text":"TemporaryFile(/tmp/multipartBody7926923262912943233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134993226,"filename":"image_29012025_08_11_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/29/64e4025bf84226a9b8da53612072cea1.jpg","text":"TemporaryFile(/tmp/multipartBody5328713366808724765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134993226,"filename":"image_29012025_08_11_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/29/f762948affb1b8f47fea79f8b890b896.jpg","text":"TemporaryFile(/tmp/multipartBody2734959356696836410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134993226,"filename":"image_29012025_08_11_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/29/f432b1a151cb9a68f9b359eb4078730c.jpg","text":"TemporaryFile(/tmp/multipartBody5331445961458133774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738134993226,"filename":"image_29012025_08_10_57_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332564811","file1":"1332564806","file0":"1332564802","file4":"1332564839","file5":"1332564854","file3":"1332564816"},"map_files_photo_id_array":[{"photo_id":"1332564854","filename":"file5"},{"photo_id":"1332564811","filename":"file2"},{"photo_id":"1332564839","filename":"file4"},{"photo_id":"1332564806","filename":"file1"},{"photo_id":"1332564802","filename":"file0"},{"photo_id":"1332564816","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332564811":["hashtag1","hashtag2"]},{"1332564802":["hashtag1","hashtag2"]},{"1332564816":["hashtag1","hashtag2"]},{"1332564839":["hashtag1","hashtag2"]},{"1332564854":["hashtag1","hashtag2"]},{"1332564806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332564811, 1332564802, 1332564816, 1332564839, 1332564854, 1332564806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40364980697632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:16:32.569903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_46_10356.jpg', '/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_57_10373.jpg', '/home/pi/Desktop/images/29012025/08/11/image_29012025_08_12_06_9407.jpg', '/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_17_10338.jpg', '/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_27_10359.jpg', '/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_36_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_46_10356.jpg
/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_57_10373.jpg
/home/pi/Desktop/images/29012025/08/11/image_29012025_08_12_06_9407.jpg
/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_17_10338.jpg
/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_27_10359.jpg
/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_36_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: 0.5315968990325928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 08:16:42.563997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_46_10356.jpg', '/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_57_10373.jpg', '/home/pi/Desktop/images/29012025/08/11/image_29012025_08_12_06_9407.jpg', '/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_17_10338.jpg', '/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_27_10359.jpg', '/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_36_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_46_10356.jpg
/home/pi/Desktop/images/29012025/08/11/image_29012025_08_11_57_10373.jpg
/home/pi/Desktop/images/29012025/08/11/image_29012025_08_12_06_9407.jpg
/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_17_10338.jpg
/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_27_10359.jpg
/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_36_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332564913","1332564972","1332564975","1332564968","1332564932","1332564923"],"photo_ids_order":["1332564913","1332564923","1332564932","1332564968","1332564972","1332564975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bd9760b973872e2bbaada60cf37c1eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2679028069308102871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135063475,"filename":"image_29012025_08_11_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/29/885e7717a6ce000233441a5a0b3b5238.jpg","text":"TemporaryFile(/tmp/multipartBody1657155255111584983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135063475,"filename":"image_29012025_08_12_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/29/94aefb6395c45bbed1e752051f965aa0.jpg","text":"TemporaryFile(/tmp/multipartBody6900766698442827608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135063475,"filename":"image_29012025_08_12_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/29/815d4cb90b1cf05909cc8ba780e385d2.jpg","text":"TemporaryFile(/tmp/multipartBody1363523852209708467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135063475,"filename":"image_29012025_08_12_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/29/86ad3acd3bd8cb83398b6ddb2ec1642a.jpg","text":"TemporaryFile(/tmp/multipartBody239894828313415594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135063475,"filename":"image_29012025_08_12_06_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/29/4d13de9de36bc271ab470f0067e8be1a.jpg","text":"TemporaryFile(/tmp/multipartBody6776783298541027795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135063475,"filename":"image_29012025_08_11_57_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332564932","file1":"1332564923","file0":"1332564913","file4":"1332564972","file5":"1332564975","file3":"1332564968"},"map_files_photo_id_array":[{"photo_id":"1332564975","filename":"file5"},{"photo_id":"1332564932","filename":"file2"},{"photo_id":"1332564972","filename":"file4"},{"photo_id":"1332564923","filename":"file1"},{"photo_id":"1332564913","filename":"file0"},{"photo_id":"1332564968","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332564913":["hashtag1","hashtag2"]},{"1332564972":["hashtag1","hashtag2"]},{"1332564975":["hashtag1","hashtag2"]},{"1332564968":["hashtag1","hashtag2"]},{"1332564932":["hashtag1","hashtag2"]},{"1332564923":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332564913, 1332564972, 1332564975, 1332564968, 1332564932, 1332564923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.303037881851196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:17:32.822168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_47_10346.jpg', '/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_56_9415.jpg', '/home/pi/Desktop/images/29012025/08/12/image_29012025_08_13_06_10338.jpg', '/home/pi/Desktop/images/29012025/08/13/image_29012025_08_13_17_10335.jpg', '/home/pi/Desktop/images/29012025/08/13/image_29012025_08_13_26_9376.jpg', '/home/pi/Desktop/images/29012025/08/13/image_29012025_08_13_36_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_47_10346.jpg
/home/pi/Desktop/images/29012025/08/12/image_29012025_08_12_56_9415.jpg
/home/pi/Desktop/images/29012025/08/12/image_29012025_08_13_06_10338.jpg
/home/pi/Desktop/images/29012025/08/13/image_29012025_08_13_17_10335.jpg
/home/pi/Desktop/images/29012025/08/13/image_29012025_08_13_26_9376.jpg
/home/pi/Desktop/images/29012025/08/13/image_29012025_08_13_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":["1332565159","1332565155","1332565143","1332565151","1332565147","1332565162"],"photo_ids_order":["1332565143","1332565147","1332565151","1332565155","1332565159","1332565162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/68ba06d29dd359ef2a277a80b24f0bb2.jpg","text":"TemporaryFile(/tmp/multipartBody33426330469319756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135113733,"filename":"image_29012025_08_13_26_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/29/cb7b8aa80f207263a0b56fe6d3bd29c3.jpg","text":"TemporaryFile(/tmp/multipartBody788285003467826607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135113733,"filename":"image_29012025_08_13_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/29/bac2effdfdaeb3924c87ce867fad752d.jpg","text":"TemporaryFile(/tmp/multipartBody8131524512213742924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135113733,"filename":"image_29012025_08_12_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/29/add879953f151335aad1d5f61f667845.jpg","text":"TemporaryFile(/tmp/multipartBody7895129712948253250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135113733,"filename":"image_29012025_08_13_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/29/a30b6260b81a26c0ea977a704a020678.jpg","text":"TemporaryFile(/tmp/multipartBody6692177930729103058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135113733,"filename":"image_29012025_08_12_56_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/29/0727f1a3481183749fe2b17616236085.jpg","text":"TemporaryFile(/tmp/multipartBody256763977771932982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135113733,"filename":"image_29012025_08_13_36_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332565151","file1":"1332565147","file0":"1332565143","file4":"1332565159","file5":"1332565162","file3":"1332565155"},"map_files_photo_id_array":[{"photo_id":"1332565162","filename":"file5"},{"photo_id":"1332565151","filename":"file2"},{"photo_id":"1332565159","filename":"file4"},{"photo_id":"1332565147","filename":"file1"},{"photo_id":"1332565143","filename":"file0"},{"photo_id":"1332565155","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332565159":["hashtag1","hashtag2"]},{"1332565155":["hashtag1","hashtag2"]},{"1332565143":["hashtag1","hashtag2"]},{"1332565151":["hashtag1","hashtag2"]},{"1332565147":["hashtag1","hashtag2"]},{"1332565162":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332565159, 1332565155, 1332565143, 1332565151, 1332565147, 1332565162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85753774642944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:18:33.063217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/13/image_29012025_08_13_47_10341.jpg', '/home/pi/Desktop/images/29012025/08/13/image_29012025_08_13_56_9356.jpg', '/home/pi/Desktop/images/29012025/08/13/image_29012025_08_14_07_10347.jpg', '/home/pi/Desktop/images/29012025/08/14/image_29012025_08_14_16_9407.jpg', '/home/pi/Desktop/images/29012025/08/14/image_29012025_08_14_26_10351.jpg', '/home/pi/Desktop/images/29012025/08/14/image_29012025_08_14_37_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/13/image_29012025_08_13_47_10341.jpg
/home/pi/Desktop/images/29012025/08/13/image_29012025_08_13_56_9356.jpg
/home/pi/Desktop/images/29012025/08/13/image_29012025_08_14_07_10347.jpg
/home/pi/Desktop/images/29012025/08/14/image_29012025_08_14_16_9407.jpg
/home/pi/Desktop/images/29012025/08/14/image_29012025_08_14_26_10351.jpg
/home/pi/Desktop/images/29012025/08/14/image_29012025_08_14_37_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":["1332565201","1332565204","1332565194","1332565185","1332565212","1332565208"],"photo_ids_order":["1332565185","1332565194","1332565201","1332565204","1332565208","1332565212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/16f25cddd9cba15a5a5456d95672b450.jpg","text":"TemporaryFile(/tmp/multipartBody6383499200075394706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135173983,"filename":"image_29012025_08_14_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/29/693e3a06b23b1d4f941383d05fc75e4d.jpg","text":"TemporaryFile(/tmp/multipartBody2748266401871274545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135173983,"filename":"image_29012025_08_14_16_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/29/6284f913465f1d75db8d72e42364259b.jpg","text":"TemporaryFile(/tmp/multipartBody5882466294702896550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135173983,"filename":"image_29012025_08_13_56_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/29/c05d8d072da6dfcbb921897e789d6b63.jpg","text":"TemporaryFile(/tmp/multipartBody5189875289554963504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135173983,"filename":"image_29012025_08_13_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/29/f45466b6dea69305f29bf60983c94e92.jpg","text":"TemporaryFile(/tmp/multipartBody7261498681100842593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135173983,"filename":"image_29012025_08_14_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/29/41ab429caa373886a416a03af7df8c95.jpg","text":"TemporaryFile(/tmp/multipartBody7603000402387280735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135173983,"filename":"image_29012025_08_14_26_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332565201","file1":"1332565194","file0":"1332565185","file4":"1332565208","file5":"1332565212","file3":"1332565204"},"map_files_photo_id_array":[{"photo_id":"1332565212","filename":"file5"},{"photo_id":"1332565201","filename":"file2"},{"photo_id":"1332565208","filename":"file4"},{"photo_id":"1332565194","filename":"file1"},{"photo_id":"1332565185","filename":"file0"},{"photo_id":"1332565204","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332565201":["hashtag1","hashtag2"]},{"1332565204":["hashtag1","hashtag2"]},{"1332565194":["hashtag1","hashtag2"]},{"1332565185":["hashtag1","hashtag2"]},{"1332565212":["hashtag1","hashtag2"]},{"1332565208":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332565201, 1332565204, 1332565194, 1332565185, 1332565212, 1332565208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.678913593292236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:19:32.242751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/14/image_29012025_08_14_46_9443.jpg', '/home/pi/Desktop/images/29012025/08/14/image_29012025_08_14_57_10448.jpg', '/home/pi/Desktop/images/29012025/08/14/image_29012025_08_15_06_9359.jpg', '/home/pi/Desktop/images/29012025/08/15/image_29012025_08_15_16_10447.jpg', '/home/pi/Desktop/images/29012025/08/15/image_29012025_08_15_27_10355.jpg', '/home/pi/Desktop/images/29012025/08/15/image_29012025_08_15_36_9393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/14/image_29012025_08_14_46_9443.jpg
/home/pi/Desktop/images/29012025/08/14/image_29012025_08_14_57_10448.jpg
/home/pi/Desktop/images/29012025/08/14/image_29012025_08_15_06_9359.jpg
/home/pi/Desktop/images/29012025/08/15/image_29012025_08_15_16_10447.jpg
/home/pi/Desktop/images/29012025/08/15/image_29012025_08_15_27_10355.jpg
/home/pi/Desktop/images/29012025/08/15/image_29012025_08_15_36_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":["1332565321","1332565311","1332565289","1332565316","1332565304","1332565297"],"photo_ids_order":["1332565289","1332565297","1332565304","1332565311","1332565316","1332565321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8a1bf78b09560b1f2c53ded895902e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1640027019026266940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135233157,"filename":"image_29012025_08_15_36_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/29/76ddda64ee128ee4e9e6601d9bb90418.jpg","text":"TemporaryFile(/tmp/multipartBody5414752226078936862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135233157,"filename":"image_29012025_08_15_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/29/7e69f5a11c03f0e44c5048a5b06b78be.jpg","text":"TemporaryFile(/tmp/multipartBody411562706478090377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135233157,"filename":"image_29012025_08_14_46_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/29/7e347058a91314e31d28f5ce2b4c57f2.jpg","text":"TemporaryFile(/tmp/multipartBody1368429982607898935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135233157,"filename":"image_29012025_08_15_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/29/9f962ec7673dbe218a0b21356118b000.jpg","text":"TemporaryFile(/tmp/multipartBody188732726229817344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135233157,"filename":"image_29012025_08_15_06_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/29/62e286ec7f91a8129d258a69a4bd4423.jpg","text":"TemporaryFile(/tmp/multipartBody4288332949061117077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135233157,"filename":"image_29012025_08_14_57_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332565304","file1":"1332565297","file0":"1332565289","file4":"1332565316","file5":"1332565321","file3":"1332565311"},"map_files_photo_id_array":[{"photo_id":"1332565321","filename":"file5"},{"photo_id":"1332565304","filename":"file2"},{"photo_id":"1332565316","filename":"file4"},{"photo_id":"1332565297","filename":"file1"},{"photo_id":"1332565289","filename":"file0"},{"photo_id":"1332565311","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332565321":["hashtag1","hashtag2"]},{"1332565311":["hashtag1","hashtag2"]},{"1332565289":["hashtag1","hashtag2"]},{"1332565316":["hashtag1","hashtag2"]},{"1332565304":["hashtag1","hashtag2"]},{"1332565297":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332565321, 1332565311, 1332565289, 1332565316, 1332565304, 1332565297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.60687303543091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:20:32.417444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/15/image_29012025_08_15_57_10349.jpg', '/home/pi/Desktop/images/29012025/08/15/image_29012025_08_16_06_9441.jpg', '/home/pi/Desktop/images/29012025/08/16/image_29012025_08_16_17_10349.jpg', '/home/pi/Desktop/images/29012025/08/16/image_29012025_08_16_26_9468.jpg', '/home/pi/Desktop/images/29012025/08/16/image_29012025_08_16_47_10357.jpg', '/home/pi/Desktop/images/29012025/08/16/image_29012025_08_16_56_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/15/image_29012025_08_15_57_10349.jpg
/home/pi/Desktop/images/29012025/08/15/image_29012025_08_16_06_9441.jpg
/home/pi/Desktop/images/29012025/08/16/image_29012025_08_16_17_10349.jpg
/home/pi/Desktop/images/29012025/08/16/image_29012025_08_16_26_9468.jpg
/home/pi/Desktop/images/29012025/08/16/image_29012025_08_16_47_10357.jpg
/home/pi/Desktop/images/29012025/08/16/image_29012025_08_16_56_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":["1332565368","1332565377","1332565341","1332565359","1332565346","1332565354"],"photo_ids_order":["1332565341","1332565346","1332565354","1332565359","1332565368","1332565377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/63caddc19aca8b19a66184b512a73355.jpg","text":"TemporaryFile(/tmp/multipartBody1689156959739041766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135294144,"filename":"image_29012025_08_16_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/29/ee479967ef4428e96fd6afd1e9cb0deb.jpg","text":"TemporaryFile(/tmp/multipartBody101249670778772389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135294144,"filename":"image_29012025_08_16_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/29/033e455954c82522755eb21703b4ec64.jpg","text":"TemporaryFile(/tmp/multipartBody1759336447593190390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135294144,"filename":"image_29012025_08_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/29/2d58aa62329c2ad7f1956ecf37bb0c99.jpg","text":"TemporaryFile(/tmp/multipartBody8131725842911190607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135294144,"filename":"image_29012025_08_16_26_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/29/eb2af76f84ff74324003b0d2a9a36a7e.jpg","text":"TemporaryFile(/tmp/multipartBody2584557833262674487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135294144,"filename":"image_29012025_08_16_06_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/29/1c390636bfd68b0ff11f8d513645cbc9.jpg","text":"TemporaryFile(/tmp/multipartBody7027437937562484423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135294144,"filename":"image_29012025_08_16_17_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332565354","file1":"1332565346","file0":"1332565341","file4":"1332565368","file5":"1332565377","file3":"1332565359"},"map_files_photo_id_array":[{"photo_id":"1332565377","filename":"file5"},{"photo_id":"1332565354","filename":"file2"},{"photo_id":"1332565368","filename":"file4"},{"photo_id":"1332565346","filename":"file1"},{"photo_id":"1332565341","filename":"file0"},{"photo_id":"1332565359","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332565368":["hashtag1","hashtag2"]},{"1332565377":["hashtag1","hashtag2"]},{"1332565341":["hashtag1","hashtag2"]},{"1332565359":["hashtag1","hashtag2"]},{"1332565346":["hashtag1","hashtag2"]},{"1332565354":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332565368, 1332565377, 1332565341, 1332565359, 1332565346, 1332565354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.506070375442505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:21:32.668719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/17/image_29012025_08_17_46_9345.jpg', '/home/pi/Desktop/images/29012025/08/18/image_29012025_08_18_46_9343.jpg', '/home/pi/Desktop/images/29012025/08/18/image_29012025_08_19_06_9353.jpg', '/home/pi/Desktop/images/29012025/08/19/image_29012025_08_19_27_10370.jpg', '/home/pi/Desktop/images/29012025/08/19/image_29012025_08_19_36_9403.jpg', '/home/pi/Desktop/images/29012025/08/19/image_29012025_08_19_46_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/17/image_29012025_08_17_46_9345.jpg
/home/pi/Desktop/images/29012025/08/18/image_29012025_08_18_46_9343.jpg
/home/pi/Desktop/images/29012025/08/18/image_29012025_08_19_06_9353.jpg
/home/pi/Desktop/images/29012025/08/19/image_29012025_08_19_27_10370.jpg
/home/pi/Desktop/images/29012025/08/19/image_29012025_08_19_36_9403.jpg
/home/pi/Desktop/images/29012025/08/19/image_29012025_08_19_46_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":["1332565467","1332565461","1332565470","1332565458","1332565454","1332565463"],"photo_ids_order":["1332565454","1332565458","1332565461","1332565463","1332565467","1332565470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f65122e4322b835f0e04c1a3e442ca2f.jpg","text":"TemporaryFile(/tmp/multipartBody5980212357213983169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135353585,"filename":"image_29012025_08_19_36_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/29/189a37bbbe9c6e19d708377b4eb33abb.jpg","text":"TemporaryFile(/tmp/multipartBody8489552062911294546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135353585,"filename":"image_29012025_08_19_06_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/29/9c752da535a81c49c7914c87219a8159.jpg","text":"TemporaryFile(/tmp/multipartBody7850030640914457596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135353585,"filename":"image_29012025_08_19_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/29/f20f0c7d03c6614300b864b55ff55fef.jpg","text":"TemporaryFile(/tmp/multipartBody4872595586778497066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135353585,"filename":"image_29012025_08_18_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/29/ae74cef9de846fc2751fe427612eadac.jpg","text":"TemporaryFile(/tmp/multipartBody3636928992522414839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135353585,"filename":"image_29012025_08_17_46_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/29/42c42008b05026f28c51c1c69049f813.jpg","text":"TemporaryFile(/tmp/multipartBody9122790093911080366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135353585,"filename":"image_29012025_08_19_27_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332565461","file1":"1332565458","file0":"1332565454","file4":"1332565467","file5":"1332565470","file3":"1332565463"},"map_files_photo_id_array":[{"photo_id":"1332565470","filename":"file5"},{"photo_id":"1332565461","filename":"file2"},{"photo_id":"1332565467","filename":"file4"},{"photo_id":"1332565458","filename":"file1"},{"photo_id":"1332565454","filename":"file0"},{"photo_id":"1332565463","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332565467":["hashtag1","hashtag2"]},{"1332565461":["hashtag1","hashtag2"]},{"1332565470":["hashtag1","hashtag2"]},{"1332565458":["hashtag1","hashtag2"]},{"1332565454":["hashtag1","hashtag2"]},{"1332565463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332565467, 1332565461, 1332565470, 1332565458, 1332565454, 1332565463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.03956747055054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:22:32.982392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/19/image_29012025_08_20_06_9370.jpg', '/home/pi/Desktop/images/29012025/08/20/image_29012025_08_20_17_10356.jpg', '/home/pi/Desktop/images/29012025/08/20/image_29012025_08_20_26_9339.jpg', '/home/pi/Desktop/images/29012025/08/20/image_29012025_08_20_36_10349.jpg', '/home/pi/Desktop/images/29012025/08/20/image_29012025_08_20_47_10357.jpg', '/home/pi/Desktop/images/29012025/08/20/image_29012025_08_20_56_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/19/image_29012025_08_20_06_9370.jpg
/home/pi/Desktop/images/29012025/08/20/image_29012025_08_20_17_10356.jpg
/home/pi/Desktop/images/29012025/08/20/image_29012025_08_20_26_9339.jpg
/home/pi/Desktop/images/29012025/08/20/image_29012025_08_20_36_10349.jpg
/home/pi/Desktop/images/29012025/08/20/image_29012025_08_20_47_10357.jpg
/home/pi/Desktop/images/29012025/08/20/image_29012025_08_20_56_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":["1332565528","1332565692","1332565707","1332565515","1332565538","1332565546"],"photo_ids_order":["1332565515","1332565528","1332565538","1332565546","1332565692","1332565707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/22e4111f30c43a9e989739d8898b906a.jpg","text":"TemporaryFile(/tmp/multipartBody5385295756541801857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135413893,"filename":"image_29012025_08_20_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/29/3660244c8d3179700f5672cc8dd9079a.jpg","text":"TemporaryFile(/tmp/multipartBody6721359740390221570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135413893,"filename":"image_29012025_08_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/29/ff99765ea15576b0fb326ca1ff44c9cb.jpg","text":"TemporaryFile(/tmp/multipartBody4344925298448044934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135413893,"filename":"image_29012025_08_20_56_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/29/17dc590af965a99f1376845c723dc6de.jpg","text":"TemporaryFile(/tmp/multipartBody5446080433009185440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135413893,"filename":"image_29012025_08_20_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/29/fc1b82bbe11592c938528e6a3cc30f77.jpg","text":"TemporaryFile(/tmp/multipartBody8279040604000967025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135413893,"filename":"image_29012025_08_20_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/29/61c839472323809cba6e5a4d6d8918f5.jpg","text":"TemporaryFile(/tmp/multipartBody6968698402580547206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135413893,"filename":"image_29012025_08_20_36_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332565538","file1":"1332565528","file0":"1332565515","file4":"1332565692","file5":"1332565707","file3":"1332565546"},"map_files_photo_id_array":[{"photo_id":"1332565707","filename":"file5"},{"photo_id":"1332565538","filename":"file2"},{"photo_id":"1332565692","filename":"file4"},{"photo_id":"1332565528","filename":"file1"},{"photo_id":"1332565515","filename":"file0"},{"photo_id":"1332565546","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332565528":["hashtag1","hashtag2"]},{"1332565692":["hashtag1","hashtag2"]},{"1332565707":["hashtag1","hashtag2"]},{"1332565515":["hashtag1","hashtag2"]},{"1332565538":["hashtag1","hashtag2"]},{"1332565546":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332565528, 1332565692, 1332565707, 1332565515, 1332565538, 1332565546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.856446981430054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:23:32.281901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/20/image_29012025_08_21_06_10393.jpg', '/home/pi/Desktop/images/29012025/08/21/image_29012025_08_21_17_10440.jpg', '/home/pi/Desktop/images/29012025/08/21/image_29012025_08_21_26_9448.jpg', '/home/pi/Desktop/images/29012025/08/21/image_29012025_08_21_37_10439.jpg', '/home/pi/Desktop/images/29012025/08/21/image_29012025_08_21_46_9590.jpg', '/home/pi/Desktop/images/29012025/08/21/image_29012025_08_22_06_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/20/image_29012025_08_21_06_10393.jpg
/home/pi/Desktop/images/29012025/08/21/image_29012025_08_21_17_10440.jpg
/home/pi/Desktop/images/29012025/08/21/image_29012025_08_21_26_9448.jpg
/home/pi/Desktop/images/29012025/08/21/image_29012025_08_21_37_10439.jpg
/home/pi/Desktop/images/29012025/08/21/image_29012025_08_21_46_9590.jpg
/home/pi/Desktop/images/29012025/08/21/image_29012025_08_22_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":["1332565779","1332565773","1332565767","1332565760","1332565784","1332565753"],"photo_ids_order":["1332565753","1332565760","1332565767","1332565773","1332565779","1332565784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0e589c94ee3d393326783b35c0e6b204.jpg","text":"TemporaryFile(/tmp/multipartBody5148496004310677018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135473191,"filename":"image_29012025_08_21_46_9590.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/853b475eb8426fefee105f0984e4d5f6.jpg","text":"TemporaryFile(/tmp/multipartBody2917046362702779925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135473191,"filename":"image_29012025_08_21_37_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/29/4077c002068af5a73d9937b21d8b6783.jpg","text":"TemporaryFile(/tmp/multipartBody6197619409891757586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135473191,"filename":"image_29012025_08_21_26_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/29/cc0d7fb46947f77e8bce8551c475ca15.jpg","text":"TemporaryFile(/tmp/multipartBody2724604740537660481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135473191,"filename":"image_29012025_08_21_17_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/29/79bd310042fa23f9647420d95f5abfef.jpg","text":"TemporaryFile(/tmp/multipartBody3324899410706606108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135473191,"filename":"image_29012025_08_22_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/29/e3850ceedeb29684f6a4c7ed3c91a9cf.jpg","text":"TemporaryFile(/tmp/multipartBody8890292317027580952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135473191,"filename":"image_29012025_08_21_06_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332565767","file1":"1332565760","file0":"1332565753","file4":"1332565779","file5":"1332565784","file3":"1332565773"},"map_files_photo_id_array":[{"photo_id":"1332565784","filename":"file5"},{"photo_id":"1332565767","filename":"file2"},{"photo_id":"1332565779","filename":"file4"},{"photo_id":"1332565760","filename":"file1"},{"photo_id":"1332565753","filename":"file0"},{"photo_id":"1332565773","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332565779":["hashtag1","hashtag2"]},{"1332565773":["hashtag1","hashtag2"]},{"1332565767":["hashtag1","hashtag2"]},{"1332565760":["hashtag1","hashtag2"]},{"1332565784":["hashtag1","hashtag2"]},{"1332565753":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332565779, 1332565773, 1332565767, 1332565760, 1332565784, 1332565753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24364709854126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:24:32.452924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/22/image_29012025_08_22_16_10383.jpg', '/home/pi/Desktop/images/29012025/08/22/image_29012025_08_22_27_10368.jpg', '/home/pi/Desktop/images/29012025/08/22/image_29012025_08_22_56_9349.jpg', '/home/pi/Desktop/images/29012025/08/23/image_29012025_08_23_26_9354.jpg', '/home/pi/Desktop/images/29012025/08/23/image_29012025_08_23_36_10427.jpg', '/home/pi/Desktop/images/29012025/08/23/image_29012025_08_23_47_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/22/image_29012025_08_22_16_10383.jpg
/home/pi/Desktop/images/29012025/08/22/image_29012025_08_22_27_10368.jpg
/home/pi/Desktop/images/29012025/08/22/image_29012025_08_22_56_9349.jpg
/home/pi/Desktop/images/29012025/08/23/image_29012025_08_23_26_9354.jpg
/home/pi/Desktop/images/29012025/08/23/image_29012025_08_23_36_10427.jpg
/home/pi/Desktop/images/29012025/08/23/image_29012025_08_23_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":["1332565833","1332565806","1332565826","1332565811","1332565817","1332565822"],"photo_ids_order":["1332565806","1332565811","1332565817","1332565822","1332565826","1332565833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f4b2c236bc664361301249547575e9df.jpg","text":"TemporaryFile(/tmp/multipartBody8361245743414831255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135533402,"filename":"image_29012025_08_23_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/29/266d587d6b337ab05294e6be4b84e4d2.jpg","text":"TemporaryFile(/tmp/multipartBody4923192158217677816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135533402,"filename":"image_29012025_08_22_16_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/29/fa8f929ad5b9ab3a6f1c0a66dc4b85b0.jpg","text":"TemporaryFile(/tmp/multipartBody2647007575805096993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135533402,"filename":"image_29012025_08_23_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/29/da6e46782d58e3d3cdea6786653f840b.jpg","text":"TemporaryFile(/tmp/multipartBody1471738438993840437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135533402,"filename":"image_29012025_08_22_27_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/29/dc1f15df20da6560d14be77f31d76a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3353991473398481042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135533402,"filename":"image_29012025_08_22_56_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/29/85ee1d2d8e07d6eadf0671fdded20de4.jpg","text":"TemporaryFile(/tmp/multipartBody941412537824940637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135533402,"filename":"image_29012025_08_23_26_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332565817","file1":"1332565811","file0":"1332565806","file4":"1332565826","file5":"1332565833","file3":"1332565822"},"map_files_photo_id_array":[{"photo_id":"1332565833","filename":"file5"},{"photo_id":"1332565817","filename":"file2"},{"photo_id":"1332565826","filename":"file4"},{"photo_id":"1332565811","filename":"file1"},{"photo_id":"1332565806","filename":"file0"},{"photo_id":"1332565822","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332565833":["hashtag1","hashtag2"]},{"1332565806":["hashtag1","hashtag2"]},{"1332565826":["hashtag1","hashtag2"]},{"1332565811":["hashtag1","hashtag2"]},{"1332565817":["hashtag1","hashtag2"]},{"1332565822":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332565833, 1332565806, 1332565826, 1332565811, 1332565817, 1332565822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.603440046310425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:25:32.631116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/23/image_29012025_08_23_56_9400.jpg', '/home/pi/Desktop/images/29012025/08/23/image_29012025_08_24_07_10376.jpg', '/home/pi/Desktop/images/29012025/08/24/image_29012025_08_24_16_9350.jpg', '/home/pi/Desktop/images/29012025/08/24/image_29012025_08_24_26_10364.jpg', '/home/pi/Desktop/images/29012025/08/24/image_29012025_08_24_37_10420.jpg', '/home/pi/Desktop/images/29012025/08/24/image_29012025_08_24_46_9386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/23/image_29012025_08_23_56_9400.jpg
/home/pi/Desktop/images/29012025/08/23/image_29012025_08_24_07_10376.jpg
/home/pi/Desktop/images/29012025/08/24/image_29012025_08_24_16_9350.jpg
/home/pi/Desktop/images/29012025/08/24/image_29012025_08_24_26_10364.jpg
/home/pi/Desktop/images/29012025/08/24/image_29012025_08_24_37_10420.jpg
/home/pi/Desktop/images/29012025/08/24/image_29012025_08_24_46_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":["1332565899","1332565950","1332565953","1332565905","1332565931","1332565913"],"photo_ids_order":["1332565899","1332565905","1332565913","1332565931","1332565950","1332565953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/121dc9bb61462ce2cfd3da4cd8431758.jpg","text":"TemporaryFile(/tmp/multipartBody7885605433672048332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135593543,"filename":"image_29012025_08_23_56_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/29/94a073424852c1d53d3ae09fcba9fabf.jpg","text":"TemporaryFile(/tmp/multipartBody3232282263070396237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135593543,"filename":"image_29012025_08_24_37_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/29/ee82e1f689172ae89b5663aa3defd483.jpg","text":"TemporaryFile(/tmp/multipartBody6577690488609692927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135593543,"filename":"image_29012025_08_24_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/29/c4deeb592b2b134901c71288968e9aa8.jpg","text":"TemporaryFile(/tmp/multipartBody3532148400624517573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135593543,"filename":"image_29012025_08_24_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/29/ad4661506d48c64c54d4231ea7b693d9.jpg","text":"TemporaryFile(/tmp/multipartBody4299662589557294971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135593543,"filename":"image_29012025_08_24_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/29/82698ae447c9262e7e6d3216903d07ea.jpg","text":"TemporaryFile(/tmp/multipartBody1083990537702773774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135593543,"filename":"image_29012025_08_24_16_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332565913","file1":"1332565905","file0":"1332565899","file4":"1332565950","file5":"1332565953","file3":"1332565931"},"map_files_photo_id_array":[{"photo_id":"1332565953","filename":"file5"},{"photo_id":"1332565913","filename":"file2"},{"photo_id":"1332565950","filename":"file4"},{"photo_id":"1332565905","filename":"file1"},{"photo_id":"1332565899","filename":"file0"},{"photo_id":"1332565931","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332565899":["hashtag1","hashtag2"]},{"1332565950":["hashtag1","hashtag2"]},{"1332565953":["hashtag1","hashtag2"]},{"1332565905":["hashtag1","hashtag2"]},{"1332565931":["hashtag1","hashtag2"]},{"1332565913":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332565899, 1332565950, 1332565953, 1332565905, 1332565931, 1332565913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.282557249069214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:26:32.950349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/24/image_29012025_08_24_57_10463.jpg', '/home/pi/Desktop/images/29012025/08/24/image_29012025_08_25_06_9375.jpg', '/home/pi/Desktop/images/29012025/08/25/image_29012025_08_25_16_10432.jpg', '/home/pi/Desktop/images/29012025/08/25/image_29012025_08_25_27_10349.jpg', '/home/pi/Desktop/images/29012025/08/25/image_29012025_08_25_36_9457.jpg', '/home/pi/Desktop/images/29012025/08/25/image_29012025_08_25_47_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/24/image_29012025_08_24_57_10463.jpg
/home/pi/Desktop/images/29012025/08/24/image_29012025_08_25_06_9375.jpg
/home/pi/Desktop/images/29012025/08/25/image_29012025_08_25_16_10432.jpg
/home/pi/Desktop/images/29012025/08/25/image_29012025_08_25_27_10349.jpg
/home/pi/Desktop/images/29012025/08/25/image_29012025_08_25_36_9457.jpg
/home/pi/Desktop/images/29012025/08/25/image_29012025_08_25_47_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":["1332566061","1332566079","1332566069","1332566063","1332566057","1332566073"],"photo_ids_order":["1332566057","1332566061","1332566063","1332566069","1332566073","1332566079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6c1230a3989046a5a6fecb869514f1a2.jpg","text":"TemporaryFile(/tmp/multipartBody8182616510171893176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135653936,"filename":"image_29012025_08_25_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/29/73155a954850738ebc312756f8b38897.jpg","text":"TemporaryFile(/tmp/multipartBody8780225261808349849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135653936,"filename":"image_29012025_08_25_47_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/29/9257da27e0f6adc13de7816da0c29646.jpg","text":"TemporaryFile(/tmp/multipartBody8859763019113138614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135653936,"filename":"image_29012025_08_25_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/29/b716246ee1f1c7d97b4c4a68a3a90b73.jpg","text":"TemporaryFile(/tmp/multipartBody6879157110122562495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135653936,"filename":"image_29012025_08_25_16_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/29/e874ef6dfe0e00c1da916661b7e149f3.jpg","text":"TemporaryFile(/tmp/multipartBody2940988981901094674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135653936,"filename":"image_29012025_08_24_57_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/29/f920050e7b0e706dc7eaf8d6355432b5.jpg","text":"TemporaryFile(/tmp/multipartBody7286060947401051295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135653936,"filename":"image_29012025_08_25_36_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332566063","file1":"1332566061","file0":"1332566057","file4":"1332566073","file5":"1332566079","file3":"1332566069"},"map_files_photo_id_array":[{"photo_id":"1332566079","filename":"file5"},{"photo_id":"1332566063","filename":"file2"},{"photo_id":"1332566073","filename":"file4"},{"photo_id":"1332566061","filename":"file1"},{"photo_id":"1332566057","filename":"file0"},{"photo_id":"1332566069","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332566061":["hashtag1","hashtag2"]},{"1332566079":["hashtag1","hashtag2"]},{"1332566069":["hashtag1","hashtag2"]},{"1332566063":["hashtag1","hashtag2"]},{"1332566057":["hashtag1","hashtag2"]},{"1332566073":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332566061, 1332566079, 1332566069, 1332566063, 1332566057, 1332566073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.51755714416504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:27:32.270473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/25/image_29012025_08_25_56_9477.jpg', '/home/pi/Desktop/images/29012025/08/25/image_29012025_08_26_06_10362.jpg', '/home/pi/Desktop/images/29012025/08/26/image_29012025_08_26_17_10337.jpg', '/home/pi/Desktop/images/29012025/08/26/image_29012025_08_26_26_9387.jpg', '/home/pi/Desktop/images/29012025/08/26/image_29012025_08_26_37_10352.jpg', '/home/pi/Desktop/images/29012025/08/26/image_29012025_08_26_46_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/25/image_29012025_08_25_56_9477.jpg
/home/pi/Desktop/images/29012025/08/25/image_29012025_08_26_06_10362.jpg
/home/pi/Desktop/images/29012025/08/26/image_29012025_08_26_17_10337.jpg
/home/pi/Desktop/images/29012025/08/26/image_29012025_08_26_26_9387.jpg
/home/pi/Desktop/images/29012025/08/26/image_29012025_08_26_37_10352.jpg
/home/pi/Desktop/images/29012025/08/26/image_29012025_08_26_46_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":["1332566127","1332566135","1332566120","1332566144","1332566134","1332566137"],"photo_ids_order":["1332566120","1332566127","1332566134","1332566135","1332566137","1332566144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/525b43130b2d8438713c2c4bd6efe967.jpg","text":"TemporaryFile(/tmp/multipartBody8966489193499789655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135713188,"filename":"image_29012025_08_26_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/29/c56a20cb272a6b7a59704829889e9801.jpg","text":"TemporaryFile(/tmp/multipartBody1431198900450514569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135713188,"filename":"image_29012025_08_26_26_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/29/95fbc74eba395dc7c1e12a28cc8cf584.jpg","text":"TemporaryFile(/tmp/multipartBody5722128615669098338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135713188,"filename":"image_29012025_08_25_56_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/29/0ae86f54549c2bba0f2afd60458e4343.jpg","text":"TemporaryFile(/tmp/multipartBody4254926195593488737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135713188,"filename":"image_29012025_08_26_46_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/29/c20b2b72b26cb6ff9891e6764d3b2454.jpg","text":"TemporaryFile(/tmp/multipartBody5634764371731090131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135713188,"filename":"image_29012025_08_26_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/29/3baaf4879f612d94bd22215508cac96d.jpg","text":"TemporaryFile(/tmp/multipartBody5503037825575197506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135713188,"filename":"image_29012025_08_26_37_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332566134","file1":"1332566127","file0":"1332566120","file4":"1332566137","file5":"1332566144","file3":"1332566135"},"map_files_photo_id_array":[{"photo_id":"1332566144","filename":"file5"},{"photo_id":"1332566134","filename":"file2"},{"photo_id":"1332566137","filename":"file4"},{"photo_id":"1332566127","filename":"file1"},{"photo_id":"1332566120","filename":"file0"},{"photo_id":"1332566135","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332566127":["hashtag1","hashtag2"]},{"1332566135":["hashtag1","hashtag2"]},{"1332566120":["hashtag1","hashtag2"]},{"1332566144":["hashtag1","hashtag2"]},{"1332566134":["hashtag1","hashtag2"]},{"1332566137":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332566127, 1332566135, 1332566120, 1332566144, 1332566134, 1332566137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.526771545410156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:28:32.437582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/26/image_29012025_08_26_56_10367.jpg', '/home/pi/Desktop/images/29012025/08/26/image_29012025_08_27_07_10351.jpg', '/home/pi/Desktop/images/29012025/08/27/image_29012025_08_27_16_9468.jpg', '/home/pi/Desktop/images/29012025/08/27/image_29012025_08_27_26_10349.jpg', '/home/pi/Desktop/images/29012025/08/27/image_29012025_08_27_37_10349.jpg', '/home/pi/Desktop/images/29012025/08/27/image_29012025_08_27_46_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/26/image_29012025_08_26_56_10367.jpg
/home/pi/Desktop/images/29012025/08/26/image_29012025_08_27_07_10351.jpg
/home/pi/Desktop/images/29012025/08/27/image_29012025_08_27_16_9468.jpg
/home/pi/Desktop/images/29012025/08/27/image_29012025_08_27_26_10349.jpg
/home/pi/Desktop/images/29012025/08/27/image_29012025_08_27_37_10349.jpg
/home/pi/Desktop/images/29012025/08/27/image_29012025_08_27_46_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":["1332566184","1332566178","1332566195","1332566198","1332566191","1332566173"],"photo_ids_order":["1332566173","1332566178","1332566184","1332566191","1332566195","1332566198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/77bf5a9daeee8354a4591c07575c9af3.jpg","text":"TemporaryFile(/tmp/multipartBody3636043386829497988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135773348,"filename":"image_29012025_08_27_16_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/29/69ca8817416782581b9b1009c8dc4be6.jpg","text":"TemporaryFile(/tmp/multipartBody3105160788347040127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135773348,"filename":"image_29012025_08_27_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/29/0c7539973b9dd5d6c849530b9eaeee0e.jpg","text":"TemporaryFile(/tmp/multipartBody3186836259914706364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135773348,"filename":"image_29012025_08_27_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/29/ccd62a8b5f7e9d8f6d5fbdb9505af7ce.jpg","text":"TemporaryFile(/tmp/multipartBody7047772220743062978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135773348,"filename":"image_29012025_08_27_46_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/29/720a1a7c9b366c353a285655f2b7df78.jpg","text":"TemporaryFile(/tmp/multipartBody7517730669253291641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135773348,"filename":"image_29012025_08_27_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/29/9c01d674cd2f5cd8ee95a54598059575.jpg","text":"TemporaryFile(/tmp/multipartBody4407174428970806885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135773348,"filename":"image_29012025_08_26_56_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332566184","file1":"1332566178","file0":"1332566173","file4":"1332566195","file5":"1332566198","file3":"1332566191"},"map_files_photo_id_array":[{"photo_id":"1332566198","filename":"file5"},{"photo_id":"1332566184","filename":"file2"},{"photo_id":"1332566195","filename":"file4"},{"photo_id":"1332566178","filename":"file1"},{"photo_id":"1332566173","filename":"file0"},{"photo_id":"1332566191","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332566184":["hashtag1","hashtag2"]},{"1332566178":["hashtag1","hashtag2"]},{"1332566195":["hashtag1","hashtag2"]},{"1332566198":["hashtag1","hashtag2"]},{"1332566191":["hashtag1","hashtag2"]},{"1332566173":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332566184, 1332566178, 1332566195, 1332566198, 1332566191, 1332566173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20944929122925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:29:32.767941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/27/image_29012025_08_27_57_10369.jpg', '/home/pi/Desktop/images/29012025/08/27/image_29012025_08_28_07_10354.jpg', '/home/pi/Desktop/images/29012025/08/28/image_29012025_08_28_16_9388.jpg', '/home/pi/Desktop/images/29012025/08/28/image_29012025_08_28_27_10453.jpg', '/home/pi/Desktop/images/29012025/08/28/image_29012025_08_28_36_9406.jpg', '/home/pi/Desktop/images/29012025/08/28/image_29012025_08_28_47_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/27/image_29012025_08_27_57_10369.jpg
/home/pi/Desktop/images/29012025/08/27/image_29012025_08_28_07_10354.jpg
/home/pi/Desktop/images/29012025/08/28/image_29012025_08_28_16_9388.jpg
/home/pi/Desktop/images/29012025/08/28/image_29012025_08_28_27_10453.jpg
/home/pi/Desktop/images/29012025/08/28/image_29012025_08_28_36_9406.jpg
/home/pi/Desktop/images/29012025/08/28/image_29012025_08_28_47_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":["1332566238","1332566247","1332566232","1332566243","1332566222","1332566227"],"photo_ids_order":["1332566222","1332566227","1332566232","1332566238","1332566243","1332566247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d9e6fd2e39efea983d71eb908a0a6355.jpg","text":"TemporaryFile(/tmp/multipartBody8694788812879668405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135833685,"filename":"image_29012025_08_28_27_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/29/fbf53f3af8d385b603ec419f1e759592.jpg","text":"TemporaryFile(/tmp/multipartBody6339868608394781802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135833685,"filename":"image_29012025_08_28_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/29/05b1b758d929d62d6bd9a6eb6b841197.jpg","text":"TemporaryFile(/tmp/multipartBody516341760380921364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135833685,"filename":"image_29012025_08_28_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/29/4fd0a4170c3f6be66441426553b9609e.jpg","text":"TemporaryFile(/tmp/multipartBody2278753685852742909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135833685,"filename":"image_29012025_08_28_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/29/5bbd21eabe982fd506a70dd91e933d05.jpg","text":"TemporaryFile(/tmp/multipartBody8912508913704086454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135833685,"filename":"image_29012025_08_27_57_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/29/6688d5efca244498e35369205bbdbd8a.jpg","text":"TemporaryFile(/tmp/multipartBody5018052343287242954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135833685,"filename":"image_29012025_08_28_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332566232","file1":"1332566227","file0":"1332566222","file4":"1332566243","file5":"1332566247","file3":"1332566238"},"map_files_photo_id_array":[{"photo_id":"1332566247","filename":"file5"},{"photo_id":"1332566232","filename":"file2"},{"photo_id":"1332566243","filename":"file4"},{"photo_id":"1332566227","filename":"file1"},{"photo_id":"1332566222","filename":"file0"},{"photo_id":"1332566238","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332566238":["hashtag1","hashtag2"]},{"1332566247":["hashtag1","hashtag2"]},{"1332566232":["hashtag1","hashtag2"]},{"1332566243":["hashtag1","hashtag2"]},{"1332566222":["hashtag1","hashtag2"]},{"1332566227":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332566238, 1332566247, 1332566232, 1332566243, 1332566222, 1332566227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16097974777222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:30:32.897112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/28/image_29012025_08_28_56_9350.jpg', '/home/pi/Desktop/images/29012025/08/28/image_29012025_08_29_06_10440.jpg', '/home/pi/Desktop/images/29012025/08/29/image_29012025_08_29_17_10334.jpg', '/home/pi/Desktop/images/29012025/08/29/image_29012025_08_29_26_9405.jpg', '/home/pi/Desktop/images/29012025/08/29/image_29012025_08_29_36_10358.jpg', '/home/pi/Desktop/images/29012025/08/29/image_29012025_08_29_47_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/28/image_29012025_08_28_56_9350.jpg
/home/pi/Desktop/images/29012025/08/28/image_29012025_08_29_06_10440.jpg
/home/pi/Desktop/images/29012025/08/29/image_29012025_08_29_17_10334.jpg
/home/pi/Desktop/images/29012025/08/29/image_29012025_08_29_26_9405.jpg
/home/pi/Desktop/images/29012025/08/29/image_29012025_08_29_36_10358.jpg
/home/pi/Desktop/images/29012025/08/29/image_29012025_08_29_47_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":["1332566535","1332566529","1332566525","1332566447","1332566420","1332566413"],"photo_ids_order":["1332566413","1332566420","1332566447","1332566525","1332566529","1332566535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e0b571f8ad7c57210dd8f7e9af1d9c58.jpg","text":"TemporaryFile(/tmp/multipartBody5216155450233218384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135893833,"filename":"image_29012025_08_29_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/29/a3c34761d8394f202acd87a988086207.jpg","text":"TemporaryFile(/tmp/multipartBody4885081771939531899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135893833,"filename":"image_29012025_08_29_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/29/bdf26cfe843bb0b5677dd1f9570f961b.jpg","text":"TemporaryFile(/tmp/multipartBody3430460237185970771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135893833,"filename":"image_29012025_08_29_26_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/29/bb2c345016535a7cbc7f567ab4d50762.jpg","text":"TemporaryFile(/tmp/multipartBody3177142267551612569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135893833,"filename":"image_29012025_08_29_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/29/6b1b32a1c48e14b9b06503db6410645d.jpg","text":"TemporaryFile(/tmp/multipartBody6891675928854803604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135893833,"filename":"image_29012025_08_29_06_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/29/065151291fb88a2ae7d8bd99673fca56.jpg","text":"TemporaryFile(/tmp/multipartBody7708606044815378265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135893833,"filename":"image_29012025_08_28_56_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332566447","file1":"1332566420","file0":"1332566413","file4":"1332566529","file5":"1332566535","file3":"1332566525"},"map_files_photo_id_array":[{"photo_id":"1332566535","filename":"file5"},{"photo_id":"1332566447","filename":"file2"},{"photo_id":"1332566529","filename":"file4"},{"photo_id":"1332566420","filename":"file1"},{"photo_id":"1332566413","filename":"file0"},{"photo_id":"1332566525","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332566535":["hashtag1","hashtag2"]},{"1332566529":["hashtag1","hashtag2"]},{"1332566525":["hashtag1","hashtag2"]},{"1332566447":["hashtag1","hashtag2"]},{"1332566420":["hashtag1","hashtag2"]},{"1332566413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332566535, 1332566529, 1332566525, 1332566447, 1332566420, 1332566413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.4179368019104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:31:33.059505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/29/image_29012025_08_29_56_9358.jpg', '/home/pi/Desktop/images/29012025/08/29/image_29012025_08_30_07_10358.jpg', '/home/pi/Desktop/images/29012025/08/30/image_29012025_08_30_17_10340.jpg', '/home/pi/Desktop/images/29012025/08/30/image_29012025_08_30_26_9430.jpg', '/home/pi/Desktop/images/29012025/08/30/image_29012025_08_30_37_10370.jpg', '/home/pi/Desktop/images/29012025/08/30/image_29012025_08_30_56_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/29/image_29012025_08_29_56_9358.jpg
/home/pi/Desktop/images/29012025/08/29/image_29012025_08_30_07_10358.jpg
/home/pi/Desktop/images/29012025/08/30/image_29012025_08_30_17_10340.jpg
/home/pi/Desktop/images/29012025/08/30/image_29012025_08_30_26_9430.jpg
/home/pi/Desktop/images/29012025/08/30/image_29012025_08_30_37_10370.jpg
/home/pi/Desktop/images/29012025/08/30/image_29012025_08_30_56_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":["1332566685","1332566681","1332566660","1332566663","1332566689","1332566701"],"photo_ids_order":["1332566660","1332566663","1332566681","1332566685","1332566689","1332566701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/10f671c3e9558ec2f57474f1b1f31d45.jpg","text":"TemporaryFile(/tmp/multipartBody1636298628166755423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135953990,"filename":"image_29012025_08_30_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/29/f94f3c88dde1c10c15f02c615eb2e3d5.jpg","text":"TemporaryFile(/tmp/multipartBody6724370193871483291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135953990,"filename":"image_29012025_08_30_17_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/29/8a477b19c8daff2fabc3e53e51bb8ac1.jpg","text":"TemporaryFile(/tmp/multipartBody2098160288229181519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135953990,"filename":"image_29012025_08_29_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/29/ca39247534627f6bd22c992571b7e504.jpg","text":"TemporaryFile(/tmp/multipartBody5524534801865768834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135953990,"filename":"image_29012025_08_30_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/29/efe6d062655b9337979b6da7786831f7.jpg","text":"TemporaryFile(/tmp/multipartBody8620121932707185866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135953990,"filename":"image_29012025_08_30_37_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/29/9b412c83bd63a4e819d18bb17c0c1f74.jpg","text":"TemporaryFile(/tmp/multipartBody2035026383971332789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738135953990,"filename":"image_29012025_08_30_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332566681","file1":"1332566663","file0":"1332566660","file4":"1332566689","file5":"1332566701","file3":"1332566685"},"map_files_photo_id_array":[{"photo_id":"1332566701","filename":"file5"},{"photo_id":"1332566681","filename":"file2"},{"photo_id":"1332566689","filename":"file4"},{"photo_id":"1332566663","filename":"file1"},{"photo_id":"1332566660","filename":"file0"},{"photo_id":"1332566685","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332566685":["hashtag1","hashtag2"]},{"1332566681":["hashtag1","hashtag2"]},{"1332566660":["hashtag1","hashtag2"]},{"1332566663":["hashtag1","hashtag2"]},{"1332566689":["hashtag1","hashtag2"]},{"1332566701":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332566685, 1332566681, 1332566660, 1332566663, 1332566689, 1332566701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.32342743873596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:32:32.318771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/30/image_29012025_08_31_07_10353.jpg', '/home/pi/Desktop/images/29012025/08/31/image_29012025_08_31_16_9383.jpg', '/home/pi/Desktop/images/29012025/08/31/image_29012025_08_31_27_10384.jpg', '/home/pi/Desktop/images/29012025/08/31/image_29012025_08_31_37_10349.jpg', '/home/pi/Desktop/images/29012025/08/31/image_29012025_08_31_46_9395.jpg', '/home/pi/Desktop/images/29012025/08/31/image_29012025_08_31_57_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/30/image_29012025_08_31_07_10353.jpg
/home/pi/Desktop/images/29012025/08/31/image_29012025_08_31_16_9383.jpg
/home/pi/Desktop/images/29012025/08/31/image_29012025_08_31_27_10384.jpg
/home/pi/Desktop/images/29012025/08/31/image_29012025_08_31_37_10349.jpg
/home/pi/Desktop/images/29012025/08/31/image_29012025_08_31_46_9395.jpg
/home/pi/Desktop/images/29012025/08/31/image_29012025_08_31_57_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":["1332566856","1332566849","1332566863","1332566866","1332566869","1332566860"],"photo_ids_order":["1332566849","1332566856","1332566860","1332566863","1332566866","1332566869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/918fd906a6520b8c75497077443377b2.jpg","text":"TemporaryFile(/tmp/multipartBody1757258371820910002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136013239,"filename":"image_29012025_08_31_16_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/29/9f3ae468df6b83c1bfb28d4413b229b7.jpg","text":"TemporaryFile(/tmp/multipartBody6734860093044576640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136013239,"filename":"image_29012025_08_31_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/29/ad985de61600e04bf87d40a29bf74da9.jpg","text":"TemporaryFile(/tmp/multipartBody907952346243855025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136013239,"filename":"image_29012025_08_31_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/29/c8f72d2b1d14602d23efb3533787affc.jpg","text":"TemporaryFile(/tmp/multipartBody7889517945800598062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136013239,"filename":"image_29012025_08_31_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/29/0e2700c8cd2dbb26cb690deb7e4d99a9.jpg","text":"TemporaryFile(/tmp/multipartBody9106246241775528366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136013239,"filename":"image_29012025_08_31_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/29/000177eaa0692562937d622b54dedc79.jpg","text":"TemporaryFile(/tmp/multipartBody886661577959692767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136013239,"filename":"image_29012025_08_31_27_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332566860","file1":"1332566856","file0":"1332566849","file4":"1332566866","file5":"1332566869","file3":"1332566863"},"map_files_photo_id_array":[{"photo_id":"1332566869","filename":"file5"},{"photo_id":"1332566860","filename":"file2"},{"photo_id":"1332566866","filename":"file4"},{"photo_id":"1332566856","filename":"file1"},{"photo_id":"1332566849","filename":"file0"},{"photo_id":"1332566863","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332566856":["hashtag1","hashtag2"]},{"1332566849":["hashtag1","hashtag2"]},{"1332566863":["hashtag1","hashtag2"]},{"1332566866":["hashtag1","hashtag2"]},{"1332566869":["hashtag1","hashtag2"]},{"1332566860":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332566856, 1332566849, 1332566863, 1332566866, 1332566869, 1332566860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81781554222107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:33:32.548466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/31/image_29012025_08_32_06_9460.jpg', '/home/pi/Desktop/images/29012025/08/32/image_29012025_08_32_16_10325.jpg', '/home/pi/Desktop/images/29012025/08/32/image_29012025_08_32_27_10355.jpg', '/home/pi/Desktop/images/29012025/08/32/image_29012025_08_32_36_9376.jpg', '/home/pi/Desktop/images/29012025/08/32/image_29012025_08_32_47_10362.jpg', '/home/pi/Desktop/images/29012025/08/32/image_29012025_08_32_56_9457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/31/image_29012025_08_32_06_9460.jpg
/home/pi/Desktop/images/29012025/08/32/image_29012025_08_32_16_10325.jpg
/home/pi/Desktop/images/29012025/08/32/image_29012025_08_32_27_10355.jpg
/home/pi/Desktop/images/29012025/08/32/image_29012025_08_32_36_9376.jpg
/home/pi/Desktop/images/29012025/08/32/image_29012025_08_32_47_10362.jpg
/home/pi/Desktop/images/29012025/08/32/image_29012025_08_32_56_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332566916","1332566921","1332566903","1332566899","1332566926","1332566911"],"photo_ids_order":["1332566899","1332566903","1332566911","1332566916","1332566921","1332566926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/571ede5133bcb559ac606034ac12f90a.jpg","text":"TemporaryFile(/tmp/multipartBody5636958360419921546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136073486,"filename":"image_29012025_08_32_36_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/29/9824ae62076e291615eaf1357b06c7d2.jpg","text":"TemporaryFile(/tmp/multipartBody129116661200023551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136073486,"filename":"image_29012025_08_32_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/29/90b47d0ba93e23e8f2bd1bdfa80612fe.jpg","text":"TemporaryFile(/tmp/multipartBody9179073916656538460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136073486,"filename":"image_29012025_08_32_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/29/140edd579c6388f3027580e5abe0cc97.jpg","text":"TemporaryFile(/tmp/multipartBody6796993744487630372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136073486,"filename":"image_29012025_08_32_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/29/9088c0a5b8d788e8f70f623ee28374e2.jpg","text":"TemporaryFile(/tmp/multipartBody158392233504855956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136073486,"filename":"image_29012025_08_32_56_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/29/cb99a5140914455491d60e9b1714adbe.jpg","text":"TemporaryFile(/tmp/multipartBody7273947603653667882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136073486,"filename":"image_29012025_08_32_27_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332566911","file1":"1332566903","file0":"1332566899","file4":"1332566921","file5":"1332566926","file3":"1332566916"},"map_files_photo_id_array":[{"photo_id":"1332566926","filename":"file5"},{"photo_id":"1332566911","filename":"file2"},{"photo_id":"1332566921","filename":"file4"},{"photo_id":"1332566903","filename":"file1"},{"photo_id":"1332566899","filename":"file0"},{"photo_id":"1332566916","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332566916":["hashtag1","hashtag2"]},{"1332566921":["hashtag1","hashtag2"]},{"1332566903":["hashtag1","hashtag2"]},{"1332566899":["hashtag1","hashtag2"]},{"1332566926":["hashtag1","hashtag2"]},{"1332566911":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332566916, 1332566921, 1332566903, 1332566899, 1332566926, 1332566911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.778547286987305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:34:32.810782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/32/image_29012025_08_33_06_10328.jpg', '/home/pi/Desktop/images/29012025/08/33/image_29012025_08_33_17_10340.jpg', '/home/pi/Desktop/images/29012025/08/33/image_29012025_08_33_26_9473.jpg', '/home/pi/Desktop/images/29012025/08/33/image_29012025_08_33_36_10361.jpg', '/home/pi/Desktop/images/29012025/08/33/image_29012025_08_33_47_10347.jpg', '/home/pi/Desktop/images/29012025/08/33/image_29012025_08_33_56_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/32/image_29012025_08_33_06_10328.jpg
/home/pi/Desktop/images/29012025/08/33/image_29012025_08_33_17_10340.jpg
/home/pi/Desktop/images/29012025/08/33/image_29012025_08_33_26_9473.jpg
/home/pi/Desktop/images/29012025/08/33/image_29012025_08_33_36_10361.jpg
/home/pi/Desktop/images/29012025/08/33/image_29012025_08_33_47_10347.jpg
/home/pi/Desktop/images/29012025/08/33/image_29012025_08_33_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":["1332567321","1332567440","1332567561","1332567678","1332567141","1332567021"],"photo_ids_order":["1332567021","1332567141","1332567321","1332567440","1332567561","1332567678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2ed7086a57cba004c2c2f8b924ec2ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7947974040455034945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136133739,"filename":"image_29012025_08_33_26_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/29/e1ced4802c3db775d692c0be7f5ced41.jpg","text":"TemporaryFile(/tmp/multipartBody1149746059507855649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136133739,"filename":"image_29012025_08_33_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/29/de387da544473720db67a6feddd632ba.jpg","text":"TemporaryFile(/tmp/multipartBody1087121368339030524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136133739,"filename":"image_29012025_08_33_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/29/4bdcfa2c2a775d1cf00b00965be05357.jpg","text":"TemporaryFile(/tmp/multipartBody3633338431754197914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136133739,"filename":"image_29012025_08_33_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/29/94b04b389b4e24edbd64a2d035f513a8.jpg","text":"TemporaryFile(/tmp/multipartBody2362932930025627471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136133739,"filename":"image_29012025_08_33_17_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/29/b002c278e1efc180ec7d72e90ca18e8d.jpg","text":"TemporaryFile(/tmp/multipartBody6458988518467761259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136133739,"filename":"image_29012025_08_33_06_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332567321","file1":"1332567141","file0":"1332567021","file4":"1332567561","file5":"1332567678","file3":"1332567440"},"map_files_photo_id_array":[{"photo_id":"1332567678","filename":"file5"},{"photo_id":"1332567321","filename":"file2"},{"photo_id":"1332567561","filename":"file4"},{"photo_id":"1332567141","filename":"file1"},{"photo_id":"1332567021","filename":"file0"},{"photo_id":"1332567440","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332567321":["hashtag1","hashtag2"]},{"1332567440":["hashtag1","hashtag2"]},{"1332567561":["hashtag1","hashtag2"]},{"1332567678":["hashtag1","hashtag2"]},{"1332567141":["hashtag1","hashtag2"]},{"1332567021":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332567321, 1332567440, 1332567561, 1332567678, 1332567141, 1332567021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32316327095032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:35:33.022495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/33/image_29012025_08_34_07_10394.jpg', '/home/pi/Desktop/images/29012025/08/34/image_29012025_08_34_16_9404.jpg', '/home/pi/Desktop/images/29012025/08/34/image_29012025_08_34_26_10403.jpg', '/home/pi/Desktop/images/29012025/08/34/image_29012025_08_34_37_10364.jpg', '/home/pi/Desktop/images/29012025/08/34/image_29012025_08_34_46_9479.jpg', '/home/pi/Desktop/images/29012025/08/34/image_29012025_08_34_57_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/33/image_29012025_08_34_07_10394.jpg
/home/pi/Desktop/images/29012025/08/34/image_29012025_08_34_16_9404.jpg
/home/pi/Desktop/images/29012025/08/34/image_29012025_08_34_26_10403.jpg
/home/pi/Desktop/images/29012025/08/34/image_29012025_08_34_37_10364.jpg
/home/pi/Desktop/images/29012025/08/34/image_29012025_08_34_46_9479.jpg
/home/pi/Desktop/images/29012025/08/34/image_29012025_08_34_57_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332568079","1332568031","1332568028","1332568066","1332567873","1332567915"],"photo_ids_order":["1332567873","1332567915","1332568028","1332568031","1332568066","1332568079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/236066e04695858ce898c78b0719b99f.jpg","text":"TemporaryFile(/tmp/multipartBody209908051859556585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136193931,"filename":"image_29012025_08_34_57_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/29/5772a3025bc269d3e9b66818eab3b13c.jpg","text":"TemporaryFile(/tmp/multipartBody8044330998292628725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136193931,"filename":"image_29012025_08_34_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/29/c04ff57813808f19e0ee5c35a3cd9895.jpg","text":"TemporaryFile(/tmp/multipartBody2943139920196578997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136193931,"filename":"image_29012025_08_34_26_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/29/681f32349c3c157ddd8615cd8bf0b308.jpg","text":"TemporaryFile(/tmp/multipartBody8184448370262897216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136193931,"filename":"image_29012025_08_34_46_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/29/440651605dc27676d665a7293a228499.jpg","text":"TemporaryFile(/tmp/multipartBody3324713780671509563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136193931,"filename":"image_29012025_08_34_07_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/29/51b29372c126a2a800874501aba4df1a.jpg","text":"TemporaryFile(/tmp/multipartBody4768927622049075919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136193931,"filename":"image_29012025_08_34_16_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332568028","file1":"1332567915","file0":"1332567873","file4":"1332568066","file5":"1332568079","file3":"1332568031"},"map_files_photo_id_array":[{"photo_id":"1332568079","filename":"file5"},{"photo_id":"1332568028","filename":"file2"},{"photo_id":"1332568066","filename":"file4"},{"photo_id":"1332567915","filename":"file1"},{"photo_id":"1332567873","filename":"file0"},{"photo_id":"1332568031","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332568079":["hashtag1","hashtag2"]},{"1332568031":["hashtag1","hashtag2"]},{"1332568028":["hashtag1","hashtag2"]},{"1332568066":["hashtag1","hashtag2"]},{"1332567873":["hashtag1","hashtag2"]},{"1332567915":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332568079, 1332568031, 1332568028, 1332568066, 1332567873, 1332567915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.664572954177856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:36:32.187019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/34/image_29012025_08_35_06_9329.jpg', '/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_16_10449.jpg', '/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_27_10370.jpg', '/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_36_9385.jpg', '/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_47_10395.jpg', '/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_57_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/34/image_29012025_08_35_06_9329.jpg
/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_16_10449.jpg
/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_27_10370.jpg
/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_36_9385.jpg
/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_47_10395.jpg
/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_57_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.5140645503997803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 08:36:42.229993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/34/image_29012025_08_35_06_9329.jpg', '/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_16_10449.jpg', '/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_27_10370.jpg', '/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_36_9385.jpg', '/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_47_10395.jpg', '/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_57_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/34/image_29012025_08_35_06_9329.jpg
/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_16_10449.jpg
/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_27_10370.jpg
/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_36_9385.jpg
/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_47_10395.jpg
/home/pi/Desktop/images/29012025/08/35/image_29012025_08_35_57_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":["1332568178","1332568163","1332568171","1332568168","1332568156","1332568173"],"photo_ids_order":["1332568156","1332568163","1332568168","1332568171","1332568173","1332568178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/319ccfdd41067127b1cb497d49a77080.jpg","text":"TemporaryFile(/tmp/multipartBody1989878697161922074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136263156,"filename":"image_29012025_08_35_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/29/becfdf2c80b8e4df55eaba114b6bcc4a.jpg","text":"TemporaryFile(/tmp/multipartBody1683320670340087179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136263156,"filename":"image_29012025_08_35_16_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/29/a732ab7a88c0e59eab6c057ad5065032.jpg","text":"TemporaryFile(/tmp/multipartBody5114138797914708972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136263156,"filename":"image_29012025_08_35_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/29/698498b482273b1b1c6fab2a32d4875e.jpg","text":"TemporaryFile(/tmp/multipartBody2508715441727028406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136263156,"filename":"image_29012025_08_35_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/29/d981f62d85b01801a22ed79fdadaea0c.jpg","text":"TemporaryFile(/tmp/multipartBody7593047787026297907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136263156,"filename":"image_29012025_08_35_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/29/9472bb967ff0545948b20ea4a0183454.jpg","text":"TemporaryFile(/tmp/multipartBody8622278529030992245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136263156,"filename":"image_29012025_08_35_47_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332568168","file1":"1332568163","file0":"1332568156","file4":"1332568173","file5":"1332568178","file3":"1332568171"},"map_files_photo_id_array":[{"photo_id":"1332568178","filename":"file5"},{"photo_id":"1332568168","filename":"file2"},{"photo_id":"1332568173","filename":"file4"},{"photo_id":"1332568163","filename":"file1"},{"photo_id":"1332568156","filename":"file0"},{"photo_id":"1332568171","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332568178":["hashtag1","hashtag2"]},{"1332568163":["hashtag1","hashtag2"]},{"1332568171":["hashtag1","hashtag2"]},{"1332568168":["hashtag1","hashtag2"]},{"1332568156":["hashtag1","hashtag2"]},{"1332568173":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332568178, 1332568163, 1332568171, 1332568168, 1332568156, 1332568173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35564184188843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:37:32.492568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/35/image_29012025_08_36_06_9406.jpg', '/home/pi/Desktop/images/29012025/08/36/image_29012025_08_36_17_10349.jpg', '/home/pi/Desktop/images/29012025/08/36/image_29012025_08_36_26_9350.jpg', '/home/pi/Desktop/images/29012025/08/36/image_29012025_08_36_36_10351.jpg', '/home/pi/Desktop/images/29012025/08/36/image_29012025_08_36_47_10354.jpg', '/home/pi/Desktop/images/29012025/08/36/image_29012025_08_36_56_9446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/35/image_29012025_08_36_06_9406.jpg
/home/pi/Desktop/images/29012025/08/36/image_29012025_08_36_17_10349.jpg
/home/pi/Desktop/images/29012025/08/36/image_29012025_08_36_26_9350.jpg
/home/pi/Desktop/images/29012025/08/36/image_29012025_08_36_36_10351.jpg
/home/pi/Desktop/images/29012025/08/36/image_29012025_08_36_47_10354.jpg
/home/pi/Desktop/images/29012025/08/36/image_29012025_08_36_56_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":["1332568334","1332568307","1332568197","1332568254","1332568236","1332568265"],"photo_ids_order":["1332568197","1332568236","1332568254","1332568265","1332568307","1332568334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aa1d4fb6294458028d448d644d6a18cd.jpg","text":"TemporaryFile(/tmp/multipartBody709497914669880513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136313407,"filename":"image_29012025_08_36_56_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/29/33065ca5b2eb4304c54a3eb9b95b1280.jpg","text":"TemporaryFile(/tmp/multipartBody853430389728046326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136313407,"filename":"image_29012025_08_36_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/29/3894012abbd64fe422d1fd6a586082c6.jpg","text":"TemporaryFile(/tmp/multipartBody367094817614103641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136313407,"filename":"image_29012025_08_36_06_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/29/ace1e2b7435737f412be07249c1b63e3.jpg","text":"TemporaryFile(/tmp/multipartBody7952108758201765368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136313407,"filename":"image_29012025_08_36_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/29/e90c3b3a5770f536130459a462f7fc3e.jpg","text":"TemporaryFile(/tmp/multipartBody9188443113929446761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136313407,"filename":"image_29012025_08_36_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/29/13bb67dd181b284a8f59048936b1347a.jpg","text":"TemporaryFile(/tmp/multipartBody9116848534434714189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136313407,"filename":"image_29012025_08_36_36_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332568254","file1":"1332568236","file0":"1332568197","file4":"1332568307","file5":"1332568334","file3":"1332568265"},"map_files_photo_id_array":[{"photo_id":"1332568334","filename":"file5"},{"photo_id":"1332568254","filename":"file2"},{"photo_id":"1332568307","filename":"file4"},{"photo_id":"1332568236","filename":"file1"},{"photo_id":"1332568197","filename":"file0"},{"photo_id":"1332568265","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332568334":["hashtag1","hashtag2"]},{"1332568307":["hashtag1","hashtag2"]},{"1332568197":["hashtag1","hashtag2"]},{"1332568254":["hashtag1","hashtag2"]},{"1332568236":["hashtag1","hashtag2"]},{"1332568265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332568334, 1332568307, 1332568197, 1332568254, 1332568236, 1332568265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8581063747406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:38:32.582660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/36/image_29012025_08_37_06_10343.jpg', '/home/pi/Desktop/images/29012025/08/37/image_29012025_08_37_17_10359.jpg', '/home/pi/Desktop/images/29012025/08/37/image_29012025_08_37_26_9344.jpg', '/home/pi/Desktop/images/29012025/08/37/image_29012025_08_37_37_10422.jpg', '/home/pi/Desktop/images/29012025/08/37/image_29012025_08_37_46_9356.jpg', '/home/pi/Desktop/images/29012025/08/37/image_29012025_08_37_56_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/36/image_29012025_08_37_06_10343.jpg
/home/pi/Desktop/images/29012025/08/37/image_29012025_08_37_17_10359.jpg
/home/pi/Desktop/images/29012025/08/37/image_29012025_08_37_26_9344.jpg
/home/pi/Desktop/images/29012025/08/37/image_29012025_08_37_37_10422.jpg
/home/pi/Desktop/images/29012025/08/37/image_29012025_08_37_46_9356.jpg
/home/pi/Desktop/images/29012025/08/37/image_29012025_08_37_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":["1332568585","1332568966","1332568465","1332568714","1332568839","1332569147"],"photo_ids_order":["1332568465","1332568585","1332568714","1332568839","1332568966","1332569147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f861848e474c726abeceae6d1847ff28.jpg","text":"TemporaryFile(/tmp/multipartBody7537788113926310707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136373644,"filename":"image_29012025_08_37_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/29/2b003236d47a32912787049b6c53463d.jpg","text":"TemporaryFile(/tmp/multipartBody4206303174186569087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136373644,"filename":"image_29012025_08_37_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/29/bab7b522b4cad942ac082521413892db.jpg","text":"TemporaryFile(/tmp/multipartBody367809693370007921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136373644,"filename":"image_29012025_08_37_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/29/90cd8221de270e646b49fa9e065440db.jpg","text":"TemporaryFile(/tmp/multipartBody7888332556472763463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136373644,"filename":"image_29012025_08_37_26_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/29/fb0bab7865bbf4c7fdff448c4a705215.jpg","text":"TemporaryFile(/tmp/multipartBody5833137094386386197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136373644,"filename":"image_29012025_08_37_37_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/29/0ae59d9a224741927b7bf6bfe5e7a78c.jpg","text":"TemporaryFile(/tmp/multipartBody6089615080840306236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136373644,"filename":"image_29012025_08_37_56_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332568714","file1":"1332568585","file0":"1332568465","file4":"1332568966","file5":"1332569147","file3":"1332568839"},"map_files_photo_id_array":[{"photo_id":"1332569147","filename":"file5"},{"photo_id":"1332568714","filename":"file2"},{"photo_id":"1332568966","filename":"file4"},{"photo_id":"1332568585","filename":"file1"},{"photo_id":"1332568465","filename":"file0"},{"photo_id":"1332568839","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332568585":["hashtag1","hashtag2"]},{"1332568966":["hashtag1","hashtag2"]},{"1332568465":["hashtag1","hashtag2"]},{"1332568714":["hashtag1","hashtag2"]},{"1332568839":["hashtag1","hashtag2"]},{"1332569147":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332568585, 1332568966, 1332568465, 1332568714, 1332568839, 1332569147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.12567949295044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:39:32.994524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/37/image_29012025_08_38_07_10335.jpg', '/home/pi/Desktop/images/29012025/08/38/image_29012025_08_38_16_9410.jpg', '/home/pi/Desktop/images/29012025/08/38/image_29012025_08_38_26_10356.jpg', '/home/pi/Desktop/images/29012025/08/38/image_29012025_08_38_37_10360.jpg', '/home/pi/Desktop/images/29012025/08/38/image_29012025_08_38_46_9426.jpg', '/home/pi/Desktop/images/29012025/08/38/image_29012025_08_38_57_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/37/image_29012025_08_38_07_10335.jpg
/home/pi/Desktop/images/29012025/08/38/image_29012025_08_38_16_9410.jpg
/home/pi/Desktop/images/29012025/08/38/image_29012025_08_38_26_10356.jpg
/home/pi/Desktop/images/29012025/08/38/image_29012025_08_38_37_10360.jpg
/home/pi/Desktop/images/29012025/08/38/image_29012025_08_38_46_9426.jpg
/home/pi/Desktop/images/29012025/08/38/image_29012025_08_38_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":["1332569392","1332569170","1332569350","1332569344","1332569397","1332569259"],"photo_ids_order":["1332569170","1332569259","1332569344","1332569350","1332569392","1332569397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f47c74d0e4b050f89299d7163cc72cf9.jpg","text":"TemporaryFile(/tmp/multipartBody148387999358719440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136433927,"filename":"image_29012025_08_38_46_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/29/6528332a3fb186ace21220cfc4c52e1e.jpg","text":"TemporaryFile(/tmp/multipartBody4329355769600242754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136433927,"filename":"image_29012025_08_38_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/29/ed56cda0abe2bbb97d8a661cee2c8682.jpg","text":"TemporaryFile(/tmp/multipartBody6403185797808479917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136433927,"filename":"image_29012025_08_38_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/29/b128ab43ff3add027a56300ecc910231.jpg","text":"TemporaryFile(/tmp/multipartBody4959802103460030558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136433927,"filename":"image_29012025_08_38_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/29/43795116e21dd302f901201042ab5b20.jpg","text":"TemporaryFile(/tmp/multipartBody3814367788095934773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136433927,"filename":"image_29012025_08_38_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/29/4d664382a72aa6873ab94511293b54b5.jpg","text":"TemporaryFile(/tmp/multipartBody7240259543990362055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136433927,"filename":"image_29012025_08_38_16_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332569344","file1":"1332569259","file0":"1332569170","file4":"1332569392","file5":"1332569397","file3":"1332569350"},"map_files_photo_id_array":[{"photo_id":"1332569397","filename":"file5"},{"photo_id":"1332569344","filename":"file2"},{"photo_id":"1332569392","filename":"file4"},{"photo_id":"1332569259","filename":"file1"},{"photo_id":"1332569170","filename":"file0"},{"photo_id":"1332569350","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332569392":["hashtag1","hashtag2"]},{"1332569170":["hashtag1","hashtag2"]},{"1332569350":["hashtag1","hashtag2"]},{"1332569344":["hashtag1","hashtag2"]},{"1332569397":["hashtag1","hashtag2"]},{"1332569259":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332569392, 1332569170, 1332569350, 1332569344, 1332569397, 1332569259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.048370122909546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:40:32.247550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/38/image_29012025_08_39_06_9355.jpg', '/home/pi/Desktop/images/29012025/08/39/image_29012025_08_39_16_10419.jpg', '/home/pi/Desktop/images/29012025/08/39/image_29012025_08_39_27_10367.jpg', '/home/pi/Desktop/images/29012025/08/39/image_29012025_08_39_36_9468.jpg', '/home/pi/Desktop/images/29012025/08/39/image_29012025_08_39_47_10353.jpg', '/home/pi/Desktop/images/29012025/08/39/image_29012025_08_39_56_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/38/image_29012025_08_39_06_9355.jpg
/home/pi/Desktop/images/29012025/08/39/image_29012025_08_39_16_10419.jpg
/home/pi/Desktop/images/29012025/08/39/image_29012025_08_39_27_10367.jpg
/home/pi/Desktop/images/29012025/08/39/image_29012025_08_39_36_9468.jpg
/home/pi/Desktop/images/29012025/08/39/image_29012025_08_39_47_10353.jpg
/home/pi/Desktop/images/29012025/08/39/image_29012025_08_39_56_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":["1332569506","1332569484","1332569514","1332569492","1332569511","1332569498"],"photo_ids_order":["1332569484","1332569492","1332569498","1332569506","1332569511","1332569514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5088dd18f254c14d97c7e69bac984361.jpg","text":"TemporaryFile(/tmp/multipartBody2935238446851027241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136493173,"filename":"image_29012025_08_39_36_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/29/fdd1b3f002da5bd9f87221585e816556.jpg","text":"TemporaryFile(/tmp/multipartBody6775863615332142643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136493173,"filename":"image_29012025_08_39_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/29/c769dedcb34af12f03f59abecc62cf82.jpg","text":"TemporaryFile(/tmp/multipartBody393345416336232295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136493173,"filename":"image_29012025_08_39_56_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/29/076208b3b4197d5897d2999f127c628c.jpg","text":"TemporaryFile(/tmp/multipartBody4640246949584413390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136493173,"filename":"image_29012025_08_39_16_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/29/706f97ecf43934cd4880759061cf4bf7.jpg","text":"TemporaryFile(/tmp/multipartBody3534255996276766665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136493173,"filename":"image_29012025_08_39_47_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/29/bb4dd7575b7285f570db184eb680ac7a.jpg","text":"TemporaryFile(/tmp/multipartBody4435959776941055990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136493173,"filename":"image_29012025_08_39_27_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332569498","file1":"1332569492","file0":"1332569484","file4":"1332569511","file5":"1332569514","file3":"1332569506"},"map_files_photo_id_array":[{"photo_id":"1332569514","filename":"file5"},{"photo_id":"1332569498","filename":"file2"},{"photo_id":"1332569511","filename":"file4"},{"photo_id":"1332569492","filename":"file1"},{"photo_id":"1332569484","filename":"file0"},{"photo_id":"1332569506","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332569506":["hashtag1","hashtag2"]},{"1332569484":["hashtag1","hashtag2"]},{"1332569514":["hashtag1","hashtag2"]},{"1332569492":["hashtag1","hashtag2"]},{"1332569511":["hashtag1","hashtag2"]},{"1332569498":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332569506, 1332569484, 1332569514, 1332569492, 1332569511, 1332569498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.944936990737915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:41:32.562144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/39/image_29012025_08_40_06_10424.jpg', '/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_17_10322.jpg', '/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_26_9484.jpg', '/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_36_10080.jpg', '/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_47_10351.jpg', '/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_56_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/39/image_29012025_08_40_06_10424.jpg
/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_17_10322.jpg
/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_26_9484.jpg
/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_36_10080.jpg
/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_47_10351.jpg
/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_56_9341.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.5601911544799805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 08:41:42.543455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/39/image_29012025_08_40_06_10424.jpg', '/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_17_10322.jpg', '/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_26_9484.jpg', '/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_36_10080.jpg', '/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_47_10351.jpg', '/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_56_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/39/image_29012025_08_40_06_10424.jpg
/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_17_10322.jpg
/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_26_9484.jpg
/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_36_10080.jpg
/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_47_10351.jpg
/home/pi/Desktop/images/29012025/08/40/image_29012025_08_40_56_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":["1332569599","1332569749","1332569763","1332569757","1332569766","1332569771"],"photo_ids_order":["1332569599","1332569749","1332569757","1332569763","1332569766","1332569771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/95dcc4ed2e3d97bc0eaf68e76eca3bd0.jpg","text":"TemporaryFile(/tmp/multipartBody1294826090771602240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136563454,"filename":"image_29012025_08_40_06_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/29/61da6a471745d3b605ac99bb1aa1955d.jpg","text":"TemporaryFile(/tmp/multipartBody1579070580957649138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136563454,"filename":"image_29012025_08_40_17_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/29/f10ec7a97ea1b6ccfdf43947e76ccda3.jpg","text":"TemporaryFile(/tmp/multipartBody7991732725571384391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136563454,"filename":"image_29012025_08_40_36_10080.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/46a2f07fce35f265dab847096cd8bcee.jpg","text":"TemporaryFile(/tmp/multipartBody3402985315073127047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136563454,"filename":"image_29012025_08_40_26_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/29/44252e84f9279af72b967e76fa29d4c5.jpg","text":"TemporaryFile(/tmp/multipartBody1986377403465100005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136563454,"filename":"image_29012025_08_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/29/e612cbce9692449a199cd8b979ff616b.jpg","text":"TemporaryFile(/tmp/multipartBody6899982963236340618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136563454,"filename":"image_29012025_08_40_56_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332569757","file1":"1332569749","file0":"1332569599","file4":"1332569766","file5":"1332569771","file3":"1332569763"},"map_files_photo_id_array":[{"photo_id":"1332569771","filename":"file5"},{"photo_id":"1332569757","filename":"file2"},{"photo_id":"1332569766","filename":"file4"},{"photo_id":"1332569749","filename":"file1"},{"photo_id":"1332569599","filename":"file0"},{"photo_id":"1332569763","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332569599":["hashtag1","hashtag2"]},{"1332569749":["hashtag1","hashtag2"]},{"1332569763":["hashtag1","hashtag2"]},{"1332569757":["hashtag1","hashtag2"]},{"1332569766":["hashtag1","hashtag2"]},{"1332569771":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332569599, 1332569749, 1332569763, 1332569757, 1332569766, 1332569771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32016444206238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:42:32.696805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/40/image_29012025_08_41_06_10368.jpg', '/home/pi/Desktop/images/29012025/08/41/image_29012025_08_41_17_10347.jpg', '/home/pi/Desktop/images/29012025/08/41/image_29012025_08_41_26_9436.jpg', '/home/pi/Desktop/images/29012025/08/41/image_29012025_08_41_36_10356.jpg', '/home/pi/Desktop/images/29012025/08/41/image_29012025_08_41_47_10377.jpg', '/home/pi/Desktop/images/29012025/08/41/image_29012025_08_41_56_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/40/image_29012025_08_41_06_10368.jpg
/home/pi/Desktop/images/29012025/08/41/image_29012025_08_41_17_10347.jpg
/home/pi/Desktop/images/29012025/08/41/image_29012025_08_41_26_9436.jpg
/home/pi/Desktop/images/29012025/08/41/image_29012025_08_41_36_10356.jpg
/home/pi/Desktop/images/29012025/08/41/image_29012025_08_41_47_10377.jpg
/home/pi/Desktop/images/29012025/08/41/image_29012025_08_41_56_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":["1332569810","1332569803","1332569859","1332569817","1332569820","1332569814"],"photo_ids_order":["1332569803","1332569810","1332569814","1332569817","1332569820","1332569859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/931d1153b106eb7aa1116c0473c3a47e.jpg","text":"TemporaryFile(/tmp/multipartBody8450272635527600515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136613609,"filename":"image_29012025_08_41_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/29/288c03792b1b422aa01659b2fa7b8a18.jpg","text":"TemporaryFile(/tmp/multipartBody755498051030271273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136613609,"filename":"image_29012025_08_41_06_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/29/b93a382bc1cd63f547da4d2ddb452f0e.jpg","text":"TemporaryFile(/tmp/multipartBody770870076034587589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136613609,"filename":"image_29012025_08_41_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/29/fc3fd9dd3847dcafe48ed7589d135846.jpg","text":"TemporaryFile(/tmp/multipartBody7568609401365092050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136613609,"filename":"image_29012025_08_41_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/29/d383585ccf25ac5b564fdedacadde6e5.jpg","text":"TemporaryFile(/tmp/multipartBody3599086337585172923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136613609,"filename":"image_29012025_08_41_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/29/e3b0f4784e802afc226c9ca44998b46d.jpg","text":"TemporaryFile(/tmp/multipartBody215130031808105351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136613609,"filename":"image_29012025_08_41_26_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332569814","file1":"1332569810","file0":"1332569803","file4":"1332569820","file5":"1332569859","file3":"1332569817"},"map_files_photo_id_array":[{"photo_id":"1332569859","filename":"file5"},{"photo_id":"1332569814","filename":"file2"},{"photo_id":"1332569820","filename":"file4"},{"photo_id":"1332569810","filename":"file1"},{"photo_id":"1332569803","filename":"file0"},{"photo_id":"1332569817","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332569810":["hashtag1","hashtag2"]},{"1332569803":["hashtag1","hashtag2"]},{"1332569859":["hashtag1","hashtag2"]},{"1332569817":["hashtag1","hashtag2"]},{"1332569820":["hashtag1","hashtag2"]},{"1332569814":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332569810, 1332569803, 1332569859, 1332569817, 1332569820, 1332569814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.220584869384766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:43:33.011265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/41/image_29012025_08_42_07_10350.jpg', '/home/pi/Desktop/images/29012025/08/42/image_29012025_08_42_26_9412.jpg', '/home/pi/Desktop/images/29012025/08/42/image_29012025_08_42_37_10354.jpg', '/home/pi/Desktop/images/29012025/08/42/image_29012025_08_42_46_9398.jpg', '/home/pi/Desktop/images/29012025/08/42/image_29012025_08_43_07_10425.jpg', '/home/pi/Desktop/images/29012025/08/43/image_29012025_08_43_16_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/41/image_29012025_08_42_07_10350.jpg
/home/pi/Desktop/images/29012025/08/42/image_29012025_08_42_26_9412.jpg
/home/pi/Desktop/images/29012025/08/42/image_29012025_08_42_37_10354.jpg
/home/pi/Desktop/images/29012025/08/42/image_29012025_08_42_46_9398.jpg
/home/pi/Desktop/images/29012025/08/42/image_29012025_08_43_07_10425.jpg
/home/pi/Desktop/images/29012025/08/43/image_29012025_08_43_16_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":["1332570545","1332570518","1332570673","1332570538","1332570693","1332570501"],"photo_ids_order":["1332570501","1332570518","1332570538","1332570545","1332570673","1332570693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/070e27591152caaca5e260fe7c52c652.jpg","text":"TemporaryFile(/tmp/multipartBody2518307766434065013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136673918,"filename":"image_29012025_08_42_46_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/29/81c11b34c3d781166d8df7d203fc3465.jpg","text":"TemporaryFile(/tmp/multipartBody4754102304907571646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136673918,"filename":"image_29012025_08_42_26_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/29/22da6f1756c11ea81f1f917bc46c9d32.jpg","text":"TemporaryFile(/tmp/multipartBody4994660517951702016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136673918,"filename":"image_29012025_08_43_07_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/29/11c2ccbde7ac7a77d20d9d40a0391ede.jpg","text":"TemporaryFile(/tmp/multipartBody952962573732915668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136673918,"filename":"image_29012025_08_42_37_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/29/5477835623b49d95b65a4f688a4da11c.jpg","text":"TemporaryFile(/tmp/multipartBody8739439726039089848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136673918,"filename":"image_29012025_08_43_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/29/6ff18cdcc6e357dd3ea975f107bb62d2.jpg","text":"TemporaryFile(/tmp/multipartBody6523307155070525790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136673918,"filename":"image_29012025_08_42_07_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332570538","file1":"1332570518","file0":"1332570501","file4":"1332570673","file5":"1332570693","file3":"1332570545"},"map_files_photo_id_array":[{"photo_id":"1332570693","filename":"file5"},{"photo_id":"1332570538","filename":"file2"},{"photo_id":"1332570673","filename":"file4"},{"photo_id":"1332570518","filename":"file1"},{"photo_id":"1332570501","filename":"file0"},{"photo_id":"1332570545","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332570545":["hashtag1","hashtag2"]},{"1332570518":["hashtag1","hashtag2"]},{"1332570673":["hashtag1","hashtag2"]},{"1332570538":["hashtag1","hashtag2"]},{"1332570693":["hashtag1","hashtag2"]},{"1332570501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332570545, 1332570518, 1332570673, 1332570538, 1332570693, 1332570501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94501519203186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:44:33.103904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/43/image_29012025_08_43_27_10374.jpg', '/home/pi/Desktop/images/29012025/08/43/image_29012025_08_43_37_10351.jpg', '/home/pi/Desktop/images/29012025/08/43/image_29012025_08_43_46_9436.jpg', '/home/pi/Desktop/images/29012025/08/43/image_29012025_08_43_57_10363.jpg', '/home/pi/Desktop/images/29012025/08/43/image_29012025_08_44_06_9417.jpg', '/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_16_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/43/image_29012025_08_43_27_10374.jpg
/home/pi/Desktop/images/29012025/08/43/image_29012025_08_43_37_10351.jpg
/home/pi/Desktop/images/29012025/08/43/image_29012025_08_43_46_9436.jpg
/home/pi/Desktop/images/29012025/08/43/image_29012025_08_43_57_10363.jpg
/home/pi/Desktop/images/29012025/08/43/image_29012025_08_44_06_9417.jpg
/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_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":["1332570803","1332570806","1332570792","1332570786","1332570810","1332570797"],"photo_ids_order":["1332570786","1332570792","1332570797","1332570803","1332570806","1332570810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/72a721261019d89668c8af8f4429adc0.jpg","text":"TemporaryFile(/tmp/multipartBody327262682356471891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136734015,"filename":"image_29012025_08_43_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/29/185541e7784e2f3188dcdf533b2192b6.jpg","text":"TemporaryFile(/tmp/multipartBody8843039052498550708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136734015,"filename":"image_29012025_08_44_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/29/82699a21635d60b887dd8e76fccbc2ab.jpg","text":"TemporaryFile(/tmp/multipartBody307613133146817863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136734015,"filename":"image_29012025_08_43_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/29/e5eb45fdf8018e3c7f3a37d4c9cf4ced.jpg","text":"TemporaryFile(/tmp/multipartBody7624205283744679910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136734015,"filename":"image_29012025_08_43_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/29/9fec9ebd6817d3a1b425731e4a6fe2bf.jpg","text":"TemporaryFile(/tmp/multipartBody7217697008370592897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136734015,"filename":"image_29012025_08_44_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/29/ae02cd105fdc77a3ba1c9f50906d55a2.jpg","text":"TemporaryFile(/tmp/multipartBody5214308735318402035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136734015,"filename":"image_29012025_08_43_46_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332570797","file1":"1332570792","file0":"1332570786","file4":"1332570806","file5":"1332570810","file3":"1332570803"},"map_files_photo_id_array":[{"photo_id":"1332570810","filename":"file5"},{"photo_id":"1332570797","filename":"file2"},{"photo_id":"1332570806","filename":"file4"},{"photo_id":"1332570792","filename":"file1"},{"photo_id":"1332570786","filename":"file0"},{"photo_id":"1332570803","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332570803":["hashtag1","hashtag2"]},{"1332570806":["hashtag1","hashtag2"]},{"1332570792":["hashtag1","hashtag2"]},{"1332570786":["hashtag1","hashtag2"]},{"1332570810":["hashtag1","hashtag2"]},{"1332570797":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332570803, 1332570806, 1332570792, 1332570786, 1332570810, 1332570797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18522548675537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:45:32.254042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_27_10361.jpg', '/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_36_9421.jpg', '/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_47_10348.jpg', '/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_56_9337.jpg', '/home/pi/Desktop/images/29012025/08/45/image_29012025_08_45_26_9502.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_27_10361.jpg
/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_36_9421.jpg
/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_47_10348.jpg
/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_56_9337.jpg
/home/pi/Desktop/images/29012025/08/45/image_29012025_08_45_26_9502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332571004","1332570988","1332570999","1332570992","1332570983"],"photo_ids_order":["1332570983","1332570988","1332570992","1332570999","1332571004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c416a962d7441b276092c539008625a7.jpg","text":"TemporaryFile(/tmp/multipartBody2126178674024440275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136793167,"filename":"image_29012025_08_45_26_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/29/61c92b0ab6bbcbe58195c8fa80c504d3.jpg","text":"TemporaryFile(/tmp/multipartBody6566971486972790200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136793167,"filename":"image_29012025_08_44_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/29/93be612b485199d3cb02ec78ba4abc74.jpg","text":"TemporaryFile(/tmp/multipartBody2157940384329776508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136793167,"filename":"image_29012025_08_44_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/29/3780a3a24daa990c96d2dfd026d304db.jpg","text":"TemporaryFile(/tmp/multipartBody795242242145777539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136793167,"filename":"image_29012025_08_44_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/29/58250f149b09fe1391947ae74dcf9eb5.jpg","text":"TemporaryFile(/tmp/multipartBody7754916174120961293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136793167,"filename":"image_29012025_08_44_27_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332570992","file1":"1332570988","file0":"1332570983","file4":"1332571004","file3":"1332570999"},"map_files_photo_id_array":[{"photo_id":"1332570992","filename":"file2"},{"photo_id":"1332571004","filename":"file4"},{"photo_id":"1332570988","filename":"file1"},{"photo_id":"1332570983","filename":"file0"},{"photo_id":"1332570999","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332571004":["hashtag1","hashtag2"]},{"1332570988":["hashtag1","hashtag2"]},{"1332570999":["hashtag1","hashtag2"]},{"1332570992":["hashtag1","hashtag2"]},{"1332570983":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332571004, 1332570988, 1332570999, 1332570992, 1332570983)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1332570992 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_47_10348.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1332570992 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_47_10348.jpg";
uploaded 5 photos
time to upload: 65.87574815750122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 08:46:42.869737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 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 1
2025-01-29 08:46:52.472652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 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
2025-01-29 08:47:03.912046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_27_10361.jpg', '/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_36_9421.jpg', '/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_47_10348.jpg', '/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_56_9337.jpg', '/home/pi/Desktop/images/29012025/08/45/image_29012025_08_45_26_9502.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_27_10361.jpg
/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_36_9421.jpg
/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_47_10348.jpg
/home/pi/Desktop/images/29012025/08/44/image_29012025_08_44_56_9337.jpg
/home/pi/Desktop/images/29012025/08/45/image_29012025_08_45_26_9502.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332571099","1332571093","1332571141","1332571089","1332571242"],"photo_ids_order":["1332571089","1332571093","1332571099","1332571141","1332571242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0c8156074f81f81a573ca0932f608f0b.jpg","text":"TemporaryFile(/tmp/multipartBody642949078240660369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136885029,"filename":"image_29012025_08_44_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/29/29a6f4c8a6e53e572d6b66cd12f84c55.jpg","text":"TemporaryFile(/tmp/multipartBody562799104637711647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136885029,"filename":"image_29012025_08_44_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/29/74be272d8c30f8ffe0a67a9b2b3c4439.jpg","text":"TemporaryFile(/tmp/multipartBody1372817123174604974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136885029,"filename":"image_29012025_08_44_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/29/ae8f2f604f2c378130526d94ec2375a4.jpg","text":"TemporaryFile(/tmp/multipartBody8140976654687707277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136885029,"filename":"image_29012025_08_44_27_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/29/1954bff16aab0b914b7d35d05559205f.jpg","text":"TemporaryFile(/tmp/multipartBody4108841217739988635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136885029,"filename":"image_29012025_08_45_26_9502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332571099","file1":"1332571093","file0":"1332571089","file4":"1332571242","file3":"1332571141"},"map_files_photo_id_array":[{"photo_id":"1332571099","filename":"file2"},{"photo_id":"1332571242","filename":"file4"},{"photo_id":"1332571093","filename":"file1"},{"photo_id":"1332571089","filename":"file0"},{"photo_id":"1332571141","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332571099":["hashtag1","hashtag2"]},{"1332571093":["hashtag1","hashtag2"]},{"1332571141":["hashtag1","hashtag2"]},{"1332571089":["hashtag1","hashtag2"]},{"1332571242":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332571099, 1332571093, 1332571141, 1332571089, 1332571242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.15966057777405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 08:47:42.967988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_25_10361.jpg', '/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_35_9799.jpg', '/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_46_10376.jpg', '/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_55_9446.jpg', '/home/pi/Desktop/images/24012025/20/26/image_24012025_20_27_05_9888.jpg', '/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_15_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_25_10361.jpg
/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_35_9799.jpg
/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_46_10376.jpg
/home/pi/Desktop/images/24012025/20/26/image_24012025_20_26_55_9446.jpg
/home/pi/Desktop/images/24012025/20/26/image_24012025_20_27_05_9888.jpg
/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_15_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":["1332571325","1332571327","1332571308","1332571295","1332571322","1332571316"],"photo_ids_order":["1332571295","1332571308","1332571316","1332571322","1332571325","1332571327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1cc3d2187944871aa20c93a284ef01c7.jpg","text":"TemporaryFile(/tmp/multipartBody6353807786543433922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136924251,"filename":"image_24012025_20_27_05_9888.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f56de5a3f1399ef4b4239402ee732cf3.jpg","text":"TemporaryFile(/tmp/multipartBody150815770238079208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136924251,"filename":"image_24012025_20_27_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/29/9e426a0944c3a23f62b16d32e6ec3eee.jpg","text":"TemporaryFile(/tmp/multipartBody8900018289969025731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136924251,"filename":"image_24012025_20_26_35_9799.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/69a49dc366f1c5e0d6a098e989edc7ea.jpg","text":"TemporaryFile(/tmp/multipartBody5935300154275847865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136924251,"filename":"image_24012025_20_26_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/29/5fc6a3e48256e41833bb76cec87b1f0c.jpg","text":"TemporaryFile(/tmp/multipartBody2494278045485639286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136924251,"filename":"image_24012025_20_26_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/29/fc82007059e68ad46d11edc40ee43241.jpg","text":"TemporaryFile(/tmp/multipartBody8333557583339435921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136924251,"filename":"image_24012025_20_26_46_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332571316","file1":"1332571308","file0":"1332571295","file4":"1332571325","file5":"1332571327","file3":"1332571322"},"map_files_photo_id_array":[{"photo_id":"1332571327","filename":"file5"},{"photo_id":"1332571316","filename":"file2"},{"photo_id":"1332571325","filename":"file4"},{"photo_id":"1332571308","filename":"file1"},{"photo_id":"1332571295","filename":"file0"},{"photo_id":"1332571322","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332571325":["hashtag1","hashtag2"]},{"1332571327":["hashtag1","hashtag2"]},{"1332571308":["hashtag1","hashtag2"]},{"1332571295":["hashtag1","hashtag2"]},{"1332571322":["hashtag1","hashtag2"]},{"1332571316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332571325, 1332571327, 1332571308, 1332571295, 1332571322, 1332571316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08620643615723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:48:32.167122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/45/image_29012025_08_45_37_10362.jpg', '/home/pi/Desktop/images/29012025/08/45/image_29012025_08_46_07_10353.jpg', '/home/pi/Desktop/images/29012025/08/46/image_29012025_08_46_26_10426.jpg', '/home/pi/Desktop/images/29012025/08/46/image_29012025_08_46_37_10392.jpg', '/home/pi/Desktop/images/29012025/08/46/image_29012025_08_46_46_9356.jpg', '/home/pi/Desktop/images/29012025/08/46/image_29012025_08_46_56_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/45/image_29012025_08_45_37_10362.jpg
/home/pi/Desktop/images/29012025/08/45/image_29012025_08_46_07_10353.jpg
/home/pi/Desktop/images/29012025/08/46/image_29012025_08_46_26_10426.jpg
/home/pi/Desktop/images/29012025/08/46/image_29012025_08_46_37_10392.jpg
/home/pi/Desktop/images/29012025/08/46/image_29012025_08_46_46_9356.jpg
/home/pi/Desktop/images/29012025/08/46/image_29012025_08_46_56_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":["1332572061","1332571898","1332571781","1332572018","1332571655","1332571535"],"photo_ids_order":["1332571535","1332571655","1332571781","1332571898","1332572018","1332572061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cffc0ef7cd82a556287455a58ee4b33f.jpg","text":"TemporaryFile(/tmp/multipartBody1748126756118016296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136973099,"filename":"image_29012025_08_46_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/29/449314ac4e8d832f893c74b705780d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8276418954104043336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136973099,"filename":"image_29012025_08_46_37_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/29/1f03a50e9939651a7e3f8f3dd16cb1cb.jpg","text":"TemporaryFile(/tmp/multipartBody6397960918598390384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136973099,"filename":"image_29012025_08_46_26_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/29/dba2a9a1e84988e15d9317cbe77a49cf.jpg","text":"TemporaryFile(/tmp/multipartBody6534549062906755305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136973099,"filename":"image_29012025_08_46_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/29/ac8cc72c7ae3f23e528d3c7db9b33b42.jpg","text":"TemporaryFile(/tmp/multipartBody6216876978698417595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136973099,"filename":"image_29012025_08_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/29/2c9fd46e9eaace19e59c1a4f1bb35ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4373352413050330115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738136973099,"filename":"image_29012025_08_45_37_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332571781","file1":"1332571655","file0":"1332571535","file4":"1332572018","file5":"1332572061","file3":"1332571898"},"map_files_photo_id_array":[{"photo_id":"1332572061","filename":"file5"},{"photo_id":"1332571781","filename":"file2"},{"photo_id":"1332572018","filename":"file4"},{"photo_id":"1332571655","filename":"file1"},{"photo_id":"1332571535","filename":"file0"},{"photo_id":"1332571898","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332572061":["hashtag1","hashtag2"]},{"1332571898":["hashtag1","hashtag2"]},{"1332571781":["hashtag1","hashtag2"]},{"1332572018":["hashtag1","hashtag2"]},{"1332571655":["hashtag1","hashtag2"]},{"1332571535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332572061, 1332571898, 1332571781, 1332572018, 1332571655, 1332571535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71420431137085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:49:32.402774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/46/image_29012025_08_47_07_10329.jpg', '/home/pi/Desktop/images/29012025/08/47/image_29012025_08_47_16_9586.jpg', '/home/pi/Desktop/images/29012025/08/47/image_29012025_08_47_27_10391.jpg', '/home/pi/Desktop/images/29012025/08/47/image_29012025_08_47_36_9451.jpg', '/home/pi/Desktop/images/29012025/08/47/image_29012025_08_47_47_10336.jpg', '/home/pi/Desktop/images/29012025/08/47/image_29012025_08_47_56_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/46/image_29012025_08_47_07_10329.jpg
/home/pi/Desktop/images/29012025/08/47/image_29012025_08_47_16_9586.jpg
/home/pi/Desktop/images/29012025/08/47/image_29012025_08_47_27_10391.jpg
/home/pi/Desktop/images/29012025/08/47/image_29012025_08_47_36_9451.jpg
/home/pi/Desktop/images/29012025/08/47/image_29012025_08_47_47_10336.jpg
/home/pi/Desktop/images/29012025/08/47/image_29012025_08_47_56_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":["1332572152","1332572104","1332572337","1332572270","1332572354","1332572309"],"photo_ids_order":["1332572104","1332572152","1332572270","1332572309","1332572337","1332572354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/20dce61a56bd778a7e655b31f1db40f8.jpg","text":"TemporaryFile(/tmp/multipartBody5031395252049941411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137033335,"filename":"image_29012025_08_47_16_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/29/7bc2cde2063cd85ebc75309bbdfa18d8.jpg","text":"TemporaryFile(/tmp/multipartBody6878084507713463609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137033335,"filename":"image_29012025_08_47_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/29/ad7e6f5f270a3fef286a4918bb4bde81.jpg","text":"TemporaryFile(/tmp/multipartBody482573778809599495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137033335,"filename":"image_29012025_08_47_47_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/29/7c5e05d254ea264d04573eef10c29d11.jpg","text":"TemporaryFile(/tmp/multipartBody8582796348281262341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137033335,"filename":"image_29012025_08_47_27_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/29/41ba4ca6f83abb8b80a2ba8273addf0f.jpg","text":"TemporaryFile(/tmp/multipartBody1665525122611064391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137033335,"filename":"image_29012025_08_47_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/29/95b2dba2d47064bcf90cdf6c0780956d.jpg","text":"TemporaryFile(/tmp/multipartBody2606003987500611776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137033335,"filename":"image_29012025_08_47_36_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332572270","file1":"1332572152","file0":"1332572104","file4":"1332572337","file5":"1332572354","file3":"1332572309"},"map_files_photo_id_array":[{"photo_id":"1332572354","filename":"file5"},{"photo_id":"1332572270","filename":"file2"},{"photo_id":"1332572337","filename":"file4"},{"photo_id":"1332572152","filename":"file1"},{"photo_id":"1332572104","filename":"file0"},{"photo_id":"1332572309","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332572152":["hashtag1","hashtag2"]},{"1332572104":["hashtag1","hashtag2"]},{"1332572337":["hashtag1","hashtag2"]},{"1332572270":["hashtag1","hashtag2"]},{"1332572354":["hashtag1","hashtag2"]},{"1332572309":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332572152, 1332572104, 1332572337, 1332572270, 1332572354, 1332572309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.658103704452515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:50:32.615007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/47/image_29012025_08_48_06_10421.jpg', '/home/pi/Desktop/images/29012025/08/48/image_29012025_08_48_17_10350.jpg', '/home/pi/Desktop/images/29012025/08/48/image_29012025_08_48_26_9404.jpg', '/home/pi/Desktop/images/29012025/08/48/image_29012025_08_48_36_10345.jpg', '/home/pi/Desktop/images/29012025/08/48/image_29012025_08_48_56_9437.jpg', '/home/pi/Desktop/images/29012025/08/48/image_29012025_08_49_07_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/47/image_29012025_08_48_06_10421.jpg
/home/pi/Desktop/images/29012025/08/48/image_29012025_08_48_17_10350.jpg
/home/pi/Desktop/images/29012025/08/48/image_29012025_08_48_26_9404.jpg
/home/pi/Desktop/images/29012025/08/48/image_29012025_08_48_36_10345.jpg
/home/pi/Desktop/images/29012025/08/48/image_29012025_08_48_56_9437.jpg
/home/pi/Desktop/images/29012025/08/48/image_29012025_08_49_07_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":["1332572443","1332572446","1332572436","1332572411","1332572441","1332572420"],"photo_ids_order":["1332572411","1332572420","1332572436","1332572441","1332572443","1332572446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ebf1bdb7341ea324c521b875bc6fd3e7.jpg","text":"TemporaryFile(/tmp/multipartBody1287059888089431854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137093536,"filename":"image_29012025_08_48_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/29/fa990cc81d19c4eb3eed6db632b698c1.jpg","text":"TemporaryFile(/tmp/multipartBody5401789729377905207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137093536,"filename":"image_29012025_08_49_07_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/29/2e6d5b459c8fceffde390c60a625562d.jpg","text":"TemporaryFile(/tmp/multipartBody6635564502378390195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137093536,"filename":"image_29012025_08_48_26_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/29/4a94df588496a4ba97e6f773fd68fba7.jpg","text":"TemporaryFile(/tmp/multipartBody2074294571678883561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137093536,"filename":"image_29012025_08_48_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/29/fdfade5ec4064bb1cf8b168353676e1c.jpg","text":"TemporaryFile(/tmp/multipartBody9029513712370670601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137093536,"filename":"image_29012025_08_48_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/29/dbfb1415af64b2f4e99f71dd9608b54c.jpg","text":"TemporaryFile(/tmp/multipartBody3928920061513111661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137093536,"filename":"image_29012025_08_48_17_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332572436","file1":"1332572420","file0":"1332572411","file4":"1332572443","file5":"1332572446","file3":"1332572441"},"map_files_photo_id_array":[{"photo_id":"1332572446","filename":"file5"},{"photo_id":"1332572436","filename":"file2"},{"photo_id":"1332572443","filename":"file4"},{"photo_id":"1332572420","filename":"file1"},{"photo_id":"1332572411","filename":"file0"},{"photo_id":"1332572441","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332572443":["hashtag1","hashtag2"]},{"1332572446":["hashtag1","hashtag2"]},{"1332572436":["hashtag1","hashtag2"]},{"1332572411":["hashtag1","hashtag2"]},{"1332572441":["hashtag1","hashtag2"]},{"1332572420":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332572443, 1332572446, 1332572436, 1332572411, 1332572441, 1332572420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.936808347702026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:51:32.819523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/49/image_29012025_08_49_16_9399.jpg', '/home/pi/Desktop/images/29012025/08/49/image_29012025_08_49_26_10360.jpg', '/home/pi/Desktop/images/29012025/08/49/image_29012025_08_49_37_10362.jpg', '/home/pi/Desktop/images/29012025/08/49/image_29012025_08_49_46_9426.jpg', '/home/pi/Desktop/images/29012025/08/49/image_29012025_08_49_57_10369.jpg', '/home/pi/Desktop/images/29012025/08/49/image_29012025_08_50_06_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/49/image_29012025_08_49_16_9399.jpg
/home/pi/Desktop/images/29012025/08/49/image_29012025_08_49_26_10360.jpg
/home/pi/Desktop/images/29012025/08/49/image_29012025_08_49_37_10362.jpg
/home/pi/Desktop/images/29012025/08/49/image_29012025_08_49_46_9426.jpg
/home/pi/Desktop/images/29012025/08/49/image_29012025_08_49_57_10369.jpg
/home/pi/Desktop/images/29012025/08/49/image_29012025_08_50_06_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":["1332572496","1332572472","1332572475","1332572489","1332572485","1332572479"],"photo_ids_order":["1332572472","1332572475","1332572479","1332572485","1332572489","1332572496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3e3a8031ed859100ddeacf6a47ba1c3f.jpg","text":"TemporaryFile(/tmp/multipartBody4271868295302909822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137153719,"filename":"image_29012025_08_50_06_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/29/64525e2a45ea854ca87fad42972cefe2.jpg","text":"TemporaryFile(/tmp/multipartBody377042235133184652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137153719,"filename":"image_29012025_08_49_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/29/d478d76e7aac1944ea7c4b9fd7cbec5a.jpg","text":"TemporaryFile(/tmp/multipartBody8893864796890371507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137153719,"filename":"image_29012025_08_49_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/29/4abe31895620f70d8e13bd5a21b74668.jpg","text":"TemporaryFile(/tmp/multipartBody3846157051206412400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137153719,"filename":"image_29012025_08_49_57_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/29/40180d5285f22cd8c14665a32ae94445.jpg","text":"TemporaryFile(/tmp/multipartBody6107324859087170253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137153719,"filename":"image_29012025_08_49_46_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/29/14d233e0d551af7cc5c9c9610b6e6a4e.jpg","text":"TemporaryFile(/tmp/multipartBody1513393627271744052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137153719,"filename":"image_29012025_08_49_37_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332572479","file1":"1332572475","file0":"1332572472","file4":"1332572489","file5":"1332572496","file3":"1332572485"},"map_files_photo_id_array":[{"photo_id":"1332572496","filename":"file5"},{"photo_id":"1332572479","filename":"file2"},{"photo_id":"1332572489","filename":"file4"},{"photo_id":"1332572475","filename":"file1"},{"photo_id":"1332572472","filename":"file0"},{"photo_id":"1332572485","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332572496":["hashtag1","hashtag2"]},{"1332572472":["hashtag1","hashtag2"]},{"1332572475":["hashtag1","hashtag2"]},{"1332572489":["hashtag1","hashtag2"]},{"1332572485":["hashtag1","hashtag2"]},{"1332572479":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332572496, 1332572472, 1332572475, 1332572489, 1332572485, 1332572479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60222053527832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:52:32.214192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/50/image_29012025_08_50_16_10400.jpg', '/home/pi/Desktop/images/29012025/08/50/image_29012025_08_50_27_10377.jpg', '/home/pi/Desktop/images/29012025/08/50/image_29012025_08_50_36_9423.jpg', '/home/pi/Desktop/images/29012025/08/50/image_29012025_08_50_46_10350.jpg', '/home/pi/Desktop/images/29012025/08/50/image_29012025_08_50_57_10379.jpg', '/home/pi/Desktop/images/29012025/08/50/image_29012025_08_51_06_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/50/image_29012025_08_50_16_10400.jpg
/home/pi/Desktop/images/29012025/08/50/image_29012025_08_50_27_10377.jpg
/home/pi/Desktop/images/29012025/08/50/image_29012025_08_50_36_9423.jpg
/home/pi/Desktop/images/29012025/08/50/image_29012025_08_50_46_10350.jpg
/home/pi/Desktop/images/29012025/08/50/image_29012025_08_50_57_10379.jpg
/home/pi/Desktop/images/29012025/08/50/image_29012025_08_51_06_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":["1332572728","1332572691","1332572643","1332572724","1332572708","1332572650"],"photo_ids_order":["1332572643","1332572650","1332572691","1332572708","1332572724","1332572728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4687658af1c8035ac990bb61f69443f5.jpg","text":"TemporaryFile(/tmp/multipartBody5079028105059138660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137213114,"filename":"image_29012025_08_51_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/29/9fc0fc42f82945886cdcae24fb4827a5.jpg","text":"TemporaryFile(/tmp/multipartBody3779323086687839357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137213114,"filename":"image_29012025_08_50_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/29/d7e8227672bac514eb60c8d9bcd1d57d.jpg","text":"TemporaryFile(/tmp/multipartBody8304438911830137588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137213114,"filename":"image_29012025_08_50_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/29/a382568030d49daff3535bed23d04e67.jpg","text":"TemporaryFile(/tmp/multipartBody21046145381158865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137213114,"filename":"image_29012025_08_50_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/29/72e1a7ee317ed3c7e427e0c49d5eef55.jpg","text":"TemporaryFile(/tmp/multipartBody7023966274574275192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137213114,"filename":"image_29012025_08_50_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/29/4132170bdbacdd9e145a052919606275.jpg","text":"TemporaryFile(/tmp/multipartBody3444472310249527695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137213114,"filename":"image_29012025_08_50_27_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332572691","file1":"1332572650","file0":"1332572643","file4":"1332572724","file5":"1332572728","file3":"1332572708"},"map_files_photo_id_array":[{"photo_id":"1332572728","filename":"file5"},{"photo_id":"1332572691","filename":"file2"},{"photo_id":"1332572724","filename":"file4"},{"photo_id":"1332572650","filename":"file1"},{"photo_id":"1332572643","filename":"file0"},{"photo_id":"1332572708","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332572728":["hashtag1","hashtag2"]},{"1332572691":["hashtag1","hashtag2"]},{"1332572643":["hashtag1","hashtag2"]},{"1332572724":["hashtag1","hashtag2"]},{"1332572708":["hashtag1","hashtag2"]},{"1332572650":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332572728, 1332572691, 1332572643, 1332572724, 1332572708, 1332572650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.737377405166626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:53:32.499893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/51/image_29012025_08_51_17_10335.jpg', '/home/pi/Desktop/images/29012025/08/51/image_29012025_08_51_26_9375.jpg', '/home/pi/Desktop/images/29012025/08/51/image_29012025_08_51_36_10383.jpg', '/home/pi/Desktop/images/29012025/08/51/image_29012025_08_51_47_10336.jpg', '/home/pi/Desktop/images/29012025/08/51/image_29012025_08_51_56_9462.jpg', '/home/pi/Desktop/images/29012025/08/51/image_29012025_08_52_06_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/51/image_29012025_08_51_17_10335.jpg
/home/pi/Desktop/images/29012025/08/51/image_29012025_08_51_26_9375.jpg
/home/pi/Desktop/images/29012025/08/51/image_29012025_08_51_36_10383.jpg
/home/pi/Desktop/images/29012025/08/51/image_29012025_08_51_47_10336.jpg
/home/pi/Desktop/images/29012025/08/51/image_29012025_08_51_56_9462.jpg
/home/pi/Desktop/images/29012025/08/51/image_29012025_08_52_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":["1332572886","1332572754","1332573003","1332573236","1332573116","1332572759"],"photo_ids_order":["1332572754","1332572759","1332572886","1332573003","1332573116","1332573236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/451707960fce81c7c5230a52a05feff7.jpg","text":"TemporaryFile(/tmp/multipartBody3147349029244456241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137273443,"filename":"image_29012025_08_51_36_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/29/99356dbedcc92072d96c8d6c20f90a17.jpg","text":"TemporaryFile(/tmp/multipartBody4831339505583356131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137273443,"filename":"image_29012025_08_51_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/29/b04483d09fa763712a2ab007c9cc8099.jpg","text":"TemporaryFile(/tmp/multipartBody6429504235214024303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137273443,"filename":"image_29012025_08_51_47_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/29/087592821fa18ca1cf624641e3162aa6.jpg","text":"TemporaryFile(/tmp/multipartBody1062000789894618446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137273443,"filename":"image_29012025_08_52_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/29/7afd6e11c2c805ecbeea3298b1804588.jpg","text":"TemporaryFile(/tmp/multipartBody8014630924001847709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137273443,"filename":"image_29012025_08_51_56_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/29/f2b75ded17f9afd940936a95fbe69c9b.jpg","text":"TemporaryFile(/tmp/multipartBody1282143463004467431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137273443,"filename":"image_29012025_08_51_26_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332572886","file1":"1332572759","file0":"1332572754","file4":"1332573116","file5":"1332573236","file3":"1332573003"},"map_files_photo_id_array":[{"photo_id":"1332573236","filename":"file5"},{"photo_id":"1332572886","filename":"file2"},{"photo_id":"1332573116","filename":"file4"},{"photo_id":"1332572759","filename":"file1"},{"photo_id":"1332572754","filename":"file0"},{"photo_id":"1332573003","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332572886":["hashtag1","hashtag2"]},{"1332572754":["hashtag1","hashtag2"]},{"1332573003":["hashtag1","hashtag2"]},{"1332573236":["hashtag1","hashtag2"]},{"1332573116":["hashtag1","hashtag2"]},{"1332572759":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332572886, 1332572754, 1332573003, 1332573236, 1332573116, 1332572759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.837849140167236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:54:32.656865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/52/image_29012025_08_52_17_10349.jpg', '/home/pi/Desktop/images/29012025/08/52/image_29012025_08_52_26_9365.jpg', '/home/pi/Desktop/images/29012025/08/52/image_29012025_08_52_37_10360.jpg', '/home/pi/Desktop/images/29012025/08/52/image_29012025_08_52_47_10341.jpg', '/home/pi/Desktop/images/29012025/08/52/image_29012025_08_52_56_9428.jpg', '/home/pi/Desktop/images/29012025/08/52/image_29012025_08_53_07_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/52/image_29012025_08_52_17_10349.jpg
/home/pi/Desktop/images/29012025/08/52/image_29012025_08_52_26_9365.jpg
/home/pi/Desktop/images/29012025/08/52/image_29012025_08_52_37_10360.jpg
/home/pi/Desktop/images/29012025/08/52/image_29012025_08_52_47_10341.jpg
/home/pi/Desktop/images/29012025/08/52/image_29012025_08_52_56_9428.jpg
/home/pi/Desktop/images/29012025/08/52/image_29012025_08_53_07_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":["1332573672","1332573474","1332573705","1332573554","1332573629","1332573623"],"photo_ids_order":["1332573474","1332573554","1332573623","1332573629","1332573672","1332573705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/221508371464f17facb9d71e0ac0b5fd.jpg","text":"TemporaryFile(/tmp/multipartBody7942788877535378113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137333564,"filename":"image_29012025_08_52_56_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/29/7ef45895d7c6c36fc4870f38719ce36d.jpg","text":"TemporaryFile(/tmp/multipartBody1944015727190968696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137333564,"filename":"image_29012025_08_52_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/29/d74b997354f14302c13ffbedd55ad381.jpg","text":"TemporaryFile(/tmp/multipartBody5419374751013717764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137333564,"filename":"image_29012025_08_53_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/29/c7299a52b4624b0d234932727a8a39df.jpg","text":"TemporaryFile(/tmp/multipartBody260156466596049150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137333564,"filename":"image_29012025_08_52_26_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/29/52854933711bc6677080b18335a4a46e.jpg","text":"TemporaryFile(/tmp/multipartBody281075868339163482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137333564,"filename":"image_29012025_08_52_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/29/0127a75a122a14c23074c95f5c05dd88.jpg","text":"TemporaryFile(/tmp/multipartBody5183501330587425298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137333564,"filename":"image_29012025_08_52_37_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332573623","file1":"1332573554","file0":"1332573474","file4":"1332573672","file5":"1332573705","file3":"1332573629"},"map_files_photo_id_array":[{"photo_id":"1332573705","filename":"file5"},{"photo_id":"1332573623","filename":"file2"},{"photo_id":"1332573672","filename":"file4"},{"photo_id":"1332573554","filename":"file1"},{"photo_id":"1332573474","filename":"file0"},{"photo_id":"1332573629","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332573672":["hashtag1","hashtag2"]},{"1332573474":["hashtag1","hashtag2"]},{"1332573705":["hashtag1","hashtag2"]},{"1332573554":["hashtag1","hashtag2"]},{"1332573629":["hashtag1","hashtag2"]},{"1332573623":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332573672, 1332573474, 1332573705, 1332573554, 1332573629, 1332573623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01901984214783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:55:32.881798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/53/image_29012025_08_53_16_9317.jpg', '/home/pi/Desktop/images/29012025/08/53/image_29012025_08_53_26_10354.jpg', '/home/pi/Desktop/images/29012025/08/53/image_29012025_08_53_37_10343.jpg', '/home/pi/Desktop/images/29012025/08/53/image_29012025_08_53_46_9500.jpg', '/home/pi/Desktop/images/29012025/08/53/image_29012025_08_53_57_10365.jpg', '/home/pi/Desktop/images/29012025/08/53/image_29012025_08_54_07_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/53/image_29012025_08_53_16_9317.jpg
/home/pi/Desktop/images/29012025/08/53/image_29012025_08_53_26_10354.jpg
/home/pi/Desktop/images/29012025/08/53/image_29012025_08_53_37_10343.jpg
/home/pi/Desktop/images/29012025/08/53/image_29012025_08_53_46_9500.jpg
/home/pi/Desktop/images/29012025/08/53/image_29012025_08_53_57_10365.jpg
/home/pi/Desktop/images/29012025/08/53/image_29012025_08_54_07_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":["1332573774","1332573828","1332573819","1332573788","1332573824","1332573806"],"photo_ids_order":["1332573774","1332573788","1332573806","1332573819","1332573824","1332573828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/51caf2879cb4f3f9c7efc207a7842d47.jpg","text":"TemporaryFile(/tmp/multipartBody3995130791101274791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137393785,"filename":"image_29012025_08_53_16_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/29/930d4cef93b76e0da7a9e8d1c64aaee4.jpg","text":"TemporaryFile(/tmp/multipartBody9069717147866854593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137393785,"filename":"image_29012025_08_54_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/29/5d0938a17914311139f1f9d5588d96d9.jpg","text":"TemporaryFile(/tmp/multipartBody4438082739817278179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137393785,"filename":"image_29012025_08_53_46_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4a08bef75aa0131a2929153a0ee3749a.jpg","text":"TemporaryFile(/tmp/multipartBody2912975725695149152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137393785,"filename":"image_29012025_08_53_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/29/aa3a31b30358e691430ce0cc15958cbd.jpg","text":"TemporaryFile(/tmp/multipartBody2729138132634613424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137393785,"filename":"image_29012025_08_53_57_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/29/f5bdc2078de16602df54e170694590c6.jpg","text":"TemporaryFile(/tmp/multipartBody7373254278841183614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137393785,"filename":"image_29012025_08_53_37_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332573806","file1":"1332573788","file0":"1332573774","file4":"1332573824","file5":"1332573828","file3":"1332573819"},"map_files_photo_id_array":[{"photo_id":"1332573828","filename":"file5"},{"photo_id":"1332573806","filename":"file2"},{"photo_id":"1332573824","filename":"file4"},{"photo_id":"1332573788","filename":"file1"},{"photo_id":"1332573774","filename":"file0"},{"photo_id":"1332573819","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332573774":["hashtag1","hashtag2"]},{"1332573828":["hashtag1","hashtag2"]},{"1332573819":["hashtag1","hashtag2"]},{"1332573788":["hashtag1","hashtag2"]},{"1332573824":["hashtag1","hashtag2"]},{"1332573806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332573774, 1332573828, 1332573819, 1332573788, 1332573824, 1332573806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08343577384949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:56:33.067011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/54/image_29012025_08_54_16_9410.jpg', '/home/pi/Desktop/images/29012025/08/54/image_29012025_08_54_27_10373.jpg', '/home/pi/Desktop/images/29012025/08/54/image_29012025_08_54_36_9387.jpg', '/home/pi/Desktop/images/29012025/08/54/image_29012025_08_54_46_10401.jpg', '/home/pi/Desktop/images/29012025/08/54/image_29012025_08_54_57_10412.jpg', '/home/pi/Desktop/images/29012025/08/54/image_29012025_08_55_06_9368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/54/image_29012025_08_54_16_9410.jpg
/home/pi/Desktop/images/29012025/08/54/image_29012025_08_54_27_10373.jpg
/home/pi/Desktop/images/29012025/08/54/image_29012025_08_54_36_9387.jpg
/home/pi/Desktop/images/29012025/08/54/image_29012025_08_54_46_10401.jpg
/home/pi/Desktop/images/29012025/08/54/image_29012025_08_54_57_10412.jpg
/home/pi/Desktop/images/29012025/08/54/image_29012025_08_55_06_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332574070","1332574019","1332574013","1332574282","1332574159","1332574063"],"photo_ids_order":["1332574013","1332574019","1332574063","1332574070","1332574159","1332574282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a1a46af9ae0bf038bce1a8d341a032c0.jpg","text":"TemporaryFile(/tmp/multipartBody8139913502680329437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137453975,"filename":"image_29012025_08_54_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/29/b43c63577d38a471d113706fd911002a.jpg","text":"TemporaryFile(/tmp/multipartBody7485742374331099665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137453975,"filename":"image_29012025_08_54_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/29/f38274e395558e3556bf0d8275fe024f.jpg","text":"TemporaryFile(/tmp/multipartBody4192716369156322852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137453975,"filename":"image_29012025_08_54_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/29/e29945d82e14ebcc7302ee7b8e4ccdfd.jpg","text":"TemporaryFile(/tmp/multipartBody4542935909750911497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137453975,"filename":"image_29012025_08_55_06_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/29/0dbf92aba412697843ae131900d053fd.jpg","text":"TemporaryFile(/tmp/multipartBody5156258336800447575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137453975,"filename":"image_29012025_08_54_57_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/29/db53646e0397090dea2420a4a27bbbf4.jpg","text":"TemporaryFile(/tmp/multipartBody2387871631794776884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137453975,"filename":"image_29012025_08_54_36_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332574063","file1":"1332574019","file0":"1332574013","file4":"1332574159","file5":"1332574282","file3":"1332574070"},"map_files_photo_id_array":[{"photo_id":"1332574282","filename":"file5"},{"photo_id":"1332574063","filename":"file2"},{"photo_id":"1332574159","filename":"file4"},{"photo_id":"1332574019","filename":"file1"},{"photo_id":"1332574013","filename":"file0"},{"photo_id":"1332574070","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332574070":["hashtag1","hashtag2"]},{"1332574019":["hashtag1","hashtag2"]},{"1332574013":["hashtag1","hashtag2"]},{"1332574282":["hashtag1","hashtag2"]},{"1332574159":["hashtag1","hashtag2"]},{"1332574063":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332574070, 1332574019, 1332574013, 1332574282, 1332574159, 1332574063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63034009933472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 08:57:32.230354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_17_10341.jpg', '/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_26_9359.jpg', '/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_36_10401.jpg', '/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_47_10363.jpg', '/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_56_9404.jpg', '/home/pi/Desktop/images/29012025/08/55/image_29012025_08_56_06_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_17_10341.jpg
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_26_9359.jpg
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_36_10401.jpg
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_47_10363.jpg
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_56_9404.jpg
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_56_06_10345.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-29 08:59:04.476471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_17_10341.jpg', '/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_26_9359.jpg', '/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_36_10401.jpg', '/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_47_10363.jpg', '/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_56_9404.jpg', '/home/pi/Desktop/images/29012025/08/55/image_29012025_08_56_06_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_17_10341.jpg
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_26_9359.jpg
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_36_10401.jpg
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_47_10363.jpg
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_55_56_9404.jpg
/home/pi/Desktop/images/29012025/08/55/image_29012025_08_56_06_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":["1332574879","1332574861","1332574903","1332574869","1332574899","1332574890"],"photo_ids_order":["1332574861","1332574869","1332574879","1332574890","1332574899","1332574903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/47b18a179c1bc628d5e733cc11ce5258.jpg","text":"TemporaryFile(/tmp/multipartBody2912250516215554578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137605549,"filename":"image_29012025_08_55_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/29/7de2a016ae62268235d5070d05b322c1.jpg","text":"TemporaryFile(/tmp/multipartBody1813766006468700844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137605549,"filename":"image_29012025_08_55_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/29/780cf56e4ac9691d8950d1a1b1ddb010.jpg","text":"TemporaryFile(/tmp/multipartBody2475227699380131457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137605549,"filename":"image_29012025_08_56_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/29/2cb0a5f859896b4630758ed8793a142f.jpg","text":"TemporaryFile(/tmp/multipartBody5518747773308600386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137605549,"filename":"image_29012025_08_55_26_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/29/165fae4315d2f8e758950c73043a2254.jpg","text":"TemporaryFile(/tmp/multipartBody1866963616506552147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137605549,"filename":"image_29012025_08_55_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/29/b61c3037d9e8dff3c962c61ab79e82dc.jpg","text":"TemporaryFile(/tmp/multipartBody2225129175023104779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137605549,"filename":"image_29012025_08_55_47_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332574879","file1":"1332574869","file0":"1332574861","file4":"1332574899","file5":"1332574903","file3":"1332574890"},"map_files_photo_id_array":[{"photo_id":"1332574903","filename":"file5"},{"photo_id":"1332574879","filename":"file2"},{"photo_id":"1332574899","filename":"file4"},{"photo_id":"1332574869","filename":"file1"},{"photo_id":"1332574861","filename":"file0"},{"photo_id":"1332574890","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332574879":["hashtag1","hashtag2"]},{"1332574861":["hashtag1","hashtag2"]},{"1332574903":["hashtag1","hashtag2"]},{"1332574869":["hashtag1","hashtag2"]},{"1332574899":["hashtag1","hashtag2"]},{"1332574890":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332574879, 1332574861, 1332574903, 1332574869, 1332574899, 1332574890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.056601762771606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 08:59:53.018521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_26_10484.jpg', '/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_35_9356.jpg', '/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_46_10368.jpg', '/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_55_9416.jpg', '/home/pi/Desktop/images/24012025/20/27/image_24012025_20_28_05_10355.jpg', '/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_16_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_26_10484.jpg
/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_35_9356.jpg
/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_46_10368.jpg
/home/pi/Desktop/images/24012025/20/27/image_24012025_20_27_55_9416.jpg
/home/pi/Desktop/images/24012025/20/27/image_24012025_20_28_05_10355.jpg
/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_16_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332574938","1332574923","1332574929","1332574943","1332574933","1332574927"],"photo_ids_order":["1332574923","1332574927","1332574929","1332574933","1332574938","1332574943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/89436fea4f99fad43169dfde1ab778c8.jpg","text":"TemporaryFile(/tmp/multipartBody1271063839241733094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137655095,"filename":"image_24012025_20_28_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/29/9d95d49b7dd0018360431ab7db18e41a.jpg","text":"TemporaryFile(/tmp/multipartBody8191846881562107274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137655095,"filename":"image_24012025_20_27_26_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/93918d92550e309790f84e4c8af81932.jpg","text":"TemporaryFile(/tmp/multipartBody4693588844057938738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137655095,"filename":"image_24012025_20_27_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/29/e04e2e87fd94a881900312121c8186a5.jpg","text":"TemporaryFile(/tmp/multipartBody5711289907189406930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137655095,"filename":"image_24012025_20_28_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/29/c0e94b4d122f45974f685ec094cde9f5.jpg","text":"TemporaryFile(/tmp/multipartBody2024985177204310296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137655095,"filename":"image_24012025_20_27_55_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/29/70ce404fb9a3343aa6016eaa5b6c4808.jpg","text":"TemporaryFile(/tmp/multipartBody7430464018675533629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137655095,"filename":"image_24012025_20_27_35_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332574929","file1":"1332574927","file0":"1332574923","file4":"1332574938","file5":"1332574943","file3":"1332574933"},"map_files_photo_id_array":[{"photo_id":"1332574943","filename":"file5"},{"photo_id":"1332574929","filename":"file2"},{"photo_id":"1332574938","filename":"file4"},{"photo_id":"1332574927","filename":"file1"},{"photo_id":"1332574923","filename":"file0"},{"photo_id":"1332574933","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332574938":["hashtag1","hashtag2"]},{"1332574923":["hashtag1","hashtag2"]},{"1332574929":["hashtag1","hashtag2"]},{"1332574943":["hashtag1","hashtag2"]},{"1332574933":["hashtag1","hashtag2"]},{"1332574927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332574938, 1332574923, 1332574929, 1332574943, 1332574933, 1332574927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.74772381782532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 09:00:42.267275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/56/image_29012025_08_56_17_10351.jpg', '/home/pi/Desktop/images/29012025/08/56/image_29012025_08_56_26_9335.jpg', '/home/pi/Desktop/images/29012025/08/56/image_29012025_08_56_36_10336.jpg', '/home/pi/Desktop/images/29012025/08/56/image_29012025_08_56_47_10336.jpg', '/home/pi/Desktop/images/29012025/08/56/image_29012025_08_56_56_9351.jpg', '/home/pi/Desktop/images/29012025/08/56/image_29012025_08_57_07_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/56/image_29012025_08_56_17_10351.jpg
/home/pi/Desktop/images/29012025/08/56/image_29012025_08_56_26_9335.jpg
/home/pi/Desktop/images/29012025/08/56/image_29012025_08_56_36_10336.jpg
/home/pi/Desktop/images/29012025/08/56/image_29012025_08_56_47_10336.jpg
/home/pi/Desktop/images/29012025/08/56/image_29012025_08_56_56_9351.jpg
/home/pi/Desktop/images/29012025/08/56/image_29012025_08_57_07_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332574979","1332574973","1332574967","1332574957","1332574983","1332574962"],"photo_ids_order":["1332574957","1332574962","1332574967","1332574973","1332574979","1332574983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e3cb23c9a196e3a0290019dea55c94be.jpg","text":"TemporaryFile(/tmp/multipartBody8888027569016411687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137703171,"filename":"image_29012025_08_56_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/29/6e397d2015a33deeffd0b8c83c68dd0d.jpg","text":"TemporaryFile(/tmp/multipartBody6187200105219636071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137703171,"filename":"image_29012025_08_56_47_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/29/daee88aacb16da6df717fd04d4f5b375.jpg","text":"TemporaryFile(/tmp/multipartBody3660354249259164342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137703171,"filename":"image_29012025_08_56_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/29/f25dabcdda34032803d80aa6b1ffd95e.jpg","text":"TemporaryFile(/tmp/multipartBody8516289278640632336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137703171,"filename":"image_29012025_08_56_17_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/29/3b5ea2a35e6c2d34a39207372be2da90.jpg","text":"TemporaryFile(/tmp/multipartBody657119005144796117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137703171,"filename":"image_29012025_08_57_07_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/29/4286b3ca4c6628c7d0ee72287d4328b5.jpg","text":"TemporaryFile(/tmp/multipartBody8492268356066664156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137703171,"filename":"image_29012025_08_56_26_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332574967","file1":"1332574962","file0":"1332574957","file4":"1332574979","file5":"1332574983","file3":"1332574973"},"map_files_photo_id_array":[{"photo_id":"1332574983","filename":"file5"},{"photo_id":"1332574967","filename":"file2"},{"photo_id":"1332574979","filename":"file4"},{"photo_id":"1332574962","filename":"file1"},{"photo_id":"1332574957","filename":"file0"},{"photo_id":"1332574973","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332574979":["hashtag1","hashtag2"]},{"1332574973":["hashtag1","hashtag2"]},{"1332574967":["hashtag1","hashtag2"]},{"1332574957":["hashtag1","hashtag2"]},{"1332574983":["hashtag1","hashtag2"]},{"1332574962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332574979, 1332574973, 1332574967, 1332574957, 1332574983, 1332574962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54618167877197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:01:32.550465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/57/image_29012025_08_57_17_10331.jpg', '/home/pi/Desktop/images/29012025/08/57/image_29012025_08_57_26_9426.jpg', '/home/pi/Desktop/images/29012025/08/57/image_29012025_08_57_37_10343.jpg', '/home/pi/Desktop/images/29012025/08/57/image_29012025_08_57_46_9342.jpg', '/home/pi/Desktop/images/29012025/08/57/image_29012025_08_57_56_10424.jpg', '/home/pi/Desktop/images/29012025/08/57/image_29012025_08_58_07_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/57/image_29012025_08_57_17_10331.jpg
/home/pi/Desktop/images/29012025/08/57/image_29012025_08_57_26_9426.jpg
/home/pi/Desktop/images/29012025/08/57/image_29012025_08_57_37_10343.jpg
/home/pi/Desktop/images/29012025/08/57/image_29012025_08_57_46_9342.jpg
/home/pi/Desktop/images/29012025/08/57/image_29012025_08_57_56_10424.jpg
/home/pi/Desktop/images/29012025/08/57/image_29012025_08_58_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":["1332575013","1332575024","1332575027","1332575006","1332575019","1332574998"],"photo_ids_order":["1332574998","1332575006","1332575013","1332575019","1332575024","1332575027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3206a8e6a5053172bfe91cce4e53eba0.jpg","text":"TemporaryFile(/tmp/multipartBody4359470718708834051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137753446,"filename":"image_29012025_08_57_37_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/29/eedd53d660fc1263144495f0cab70f77.jpg","text":"TemporaryFile(/tmp/multipartBody6318232119286616342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137753446,"filename":"image_29012025_08_57_56_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/29/853817a807566dd2bcfc72f456bd3c46.jpg","text":"TemporaryFile(/tmp/multipartBody7016042656519935235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137753446,"filename":"image_29012025_08_58_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/29/308e519befcbe0cf8de7c36dd37d109e.jpg","text":"TemporaryFile(/tmp/multipartBody5125535482835738465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137753446,"filename":"image_29012025_08_57_26_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/29/15adbd6650e826fb1c1ce3f07b8248a7.jpg","text":"TemporaryFile(/tmp/multipartBody2372106981314952520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137753446,"filename":"image_29012025_08_57_46_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/29/9f9b0670ac3418e38a69e046eb206c07.jpg","text":"TemporaryFile(/tmp/multipartBody4960243742910255704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137753446,"filename":"image_29012025_08_57_17_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332575013","file1":"1332575006","file0":"1332574998","file4":"1332575024","file5":"1332575027","file3":"1332575019"},"map_files_photo_id_array":[{"photo_id":"1332575027","filename":"file5"},{"photo_id":"1332575013","filename":"file2"},{"photo_id":"1332575024","filename":"file4"},{"photo_id":"1332575006","filename":"file1"},{"photo_id":"1332574998","filename":"file0"},{"photo_id":"1332575019","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332575013":["hashtag1","hashtag2"]},{"1332575024":["hashtag1","hashtag2"]},{"1332575027":["hashtag1","hashtag2"]},{"1332575006":["hashtag1","hashtag2"]},{"1332575019":["hashtag1","hashtag2"]},{"1332574998":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332575013, 1332575024, 1332575027, 1332575006, 1332575019, 1332574998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35188007354736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:02:32.734156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/08/58/image_29012025_08_58_16_9384.jpg', '/home/pi/Desktop/images/29012025/08/58/image_29012025_08_58_26_10355.jpg', '/home/pi/Desktop/images/29012025/08/59/image_29012025_08_59_16_10420.jpg', '/home/pi/Desktop/images/29012025/08/59/image_29012025_08_59_27_10353.jpg', '/home/pi/Desktop/images/29012025/08/59/image_29012025_08_59_36_9408.jpg', '/home/pi/Desktop/images/29012025/08/59/image_29012025_08_59_47_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/08/58/image_29012025_08_58_16_9384.jpg
/home/pi/Desktop/images/29012025/08/58/image_29012025_08_58_26_10355.jpg
/home/pi/Desktop/images/29012025/08/59/image_29012025_08_59_16_10420.jpg
/home/pi/Desktop/images/29012025/08/59/image_29012025_08_59_27_10353.jpg
/home/pi/Desktop/images/29012025/08/59/image_29012025_08_59_36_9408.jpg
/home/pi/Desktop/images/29012025/08/59/image_29012025_08_59_47_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":["1332575090","1332575080","1332575071","1332575085","1332575097","1332575064"],"photo_ids_order":["1332575064","1332575071","1332575080","1332575085","1332575090","1332575097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d649b88d4ac506326539c5c72d19143b.jpg","text":"TemporaryFile(/tmp/multipartBody2509329977709479940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137813660,"filename":"image_29012025_08_59_36_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/29/023716f92de309a66a43e1212ee996d1.jpg","text":"TemporaryFile(/tmp/multipartBody7023423663917160617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137813660,"filename":"image_29012025_08_59_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/29/203f18aac5788e279ceee3d55708ceb4.jpg","text":"TemporaryFile(/tmp/multipartBody7659858465423010386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137813660,"filename":"image_29012025_08_58_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/29/0c737ad6f8ac5804cd4109fcd26775d6.jpg","text":"TemporaryFile(/tmp/multipartBody3313856994153150659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137813660,"filename":"image_29012025_08_59_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/29/5690e4e6b5d0c2a8a6260fbedceff034.jpg","text":"TemporaryFile(/tmp/multipartBody2751234099329357050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137813660,"filename":"image_29012025_08_59_47_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/29/7b8810d6cd035d0fe85452ecba95c4fa.jpg","text":"TemporaryFile(/tmp/multipartBody796468609541842772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137813660,"filename":"image_29012025_08_58_16_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332575080","file1":"1332575071","file0":"1332575064","file4":"1332575090","file5":"1332575097","file3":"1332575085"},"map_files_photo_id_array":[{"photo_id":"1332575097","filename":"file5"},{"photo_id":"1332575080","filename":"file2"},{"photo_id":"1332575090","filename":"file4"},{"photo_id":"1332575071","filename":"file1"},{"photo_id":"1332575064","filename":"file0"},{"photo_id":"1332575085","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332575090":["hashtag1","hashtag2"]},{"1332575080":["hashtag1","hashtag2"]},{"1332575071":["hashtag1","hashtag2"]},{"1332575085":["hashtag1","hashtag2"]},{"1332575097":["hashtag1","hashtag2"]},{"1332575064":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332575090, 1332575080, 1332575071, 1332575085, 1332575097, 1332575064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.46909689903259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:03:33.133776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/00/image_29012025_09_00_16_10073.jpg', '/home/pi/Desktop/images/29012025/09/00/image_29012025_09_00_26_10434.jpg', '/home/pi/Desktop/images/29012025/09/00/image_29012025_09_00_37_10345.jpg', '/home/pi/Desktop/images/29012025/09/00/image_29012025_09_00_46_9356.jpg', '/home/pi/Desktop/images/29012025/09/00/image_29012025_09_00_56_10355.jpg', '/home/pi/Desktop/images/29012025/09/00/image_29012025_09_01_07_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/00/image_29012025_09_00_16_10073.jpg
/home/pi/Desktop/images/29012025/09/00/image_29012025_09_00_26_10434.jpg
/home/pi/Desktop/images/29012025/09/00/image_29012025_09_00_37_10345.jpg
/home/pi/Desktop/images/29012025/09/00/image_29012025_09_00_46_9356.jpg
/home/pi/Desktop/images/29012025/09/00/image_29012025_09_00_56_10355.jpg
/home/pi/Desktop/images/29012025/09/00/image_29012025_09_01_07_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":["1332575307","1332575270","1332575329","1332575320","1332575346","1332575289"],"photo_ids_order":["1332575270","1332575289","1332575307","1332575320","1332575329","1332575346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d02addf9d49c6d1ae6e7109e248a6b53.jpg","text":"TemporaryFile(/tmp/multipartBody696295789753624356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137874062,"filename":"image_29012025_09_00_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/29/751d72c1178c247dbe5d16b65d0cbc9c.jpg","text":"TemporaryFile(/tmp/multipartBody1602743048291503538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137874062,"filename":"image_29012025_09_00_16_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/29/e850789f8de1b840f22027ada8fe6018.jpg","text":"TemporaryFile(/tmp/multipartBody399116748318017190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137874062,"filename":"image_29012025_09_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/29/c89262d11dc48fdb2cbf319df59b5580.jpg","text":"TemporaryFile(/tmp/multipartBody9079080450363100422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137874062,"filename":"image_29012025_09_00_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/29/5d820b59e56260bd9bc323a94cf3a609.jpg","text":"TemporaryFile(/tmp/multipartBody6905658242447023448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137874062,"filename":"image_29012025_09_01_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/29/9f3b4543077f0db9ac96dfe09165a682.jpg","text":"TemporaryFile(/tmp/multipartBody3698964296700309706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137874062,"filename":"image_29012025_09_00_26_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332575307","file1":"1332575289","file0":"1332575270","file4":"1332575329","file5":"1332575346","file3":"1332575320"},"map_files_photo_id_array":[{"photo_id":"1332575346","filename":"file5"},{"photo_id":"1332575307","filename":"file2"},{"photo_id":"1332575329","filename":"file4"},{"photo_id":"1332575289","filename":"file1"},{"photo_id":"1332575270","filename":"file0"},{"photo_id":"1332575320","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332575307":["hashtag1","hashtag2"]},{"1332575270":["hashtag1","hashtag2"]},{"1332575329":["hashtag1","hashtag2"]},{"1332575320":["hashtag1","hashtag2"]},{"1332575346":["hashtag1","hashtag2"]},{"1332575289":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332575307, 1332575270, 1332575329, 1332575320, 1332575346, 1332575289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.138824701309204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:04:32.267319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/01/image_29012025_09_01_16_9419.jpg', '/home/pi/Desktop/images/29012025/09/01/image_29012025_09_01_27_10366.jpg', '/home/pi/Desktop/images/29012025/09/01/image_29012025_09_01_36_9334.jpg', '/home/pi/Desktop/images/29012025/09/01/image_29012025_09_01_46_10405.jpg', '/home/pi/Desktop/images/29012025/09/01/image_29012025_09_01_57_10367.jpg', '/home/pi/Desktop/images/29012025/09/01/image_29012025_09_02_06_9484.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/01/image_29012025_09_01_16_9419.jpg
/home/pi/Desktop/images/29012025/09/01/image_29012025_09_01_27_10366.jpg
/home/pi/Desktop/images/29012025/09/01/image_29012025_09_01_36_9334.jpg
/home/pi/Desktop/images/29012025/09/01/image_29012025_09_01_46_10405.jpg
/home/pi/Desktop/images/29012025/09/01/image_29012025_09_01_57_10367.jpg
/home/pi/Desktop/images/29012025/09/01/image_29012025_09_02_06_9484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332576256","1332576052","1332576294","1332576282","1332576299","1332576287"],"photo_ids_order":["1332576052","1332576256","1332576282","1332576287","1332576294","1332576299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4b896ca25242472bfeed2b7a33ef30d1.jpg","text":"TemporaryFile(/tmp/multipartBody7851670078042455358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137933172,"filename":"image_29012025_09_01_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/29/fcff92b778f4ca46dc4f1b0b73e63d91.jpg","text":"TemporaryFile(/tmp/multipartBody7625201911338984337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137933172,"filename":"image_29012025_09_01_16_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/29/e74470652d6968de8065888d3ea6957f.jpg","text":"TemporaryFile(/tmp/multipartBody7483008268851361745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137933172,"filename":"image_29012025_09_01_57_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/29/0747e57425f88d02fda8ec947fae9486.jpg","text":"TemporaryFile(/tmp/multipartBody8766792207631603863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137933172,"filename":"image_29012025_09_01_36_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/29/2203cd9186d7200bc97c2aeaee18b47b.jpg","text":"TemporaryFile(/tmp/multipartBody7393747398518963277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137933172,"filename":"image_29012025_09_02_06_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/29/5886c57834ae688e003d3c4ed9eacb25.jpg","text":"TemporaryFile(/tmp/multipartBody4649618839454578490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738137933172,"filename":"image_29012025_09_01_46_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332576282","file1":"1332576256","file0":"1332576052","file4":"1332576294","file5":"1332576299","file3":"1332576287"},"map_files_photo_id_array":[{"photo_id":"1332576299","filename":"file5"},{"photo_id":"1332576282","filename":"file2"},{"photo_id":"1332576294","filename":"file4"},{"photo_id":"1332576256","filename":"file1"},{"photo_id":"1332576052","filename":"file0"},{"photo_id":"1332576287","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332576256":["hashtag1","hashtag2"]},{"1332576052":["hashtag1","hashtag2"]},{"1332576294":["hashtag1","hashtag2"]},{"1332576282":["hashtag1","hashtag2"]},{"1332576299":["hashtag1","hashtag2"]},{"1332576287":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332576256, 1332576052, 1332576294, 1332576282, 1332576299, 1332576287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66063141822815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:05:32.496268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_17_10339.jpg', '/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_27_10358.jpg', '/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_36_9416.jpg', '/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_47_10451.jpg', '/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_56_9356.jpg', '/home/pi/Desktop/images/29012025/09/02/image_29012025_09_03_07_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_17_10339.jpg
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_27_10358.jpg
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_36_9416.jpg
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_47_10451.jpg
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_56_9356.jpg
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_03_07_10431.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.5144233703613281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 09:05:42.531182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_17_10339.jpg', '/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_27_10358.jpg', '/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_36_9416.jpg', '/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_47_10451.jpg', '/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_56_9356.jpg', '/home/pi/Desktop/images/29012025/09/02/image_29012025_09_03_07_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_17_10339.jpg
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_27_10358.jpg
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_36_9416.jpg
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_47_10451.jpg
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_02_56_9356.jpg
/home/pi/Desktop/images/29012025/09/02/image_29012025_09_03_07_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332576617","1332576559","1332576622","1332576604","1332576627","1332576612"],"photo_ids_order":["1332576559","1332576604","1332576612","1332576617","1332576622","1332576627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/12fa65ba830c4eb7186fe0f3d1095290.jpg","text":"TemporaryFile(/tmp/multipartBody5658778144226770639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138003465,"filename":"image_29012025_09_02_47_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/29/506bd2ac112391a94d69c0a2a2295cda.jpg","text":"TemporaryFile(/tmp/multipartBody5897010756885592825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138003465,"filename":"image_29012025_09_02_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/29/9ac1a8f84759c2597ce3817c1182ad26.jpg","text":"TemporaryFile(/tmp/multipartBody6051261210191579504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138003465,"filename":"image_29012025_09_02_56_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/29/0aa4bd0ae341d0457dbf7b1a4fe5d385.jpg","text":"TemporaryFile(/tmp/multipartBody4765432229798120226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138003465,"filename":"image_29012025_09_02_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/29/66e0b153db512bc6499db171e8e381f1.jpg","text":"TemporaryFile(/tmp/multipartBody8948747397196060876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138003465,"filename":"image_29012025_09_03_07_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/29/2e2ce6730a901fbb8b07aa78991e9427.jpg","text":"TemporaryFile(/tmp/multipartBody304441198304587299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138003465,"filename":"image_29012025_09_02_36_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332576612","file1":"1332576604","file0":"1332576559","file4":"1332576622","file5":"1332576627","file3":"1332576617"},"map_files_photo_id_array":[{"photo_id":"1332576627","filename":"file5"},{"photo_id":"1332576612","filename":"file2"},{"photo_id":"1332576622","filename":"file4"},{"photo_id":"1332576604","filename":"file1"},{"photo_id":"1332576559","filename":"file0"},{"photo_id":"1332576617","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332576617":["hashtag1","hashtag2"]},{"1332576559":["hashtag1","hashtag2"]},{"1332576622":["hashtag1","hashtag2"]},{"1332576604":["hashtag1","hashtag2"]},{"1332576627":["hashtag1","hashtag2"]},{"1332576612":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332576617, 1332576559, 1332576622, 1332576604, 1332576627, 1332576612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09168314933777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:06:32.709794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/03/image_29012025_09_03_17_10349.jpg', '/home/pi/Desktop/images/29012025/09/03/image_29012025_09_03_26_9364.jpg', '/home/pi/Desktop/images/29012025/09/03/image_29012025_09_03_37_10355.jpg', '/home/pi/Desktop/images/29012025/09/03/image_29012025_09_03_46_9450.jpg', '/home/pi/Desktop/images/29012025/09/03/image_29012025_09_03_56_10345.jpg', '/home/pi/Desktop/images/29012025/09/03/image_29012025_09_04_07_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/03/image_29012025_09_03_17_10349.jpg
/home/pi/Desktop/images/29012025/09/03/image_29012025_09_03_26_9364.jpg
/home/pi/Desktop/images/29012025/09/03/image_29012025_09_03_37_10355.jpg
/home/pi/Desktop/images/29012025/09/03/image_29012025_09_03_46_9450.jpg
/home/pi/Desktop/images/29012025/09/03/image_29012025_09_03_56_10345.jpg
/home/pi/Desktop/images/29012025/09/03/image_29012025_09_04_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":["1332577681","1332577618","1332577612","1332577609","1332577623","1332577604"],"photo_ids_order":["1332577604","1332577609","1332577612","1332577618","1332577623","1332577681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/99072373fce874cc97ba997314e0c4b4.jpg","text":"TemporaryFile(/tmp/multipartBody1977738505575864620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138053621,"filename":"image_29012025_09_04_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/29/4c7023a78c0c9c9c88af346ee0b6f932.jpg","text":"TemporaryFile(/tmp/multipartBody8693611026473503638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138053621,"filename":"image_29012025_09_03_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/29/1c58aab51eb9e9e76c6eb2958af90cba.jpg","text":"TemporaryFile(/tmp/multipartBody931578924864530794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138053621,"filename":"image_29012025_09_03_37_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/29/d2a54815e920ae08a35ad2560ed517fa.jpg","text":"TemporaryFile(/tmp/multipartBody8375612731878725894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138053621,"filename":"image_29012025_09_03_26_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/29/79c13a7af80b8b93c933d5dc379a3a84.jpg","text":"TemporaryFile(/tmp/multipartBody7646195949974537692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138053621,"filename":"image_29012025_09_03_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/29/ee7a931d52a2e0dad4874eda4cce1ad1.jpg","text":"TemporaryFile(/tmp/multipartBody1846639570498589773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138053621,"filename":"image_29012025_09_03_17_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332577612","file1":"1332577609","file0":"1332577604","file4":"1332577623","file5":"1332577681","file3":"1332577618"},"map_files_photo_id_array":[{"photo_id":"1332577681","filename":"file5"},{"photo_id":"1332577612","filename":"file2"},{"photo_id":"1332577623","filename":"file4"},{"photo_id":"1332577609","filename":"file1"},{"photo_id":"1332577604","filename":"file0"},{"photo_id":"1332577618","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332577681":["hashtag1","hashtag2"]},{"1332577618":["hashtag1","hashtag2"]},{"1332577612":["hashtag1","hashtag2"]},{"1332577609":["hashtag1","hashtag2"]},{"1332577623":["hashtag1","hashtag2"]},{"1332577604":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332577681, 1332577618, 1332577612, 1332577609, 1332577623, 1332577604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61976099014282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:07:32.938298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/04/image_29012025_09_04_16_9341.jpg', '/home/pi/Desktop/images/29012025/09/04/image_29012025_09_04_27_10375.jpg', '/home/pi/Desktop/images/29012025/09/04/image_29012025_09_04_37_10330.jpg', '/home/pi/Desktop/images/29012025/09/04/image_29012025_09_04_46_9416.jpg', '/home/pi/Desktop/images/29012025/09/04/image_29012025_09_04_57_10420.jpg', '/home/pi/Desktop/images/29012025/09/04/image_29012025_09_05_06_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/04/image_29012025_09_04_16_9341.jpg
/home/pi/Desktop/images/29012025/09/04/image_29012025_09_04_27_10375.jpg
/home/pi/Desktop/images/29012025/09/04/image_29012025_09_04_37_10330.jpg
/home/pi/Desktop/images/29012025/09/04/image_29012025_09_04_46_9416.jpg
/home/pi/Desktop/images/29012025/09/04/image_29012025_09_04_57_10420.jpg
/home/pi/Desktop/images/29012025/09/04/image_29012025_09_05_06_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":["1332578341","1332578350","1332578489","1332578354","1332578345","1332578446"],"photo_ids_order":["1332578341","1332578345","1332578350","1332578354","1332578446","1332578489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/93e9be9bf757f1118c4f21b029a3cfec.jpg","text":"TemporaryFile(/tmp/multipartBody8818023285578426048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138113910,"filename":"image_29012025_09_04_16_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/29/ce021b3ffd144ae5505362a74da3645a.jpg","text":"TemporaryFile(/tmp/multipartBody805859399915526377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138113910,"filename":"image_29012025_09_04_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/29/d29ea89a0a159ca61bc50773f05ee9ac.jpg","text":"TemporaryFile(/tmp/multipartBody3059067393454547534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138113910,"filename":"image_29012025_09_05_06_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/29/3daf93065bac73251566d94ccb3e25dd.jpg","text":"TemporaryFile(/tmp/multipartBody2116757024759157422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138113910,"filename":"image_29012025_09_04_46_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/29/c11b2990cf79332bd5977fef2ab3fd57.jpg","text":"TemporaryFile(/tmp/multipartBody8918099311713688048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138113910,"filename":"image_29012025_09_04_27_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/29/e532f132ba10cfa4b88cd6554737e0f2.jpg","text":"TemporaryFile(/tmp/multipartBody532903853119314474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138113910,"filename":"image_29012025_09_04_57_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332578350","file1":"1332578345","file0":"1332578341","file4":"1332578446","file5":"1332578489","file3":"1332578354"},"map_files_photo_id_array":[{"photo_id":"1332578489","filename":"file5"},{"photo_id":"1332578350","filename":"file2"},{"photo_id":"1332578446","filename":"file4"},{"photo_id":"1332578345","filename":"file1"},{"photo_id":"1332578341","filename":"file0"},{"photo_id":"1332578354","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332578341":["hashtag1","hashtag2"]},{"1332578350":["hashtag1","hashtag2"]},{"1332578489":["hashtag1","hashtag2"]},{"1332578354":["hashtag1","hashtag2"]},{"1332578345":["hashtag1","hashtag2"]},{"1332578446":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332578341, 1332578350, 1332578489, 1332578354, 1332578345, 1332578446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.177000761032104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:08:32.293757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/05/image_29012025_09_05_16_10354.jpg', '/home/pi/Desktop/images/29012025/09/05/image_29012025_09_05_27_10341.jpg', '/home/pi/Desktop/images/29012025/09/05/image_29012025_09_05_36_9419.jpg', '/home/pi/Desktop/images/29012025/09/05/image_29012025_09_05_47_10350.jpg', '/home/pi/Desktop/images/29012025/09/05/image_29012025_09_05_57_10010.jpg', '/home/pi/Desktop/images/29012025/09/05/image_29012025_09_06_06_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/05/image_29012025_09_05_16_10354.jpg
/home/pi/Desktop/images/29012025/09/05/image_29012025_09_05_27_10341.jpg
/home/pi/Desktop/images/29012025/09/05/image_29012025_09_05_36_9419.jpg
/home/pi/Desktop/images/29012025/09/05/image_29012025_09_05_47_10350.jpg
/home/pi/Desktop/images/29012025/09/05/image_29012025_09_05_57_10010.jpg
/home/pi/Desktop/images/29012025/09/05/image_29012025_09_06_06_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":["1332578604","1332578613","1332578570","1332578582","1332578630","1332578563"],"photo_ids_order":["1332578563","1332578570","1332578582","1332578604","1332578613","1332578630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/eb0f6b5a207cde29102f14d51e20e2eb.jpg","text":"TemporaryFile(/tmp/multipartBody3516324067171958770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138173194,"filename":"image_29012025_09_05_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/29/c20838629e4c413c9ee91f317646a10a.jpg","text":"TemporaryFile(/tmp/multipartBody2006440591638922740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138173194,"filename":"image_29012025_09_05_57_10010.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/89b219873f8f05ab15153a527c375424.jpg","text":"TemporaryFile(/tmp/multipartBody4122806782315619183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138173194,"filename":"image_29012025_09_05_27_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/29/d5e7d614a38db7106e383f316b7eeaf4.jpg","text":"TemporaryFile(/tmp/multipartBody7586304259805794390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138173194,"filename":"image_29012025_09_05_36_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/29/68ccc393c793c41a50debe1d680f88d1.jpg","text":"TemporaryFile(/tmp/multipartBody646181323813376429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138173194,"filename":"image_29012025_09_06_06_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/29/668cf5a1607752f6fc58f89d1cf38b73.jpg","text":"TemporaryFile(/tmp/multipartBody4904015503180728925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138173194,"filename":"image_29012025_09_05_16_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332578582","file1":"1332578570","file0":"1332578563","file4":"1332578613","file5":"1332578630","file3":"1332578604"},"map_files_photo_id_array":[{"photo_id":"1332578630","filename":"file5"},{"photo_id":"1332578582","filename":"file2"},{"photo_id":"1332578613","filename":"file4"},{"photo_id":"1332578570","filename":"file1"},{"photo_id":"1332578563","filename":"file0"},{"photo_id":"1332578604","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332578604":["hashtag1","hashtag2"]},{"1332578613":["hashtag1","hashtag2"]},{"1332578570":["hashtag1","hashtag2"]},{"1332578582":["hashtag1","hashtag2"]},{"1332578630":["hashtag1","hashtag2"]},{"1332578563":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332578604, 1332578613, 1332578570, 1332578582, 1332578630, 1332578563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34362316131592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:09:32.602893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/06/image_29012025_09_06_16_10344.jpg', '/home/pi/Desktop/images/29012025/09/06/image_29012025_09_06_27_10363.jpg', '/home/pi/Desktop/images/29012025/09/06/image_29012025_09_06_36_9437.jpg', '/home/pi/Desktop/images/29012025/09/06/image_29012025_09_06_47_10384.jpg', '/home/pi/Desktop/images/29012025/09/06/image_29012025_09_06_57_10386.jpg', '/home/pi/Desktop/images/29012025/09/06/image_29012025_09_07_06_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/06/image_29012025_09_06_16_10344.jpg
/home/pi/Desktop/images/29012025/09/06/image_29012025_09_06_27_10363.jpg
/home/pi/Desktop/images/29012025/09/06/image_29012025_09_06_36_9437.jpg
/home/pi/Desktop/images/29012025/09/06/image_29012025_09_06_47_10384.jpg
/home/pi/Desktop/images/29012025/09/06/image_29012025_09_06_57_10386.jpg
/home/pi/Desktop/images/29012025/09/06/image_29012025_09_07_06_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":["1332578800","1332578859","1332578850","1332578855","1332578816","1332578836"],"photo_ids_order":["1332578800","1332578816","1332578836","1332578850","1332578855","1332578859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9481857bc31f2a8c71df1fb72c63ad40.jpg","text":"TemporaryFile(/tmp/multipartBody4689792715918453988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138233515,"filename":"image_29012025_09_06_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/29/5c88afb3da5cd44325b16a8d1e855338.jpg","text":"TemporaryFile(/tmp/multipartBody4826984753473802064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138233515,"filename":"image_29012025_09_07_06_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/29/83d2bc53fe336a1e7f5be89035a85480.jpg","text":"TemporaryFile(/tmp/multipartBody7828728747867546490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138233515,"filename":"image_29012025_09_06_47_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/29/dfdc24c88b4ffa8c3267c9fec2466776.jpg","text":"TemporaryFile(/tmp/multipartBody5848494427925322576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138233515,"filename":"image_29012025_09_06_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/29/62c668d4ee495635f33c92c6bd39b069.jpg","text":"TemporaryFile(/tmp/multipartBody6382160918685685123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138233515,"filename":"image_29012025_09_06_27_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/29/4d7c2f143e597fa8b5540677b2e8e7a4.jpg","text":"TemporaryFile(/tmp/multipartBody5804701902133939125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138233515,"filename":"image_29012025_09_06_36_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332578836","file1":"1332578816","file0":"1332578800","file4":"1332578855","file5":"1332578859","file3":"1332578850"},"map_files_photo_id_array":[{"photo_id":"1332578859","filename":"file5"},{"photo_id":"1332578836","filename":"file2"},{"photo_id":"1332578855","filename":"file4"},{"photo_id":"1332578816","filename":"file1"},{"photo_id":"1332578800","filename":"file0"},{"photo_id":"1332578850","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332578800":["hashtag1","hashtag2"]},{"1332578859":["hashtag1","hashtag2"]},{"1332578850":["hashtag1","hashtag2"]},{"1332578855":["hashtag1","hashtag2"]},{"1332578816":["hashtag1","hashtag2"]},{"1332578836":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332578800, 1332578859, 1332578850, 1332578855, 1332578816, 1332578836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.274433851242065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:10:32.800795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/07/image_29012025_09_07_17_10391.jpg', '/home/pi/Desktop/images/29012025/09/07/image_29012025_09_07_26_9480.jpg', '/home/pi/Desktop/images/29012025/09/07/image_29012025_09_07_36_10348.jpg', '/home/pi/Desktop/images/29012025/09/07/image_29012025_09_07_47_10345.jpg', '/home/pi/Desktop/images/29012025/09/07/image_29012025_09_07_56_9421.jpg', '/home/pi/Desktop/images/29012025/09/07/image_29012025_09_08_07_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/07/image_29012025_09_07_17_10391.jpg
/home/pi/Desktop/images/29012025/09/07/image_29012025_09_07_26_9480.jpg
/home/pi/Desktop/images/29012025/09/07/image_29012025_09_07_36_10348.jpg
/home/pi/Desktop/images/29012025/09/07/image_29012025_09_07_47_10345.jpg
/home/pi/Desktop/images/29012025/09/07/image_29012025_09_07_56_9421.jpg
/home/pi/Desktop/images/29012025/09/07/image_29012025_09_08_07_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":["1332578886","1332578880","1332578901","1332578888","1332578897","1332578893"],"photo_ids_order":["1332578880","1332578886","1332578888","1332578893","1332578897","1332578901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/17beb0db4fce5dd817cc020826a74686.jpg","text":"TemporaryFile(/tmp/multipartBody8310018893956967994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138293821,"filename":"image_29012025_09_07_26_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/29/d3d52ef9c0981564cfeeab87a2aec8f8.jpg","text":"TemporaryFile(/tmp/multipartBody6978807881003429009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138293821,"filename":"image_29012025_09_07_17_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/29/62e4d6b822580c86c9ca633fe6b3feb2.jpg","text":"TemporaryFile(/tmp/multipartBody6608184709628002435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138293821,"filename":"image_29012025_09_08_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/29/d3a10401eb032a15e3468f8a4e182d71.jpg","text":"TemporaryFile(/tmp/multipartBody5125640751097812907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138293821,"filename":"image_29012025_09_07_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/29/7468feb3860ceaddf1eb5da2a91b99d0.jpg","text":"TemporaryFile(/tmp/multipartBody5639844547429706637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138293821,"filename":"image_29012025_09_07_56_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/29/ccd744ab90d10dee61778e6a1f206d13.jpg","text":"TemporaryFile(/tmp/multipartBody5626468602197390348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138293821,"filename":"image_29012025_09_07_47_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332578888","file1":"1332578886","file0":"1332578880","file4":"1332578897","file5":"1332578901","file3":"1332578893"},"map_files_photo_id_array":[{"photo_id":"1332578901","filename":"file5"},{"photo_id":"1332578888","filename":"file2"},{"photo_id":"1332578897","filename":"file4"},{"photo_id":"1332578886","filename":"file1"},{"photo_id":"1332578880","filename":"file0"},{"photo_id":"1332578893","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332578886":["hashtag1","hashtag2"]},{"1332578880":["hashtag1","hashtag2"]},{"1332578901":["hashtag1","hashtag2"]},{"1332578888":["hashtag1","hashtag2"]},{"1332578897":["hashtag1","hashtag2"]},{"1332578893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332578886, 1332578880, 1332578901, 1332578888, 1332578897, 1332578893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.31160259246826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:11:33.023630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/08/image_29012025_09_08_16_9330.jpg', '/home/pi/Desktop/images/29012025/09/08/image_29012025_09_08_26_10364.jpg', '/home/pi/Desktop/images/29012025/09/08/image_29012025_09_08_37_10361.jpg', '/home/pi/Desktop/images/29012025/09/08/image_29012025_09_08_46_9474.jpg', '/home/pi/Desktop/images/29012025/09/08/image_29012025_09_08_57_10381.jpg', '/home/pi/Desktop/images/29012025/09/08/image_29012025_09_09_07_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/08/image_29012025_09_08_16_9330.jpg
/home/pi/Desktop/images/29012025/09/08/image_29012025_09_08_26_10364.jpg
/home/pi/Desktop/images/29012025/09/08/image_29012025_09_08_37_10361.jpg
/home/pi/Desktop/images/29012025/09/08/image_29012025_09_08_46_9474.jpg
/home/pi/Desktop/images/29012025/09/08/image_29012025_09_08_57_10381.jpg
/home/pi/Desktop/images/29012025/09/08/image_29012025_09_09_07_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":["1332578950","1332579039","1332579050","1332578945","1332578939","1332578983"],"photo_ids_order":["1332578939","1332578945","1332578950","1332578983","1332579039","1332579050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/553077a2fdacc84e83466600ded4c83c.jpg","text":"TemporaryFile(/tmp/multipartBody7860986107266541517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138353925,"filename":"image_29012025_09_08_37_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/29/640af3f9a0940a2e24188fa0c83a3e35.jpg","text":"TemporaryFile(/tmp/multipartBody8325854865162680847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138353925,"filename":"image_29012025_09_08_57_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/29/379f26efce161146d6da0cfe4615d0d5.jpg","text":"TemporaryFile(/tmp/multipartBody7395292844357029009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138353925,"filename":"image_29012025_09_09_07_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/29/c5323a3a41880bce46ed9b738476604e.jpg","text":"TemporaryFile(/tmp/multipartBody7375723555756359414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138353925,"filename":"image_29012025_09_08_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/29/98115bbb4aa2f702ca5a541b8d207e83.jpg","text":"TemporaryFile(/tmp/multipartBody1573552410897452527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138353925,"filename":"image_29012025_09_08_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/29/784909f0269ee6377e3fd976f401d761.jpg","text":"TemporaryFile(/tmp/multipartBody6003379304925709802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138353925,"filename":"image_29012025_09_08_46_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332578950","file1":"1332578945","file0":"1332578939","file4":"1332579039","file5":"1332579050","file3":"1332578983"},"map_files_photo_id_array":[{"photo_id":"1332579050","filename":"file5"},{"photo_id":"1332578950","filename":"file2"},{"photo_id":"1332579039","filename":"file4"},{"photo_id":"1332578945","filename":"file1"},{"photo_id":"1332578939","filename":"file0"},{"photo_id":"1332578983","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332578950":["hashtag1","hashtag2"]},{"1332579039":["hashtag1","hashtag2"]},{"1332579050":["hashtag1","hashtag2"]},{"1332578945":["hashtag1","hashtag2"]},{"1332578939":["hashtag1","hashtag2"]},{"1332578983":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332578950, 1332579039, 1332579050, 1332578945, 1332578939, 1332578983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.15936326980591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:12:33.141614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/09/image_29012025_09_09_16_9386.jpg', '/home/pi/Desktop/images/29012025/09/09/image_29012025_09_09_27_10345.jpg', '/home/pi/Desktop/images/29012025/09/09/image_29012025_09_09_36_9490.jpg', '/home/pi/Desktop/images/29012025/09/09/image_29012025_09_09_46_10358.jpg', '/home/pi/Desktop/images/29012025/09/09/image_29012025_09_10_06_9341.jpg', '/home/pi/Desktop/images/29012025/09/10/image_29012025_09_10_16_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/09/image_29012025_09_09_16_9386.jpg
/home/pi/Desktop/images/29012025/09/09/image_29012025_09_09_27_10345.jpg
/home/pi/Desktop/images/29012025/09/09/image_29012025_09_09_36_9490.jpg
/home/pi/Desktop/images/29012025/09/09/image_29012025_09_09_46_10358.jpg
/home/pi/Desktop/images/29012025/09/09/image_29012025_09_10_06_9341.jpg
/home/pi/Desktop/images/29012025/09/10/image_29012025_09_10_16_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":["1332579453","1332579270","1332579348","1332579123","1332579073","1332579169"],"photo_ids_order":["1332579073","1332579123","1332579169","1332579270","1332579348","1332579453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b9d2f1d2768a5a410d5a6d4309631c7a.jpg","text":"TemporaryFile(/tmp/multipartBody6276838234089813888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138414066,"filename":"image_29012025_09_10_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/29/95c7921486a80ebf84dbb2b7a038e0c6.jpg","text":"TemporaryFile(/tmp/multipartBody1257954125447101424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138414066,"filename":"image_29012025_09_09_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/29/8c2ac71b03c69bdefe66fea0832628b1.jpg","text":"TemporaryFile(/tmp/multipartBody741536447109111165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138414066,"filename":"image_29012025_09_10_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/29/8dfccd5f4331a0cd0bc9e1b9653d8931.jpg","text":"TemporaryFile(/tmp/multipartBody1079547929037278448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138414066,"filename":"image_29012025_09_09_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/29/8a285e5aa83691509f03a31df611994a.jpg","text":"TemporaryFile(/tmp/multipartBody2372341103401824910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138414066,"filename":"image_29012025_09_09_16_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/29/bee4f6a172f9797cfda2f180bb8446a3.jpg","text":"TemporaryFile(/tmp/multipartBody9062874519957980187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138414066,"filename":"image_29012025_09_09_36_9490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332579169","file1":"1332579123","file0":"1332579073","file4":"1332579348","file5":"1332579453","file3":"1332579270"},"map_files_photo_id_array":[{"photo_id":"1332579453","filename":"file5"},{"photo_id":"1332579169","filename":"file2"},{"photo_id":"1332579348","filename":"file4"},{"photo_id":"1332579123","filename":"file1"},{"photo_id":"1332579073","filename":"file0"},{"photo_id":"1332579270","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332579453":["hashtag1","hashtag2"]},{"1332579270":["hashtag1","hashtag2"]},{"1332579348":["hashtag1","hashtag2"]},{"1332579123":["hashtag1","hashtag2"]},{"1332579073":["hashtag1","hashtag2"]},{"1332579169":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332579453, 1332579270, 1332579348, 1332579123, 1332579073, 1332579169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.642266511917114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:13:32.334578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/10/image_29012025_09_10_27_10368.jpg', '/home/pi/Desktop/images/29012025/09/10/image_29012025_09_10_36_9407.jpg', '/home/pi/Desktop/images/29012025/09/10/image_29012025_09_10_47_10351.jpg', '/home/pi/Desktop/images/29012025/09/10/image_29012025_09_10_56_9352.jpg', '/home/pi/Desktop/images/29012025/09/10/image_29012025_09_11_06_10437.jpg', '/home/pi/Desktop/images/29012025/09/11/image_29012025_09_11_17_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/10/image_29012025_09_10_27_10368.jpg
/home/pi/Desktop/images/29012025/09/10/image_29012025_09_10_36_9407.jpg
/home/pi/Desktop/images/29012025/09/10/image_29012025_09_10_47_10351.jpg
/home/pi/Desktop/images/29012025/09/10/image_29012025_09_10_56_9352.jpg
/home/pi/Desktop/images/29012025/09/10/image_29012025_09_11_06_10437.jpg
/home/pi/Desktop/images/29012025/09/11/image_29012025_09_11_17_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":["1332580033","1332579966","1332579896","1332580008","1332580082","1332580045"],"photo_ids_order":["1332579896","1332579966","1332580008","1332580033","1332580045","1332580082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/61811898a651efd673212c2a74f6abac.jpg","text":"TemporaryFile(/tmp/multipartBody3277092299635951518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138473246,"filename":"image_29012025_09_10_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/29/dab40283b46200e26dc73f72de31b237.jpg","text":"TemporaryFile(/tmp/multipartBody8372138969632723887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138473246,"filename":"image_29012025_09_10_36_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/29/683904fcae274b1d55cee74e5dd19bff.jpg","text":"TemporaryFile(/tmp/multipartBody1037616877884275485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138473246,"filename":"image_29012025_09_10_27_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/29/21a60d688899be91d87797c8475189bc.jpg","text":"TemporaryFile(/tmp/multipartBody6761384027980706962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138473246,"filename":"image_29012025_09_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/29/ce43eef719b41f8e2ef4cd3d93f50166.jpg","text":"TemporaryFile(/tmp/multipartBody677819964383714125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138473246,"filename":"image_29012025_09_11_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/29/c8019c4024aa39ecc26a452e3154c776.jpg","text":"TemporaryFile(/tmp/multipartBody7693782877638068865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138473246,"filename":"image_29012025_09_11_06_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332580008","file1":"1332579966","file0":"1332579896","file4":"1332580045","file5":"1332580082","file3":"1332580033"},"map_files_photo_id_array":[{"photo_id":"1332580082","filename":"file5"},{"photo_id":"1332580008","filename":"file2"},{"photo_id":"1332580045","filename":"file4"},{"photo_id":"1332579966","filename":"file1"},{"photo_id":"1332579896","filename":"file0"},{"photo_id":"1332580033","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332580033":["hashtag1","hashtag2"]},{"1332579966":["hashtag1","hashtag2"]},{"1332579896":["hashtag1","hashtag2"]},{"1332580008":["hashtag1","hashtag2"]},{"1332580082":["hashtag1","hashtag2"]},{"1332580045":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332580033, 1332579966, 1332579896, 1332580008, 1332580082, 1332580045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.179213762283325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:14:32.531078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/11/image_29012025_09_11_26_9405.jpg', '/home/pi/Desktop/images/29012025/09/11/image_29012025_09_11_36_10336.jpg', '/home/pi/Desktop/images/29012025/09/11/image_29012025_09_11_47_10337.jpg', '/home/pi/Desktop/images/29012025/09/11/image_29012025_09_12_07_10335.jpg', '/home/pi/Desktop/images/29012025/09/12/image_29012025_09_12_16_9496.jpg', '/home/pi/Desktop/images/29012025/09/12/image_29012025_09_12_26_9999.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/11/image_29012025_09_11_26_9405.jpg
/home/pi/Desktop/images/29012025/09/11/image_29012025_09_11_36_10336.jpg
/home/pi/Desktop/images/29012025/09/11/image_29012025_09_11_47_10337.jpg
/home/pi/Desktop/images/29012025/09/11/image_29012025_09_12_07_10335.jpg
/home/pi/Desktop/images/29012025/09/12/image_29012025_09_12_16_9496.jpg
/home/pi/Desktop/images/29012025/09/12/image_29012025_09_12_26_9999.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332580129","1332580120","1332580108","1332580131","1332580125","1332580113"],"photo_ids_order":["1332580108","1332580113","1332580120","1332580125","1332580129","1332580131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/25aa1febbf217813e77cc799d39d528f.jpg","text":"TemporaryFile(/tmp/multipartBody634628683981731751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138533431,"filename":"image_29012025_09_12_16_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/29/2c215d0e6e5e91da073ac83016335c96.jpg","text":"TemporaryFile(/tmp/multipartBody500281437812187248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138533431,"filename":"image_29012025_09_11_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/29/e1ce4f3c3f0b10a0cfdd6d5242db1f9e.jpg","text":"TemporaryFile(/tmp/multipartBody2559972886565572964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138533431,"filename":"image_29012025_09_11_26_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/29/cec74dd569ddf82327329992d3e6fc7f.jpg","text":"TemporaryFile(/tmp/multipartBody3381941676547171597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138533431,"filename":"image_29012025_09_12_26_9999.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d315402394b016da7092df343da34d48.jpg","text":"TemporaryFile(/tmp/multipartBody5067044092235037654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138533431,"filename":"image_29012025_09_12_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/29/3a53a103f38bab8da576dc428942b927.jpg","text":"TemporaryFile(/tmp/multipartBody3312491071374711046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138533431,"filename":"image_29012025_09_11_36_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332580120","file1":"1332580113","file0":"1332580108","file4":"1332580129","file5":"1332580131","file3":"1332580125"},"map_files_photo_id_array":[{"photo_id":"1332580131","filename":"file5"},{"photo_id":"1332580120","filename":"file2"},{"photo_id":"1332580129","filename":"file4"},{"photo_id":"1332580113","filename":"file1"},{"photo_id":"1332580108","filename":"file0"},{"photo_id":"1332580125","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332580129":["hashtag1","hashtag2"]},{"1332580120":["hashtag1","hashtag2"]},{"1332580108":["hashtag1","hashtag2"]},{"1332580131":["hashtag1","hashtag2"]},{"1332580125":["hashtag1","hashtag2"]},{"1332580113":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332580129, 1332580120, 1332580108, 1332580131, 1332580125, 1332580113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67408013343811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:15:32.841631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/12/image_29012025_09_12_36_10408.jpg', '/home/pi/Desktop/images/29012025/09/12/image_29012025_09_12_47_10349.jpg', '/home/pi/Desktop/images/29012025/09/12/image_29012025_09_12_56_9404.jpg', '/home/pi/Desktop/images/29012025/09/12/image_29012025_09_13_07_10363.jpg', '/home/pi/Desktop/images/29012025/09/13/image_29012025_09_13_16_9441.jpg', '/home/pi/Desktop/images/29012025/09/13/image_29012025_09_13_26_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/12/image_29012025_09_12_36_10408.jpg
/home/pi/Desktop/images/29012025/09/12/image_29012025_09_12_47_10349.jpg
/home/pi/Desktop/images/29012025/09/12/image_29012025_09_12_56_9404.jpg
/home/pi/Desktop/images/29012025/09/12/image_29012025_09_13_07_10363.jpg
/home/pi/Desktop/images/29012025/09/13/image_29012025_09_13_16_9441.jpg
/home/pi/Desktop/images/29012025/09/13/image_29012025_09_13_26_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":["1332580240","1332580228","1332580236","1332580277","1332580253","1332580264"],"photo_ids_order":["1332580228","1332580236","1332580240","1332580253","1332580264","1332580277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/89d72f69548be90da52ddbb9d2f2d2af.jpg","text":"TemporaryFile(/tmp/multipartBody3581244192574709859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138593777,"filename":"image_29012025_09_12_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/29/a23e9231e42328a3e2470108de60c9ff.jpg","text":"TemporaryFile(/tmp/multipartBody7005291269055959957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138593777,"filename":"image_29012025_09_12_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/29/7d063c8a45b80ce395bbb6756752291f.jpg","text":"TemporaryFile(/tmp/multipartBody4144766214343878356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138593777,"filename":"image_29012025_09_12_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/29/372be11486849c0bef331f6ee0afa976.jpg","text":"TemporaryFile(/tmp/multipartBody8764896908280862829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138593777,"filename":"image_29012025_09_13_26_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/29/6c2844f800555bd11a1aef2a4ab5a3e1.jpg","text":"TemporaryFile(/tmp/multipartBody4326082681275729356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138593777,"filename":"image_29012025_09_13_07_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/29/b5a3bd85e89c90b6e421fc827afd6503.jpg","text":"TemporaryFile(/tmp/multipartBody7523759062012990257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138593777,"filename":"image_29012025_09_13_16_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332580240","file1":"1332580236","file0":"1332580228","file4":"1332580264","file5":"1332580277","file3":"1332580253"},"map_files_photo_id_array":[{"photo_id":"1332580277","filename":"file5"},{"photo_id":"1332580240","filename":"file2"},{"photo_id":"1332580264","filename":"file4"},{"photo_id":"1332580236","filename":"file1"},{"photo_id":"1332580228","filename":"file0"},{"photo_id":"1332580253","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332580240":["hashtag1","hashtag2"]},{"1332580228":["hashtag1","hashtag2"]},{"1332580236":["hashtag1","hashtag2"]},{"1332580277":["hashtag1","hashtag2"]},{"1332580253":["hashtag1","hashtag2"]},{"1332580264":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332580240, 1332580228, 1332580236, 1332580277, 1332580253, 1332580264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56870198249817 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:16:33.065361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/13/image_29012025_09_13_37_10407.jpg', '/home/pi/Desktop/images/29012025/09/13/image_29012025_09_13_46_9332.jpg', '/home/pi/Desktop/images/29012025/09/13/image_29012025_09_13_57_10352.jpg', '/home/pi/Desktop/images/29012025/09/13/image_29012025_09_14_07_10348.jpg', '/home/pi/Desktop/images/29012025/09/14/image_29012025_09_14_16_9435.jpg', '/home/pi/Desktop/images/29012025/09/14/image_29012025_09_14_36_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/13/image_29012025_09_13_37_10407.jpg
/home/pi/Desktop/images/29012025/09/13/image_29012025_09_13_46_9332.jpg
/home/pi/Desktop/images/29012025/09/13/image_29012025_09_13_57_10352.jpg
/home/pi/Desktop/images/29012025/09/13/image_29012025_09_14_07_10348.jpg
/home/pi/Desktop/images/29012025/09/14/image_29012025_09_14_16_9435.jpg
/home/pi/Desktop/images/29012025/09/14/image_29012025_09_14_36_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":["1332580408","1332580383","1332580410","1332580355","1332580349","1332580342"],"photo_ids_order":["1332580342","1332580349","1332580355","1332580383","1332580408","1332580410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b6c505af8b0c399860bfe2b59fbb9d10.jpg","text":"TemporaryFile(/tmp/multipartBody1313499593219427210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138653982,"filename":"image_29012025_09_14_16_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/29/0825b3df394ff23d438b669adc366fb0.jpg","text":"TemporaryFile(/tmp/multipartBody7701606746440302724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138653982,"filename":"image_29012025_09_14_07_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/29/97e466b0ddce97deed75b04ba3099cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7199624281523106969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138653982,"filename":"image_29012025_09_14_36_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/29/b0469028bbeebe63b68394f8dbbef738.jpg","text":"TemporaryFile(/tmp/multipartBody7604916863406224350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138653982,"filename":"image_29012025_09_13_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/29/e6c5e75575c69d26173d309b91561c18.jpg","text":"TemporaryFile(/tmp/multipartBody373511888006755185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138653982,"filename":"image_29012025_09_13_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/29/9e5d9714b147a755e1205940d7886615.jpg","text":"TemporaryFile(/tmp/multipartBody3740594122944940469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138653982,"filename":"image_29012025_09_13_37_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332580355","file1":"1332580349","file0":"1332580342","file4":"1332580408","file5":"1332580410","file3":"1332580383"},"map_files_photo_id_array":[{"photo_id":"1332580410","filename":"file5"},{"photo_id":"1332580355","filename":"file2"},{"photo_id":"1332580408","filename":"file4"},{"photo_id":"1332580349","filename":"file1"},{"photo_id":"1332580342","filename":"file0"},{"photo_id":"1332580383","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332580408":["hashtag1","hashtag2"]},{"1332580383":["hashtag1","hashtag2"]},{"1332580410":["hashtag1","hashtag2"]},{"1332580355":["hashtag1","hashtag2"]},{"1332580349":["hashtag1","hashtag2"]},{"1332580342":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332580408, 1332580383, 1332580410, 1332580355, 1332580349, 1332580342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23633909225464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:17:32.306873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/14/image_29012025_09_14_47_10473.jpg', '/home/pi/Desktop/images/29012025/09/14/image_29012025_09_14_57_10364.jpg', '/home/pi/Desktop/images/29012025/09/14/image_29012025_09_15_06_9336.jpg', '/home/pi/Desktop/images/29012025/09/15/image_29012025_09_15_17_10414.jpg', '/home/pi/Desktop/images/29012025/09/15/image_29012025_09_15_26_9493.jpg', '/home/pi/Desktop/images/29012025/09/15/image_29012025_09_15_37_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/14/image_29012025_09_14_47_10473.jpg
/home/pi/Desktop/images/29012025/09/14/image_29012025_09_14_57_10364.jpg
/home/pi/Desktop/images/29012025/09/14/image_29012025_09_15_06_9336.jpg
/home/pi/Desktop/images/29012025/09/15/image_29012025_09_15_17_10414.jpg
/home/pi/Desktop/images/29012025/09/15/image_29012025_09_15_26_9493.jpg
/home/pi/Desktop/images/29012025/09/15/image_29012025_09_15_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":["1332580933","1332580432","1332580426","1332580725","1332580422","1332580439"],"photo_ids_order":["1332580422","1332580426","1332580432","1332580439","1332580725","1332580933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3b635d984da9abc8fcb358e8d2b798d7.jpg","text":"TemporaryFile(/tmp/multipartBody7210681302341585711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138713210,"filename":"image_29012025_09_15_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/29/6e46fdae40c636355a8bccfe3e351a7d.jpg","text":"TemporaryFile(/tmp/multipartBody7710732816287489319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138713210,"filename":"image_29012025_09_15_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/29/e893042a810e627d4e50c214c619d966.jpg","text":"TemporaryFile(/tmp/multipartBody9102217224633169045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138713210,"filename":"image_29012025_09_14_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/29/f20ee8035785176a60df048bc41ca7e4.jpg","text":"TemporaryFile(/tmp/multipartBody1833850536185525733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138713210,"filename":"image_29012025_09_15_26_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/29/1b57066804d1c2067619e7018cffc533.jpg","text":"TemporaryFile(/tmp/multipartBody8163222184598422190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138713210,"filename":"image_29012025_09_14_47_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/29/f97fb956baad33d30c92c849fb801ec5.jpg","text":"TemporaryFile(/tmp/multipartBody4898764364666978871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138713210,"filename":"image_29012025_09_15_17_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332580432","file1":"1332580426","file0":"1332580422","file4":"1332580725","file5":"1332580933","file3":"1332580439"},"map_files_photo_id_array":[{"photo_id":"1332580933","filename":"file5"},{"photo_id":"1332580432","filename":"file2"},{"photo_id":"1332580725","filename":"file4"},{"photo_id":"1332580426","filename":"file1"},{"photo_id":"1332580422","filename":"file0"},{"photo_id":"1332580439","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332580933":["hashtag1","hashtag2"]},{"1332580432":["hashtag1","hashtag2"]},{"1332580426":["hashtag1","hashtag2"]},{"1332580725":["hashtag1","hashtag2"]},{"1332580422":["hashtag1","hashtag2"]},{"1332580439":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332580933, 1332580432, 1332580426, 1332580725, 1332580422, 1332580439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.03523230552673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:18:32.535847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/15/image_29012025_09_15_47_10353.jpg', '/home/pi/Desktop/images/29012025/09/15/image_29012025_09_16_07_10363.jpg', '/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_26_10368.jpg', '/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_37_10361.jpg', '/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_46_9346.jpg', '/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_57_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/15/image_29012025_09_15_47_10353.jpg
/home/pi/Desktop/images/29012025/09/15/image_29012025_09_16_07_10363.jpg
/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_26_10368.jpg
/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_37_10361.jpg
/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_46_9346.jpg
/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_57_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.5515680313110352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 09:18:42.547942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/15/image_29012025_09_15_47_10353.jpg', '/home/pi/Desktop/images/29012025/09/15/image_29012025_09_16_07_10363.jpg', '/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_26_10368.jpg', '/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_37_10361.jpg', '/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_46_9346.jpg', '/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_57_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/15/image_29012025_09_15_47_10353.jpg
/home/pi/Desktop/images/29012025/09/15/image_29012025_09_16_07_10363.jpg
/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_26_10368.jpg
/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_37_10361.jpg
/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_46_9346.jpg
/home/pi/Desktop/images/29012025/09/16/image_29012025_09_16_57_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":["1332581274","1332581454","1332581403","1332581834","1332581351","1332581659"],"photo_ids_order":["1332581274","1332581351","1332581403","1332581454","1332581659","1332581834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ffc3a22e4bb4b520ec3fdcd464d6b7aa.jpg","text":"TemporaryFile(/tmp/multipartBody2970618567776239347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138783448,"filename":"image_29012025_09_15_47_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/29/b590dd34297b4001911d9646e84d141c.jpg","text":"TemporaryFile(/tmp/multipartBody4473558801920447452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138783448,"filename":"image_29012025_09_16_37_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/29/bf0eecf1cc955a8e979010353058580b.jpg","text":"TemporaryFile(/tmp/multipartBody7152703687433280167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138783448,"filename":"image_29012025_09_16_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/29/954a6f51e9348a04b2452969fa98340e.jpg","text":"TemporaryFile(/tmp/multipartBody4617831552506356769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138783448,"filename":"image_29012025_09_16_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/29/488c340a86965dea6d7a3c3d7f01af97.jpg","text":"TemporaryFile(/tmp/multipartBody533626080446279762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138783448,"filename":"image_29012025_09_16_07_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/29/efaca90c3f4360651eae4d7d682e9a5f.jpg","text":"TemporaryFile(/tmp/multipartBody5718390701479326640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138783448,"filename":"image_29012025_09_16_46_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332581403","file1":"1332581351","file0":"1332581274","file4":"1332581659","file5":"1332581834","file3":"1332581454"},"map_files_photo_id_array":[{"photo_id":"1332581834","filename":"file5"},{"photo_id":"1332581403","filename":"file2"},{"photo_id":"1332581659","filename":"file4"},{"photo_id":"1332581351","filename":"file1"},{"photo_id":"1332581274","filename":"file0"},{"photo_id":"1332581454","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332581274":["hashtag1","hashtag2"]},{"1332581454":["hashtag1","hashtag2"]},{"1332581403":["hashtag1","hashtag2"]},{"1332581834":["hashtag1","hashtag2"]},{"1332581351":["hashtag1","hashtag2"]},{"1332581659":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332581274, 1332581454, 1332581403, 1332581834, 1332581351, 1332581659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.924864292144775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:19:32.850613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/16/image_29012025_09_17_07_10342.jpg', '/home/pi/Desktop/images/29012025/09/17/image_29012025_09_17_16_9353.jpg', '/home/pi/Desktop/images/29012025/09/17/image_29012025_09_17_27_10365.jpg', '/home/pi/Desktop/images/29012025/09/17/image_29012025_09_17_36_9356.jpg', '/home/pi/Desktop/images/29012025/09/17/image_29012025_09_17_46_10361.jpg', '/home/pi/Desktop/images/29012025/09/17/image_29012025_09_17_57_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/16/image_29012025_09_17_07_10342.jpg
/home/pi/Desktop/images/29012025/09/17/image_29012025_09_17_16_9353.jpg
/home/pi/Desktop/images/29012025/09/17/image_29012025_09_17_27_10365.jpg
/home/pi/Desktop/images/29012025/09/17/image_29012025_09_17_36_9356.jpg
/home/pi/Desktop/images/29012025/09/17/image_29012025_09_17_46_10361.jpg
/home/pi/Desktop/images/29012025/09/17/image_29012025_09_17_57_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":["1332581976","1332582056","1332581981","1332581966","1332581936","1332581953"],"photo_ids_order":["1332581936","1332581953","1332581966","1332581976","1332581981","1332582056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f2010ffd7aa31b921d19606fdfcbcf15.jpg","text":"TemporaryFile(/tmp/multipartBody6625657531287951061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138833756,"filename":"image_29012025_09_17_36_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/29/390e17ddb88dedb9177d186f64ad3269.jpg","text":"TemporaryFile(/tmp/multipartBody1555474752657530735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138833756,"filename":"image_29012025_09_17_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/29/b7f9fa71cd1ed409ff351df3244f8f27.jpg","text":"TemporaryFile(/tmp/multipartBody4307137750953884660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138833756,"filename":"image_29012025_09_17_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/29/6418cf50090ad82116f5df892e7908dc.jpg","text":"TemporaryFile(/tmp/multipartBody1076320943130578937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138833756,"filename":"image_29012025_09_17_27_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/29/525e939291ca40685813864ffaa9c6e1.jpg","text":"TemporaryFile(/tmp/multipartBody5546736217733653470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138833756,"filename":"image_29012025_09_17_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/29/91d969535c5e066b9a06c5bb08f99530.jpg","text":"TemporaryFile(/tmp/multipartBody7001950112497019546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138833756,"filename":"image_29012025_09_17_16_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332581966","file1":"1332581953","file0":"1332581936","file4":"1332581981","file5":"1332582056","file3":"1332581976"},"map_files_photo_id_array":[{"photo_id":"1332582056","filename":"file5"},{"photo_id":"1332581966","filename":"file2"},{"photo_id":"1332581981","filename":"file4"},{"photo_id":"1332581953","filename":"file1"},{"photo_id":"1332581936","filename":"file0"},{"photo_id":"1332581976","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332581976":["hashtag1","hashtag2"]},{"1332582056":["hashtag1","hashtag2"]},{"1332581981":["hashtag1","hashtag2"]},{"1332581966":["hashtag1","hashtag2"]},{"1332581936":["hashtag1","hashtag2"]},{"1332581953":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332581976, 1332582056, 1332581981, 1332581966, 1332581936, 1332581953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.667041063308716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:20:33.160757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/17/image_29012025_09_18_06_9388.jpg', '/home/pi/Desktop/images/29012025/09/18/image_29012025_09_18_16_10376.jpg', '/home/pi/Desktop/images/29012025/09/18/image_29012025_09_18_27_10382.jpg', '/home/pi/Desktop/images/29012025/09/18/image_29012025_09_18_36_9365.jpg', '/home/pi/Desktop/images/29012025/09/18/image_29012025_09_18_47_10365.jpg', '/home/pi/Desktop/images/29012025/09/18/image_29012025_09_18_56_9432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/17/image_29012025_09_18_06_9388.jpg
/home/pi/Desktop/images/29012025/09/18/image_29012025_09_18_16_10376.jpg
/home/pi/Desktop/images/29012025/09/18/image_29012025_09_18_27_10382.jpg
/home/pi/Desktop/images/29012025/09/18/image_29012025_09_18_36_9365.jpg
/home/pi/Desktop/images/29012025/09/18/image_29012025_09_18_47_10365.jpg
/home/pi/Desktop/images/29012025/09/18/image_29012025_09_18_56_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":["1332582438","1332582470","1332582380","1332582388","1332582478","1332582384"],"photo_ids_order":["1332582380","1332582384","1332582388","1332582438","1332582470","1332582478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f3b27c61dc9d71cd41fe1aefc7f7108d.jpg","text":"TemporaryFile(/tmp/multipartBody7468623469392505444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138894056,"filename":"image_29012025_09_18_36_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/29/e6e44c6abed24608c4fa90099b7c0953.jpg","text":"TemporaryFile(/tmp/multipartBody873616695450777244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138894056,"filename":"image_29012025_09_18_47_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/29/c48b0cdc206c9b25e6d94fee57f19bfd.jpg","text":"TemporaryFile(/tmp/multipartBody4845243749554037625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138894056,"filename":"image_29012025_09_18_06_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/29/6802134439eb0f9ce626b0eddaf86a7e.jpg","text":"TemporaryFile(/tmp/multipartBody2015593449332194208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138894056,"filename":"image_29012025_09_18_27_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/29/9104b5890226210a11db58903efdb374.jpg","text":"TemporaryFile(/tmp/multipartBody4159213622023008705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138894056,"filename":"image_29012025_09_18_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/29/395990cbfb8b042edc401f4f46ea3205.jpg","text":"TemporaryFile(/tmp/multipartBody8955664523729318354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138894056,"filename":"image_29012025_09_18_16_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332582388","file1":"1332582384","file0":"1332582380","file4":"1332582470","file5":"1332582478","file3":"1332582438"},"map_files_photo_id_array":[{"photo_id":"1332582478","filename":"file5"},{"photo_id":"1332582388","filename":"file2"},{"photo_id":"1332582470","filename":"file4"},{"photo_id":"1332582384","filename":"file1"},{"photo_id":"1332582380","filename":"file0"},{"photo_id":"1332582438","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332582438":["hashtag1","hashtag2"]},{"1332582470":["hashtag1","hashtag2"]},{"1332582380":["hashtag1","hashtag2"]},{"1332582388":["hashtag1","hashtag2"]},{"1332582478":["hashtag1","hashtag2"]},{"1332582384":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332582438, 1332582470, 1332582380, 1332582388, 1332582478, 1332582384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17803335189819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:21:32.437434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/18/image_29012025_09_19_06_10419.jpg', '/home/pi/Desktop/images/29012025/09/19/image_29012025_09_19_17_10353.jpg', '/home/pi/Desktop/images/29012025/09/19/image_29012025_09_19_26_9497.jpg', '/home/pi/Desktop/images/29012025/09/19/image_29012025_09_19_37_10363.jpg', '/home/pi/Desktop/images/29012025/09/19/image_29012025_09_19_46_9348.jpg', '/home/pi/Desktop/images/29012025/09/19/image_29012025_09_19_56_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/18/image_29012025_09_19_06_10419.jpg
/home/pi/Desktop/images/29012025/09/19/image_29012025_09_19_17_10353.jpg
/home/pi/Desktop/images/29012025/09/19/image_29012025_09_19_26_9497.jpg
/home/pi/Desktop/images/29012025/09/19/image_29012025_09_19_37_10363.jpg
/home/pi/Desktop/images/29012025/09/19/image_29012025_09_19_46_9348.jpg
/home/pi/Desktop/images/29012025/09/19/image_29012025_09_19_56_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":["1332582717","1332582794","1332582695","1332582790","1332582786","1332582765"],"photo_ids_order":["1332582695","1332582717","1332582765","1332582786","1332582790","1332582794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/801cbb8d3a4c78f128468dbc88dd67ed.jpg","text":"TemporaryFile(/tmp/multipartBody3631313312779044947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138953346,"filename":"image_29012025_09_19_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/29/d1500d804bb964af2fe29dfe870d5f9f.jpg","text":"TemporaryFile(/tmp/multipartBody6490243222637143194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138953346,"filename":"image_29012025_09_19_56_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/29/42f2d5d51692128c2ebfdbcacc02d15b.jpg","text":"TemporaryFile(/tmp/multipartBody6855971947926458143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138953346,"filename":"image_29012025_09_19_06_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/29/2018d68e6158b0e76cf67e87b6b5003d.jpg","text":"TemporaryFile(/tmp/multipartBody5826875609916603683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138953346,"filename":"image_29012025_09_19_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/29/c4d4817e29446477b73252cd5cac874f.jpg","text":"TemporaryFile(/tmp/multipartBody6782970547811729344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138953346,"filename":"image_29012025_09_19_37_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/29/f9f785be605839b3b01f2cdc91aaee73.jpg","text":"TemporaryFile(/tmp/multipartBody5469572568425065820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738138953346,"filename":"image_29012025_09_19_26_9497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332582765","file1":"1332582717","file0":"1332582695","file4":"1332582790","file5":"1332582794","file3":"1332582786"},"map_files_photo_id_array":[{"photo_id":"1332582794","filename":"file5"},{"photo_id":"1332582765","filename":"file2"},{"photo_id":"1332582790","filename":"file4"},{"photo_id":"1332582717","filename":"file1"},{"photo_id":"1332582695","filename":"file0"},{"photo_id":"1332582786","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332582717":["hashtag1","hashtag2"]},{"1332582794":["hashtag1","hashtag2"]},{"1332582695":["hashtag1","hashtag2"]},{"1332582790":["hashtag1","hashtag2"]},{"1332582786":["hashtag1","hashtag2"]},{"1332582765":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332582717, 1332582794, 1332582695, 1332582790, 1332582786, 1332582765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32699227333069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:22:32.776761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/19/image_29012025_09_20_07_10352.jpg', '/home/pi/Desktop/images/29012025/09/20/image_29012025_09_20_16_9357.jpg', '/home/pi/Desktop/images/29012025/09/20/image_29012025_09_20_26_10346.jpg', '/home/pi/Desktop/images/29012025/09/20/image_29012025_09_20_37_10347.jpg', '/home/pi/Desktop/images/29012025/09/20/image_29012025_09_20_46_9344.jpg', '/home/pi/Desktop/images/29012025/09/20/image_29012025_09_20_57_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/19/image_29012025_09_20_07_10352.jpg
/home/pi/Desktop/images/29012025/09/20/image_29012025_09_20_16_9357.jpg
/home/pi/Desktop/images/29012025/09/20/image_29012025_09_20_26_10346.jpg
/home/pi/Desktop/images/29012025/09/20/image_29012025_09_20_37_10347.jpg
/home/pi/Desktop/images/29012025/09/20/image_29012025_09_20_46_9344.jpg
/home/pi/Desktop/images/29012025/09/20/image_29012025_09_20_57_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332583271","1332583061","1332583399","1332582982","1332583158","1332583394"],"photo_ids_order":["1332582982","1332583061","1332583158","1332583271","1332583394","1332583399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/470752d293eed845b220804ea35b25bd.jpg","text":"TemporaryFile(/tmp/multipartBody9203496492374519697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139013688,"filename":"image_29012025_09_20_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/29/0ce779a777662dae9f8f8b82fe6aac73.jpg","text":"TemporaryFile(/tmp/multipartBody3276087469170052054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139013688,"filename":"image_29012025_09_20_16_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/29/97b9bfe527abd879c60605721c931a97.jpg","text":"TemporaryFile(/tmp/multipartBody2317882533915330769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139013688,"filename":"image_29012025_09_20_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/29/9d06d46dc47611036218d7e8e5d1b8e3.jpg","text":"TemporaryFile(/tmp/multipartBody3620125461142154107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139013688,"filename":"image_29012025_09_20_07_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/29/40f9c8df2f195dc9ef2ef605937f6ea9.jpg","text":"TemporaryFile(/tmp/multipartBody6144914634050171084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139013688,"filename":"image_29012025_09_20_26_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/29/049062d49a2fd04556c47fc893f85cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8705430775854201301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139013688,"filename":"image_29012025_09_20_46_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332583158","file1":"1332583061","file0":"1332582982","file4":"1332583394","file5":"1332583399","file3":"1332583271"},"map_files_photo_id_array":[{"photo_id":"1332583399","filename":"file5"},{"photo_id":"1332583158","filename":"file2"},{"photo_id":"1332583394","filename":"file4"},{"photo_id":"1332583061","filename":"file1"},{"photo_id":"1332582982","filename":"file0"},{"photo_id":"1332583271","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332583271":["hashtag1","hashtag2"]},{"1332583061":["hashtag1","hashtag2"]},{"1332583399":["hashtag1","hashtag2"]},{"1332582982":["hashtag1","hashtag2"]},{"1332583158":["hashtag1","hashtag2"]},{"1332583394":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332583271, 1332583061, 1332583399, 1332582982, 1332583158, 1332583394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.631476640701294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:23:33.202706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/20/image_29012025_09_21_06_9479.jpg', '/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_16_10360.jpg', '/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_27_10368.jpg', '/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_36_9425.jpg', '/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_47_10354.jpg', '/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_57_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/20/image_29012025_09_21_06_9479.jpg
/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_16_10360.jpg
/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_27_10368.jpg
/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_36_9425.jpg
/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_47_10354.jpg
/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_57_10364.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.524254560470581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 09:23:43.228864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/20/image_29012025_09_21_06_9479.jpg', '/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_16_10360.jpg', '/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_27_10368.jpg', '/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_36_9425.jpg', '/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_47_10354.jpg', '/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_57_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/20/image_29012025_09_21_06_9479.jpg
/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_16_10360.jpg
/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_27_10368.jpg
/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_36_9425.jpg
/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_47_10354.jpg
/home/pi/Desktop/images/29012025/09/21/image_29012025_09_21_57_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332583640","1332583706","1332583709","1332583693","1332583687","1332583701"],"photo_ids_order":["1332583640","1332583687","1332583693","1332583701","1332583706","1332583709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1068f7175e7060809a8bd739d966fb5d.jpg","text":"TemporaryFile(/tmp/multipartBody5122191253782528811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139084148,"filename":"image_29012025_09_21_06_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/29/234166011729b143c6155ece98091364.jpg","text":"TemporaryFile(/tmp/multipartBody577700136496427473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139084148,"filename":"image_29012025_09_21_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/29/f368b2330ee0696d849ca2c0f12bb200.jpg","text":"TemporaryFile(/tmp/multipartBody1709562473892520270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139084148,"filename":"image_29012025_09_21_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/29/92a7bd59efaded76edc16da30f361076.jpg","text":"TemporaryFile(/tmp/multipartBody6993340806168581343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139084148,"filename":"image_29012025_09_21_27_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/29/5a5a713c21e3f55bf0c08214dd6aabc1.jpg","text":"TemporaryFile(/tmp/multipartBody920506946845374981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139084148,"filename":"image_29012025_09_21_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/29/c999409698373ab655555a3e25a53b61.jpg","text":"TemporaryFile(/tmp/multipartBody3836819432654831713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139084148,"filename":"image_29012025_09_21_36_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332583693","file1":"1332583687","file0":"1332583640","file4":"1332583706","file5":"1332583709","file3":"1332583701"},"map_files_photo_id_array":[{"photo_id":"1332583709","filename":"file5"},{"photo_id":"1332583693","filename":"file2"},{"photo_id":"1332583706","filename":"file4"},{"photo_id":"1332583687","filename":"file1"},{"photo_id":"1332583640","filename":"file0"},{"photo_id":"1332583701","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332583640":["hashtag1","hashtag2"]},{"1332583706":["hashtag1","hashtag2"]},{"1332583709":["hashtag1","hashtag2"]},{"1332583693":["hashtag1","hashtag2"]},{"1332583687":["hashtag1","hashtag2"]},{"1332583701":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332583640, 1332583706, 1332583709, 1332583693, 1332583687, 1332583701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.114768266677856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:24:32.320047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/21/image_29012025_09_22_06_9348.jpg', '/home/pi/Desktop/images/29012025/09/22/image_29012025_09_22_17_10336.jpg', '/home/pi/Desktop/images/29012025/09/22/image_29012025_09_22_26_9373.jpg', '/home/pi/Desktop/images/29012025/09/22/image_29012025_09_22_36_10339.jpg', '/home/pi/Desktop/images/29012025/09/22/image_29012025_09_22_47_10349.jpg', '/home/pi/Desktop/images/29012025/09/22/image_29012025_09_22_56_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/21/image_29012025_09_22_06_9348.jpg
/home/pi/Desktop/images/29012025/09/22/image_29012025_09_22_17_10336.jpg
/home/pi/Desktop/images/29012025/09/22/image_29012025_09_22_26_9373.jpg
/home/pi/Desktop/images/29012025/09/22/image_29012025_09_22_36_10339.jpg
/home/pi/Desktop/images/29012025/09/22/image_29012025_09_22_47_10349.jpg
/home/pi/Desktop/images/29012025/09/22/image_29012025_09_22_56_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":["1332583754","1332583750","1332583744","1332583746","1332583725","1332583740"],"photo_ids_order":["1332583725","1332583740","1332583744","1332583746","1332583750","1332583754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f8c9194bf8e95322cd521311c9a064ec.jpg","text":"TemporaryFile(/tmp/multipartBody8210613834856667373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139133230,"filename":"image_29012025_09_22_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/29/cbe96192c8032ccfb12cfb4fee00dbec.jpg","text":"TemporaryFile(/tmp/multipartBody192477194921674755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139133230,"filename":"image_29012025_09_22_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/29/033e92a1484c4c0fe5fa958577791fde.jpg","text":"TemporaryFile(/tmp/multipartBody2182894597412989744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139133230,"filename":"image_29012025_09_22_26_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/29/302e3e8ee92827da90bd9792d2e0a458.jpg","text":"TemporaryFile(/tmp/multipartBody2854871183548128387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139133230,"filename":"image_29012025_09_22_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/29/40203cc1be9a749d5e32c232db5395e0.jpg","text":"TemporaryFile(/tmp/multipartBody1767522028095753549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139133230,"filename":"image_29012025_09_22_06_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/29/84cb5a3c3428ce43d252a0935797d254.jpg","text":"TemporaryFile(/tmp/multipartBody6063660631272965362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139133230,"filename":"image_29012025_09_22_17_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332583744","file1":"1332583740","file0":"1332583725","file4":"1332583750","file5":"1332583754","file3":"1332583746"},"map_files_photo_id_array":[{"photo_id":"1332583754","filename":"file5"},{"photo_id":"1332583744","filename":"file2"},{"photo_id":"1332583750","filename":"file4"},{"photo_id":"1332583740","filename":"file1"},{"photo_id":"1332583725","filename":"file0"},{"photo_id":"1332583746","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332583754":["hashtag1","hashtag2"]},{"1332583750":["hashtag1","hashtag2"]},{"1332583744":["hashtag1","hashtag2"]},{"1332583746":["hashtag1","hashtag2"]},{"1332583725":["hashtag1","hashtag2"]},{"1332583740":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332583754, 1332583750, 1332583744, 1332583746, 1332583725, 1332583740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.274449825286865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:25:32.645249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/22/image_29012025_09_23_06_10356.jpg', '/home/pi/Desktop/images/29012025/09/23/image_29012025_09_23_17_10331.jpg', '/home/pi/Desktop/images/29012025/09/23/image_29012025_09_23_26_9475.jpg', '/home/pi/Desktop/images/29012025/09/23/image_29012025_09_23_37_10341.jpg', '/home/pi/Desktop/images/29012025/09/23/image_29012025_09_23_46_9342.jpg', '/home/pi/Desktop/images/29012025/09/23/image_29012025_09_23_56_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/22/image_29012025_09_23_06_10356.jpg
/home/pi/Desktop/images/29012025/09/23/image_29012025_09_23_17_10331.jpg
/home/pi/Desktop/images/29012025/09/23/image_29012025_09_23_26_9475.jpg
/home/pi/Desktop/images/29012025/09/23/image_29012025_09_23_37_10341.jpg
/home/pi/Desktop/images/29012025/09/23/image_29012025_09_23_46_9342.jpg
/home/pi/Desktop/images/29012025/09/23/image_29012025_09_23_56_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":["1332583787","1332583775","1332583771","1332583791","1332583794","1332583782"],"photo_ids_order":["1332583771","1332583775","1332583782","1332583787","1332583791","1332583794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ca753f750a2602e5ff6a0c3745a93fc0.jpg","text":"TemporaryFile(/tmp/multipartBody4356011490418626089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139193559,"filename":"image_29012025_09_23_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/29/6b7880974bf8c06c699ff752d9c40463.jpg","text":"TemporaryFile(/tmp/multipartBody4585719117678572712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139193559,"filename":"image_29012025_09_23_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/29/43d3dab43692868f5b5eb19d4113674e.jpg","text":"TemporaryFile(/tmp/multipartBody3316247461482985136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139193559,"filename":"image_29012025_09_23_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/29/d35a3cb5d5ecb27d1d47d0c0e13f52b2.jpg","text":"TemporaryFile(/tmp/multipartBody3073666608691986840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139193559,"filename":"image_29012025_09_23_46_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/29/2b143fafab68c8e0dabe6e82c3c05406.jpg","text":"TemporaryFile(/tmp/multipartBody5820190464115867720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139193559,"filename":"image_29012025_09_23_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/29/6cb8ba36427f5d565ad20451faf6141c.jpg","text":"TemporaryFile(/tmp/multipartBody848042002987746525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139193559,"filename":"image_29012025_09_23_26_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332583782","file1":"1332583775","file0":"1332583771","file4":"1332583791","file5":"1332583794","file3":"1332583787"},"map_files_photo_id_array":[{"photo_id":"1332583794","filename":"file5"},{"photo_id":"1332583782","filename":"file2"},{"photo_id":"1332583791","filename":"file4"},{"photo_id":"1332583775","filename":"file1"},{"photo_id":"1332583771","filename":"file0"},{"photo_id":"1332583787","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332583787":["hashtag1","hashtag2"]},{"1332583775":["hashtag1","hashtag2"]},{"1332583771":["hashtag1","hashtag2"]},{"1332583791":["hashtag1","hashtag2"]},{"1332583794":["hashtag1","hashtag2"]},{"1332583782":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332583787, 1332583775, 1332583771, 1332583791, 1332583794, 1332583782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.739128828048706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:26:32.812577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/23/image_29012025_09_24_07_10358.jpg', '/home/pi/Desktop/images/29012025/09/24/image_29012025_09_24_16_9391.jpg', '/home/pi/Desktop/images/29012025/09/24/image_29012025_09_24_26_10415.jpg', '/home/pi/Desktop/images/29012025/09/24/image_29012025_09_24_37_10356.jpg', '/home/pi/Desktop/images/29012025/09/24/image_29012025_09_24_46_9360.jpg', '/home/pi/Desktop/images/29012025/09/24/image_29012025_09_24_57_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/23/image_29012025_09_24_07_10358.jpg
/home/pi/Desktop/images/29012025/09/24/image_29012025_09_24_16_9391.jpg
/home/pi/Desktop/images/29012025/09/24/image_29012025_09_24_26_10415.jpg
/home/pi/Desktop/images/29012025/09/24/image_29012025_09_24_37_10356.jpg
/home/pi/Desktop/images/29012025/09/24/image_29012025_09_24_46_9360.jpg
/home/pi/Desktop/images/29012025/09/24/image_29012025_09_24_57_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":["1332584191","1332584259","1332584250","1332584067","1332583872","1332584255"],"photo_ids_order":["1332583872","1332584067","1332584191","1332584250","1332584255","1332584259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/25ac373dd1331a7d35e763c56f7796eb.jpg","text":"TemporaryFile(/tmp/multipartBody1906023190236405972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139253731,"filename":"image_29012025_09_24_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/29/0b1e289c20a0300672cf85954c92ed05.jpg","text":"TemporaryFile(/tmp/multipartBody7429464060848484314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139253731,"filename":"image_29012025_09_24_57_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/29/45d2259e69bb96bdf4956c284110e27c.jpg","text":"TemporaryFile(/tmp/multipartBody7834036987190950897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139253731,"filename":"image_29012025_09_24_37_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/29/aeba8e8d4c123f9f420c3720052655f4.jpg","text":"TemporaryFile(/tmp/multipartBody3036459705265603047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139253731,"filename":"image_29012025_09_24_16_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/29/3f205a2795c70f82b0b56ab4de729235.jpg","text":"TemporaryFile(/tmp/multipartBody1113189449624682070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139253731,"filename":"image_29012025_09_24_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/29/3be657cfd967fb4206b265631b4069a9.jpg","text":"TemporaryFile(/tmp/multipartBody5278183291786954797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139253731,"filename":"image_29012025_09_24_46_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332584191","file1":"1332584067","file0":"1332583872","file4":"1332584255","file5":"1332584259","file3":"1332584250"},"map_files_photo_id_array":[{"photo_id":"1332584259","filename":"file5"},{"photo_id":"1332584191","filename":"file2"},{"photo_id":"1332584255","filename":"file4"},{"photo_id":"1332584067","filename":"file1"},{"photo_id":"1332583872","filename":"file0"},{"photo_id":"1332584250","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332584191":["hashtag1","hashtag2"]},{"1332584259":["hashtag1","hashtag2"]},{"1332584250":["hashtag1","hashtag2"]},{"1332584067":["hashtag1","hashtag2"]},{"1332583872":["hashtag1","hashtag2"]},{"1332584255":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332584191, 1332584259, 1332584250, 1332584067, 1332583872, 1332584255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.348642110824585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:27:33.021233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/24/image_29012025_09_25_06_9338.jpg', '/home/pi/Desktop/images/29012025/09/25/image_29012025_09_25_16_10434.jpg', '/home/pi/Desktop/images/29012025/09/25/image_29012025_09_25_27_10373.jpg', '/home/pi/Desktop/images/29012025/09/25/image_29012025_09_25_36_9480.jpg', '/home/pi/Desktop/images/29012025/09/25/image_29012025_09_25_47_10350.jpg', '/home/pi/Desktop/images/29012025/09/25/image_29012025_09_25_56_9498.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/24/image_29012025_09_25_06_9338.jpg
/home/pi/Desktop/images/29012025/09/25/image_29012025_09_25_16_10434.jpg
/home/pi/Desktop/images/29012025/09/25/image_29012025_09_25_27_10373.jpg
/home/pi/Desktop/images/29012025/09/25/image_29012025_09_25_36_9480.jpg
/home/pi/Desktop/images/29012025/09/25/image_29012025_09_25_47_10350.jpg
/home/pi/Desktop/images/29012025/09/25/image_29012025_09_25_56_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":["1332584458","1332584455","1332584451","1332584448","1332584421","1332584453"],"photo_ids_order":["1332584421","1332584448","1332584451","1332584453","1332584455","1332584458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1c065180d13d1a478ac166f1c341e68d.jpg","text":"TemporaryFile(/tmp/multipartBody4172324113583011230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139313928,"filename":"image_29012025_09_25_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/29/c2957958b1df07c0557b27ea0f05742f.jpg","text":"TemporaryFile(/tmp/multipartBody8780636395788493367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139313928,"filename":"image_29012025_09_25_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/29/97d76e16c92a4d99a5d9fa57f9bedc7e.jpg","text":"TemporaryFile(/tmp/multipartBody423821807485306954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139313928,"filename":"image_29012025_09_25_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/29/383e300e1a5c5c63c58553ec75f2f281.jpg","text":"TemporaryFile(/tmp/multipartBody8564231383549048935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139313928,"filename":"image_29012025_09_25_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/29/3d61034a9793ce2fb8270f6a7793b0c4.jpg","text":"TemporaryFile(/tmp/multipartBody5054748091455830215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139313928,"filename":"image_29012025_09_25_06_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/29/32b7963bc6bf65ca53ee247e5a25404b.jpg","text":"TemporaryFile(/tmp/multipartBody3090654008079534885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139313928,"filename":"image_29012025_09_25_36_9480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332584451","file1":"1332584448","file0":"1332584421","file4":"1332584455","file5":"1332584458","file3":"1332584453"},"map_files_photo_id_array":[{"photo_id":"1332584458","filename":"file5"},{"photo_id":"1332584451","filename":"file2"},{"photo_id":"1332584455","filename":"file4"},{"photo_id":"1332584448","filename":"file1"},{"photo_id":"1332584421","filename":"file0"},{"photo_id":"1332584453","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332584458":["hashtag1","hashtag2"]},{"1332584455":["hashtag1","hashtag2"]},{"1332584451":["hashtag1","hashtag2"]},{"1332584448":["hashtag1","hashtag2"]},{"1332584421":["hashtag1","hashtag2"]},{"1332584453":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332584458, 1332584455, 1332584451, 1332584448, 1332584421, 1332584453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.65398836135864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:28:32.305475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/25/image_29012025_09_26_06_10413.jpg', '/home/pi/Desktop/images/29012025/09/26/image_29012025_09_26_17_10341.jpg', '/home/pi/Desktop/images/29012025/09/26/image_29012025_09_26_26_9357.jpg', '/home/pi/Desktop/images/29012025/09/26/image_29012025_09_26_37_10334.jpg', '/home/pi/Desktop/images/29012025/09/26/image_29012025_09_26_47_10335.jpg', '/home/pi/Desktop/images/29012025/09/26/image_29012025_09_26_56_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/25/image_29012025_09_26_06_10413.jpg
/home/pi/Desktop/images/29012025/09/26/image_29012025_09_26_17_10341.jpg
/home/pi/Desktop/images/29012025/09/26/image_29012025_09_26_26_9357.jpg
/home/pi/Desktop/images/29012025/09/26/image_29012025_09_26_37_10334.jpg
/home/pi/Desktop/images/29012025/09/26/image_29012025_09_26_47_10335.jpg
/home/pi/Desktop/images/29012025/09/26/image_29012025_09_26_56_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":["1332584497","1332584491","1332584503","1332584487","1332584499","1332584508"],"photo_ids_order":["1332584487","1332584491","1332584497","1332584499","1332584503","1332584508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c68ef73563e278bb7d7ad32edf57d080.jpg","text":"TemporaryFile(/tmp/multipartBody513824585304257602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139373207,"filename":"image_29012025_09_26_26_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/29/317034e6dc9c8e8dd73a2ff7d49c9934.jpg","text":"TemporaryFile(/tmp/multipartBody6427175148906571623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139373207,"filename":"image_29012025_09_26_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/29/21713887dfa7577a0db9201d458fedd5.jpg","text":"TemporaryFile(/tmp/multipartBody7035894444806829755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139373207,"filename":"image_29012025_09_26_47_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/29/a4f9aaf0cd578d0c7bb7e7e4b05d1111.jpg","text":"TemporaryFile(/tmp/multipartBody7086835273512913763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139373207,"filename":"image_29012025_09_26_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/29/3f28d53d470a0c3a65818054fd01a6d8.jpg","text":"TemporaryFile(/tmp/multipartBody8974269673627533637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139373207,"filename":"image_29012025_09_26_37_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/29/89948e5cc995b1a969b785acdaf175d2.jpg","text":"TemporaryFile(/tmp/multipartBody677006848194372055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139373207,"filename":"image_29012025_09_26_56_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332584497","file1":"1332584491","file0":"1332584487","file4":"1332584503","file5":"1332584508","file3":"1332584499"},"map_files_photo_id_array":[{"photo_id":"1332584508","filename":"file5"},{"photo_id":"1332584497","filename":"file2"},{"photo_id":"1332584503","filename":"file4"},{"photo_id":"1332584491","filename":"file1"},{"photo_id":"1332584487","filename":"file0"},{"photo_id":"1332584499","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332584497":["hashtag1","hashtag2"]},{"1332584491":["hashtag1","hashtag2"]},{"1332584503":["hashtag1","hashtag2"]},{"1332584487":["hashtag1","hashtag2"]},{"1332584499":["hashtag1","hashtag2"]},{"1332584508":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332584497, 1332584491, 1332584503, 1332584487, 1332584499, 1332584508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.012123584747314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:29:32.600197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/26/image_29012025_09_27_07_10441.jpg', '/home/pi/Desktop/images/29012025/09/27/image_29012025_09_27_16_9406.jpg', '/home/pi/Desktop/images/29012025/09/27/image_29012025_09_27_27_10364.jpg', '/home/pi/Desktop/images/29012025/09/27/image_29012025_09_27_37_10358.jpg', '/home/pi/Desktop/images/29012025/09/27/image_29012025_09_27_46_9351.jpg', '/home/pi/Desktop/images/29012025/09/27/image_29012025_09_27_57_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/26/image_29012025_09_27_07_10441.jpg
/home/pi/Desktop/images/29012025/09/27/image_29012025_09_27_16_9406.jpg
/home/pi/Desktop/images/29012025/09/27/image_29012025_09_27_27_10364.jpg
/home/pi/Desktop/images/29012025/09/27/image_29012025_09_27_37_10358.jpg
/home/pi/Desktop/images/29012025/09/27/image_29012025_09_27_46_9351.jpg
/home/pi/Desktop/images/29012025/09/27/image_29012025_09_27_57_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":["1332584608","1332584598","1332584595","1332584610","1332584535","1332584540"],"photo_ids_order":["1332584535","1332584540","1332584595","1332584598","1332584608","1332584610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fc37247607ae6f642c35f4805da0fb54.jpg","text":"TemporaryFile(/tmp/multipartBody4216262781563172884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139433507,"filename":"image_29012025_09_27_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/29/c39a174fac833653e5b451a511c400af.jpg","text":"TemporaryFile(/tmp/multipartBody6487214819607055147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139433507,"filename":"image_29012025_09_27_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/29/b88e031cd2745fd33560ed591ba39514.jpg","text":"TemporaryFile(/tmp/multipartBody1490733162688499616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139433507,"filename":"image_29012025_09_27_27_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/29/cb5ce6f0af70f6bf38adc83b7d92a73c.jpg","text":"TemporaryFile(/tmp/multipartBody8320329731445334737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139433507,"filename":"image_29012025_09_27_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/29/f97072b3edf12f5a89b2b95072a5d9de.jpg","text":"TemporaryFile(/tmp/multipartBody8370320705510571843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139433507,"filename":"image_29012025_09_27_07_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/29/a98ad1d63b13eb3a49ca7f9c846c7e44.jpg","text":"TemporaryFile(/tmp/multipartBody2664600437916931367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139433507,"filename":"image_29012025_09_27_16_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332584595","file1":"1332584540","file0":"1332584535","file4":"1332584608","file5":"1332584610","file3":"1332584598"},"map_files_photo_id_array":[{"photo_id":"1332584610","filename":"file5"},{"photo_id":"1332584595","filename":"file2"},{"photo_id":"1332584608","filename":"file4"},{"photo_id":"1332584540","filename":"file1"},{"photo_id":"1332584535","filename":"file0"},{"photo_id":"1332584598","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332584608":["hashtag1","hashtag2"]},{"1332584598":["hashtag1","hashtag2"]},{"1332584595":["hashtag1","hashtag2"]},{"1332584610":["hashtag1","hashtag2"]},{"1332584535":["hashtag1","hashtag2"]},{"1332584540":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332584608, 1332584598, 1332584595, 1332584610, 1332584535, 1332584540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.217503786087036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:30:32.820973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/27/image_29012025_09_28_06_9400.jpg', '/home/pi/Desktop/images/29012025/09/28/image_29012025_09_28_16_10359.jpg', '/home/pi/Desktop/images/29012025/09/28/image_29012025_09_28_27_10363.jpg', '/home/pi/Desktop/images/29012025/09/28/image_29012025_09_28_36_9415.jpg', '/home/pi/Desktop/images/29012025/09/28/image_29012025_09_28_46_10357.jpg', '/home/pi/Desktop/images/29012025/09/28/image_29012025_09_28_57_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/27/image_29012025_09_28_06_9400.jpg
/home/pi/Desktop/images/29012025/09/28/image_29012025_09_28_16_10359.jpg
/home/pi/Desktop/images/29012025/09/28/image_29012025_09_28_27_10363.jpg
/home/pi/Desktop/images/29012025/09/28/image_29012025_09_28_36_9415.jpg
/home/pi/Desktop/images/29012025/09/28/image_29012025_09_28_46_10357.jpg
/home/pi/Desktop/images/29012025/09/28/image_29012025_09_28_57_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":["1332584711","1332584809","1332584766","1332584667","1332584663","1332584651"],"photo_ids_order":["1332584651","1332584663","1332584667","1332584711","1332584766","1332584809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bf12687e2e43b24b3c2d76b2cd19615d.jpg","text":"TemporaryFile(/tmp/multipartBody7675233803202650789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139493739,"filename":"image_29012025_09_28_36_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/29/c1c91c54052bfe629df8a4444058227e.jpg","text":"TemporaryFile(/tmp/multipartBody5890830596730426805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139493739,"filename":"image_29012025_09_28_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/29/a2d32f6b720b96173475421395c6f241.jpg","text":"TemporaryFile(/tmp/multipartBody7730044482353402271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139493739,"filename":"image_29012025_09_28_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/29/976284c5838672fd5c114534f0b63d9e.jpg","text":"TemporaryFile(/tmp/multipartBody4491990323241874911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139493739,"filename":"image_29012025_09_28_27_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/29/65b4b7fd49db5e523db5e34af7a0c456.jpg","text":"TemporaryFile(/tmp/multipartBody6898242948614257005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139493739,"filename":"image_29012025_09_28_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/29/a50f9cdb93295c71d3c1381c2dcdc656.jpg","text":"TemporaryFile(/tmp/multipartBody3064375540572369149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139493739,"filename":"image_29012025_09_28_06_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332584667","file1":"1332584663","file0":"1332584651","file4":"1332584766","file5":"1332584809","file3":"1332584711"},"map_files_photo_id_array":[{"photo_id":"1332584809","filename":"file5"},{"photo_id":"1332584667","filename":"file2"},{"photo_id":"1332584766","filename":"file4"},{"photo_id":"1332584663","filename":"file1"},{"photo_id":"1332584651","filename":"file0"},{"photo_id":"1332584711","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332584711":["hashtag1","hashtag2"]},{"1332584809":["hashtag1","hashtag2"]},{"1332584766":["hashtag1","hashtag2"]},{"1332584667":["hashtag1","hashtag2"]},{"1332584663":["hashtag1","hashtag2"]},{"1332584651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332584711, 1332584809, 1332584766, 1332584667, 1332584663, 1332584651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.73665189743042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:31:33.189935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/28/image_29012025_09_29_06_9383.jpg', '/home/pi/Desktop/images/29012025/09/29/image_29012025_09_29_17_10335.jpg', '/home/pi/Desktop/images/29012025/09/29/image_29012025_09_29_27_10342.jpg', '/home/pi/Desktop/images/29012025/09/29/image_29012025_09_29_36_9445.jpg', '/home/pi/Desktop/images/29012025/09/29/image_29012025_09_29_47_10336.jpg', '/home/pi/Desktop/images/29012025/09/29/image_29012025_09_29_56_9392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/28/image_29012025_09_29_06_9383.jpg
/home/pi/Desktop/images/29012025/09/29/image_29012025_09_29_17_10335.jpg
/home/pi/Desktop/images/29012025/09/29/image_29012025_09_29_27_10342.jpg
/home/pi/Desktop/images/29012025/09/29/image_29012025_09_29_36_9445.jpg
/home/pi/Desktop/images/29012025/09/29/image_29012025_09_29_47_10336.jpg
/home/pi/Desktop/images/29012025/09/29/image_29012025_09_29_56_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":["1332585273","1332585211","1332585261","1332585225","1332585155","1332585245"],"photo_ids_order":["1332585155","1332585211","1332585225","1332585245","1332585261","1332585273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/df3c663da0fa881908d0fccbac194ad2.jpg","text":"TemporaryFile(/tmp/multipartBody3531458241460767612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139554123,"filename":"image_29012025_09_29_56_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/29/28720895d3a565f05ea0a1b880753cda.jpg","text":"TemporaryFile(/tmp/multipartBody7545118955130368967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139554123,"filename":"image_29012025_09_29_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/29/187154b84c583ac7a7ba255148d01601.jpg","text":"TemporaryFile(/tmp/multipartBody2550579027364379902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139554123,"filename":"image_29012025_09_29_47_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/29/22d350d0b68883bf261e58b5e1d8d9ef.jpg","text":"TemporaryFile(/tmp/multipartBody5627022510797218238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139554123,"filename":"image_29012025_09_29_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/29/9fdc23bafe8001a0ee1d4e3d24f7b555.jpg","text":"TemporaryFile(/tmp/multipartBody8801273250013438825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139554123,"filename":"image_29012025_09_29_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/29/e496698f131c8d6b5bafc7bc4f073634.jpg","text":"TemporaryFile(/tmp/multipartBody7414567042577538075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139554123,"filename":"image_29012025_09_29_36_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332585225","file1":"1332585211","file0":"1332585155","file4":"1332585261","file5":"1332585273","file3":"1332585245"},"map_files_photo_id_array":[{"photo_id":"1332585273","filename":"file5"},{"photo_id":"1332585225","filename":"file2"},{"photo_id":"1332585261","filename":"file4"},{"photo_id":"1332585211","filename":"file1"},{"photo_id":"1332585155","filename":"file0"},{"photo_id":"1332585245","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332585273":["hashtag1","hashtag2"]},{"1332585211":["hashtag1","hashtag2"]},{"1332585261":["hashtag1","hashtag2"]},{"1332585225":["hashtag1","hashtag2"]},{"1332585155":["hashtag1","hashtag2"]},{"1332585245":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332585273, 1332585211, 1332585261, 1332585225, 1332585155, 1332585245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.56308460235596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:32:32.267951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/29/image_29012025_09_30_06_10344.jpg', '/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_17_10347.jpg', '/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_26_9421.jpg', '/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_37_10336.jpg', '/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_47_10362.jpg', '/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_56_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/29/image_29012025_09_30_06_10344.jpg
/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_17_10347.jpg
/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_26_9421.jpg
/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_37_10336.jpg
/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_47_10362.jpg
/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_56_9383.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.5073869228363037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 09:32:42.279403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/29/image_29012025_09_30_06_10344.jpg', '/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_17_10347.jpg', '/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_26_9421.jpg', '/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_37_10336.jpg', '/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_47_10362.jpg', '/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_56_9383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/29/image_29012025_09_30_06_10344.jpg
/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_17_10347.jpg
/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_26_9421.jpg
/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_37_10336.jpg
/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_47_10362.jpg
/home/pi/Desktop/images/29012025/09/30/image_29012025_09_30_56_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332585370","1332585398","1332585392","1332585374","1332585353","1332585341"],"photo_ids_order":["1332585341","1332585353","1332585370","1332585374","1332585392","1332585398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c66ca8b743cb989f81f8df6f5dbb0497.jpg","text":"TemporaryFile(/tmp/multipartBody341659755282182477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139623174,"filename":"image_29012025_09_30_26_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/29/eee27afbacd7ea834cc35b5cb5018fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1421113898005902599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139623174,"filename":"image_29012025_09_30_56_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/29/406e598d7160d187e841932e8a241f96.jpg","text":"TemporaryFile(/tmp/multipartBody1871387116415561001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139623174,"filename":"image_29012025_09_30_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/29/7be8a095a33377f169f340a22c028f0e.jpg","text":"TemporaryFile(/tmp/multipartBody5581056851124973137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139623174,"filename":"image_29012025_09_30_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/29/8584a6ebd72ce7d40307d0a85e858316.jpg","text":"TemporaryFile(/tmp/multipartBody6645811874965432594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139623174,"filename":"image_29012025_09_30_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/29/9d45d63a252f69382b641520a232a87b.jpg","text":"TemporaryFile(/tmp/multipartBody6840418496559333906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139623174,"filename":"image_29012025_09_30_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332585370","file1":"1332585353","file0":"1332585341","file4":"1332585392","file5":"1332585398","file3":"1332585374"},"map_files_photo_id_array":[{"photo_id":"1332585398","filename":"file5"},{"photo_id":"1332585370","filename":"file2"},{"photo_id":"1332585392","filename":"file4"},{"photo_id":"1332585353","filename":"file1"},{"photo_id":"1332585341","filename":"file0"},{"photo_id":"1332585374","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332585370":["hashtag1","hashtag2"]},{"1332585398":["hashtag1","hashtag2"]},{"1332585392":["hashtag1","hashtag2"]},{"1332585374":["hashtag1","hashtag2"]},{"1332585353":["hashtag1","hashtag2"]},{"1332585341":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332585370, 1332585398, 1332585392, 1332585374, 1332585353, 1332585341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.086164712905884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:33:32.512566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/30/image_29012025_09_31_07_10346.jpg', '/home/pi/Desktop/images/29012025/09/31/image_29012025_09_31_16_9390.jpg', '/home/pi/Desktop/images/29012025/09/31/image_29012025_09_31_26_10444.jpg', '/home/pi/Desktop/images/29012025/09/31/image_29012025_09_31_36_9456.jpg', '/home/pi/Desktop/images/29012025/09/31/image_29012025_09_31_46_10381.jpg', '/home/pi/Desktop/images/29012025/09/31/image_29012025_09_31_57_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/30/image_29012025_09_31_07_10346.jpg
/home/pi/Desktop/images/29012025/09/31/image_29012025_09_31_16_9390.jpg
/home/pi/Desktop/images/29012025/09/31/image_29012025_09_31_26_10444.jpg
/home/pi/Desktop/images/29012025/09/31/image_29012025_09_31_36_9456.jpg
/home/pi/Desktop/images/29012025/09/31/image_29012025_09_31_46_10381.jpg
/home/pi/Desktop/images/29012025/09/31/image_29012025_09_31_57_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":["1332585490","1332585492","1332585418","1332585447","1332585440","1332585487"],"photo_ids_order":["1332585418","1332585440","1332585447","1332585487","1332585490","1332585492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a1fc7c87446d9409d4f9cd1f1e86cb12.jpg","text":"TemporaryFile(/tmp/multipartBody8998190403010030136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139673417,"filename":"image_29012025_09_31_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/29/91e0384e23845e29ae6d786905f0ec3f.jpg","text":"TemporaryFile(/tmp/multipartBody8441523539525830357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139673417,"filename":"image_29012025_09_31_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/29/70dc320d28e4148978da55bcc708c45a.jpg","text":"TemporaryFile(/tmp/multipartBody3033954377530101238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139673417,"filename":"image_29012025_09_31_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/29/e2157990256c037d1eaf886cd84fabf0.jpg","text":"TemporaryFile(/tmp/multipartBody3760844300840368541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139673417,"filename":"image_29012025_09_31_26_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/29/a4fced8b2b38d9eb9c44cbe3e618efa3.jpg","text":"TemporaryFile(/tmp/multipartBody2542811819084518398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139673417,"filename":"image_29012025_09_31_16_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/29/3d4d990471abb3fe06d79db863203ed1.jpg","text":"TemporaryFile(/tmp/multipartBody8741391777743824656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139673417,"filename":"image_29012025_09_31_36_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332585447","file1":"1332585440","file0":"1332585418","file4":"1332585490","file5":"1332585492","file3":"1332585487"},"map_files_photo_id_array":[{"photo_id":"1332585492","filename":"file5"},{"photo_id":"1332585447","filename":"file2"},{"photo_id":"1332585490","filename":"file4"},{"photo_id":"1332585440","filename":"file1"},{"photo_id":"1332585418","filename":"file0"},{"photo_id":"1332585487","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332585490":["hashtag1","hashtag2"]},{"1332585492":["hashtag1","hashtag2"]},{"1332585418":["hashtag1","hashtag2"]},{"1332585447":["hashtag1","hashtag2"]},{"1332585440":["hashtag1","hashtag2"]},{"1332585487":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332585490, 1332585492, 1332585418, 1332585447, 1332585440, 1332585487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4596631526947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:34:32.709025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/31/image_29012025_09_32_06_9390.jpg', '/home/pi/Desktop/images/29012025/09/32/image_29012025_09_32_16_10361.jpg', '/home/pi/Desktop/images/29012025/09/32/image_29012025_09_32_36_9357.jpg', '/home/pi/Desktop/images/29012025/09/32/image_29012025_09_32_47_10362.jpg', '/home/pi/Desktop/images/29012025/09/32/image_29012025_09_32_57_10359.jpg', '/home/pi/Desktop/images/29012025/09/32/image_29012025_09_33_06_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/31/image_29012025_09_32_06_9390.jpg
/home/pi/Desktop/images/29012025/09/32/image_29012025_09_32_16_10361.jpg
/home/pi/Desktop/images/29012025/09/32/image_29012025_09_32_36_9357.jpg
/home/pi/Desktop/images/29012025/09/32/image_29012025_09_32_47_10362.jpg
/home/pi/Desktop/images/29012025/09/32/image_29012025_09_32_57_10359.jpg
/home/pi/Desktop/images/29012025/09/32/image_29012025_09_33_06_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":["1332585538","1332585526","1332586038","1332585714","1332585531","1332585875"],"photo_ids_order":["1332585526","1332585531","1332585538","1332585714","1332585875","1332586038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/915943b056183ea648c1fe7e5cb81efb.jpg","text":"TemporaryFile(/tmp/multipartBody1558120216953604735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139733641,"filename":"image_29012025_09_32_36_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/29/7851d6a716668ad4a0e57c341e80cff9.jpg","text":"TemporaryFile(/tmp/multipartBody8071986879003953708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139733641,"filename":"image_29012025_09_32_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/29/816105f1d8a4b98cfbf39d098fa563c2.jpg","text":"TemporaryFile(/tmp/multipartBody2397582265001263138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139733641,"filename":"image_29012025_09_33_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/29/1ec4f43e8d18cffdf47ae610d67c331a.jpg","text":"TemporaryFile(/tmp/multipartBody7778780437520470517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139733641,"filename":"image_29012025_09_32_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/29/691fb125e2a9385e700eb96ca8b55b2f.jpg","text":"TemporaryFile(/tmp/multipartBody8370375463980301403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139733641,"filename":"image_29012025_09_32_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/29/c3ce383923e263d336b1d13b8de07631.jpg","text":"TemporaryFile(/tmp/multipartBody8398701301761497777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139733641,"filename":"image_29012025_09_32_57_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332585538","file1":"1332585531","file0":"1332585526","file4":"1332585875","file5":"1332586038","file3":"1332585714"},"map_files_photo_id_array":[{"photo_id":"1332586038","filename":"file5"},{"photo_id":"1332585538","filename":"file2"},{"photo_id":"1332585875","filename":"file4"},{"photo_id":"1332585531","filename":"file1"},{"photo_id":"1332585526","filename":"file0"},{"photo_id":"1332585714","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332585538":["hashtag1","hashtag2"]},{"1332585526":["hashtag1","hashtag2"]},{"1332586038":["hashtag1","hashtag2"]},{"1332585714":["hashtag1","hashtag2"]},{"1332585531":["hashtag1","hashtag2"]},{"1332585875":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332585538, 1332585526, 1332586038, 1332585714, 1332585531, 1332585875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95881462097168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:35:33.044356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/33/image_29012025_09_33_17_10352.jpg', '/home/pi/Desktop/images/29012025/09/33/image_29012025_09_33_26_9361.jpg', '/home/pi/Desktop/images/29012025/09/33/image_29012025_09_33_36_10437.jpg', '/home/pi/Desktop/images/29012025/09/33/image_29012025_09_33_47_10341.jpg', '/home/pi/Desktop/images/29012025/09/33/image_29012025_09_33_56_9391.jpg', '/home/pi/Desktop/images/29012025/09/33/image_29012025_09_34_06_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/33/image_29012025_09_33_17_10352.jpg
/home/pi/Desktop/images/29012025/09/33/image_29012025_09_33_26_9361.jpg
/home/pi/Desktop/images/29012025/09/33/image_29012025_09_33_36_10437.jpg
/home/pi/Desktop/images/29012025/09/33/image_29012025_09_33_47_10341.jpg
/home/pi/Desktop/images/29012025/09/33/image_29012025_09_33_56_9391.jpg
/home/pi/Desktop/images/29012025/09/33/image_29012025_09_34_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":["1332586376","1332586385","1332586364","1332586358","1332586390","1332586372"],"photo_ids_order":["1332586358","1332586364","1332586372","1332586376","1332586385","1332586390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cee31a331ed208e6d1c60a3b161e23ba.jpg","text":"TemporaryFile(/tmp/multipartBody5064006275972085412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139795996,"filename":"image_29012025_09_33_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/29/c1e4e10108db7e1707331b7476fb48b1.jpg","text":"TemporaryFile(/tmp/multipartBody5813463709789196648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139795996,"filename":"image_29012025_09_33_56_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/29/6c2b5840aab72e25ae17fd34f1ebb3f7.jpg","text":"TemporaryFile(/tmp/multipartBody5780616412767024438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139795996,"filename":"image_29012025_09_33_26_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/29/117f76c5c6ae25bdb05ebd0900c93589.jpg","text":"TemporaryFile(/tmp/multipartBody6843511642552006601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139795996,"filename":"image_29012025_09_33_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/29/5d7196bb0ee27c68081591eeff6734d7.jpg","text":"TemporaryFile(/tmp/multipartBody1098391855634490234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139795996,"filename":"image_29012025_09_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/29/d703e57e6cf9da194635df44ff7bda1e.jpg","text":"TemporaryFile(/tmp/multipartBody2704476121995117652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139795996,"filename":"image_29012025_09_33_36_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332586372","file1":"1332586364","file0":"1332586358","file4":"1332586385","file5":"1332586390","file3":"1332586376"},"map_files_photo_id_array":[{"photo_id":"1332586390","filename":"file5"},{"photo_id":"1332586372","filename":"file2"},{"photo_id":"1332586385","filename":"file4"},{"photo_id":"1332586364","filename":"file1"},{"photo_id":"1332586358","filename":"file0"},{"photo_id":"1332586376","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332586376":["hashtag1","hashtag2"]},{"1332586385":["hashtag1","hashtag2"]},{"1332586364":["hashtag1","hashtag2"]},{"1332586358":["hashtag1","hashtag2"]},{"1332586390":["hashtag1","hashtag2"]},{"1332586372":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332586376, 1332586385, 1332586364, 1332586358, 1332586390, 1332586372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.250866413116455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:36:32.259177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_17_10350.jpg', '/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_26_9417.jpg', '/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_37_10342.jpg', '/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_47_10330.jpg', '/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_56_9449.jpg', '/home/pi/Desktop/images/29012025/09/34/image_29012025_09_35_07_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_17_10350.jpg
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_26_9417.jpg
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_37_10342.jpg
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_47_10330.jpg
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_56_9449.jpg
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_35_07_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.5112423896789551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 09:36:42.213733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_17_10350.jpg', '/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_26_9417.jpg', '/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_37_10342.jpg', '/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_47_10330.jpg', '/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_56_9449.jpg', '/home/pi/Desktop/images/29012025/09/34/image_29012025_09_35_07_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_17_10350.jpg
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_26_9417.jpg
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_37_10342.jpg
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_47_10330.jpg
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_34_56_9449.jpg
/home/pi/Desktop/images/29012025/09/34/image_29012025_09_35_07_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":["1332586883","1332586809","1332587024","1332586940","1332586802","1332586861"],"photo_ids_order":["1332586802","1332586809","1332586861","1332586883","1332586940","1332587024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ebbd72c26dcd2ca2e4ba873c61059b6c.jpg","text":"TemporaryFile(/tmp/multipartBody348462595623990349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139863128,"filename":"image_29012025_09_34_47_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/29/8e9ddcaa44c20f71486c34886b2bfb70.jpg","text":"TemporaryFile(/tmp/multipartBody3114820967559279971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139863128,"filename":"image_29012025_09_34_26_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/29/47f25c4d2d5c00067e272a6471a6114c.jpg","text":"TemporaryFile(/tmp/multipartBody8218898524846397056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139863128,"filename":"image_29012025_09_35_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/29/f456a1ab9b7764ca53fb87c56eeee553.jpg","text":"TemporaryFile(/tmp/multipartBody9178869079777601762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139863128,"filename":"image_29012025_09_34_56_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/29/232c9cea452384704dbe941e005e3e6f.jpg","text":"TemporaryFile(/tmp/multipartBody4216895951262030810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139863128,"filename":"image_29012025_09_34_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/29/8468b93652375658edb9be683c4ac1c4.jpg","text":"TemporaryFile(/tmp/multipartBody5906982663437645920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139863128,"filename":"image_29012025_09_34_37_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332586861","file1":"1332586809","file0":"1332586802","file4":"1332586940","file5":"1332587024","file3":"1332586883"},"map_files_photo_id_array":[{"photo_id":"1332587024","filename":"file5"},{"photo_id":"1332586861","filename":"file2"},{"photo_id":"1332586940","filename":"file4"},{"photo_id":"1332586809","filename":"file1"},{"photo_id":"1332586802","filename":"file0"},{"photo_id":"1332586883","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332586883":["hashtag1","hashtag2"]},{"1332586809":["hashtag1","hashtag2"]},{"1332587024":["hashtag1","hashtag2"]},{"1332586940":["hashtag1","hashtag2"]},{"1332586802":["hashtag1","hashtag2"]},{"1332586861":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332586883, 1332586809, 1332587024, 1332586940, 1332586802, 1332586861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36718034744263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:37:32.484260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/35/image_29012025_09_35_16_9384.jpg', '/home/pi/Desktop/images/29012025/09/35/image_29012025_09_35_26_10346.jpg', '/home/pi/Desktop/images/29012025/09/35/image_29012025_09_35_37_10455.jpg', '/home/pi/Desktop/images/29012025/09/35/image_29012025_09_35_46_9347.jpg', '/home/pi/Desktop/images/29012025/09/35/image_29012025_09_35_57_10364.jpg', '/home/pi/Desktop/images/29012025/09/35/image_29012025_09_36_06_9550.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/35/image_29012025_09_35_16_9384.jpg
/home/pi/Desktop/images/29012025/09/35/image_29012025_09_35_26_10346.jpg
/home/pi/Desktop/images/29012025/09/35/image_29012025_09_35_37_10455.jpg
/home/pi/Desktop/images/29012025/09/35/image_29012025_09_35_46_9347.jpg
/home/pi/Desktop/images/29012025/09/35/image_29012025_09_35_57_10364.jpg
/home/pi/Desktop/images/29012025/09/35/image_29012025_09_36_06_9550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332587613","1332587498","1332587579","1332587609","1332587569","1332587362"],"photo_ids_order":["1332587362","1332587498","1332587569","1332587579","1332587609","1332587613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f74b6b0b4fd0b27c049a74fc84171f8c.jpg","text":"TemporaryFile(/tmp/multipartBody2160958998047077055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139913390,"filename":"image_29012025_09_36_06_9550.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/27560af155ce8980ee76f36de16b17a8.jpg","text":"TemporaryFile(/tmp/multipartBody3467431508309766338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139913390,"filename":"image_29012025_09_35_26_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/29/3091fd4fc0b2ddd5d295d6f666e738d1.jpg","text":"TemporaryFile(/tmp/multipartBody9132947730702358099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139913390,"filename":"image_29012025_09_35_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/29/0bf21d8a4260bdce573d2dfed624a419.jpg","text":"TemporaryFile(/tmp/multipartBody408392152549799673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139913390,"filename":"image_29012025_09_35_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/29/461b5125d772c85f161825821e184a18.jpg","text":"TemporaryFile(/tmp/multipartBody8936338714902630393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139913390,"filename":"image_29012025_09_35_37_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/29/8b212175478e7eac82ef9e19ef62068f.jpg","text":"TemporaryFile(/tmp/multipartBody1968692222908659983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139913390,"filename":"image_29012025_09_35_16_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332587569","file1":"1332587498","file0":"1332587362","file4":"1332587609","file5":"1332587613","file3":"1332587579"},"map_files_photo_id_array":[{"photo_id":"1332587613","filename":"file5"},{"photo_id":"1332587569","filename":"file2"},{"photo_id":"1332587609","filename":"file4"},{"photo_id":"1332587498","filename":"file1"},{"photo_id":"1332587362","filename":"file0"},{"photo_id":"1332587579","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332587613":["hashtag1","hashtag2"]},{"1332587498":["hashtag1","hashtag2"]},{"1332587579":["hashtag1","hashtag2"]},{"1332587609":["hashtag1","hashtag2"]},{"1332587569":["hashtag1","hashtag2"]},{"1332587362":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332587613, 1332587498, 1332587579, 1332587609, 1332587569, 1332587362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49108600616455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:38:32.646613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/36/image_29012025_09_36_16_10345.jpg', '/home/pi/Desktop/images/29012025/09/36/image_29012025_09_36_27_10365.jpg', '/home/pi/Desktop/images/29012025/09/36/image_29012025_09_36_36_9426.jpg', '/home/pi/Desktop/images/29012025/09/36/image_29012025_09_36_47_10317.jpg', '/home/pi/Desktop/images/29012025/09/36/image_29012025_09_36_57_10359.jpg', '/home/pi/Desktop/images/29012025/09/36/image_29012025_09_37_06_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/36/image_29012025_09_36_16_10345.jpg
/home/pi/Desktop/images/29012025/09/36/image_29012025_09_36_27_10365.jpg
/home/pi/Desktop/images/29012025/09/36/image_29012025_09_36_36_9426.jpg
/home/pi/Desktop/images/29012025/09/36/image_29012025_09_36_47_10317.jpg
/home/pi/Desktop/images/29012025/09/36/image_29012025_09_36_57_10359.jpg
/home/pi/Desktop/images/29012025/09/36/image_29012025_09_37_06_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332587874","1332587876","1332587855","1332587870","1332587864","1332587848"],"photo_ids_order":["1332587848","1332587855","1332587864","1332587870","1332587874","1332587876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a507176c7ed0cf40aaa742712b9cbac0.jpg","text":"TemporaryFile(/tmp/multipartBody8635407044289075368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139973553,"filename":"image_29012025_09_36_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/29/11049d447a59f95322886b9317cb3dd3.jpg","text":"TemporaryFile(/tmp/multipartBody6441292033697103800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139973553,"filename":"image_29012025_09_37_06_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/29/c4349648426e600fc718c98e457aa41a.jpg","text":"TemporaryFile(/tmp/multipartBody8656935695413929925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139973553,"filename":"image_29012025_09_36_27_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/29/64ad5671663b3019ddeb375fb8a483ad.jpg","text":"TemporaryFile(/tmp/multipartBody6887100889387310372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139973553,"filename":"image_29012025_09_36_47_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/29/ab07b544ac67657f9cd060b034be8d41.jpg","text":"TemporaryFile(/tmp/multipartBody5412533105329092102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139973553,"filename":"image_29012025_09_36_36_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/29/def16568f25a664327d50cef0bcd12bc.jpg","text":"TemporaryFile(/tmp/multipartBody2320578689824576918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738139973553,"filename":"image_29012025_09_36_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332587864","file1":"1332587855","file0":"1332587848","file4":"1332587874","file5":"1332587876","file3":"1332587870"},"map_files_photo_id_array":[{"photo_id":"1332587876","filename":"file5"},{"photo_id":"1332587864","filename":"file2"},{"photo_id":"1332587874","filename":"file4"},{"photo_id":"1332587855","filename":"file1"},{"photo_id":"1332587848","filename":"file0"},{"photo_id":"1332587870","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332587874":["hashtag1","hashtag2"]},{"1332587876":["hashtag1","hashtag2"]},{"1332587855":["hashtag1","hashtag2"]},{"1332587870":["hashtag1","hashtag2"]},{"1332587864":["hashtag1","hashtag2"]},{"1332587848":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332587874, 1332587876, 1332587855, 1332587870, 1332587864, 1332587848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.977065563201904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:39:32.926625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/37/image_29012025_09_37_17_10345.jpg', '/home/pi/Desktop/images/29012025/09/37/image_29012025_09_37_26_9496.jpg', '/home/pi/Desktop/images/29012025/09/37/image_29012025_09_37_37_10343.jpg', '/home/pi/Desktop/images/29012025/09/37/image_29012025_09_37_47_10353.jpg', '/home/pi/Desktop/images/29012025/09/37/image_29012025_09_37_56_9336.jpg', '/home/pi/Desktop/images/29012025/09/37/image_29012025_09_38_07_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/37/image_29012025_09_37_17_10345.jpg
/home/pi/Desktop/images/29012025/09/37/image_29012025_09_37_26_9496.jpg
/home/pi/Desktop/images/29012025/09/37/image_29012025_09_37_37_10343.jpg
/home/pi/Desktop/images/29012025/09/37/image_29012025_09_37_47_10353.jpg
/home/pi/Desktop/images/29012025/09/37/image_29012025_09_37_56_9336.jpg
/home/pi/Desktop/images/29012025/09/37/image_29012025_09_38_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":["1332587925","1332587928","1332587922","1332587904","1332587909","1332587914"],"photo_ids_order":["1332587904","1332587909","1332587914","1332587922","1332587925","1332587928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e8b691fb7366285d1dac9caaca044b96.jpg","text":"TemporaryFile(/tmp/multipartBody3133117795773153358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140033834,"filename":"image_29012025_09_37_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/29/0573bfc88aa52a0587b75de16340bbd4.jpg","text":"TemporaryFile(/tmp/multipartBody1594109929097714696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140033834,"filename":"image_29012025_09_38_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/29/c0c8129c02f30d2a32c603fe63828a3b.jpg","text":"TemporaryFile(/tmp/multipartBody3801014054112450167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140033834,"filename":"image_29012025_09_37_47_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/29/1f1c6e95b848c82f7c5e8678bf820c8e.jpg","text":"TemporaryFile(/tmp/multipartBody1025185562666435335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140033834,"filename":"image_29012025_09_37_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/29/9ed8b6af2294cbde69ad424a749362b6.jpg","text":"TemporaryFile(/tmp/multipartBody1620878216130268845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140033834,"filename":"image_29012025_09_37_26_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/29/7dc53128f9b928292b2d1d5fea491a51.jpg","text":"TemporaryFile(/tmp/multipartBody9031833538478630065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140033834,"filename":"image_29012025_09_37_37_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332587914","file1":"1332587909","file0":"1332587904","file4":"1332587925","file5":"1332587928","file3":"1332587922"},"map_files_photo_id_array":[{"photo_id":"1332587928","filename":"file5"},{"photo_id":"1332587914","filename":"file2"},{"photo_id":"1332587925","filename":"file4"},{"photo_id":"1332587909","filename":"file1"},{"photo_id":"1332587904","filename":"file0"},{"photo_id":"1332587922","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332587925":["hashtag1","hashtag2"]},{"1332587928":["hashtag1","hashtag2"]},{"1332587922":["hashtag1","hashtag2"]},{"1332587904":["hashtag1","hashtag2"]},{"1332587909":["hashtag1","hashtag2"]},{"1332587914":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332587925, 1332587928, 1332587922, 1332587904, 1332587909, 1332587914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91473364830017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:40:32.210358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_16_9346.jpg', '/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_26_10372.jpg', '/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_37_10351.jpg', '/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_46_9406.jpg', '/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_56_10367.jpg', '/home/pi/Desktop/images/29012025/09/38/image_29012025_09_39_07_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_16_9346.jpg
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_26_10372.jpg
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_37_10351.jpg
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_46_9406.jpg
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_56_10367.jpg
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_39_07_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.5404965877532959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 09:40:42.236073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_16_9346.jpg', '/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_26_10372.jpg', '/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_37_10351.jpg', '/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_46_9406.jpg', '/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_56_10367.jpg', '/home/pi/Desktop/images/29012025/09/38/image_29012025_09_39_07_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_16_9346.jpg
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_26_10372.jpg
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_37_10351.jpg
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_46_9406.jpg
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_38_56_10367.jpg
/home/pi/Desktop/images/29012025/09/38/image_29012025_09_39_07_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":["1332588147","1332588129","1332588161","1332588119","1332587974","1332588156"],"photo_ids_order":["1332587974","1332588119","1332588129","1332588147","1332588156","1332588161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fb9215d33a49dd26198a9e8e077a1325.jpg","text":"TemporaryFile(/tmp/multipartBody398749622630750131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140103138,"filename":"image_29012025_09_38_46_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/29/53b9268f8b81f9efc77f1575a783e129.jpg","text":"TemporaryFile(/tmp/multipartBody846522494402960999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140103138,"filename":"image_29012025_09_38_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/29/bf699bab21f1c4a3953bb1a1051aa352.jpg","text":"TemporaryFile(/tmp/multipartBody8212761071069647171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140103138,"filename":"image_29012025_09_39_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/29/4d2fe1e5182be1b5b3ee607342077f06.jpg","text":"TemporaryFile(/tmp/multipartBody3990861216791894777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140103138,"filename":"image_29012025_09_38_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/29/630b146d02362120146ce79312a1ba86.jpg","text":"TemporaryFile(/tmp/multipartBody6299948275241800891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140103138,"filename":"image_29012025_09_38_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/29/abe730d825418657f81fcf3a0c089501.jpg","text":"TemporaryFile(/tmp/multipartBody5348154173460608360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140103138,"filename":"image_29012025_09_38_56_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332588129","file1":"1332588119","file0":"1332587974","file4":"1332588156","file5":"1332588161","file3":"1332588147"},"map_files_photo_id_array":[{"photo_id":"1332588161","filename":"file5"},{"photo_id":"1332588129","filename":"file2"},{"photo_id":"1332588156","filename":"file4"},{"photo_id":"1332588119","filename":"file1"},{"photo_id":"1332587974","filename":"file0"},{"photo_id":"1332588147","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332588147":["hashtag1","hashtag2"]},{"1332588129":["hashtag1","hashtag2"]},{"1332588161":["hashtag1","hashtag2"]},{"1332588119":["hashtag1","hashtag2"]},{"1332587974":["hashtag1","hashtag2"]},{"1332588156":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332588147, 1332588129, 1332588161, 1332588119, 1332587974, 1332588156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91081666946411 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:41:32.403955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/39/image_29012025_09_39_16_9358.jpg', '/home/pi/Desktop/images/29012025/09/39/image_29012025_09_39_27_10430.jpg', '/home/pi/Desktop/images/29012025/09/39/image_29012025_09_39_37_10339.jpg', '/home/pi/Desktop/images/29012025/09/39/image_29012025_09_39_46_9444.jpg', '/home/pi/Desktop/images/29012025/09/39/image_29012025_09_39_57_10347.jpg', '/home/pi/Desktop/images/29012025/09/39/image_29012025_09_40_06_9454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/39/image_29012025_09_39_16_9358.jpg
/home/pi/Desktop/images/29012025/09/39/image_29012025_09_39_27_10430.jpg
/home/pi/Desktop/images/29012025/09/39/image_29012025_09_39_37_10339.jpg
/home/pi/Desktop/images/29012025/09/39/image_29012025_09_39_46_9444.jpg
/home/pi/Desktop/images/29012025/09/39/image_29012025_09_39_57_10347.jpg
/home/pi/Desktop/images/29012025/09/39/image_29012025_09_40_06_9454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332588252","1332588266","1332588257","1332588262","1332588208","1332588205"],"photo_ids_order":["1332588205","1332588208","1332588252","1332588257","1332588262","1332588266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/14790b43bf4e0e998559dcd04516fcb4.jpg","text":"TemporaryFile(/tmp/multipartBody9056757856868431873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140153324,"filename":"image_29012025_09_39_37_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/29/4d09419d16f2afc32024c00c43706cf5.jpg","text":"TemporaryFile(/tmp/multipartBody3353085820343722189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140153324,"filename":"image_29012025_09_40_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/29/55961cf1eb42076fad0555cca34159e4.jpg","text":"TemporaryFile(/tmp/multipartBody5126728444330850502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140153324,"filename":"image_29012025_09_39_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/29/7cbcfcf74564240e82fe6cd96f6f66ba.jpg","text":"TemporaryFile(/tmp/multipartBody742744142691816734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140153324,"filename":"image_29012025_09_39_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/29/ba15dac9768a5faad8892fa7d1f9f8a6.jpg","text":"TemporaryFile(/tmp/multipartBody2725204882157746349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140153324,"filename":"image_29012025_09_39_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/29/f57babf3131671e4b648845c21a9882f.jpg","text":"TemporaryFile(/tmp/multipartBody6396992611038080733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140153324,"filename":"image_29012025_09_39_16_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332588252","file1":"1332588208","file0":"1332588205","file4":"1332588262","file5":"1332588266","file3":"1332588257"},"map_files_photo_id_array":[{"photo_id":"1332588266","filename":"file5"},{"photo_id":"1332588252","filename":"file2"},{"photo_id":"1332588262","filename":"file4"},{"photo_id":"1332588208","filename":"file1"},{"photo_id":"1332588205","filename":"file0"},{"photo_id":"1332588257","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332588252":["hashtag1","hashtag2"]},{"1332588266":["hashtag1","hashtag2"]},{"1332588257":["hashtag1","hashtag2"]},{"1332588262":["hashtag1","hashtag2"]},{"1332588208":["hashtag1","hashtag2"]},{"1332588205":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332588252, 1332588266, 1332588257, 1332588262, 1332588208, 1332588205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.231667041778564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:42:32.659846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/40/image_29012025_09_40_17_10357.jpg', '/home/pi/Desktop/images/29012025/09/40/image_29012025_09_40_27_10360.jpg', '/home/pi/Desktop/images/29012025/09/40/image_29012025_09_40_36_9386.jpg', '/home/pi/Desktop/images/29012025/09/40/image_29012025_09_40_47_10336.jpg', '/home/pi/Desktop/images/29012025/09/40/image_29012025_09_40_56_9366.jpg', '/home/pi/Desktop/images/29012025/09/40/image_29012025_09_41_06_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/40/image_29012025_09_40_17_10357.jpg
/home/pi/Desktop/images/29012025/09/40/image_29012025_09_40_27_10360.jpg
/home/pi/Desktop/images/29012025/09/40/image_29012025_09_40_36_9386.jpg
/home/pi/Desktop/images/29012025/09/40/image_29012025_09_40_47_10336.jpg
/home/pi/Desktop/images/29012025/09/40/image_29012025_09_40_56_9366.jpg
/home/pi/Desktop/images/29012025/09/40/image_29012025_09_41_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":["1332588330","1332588300","1332588341","1332588335","1332588338","1332588349"],"photo_ids_order":["1332588300","1332588330","1332588335","1332588338","1332588341","1332588349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/67cab9d16c7e7cfa8db1ec4fac895e7b.jpg","text":"TemporaryFile(/tmp/multipartBody605330723394176329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140213560,"filename":"image_29012025_09_40_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/29/e40c241f6edc52ffae1376359bdcfb00.jpg","text":"TemporaryFile(/tmp/multipartBody3771477584844816559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140213560,"filename":"image_29012025_09_40_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/29/993404e961165bca2da587b21c9f232e.jpg","text":"TemporaryFile(/tmp/multipartBody8898318877932141548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140213560,"filename":"image_29012025_09_40_56_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/29/3cf0aad53b3f5734f648e6335c6eaf3a.jpg","text":"TemporaryFile(/tmp/multipartBody7101921933668747539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140213560,"filename":"image_29012025_09_40_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/29/35201ccf6dc9b6986c343360417a4ee8.jpg","text":"TemporaryFile(/tmp/multipartBody4019730020017443535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140213560,"filename":"image_29012025_09_40_47_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/29/349f0639839a20f2f13b603ccf900075.jpg","text":"TemporaryFile(/tmp/multipartBody2822174826381710030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140213560,"filename":"image_29012025_09_41_06_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332588335","file1":"1332588330","file0":"1332588300","file4":"1332588341","file5":"1332588349","file3":"1332588338"},"map_files_photo_id_array":[{"photo_id":"1332588349","filename":"file5"},{"photo_id":"1332588335","filename":"file2"},{"photo_id":"1332588341","filename":"file4"},{"photo_id":"1332588330","filename":"file1"},{"photo_id":"1332588300","filename":"file0"},{"photo_id":"1332588338","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332588330":["hashtag1","hashtag2"]},{"1332588300":["hashtag1","hashtag2"]},{"1332588341":["hashtag1","hashtag2"]},{"1332588335":["hashtag1","hashtag2"]},{"1332588338":["hashtag1","hashtag2"]},{"1332588349":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332588330, 1332588300, 1332588341, 1332588335, 1332588338, 1332588349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72447180747986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:43:32.920478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/41/image_29012025_09_41_17_10341.jpg', '/home/pi/Desktop/images/29012025/09/41/image_29012025_09_41_26_9328.jpg', '/home/pi/Desktop/images/29012025/09/41/image_29012025_09_41_36_10342.jpg', '/home/pi/Desktop/images/29012025/09/41/image_29012025_09_41_47_10343.jpg', '/home/pi/Desktop/images/29012025/09/41/image_29012025_09_41_56_9415.jpg', '/home/pi/Desktop/images/29012025/09/41/image_29012025_09_42_06_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/41/image_29012025_09_41_17_10341.jpg
/home/pi/Desktop/images/29012025/09/41/image_29012025_09_41_26_9328.jpg
/home/pi/Desktop/images/29012025/09/41/image_29012025_09_41_36_10342.jpg
/home/pi/Desktop/images/29012025/09/41/image_29012025_09_41_47_10343.jpg
/home/pi/Desktop/images/29012025/09/41/image_29012025_09_41_56_9415.jpg
/home/pi/Desktop/images/29012025/09/41/image_29012025_09_42_06_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":["1332589058","1332589063","1332589066","1332589054","1332589048","1332588936"],"photo_ids_order":["1332588936","1332589048","1332589054","1332589058","1332589063","1332589066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c4b1533fd875938690046c9ebf69b2e8.jpg","text":"TemporaryFile(/tmp/multipartBody1319130580340879528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140273851,"filename":"image_29012025_09_41_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/29/92f79cddc885164060c736dae80d4e1e.jpg","text":"TemporaryFile(/tmp/multipartBody3972627556813189312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140273851,"filename":"image_29012025_09_41_56_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/29/a89b1e9e0d003b21925942043caf23e1.jpg","text":"TemporaryFile(/tmp/multipartBody8948936931035238874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140273851,"filename":"image_29012025_09_42_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/29/b65aea76b7252b258180ec8011d0ff36.jpg","text":"TemporaryFile(/tmp/multipartBody428692526299451119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140273851,"filename":"image_29012025_09_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/29/682c3f31d4be245b4f957766642a8d85.jpg","text":"TemporaryFile(/tmp/multipartBody6050130661268312238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140273851,"filename":"image_29012025_09_41_26_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/29/45cf61f42baf696bd02ef0502e9210b0.jpg","text":"TemporaryFile(/tmp/multipartBody7510996939582137860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140273851,"filename":"image_29012025_09_41_17_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332589054","file1":"1332589048","file0":"1332588936","file4":"1332589063","file5":"1332589066","file3":"1332589058"},"map_files_photo_id_array":[{"photo_id":"1332589066","filename":"file5"},{"photo_id":"1332589054","filename":"file2"},{"photo_id":"1332589063","filename":"file4"},{"photo_id":"1332589048","filename":"file1"},{"photo_id":"1332588936","filename":"file0"},{"photo_id":"1332589058","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332589058":["hashtag1","hashtag2"]},{"1332589063":["hashtag1","hashtag2"]},{"1332589066":["hashtag1","hashtag2"]},{"1332589054":["hashtag1","hashtag2"]},{"1332589048":["hashtag1","hashtag2"]},{"1332588936":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332589058, 1332589063, 1332589066, 1332589054, 1332589048, 1332588936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48193359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:44:32.192565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/42/image_29012025_09_42_17_10336.jpg', '/home/pi/Desktop/images/29012025/09/42/image_29012025_09_42_26_9444.jpg', '/home/pi/Desktop/images/29012025/09/42/image_29012025_09_42_37_10327.jpg', '/home/pi/Desktop/images/29012025/09/42/image_29012025_09_42_47_10359.jpg', '/home/pi/Desktop/images/29012025/09/42/image_29012025_09_42_56_9463.jpg', '/home/pi/Desktop/images/29012025/09/42/image_29012025_09_43_07_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/42/image_29012025_09_42_17_10336.jpg
/home/pi/Desktop/images/29012025/09/42/image_29012025_09_42_26_9444.jpg
/home/pi/Desktop/images/29012025/09/42/image_29012025_09_42_37_10327.jpg
/home/pi/Desktop/images/29012025/09/42/image_29012025_09_42_47_10359.jpg
/home/pi/Desktop/images/29012025/09/42/image_29012025_09_42_56_9463.jpg
/home/pi/Desktop/images/29012025/09/42/image_29012025_09_43_07_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":["1332589385","1332589594","1332589378","1332589573","1332589474","1332589438"],"photo_ids_order":["1332589378","1332589385","1332589438","1332589474","1332589573","1332589594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4b4b391ad4139c8212ca58a5b3e9a438.jpg","text":"TemporaryFile(/tmp/multipartBody8795944629592702509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140333159,"filename":"image_29012025_09_42_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/29/83a96debea1d6cce4ca9c259863fd564.jpg","text":"TemporaryFile(/tmp/multipartBody8998542876774678319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140333159,"filename":"image_29012025_09_43_07_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/29/9717981ad9fe6172e915abfa87d23102.jpg","text":"TemporaryFile(/tmp/multipartBody1915235867887201215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140333159,"filename":"image_29012025_09_42_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/29/792d1ea1e471999dd394506a9fadc944.jpg","text":"TemporaryFile(/tmp/multipartBody5596388509923467433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140333159,"filename":"image_29012025_09_42_56_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/29/d1607ed6a0374c62bc6a8c246407e50d.jpg","text":"TemporaryFile(/tmp/multipartBody770595910645133525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140333159,"filename":"image_29012025_09_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/29/5826778c5e89b4ae2de3e8d841230a68.jpg","text":"TemporaryFile(/tmp/multipartBody3998287037606201892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140333159,"filename":"image_29012025_09_42_37_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332589438","file1":"1332589385","file0":"1332589378","file4":"1332589573","file5":"1332589594","file3":"1332589474"},"map_files_photo_id_array":[{"photo_id":"1332589594","filename":"file5"},{"photo_id":"1332589438","filename":"file2"},{"photo_id":"1332589573","filename":"file4"},{"photo_id":"1332589385","filename":"file1"},{"photo_id":"1332589378","filename":"file0"},{"photo_id":"1332589474","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332589385":["hashtag1","hashtag2"]},{"1332589594":["hashtag1","hashtag2"]},{"1332589378":["hashtag1","hashtag2"]},{"1332589573":["hashtag1","hashtag2"]},{"1332589474":["hashtag1","hashtag2"]},{"1332589438":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332589385, 1332589594, 1332589378, 1332589573, 1332589474, 1332589438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47066283226013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:45:32.430154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/43/image_29012025_09_43_16_9502.jpg', '/home/pi/Desktop/images/29012025/09/43/image_29012025_09_43_27_10367.jpg', '/home/pi/Desktop/images/29012025/09/43/image_29012025_09_43_36_9347.jpg', '/home/pi/Desktop/images/29012025/09/43/image_29012025_09_43_46_10454.jpg', '/home/pi/Desktop/images/29012025/09/43/image_29012025_09_43_57_10356.jpg', '/home/pi/Desktop/images/29012025/09/43/image_29012025_09_44_06_9469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/43/image_29012025_09_43_16_9502.jpg
/home/pi/Desktop/images/29012025/09/43/image_29012025_09_43_27_10367.jpg
/home/pi/Desktop/images/29012025/09/43/image_29012025_09_43_36_9347.jpg
/home/pi/Desktop/images/29012025/09/43/image_29012025_09_43_46_10454.jpg
/home/pi/Desktop/images/29012025/09/43/image_29012025_09_43_57_10356.jpg
/home/pi/Desktop/images/29012025/09/43/image_29012025_09_44_06_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":["1332589699","1332589726","1332589692","1332589705","1332589722","1332589710"],"photo_ids_order":["1332589692","1332589699","1332589705","1332589710","1332589722","1332589726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1d554fb3223b8e03f41c30b32f96b5bc.jpg","text":"TemporaryFile(/tmp/multipartBody51297951521311141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140393348,"filename":"image_29012025_09_43_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/29/107187979fa06395bff848ae239add76.jpg","text":"TemporaryFile(/tmp/multipartBody5492316855811375342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140393348,"filename":"image_29012025_09_44_06_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/29/bab92d0b80139614f2b6fd2f6a052e67.jpg","text":"TemporaryFile(/tmp/multipartBody44285989422790750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140393348,"filename":"image_29012025_09_43_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/29/bc09a800a5a18cc6ddc279ffe92e81df.jpg","text":"TemporaryFile(/tmp/multipartBody6608338402888336037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140393348,"filename":"image_29012025_09_43_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/29/96a640b3dd18a201438acc4f27b4fd77.jpg","text":"TemporaryFile(/tmp/multipartBody4762753827479243246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140393348,"filename":"image_29012025_09_43_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/29/6223f772d2afa3271af9f734d4f7dea1.jpg","text":"TemporaryFile(/tmp/multipartBody6231194513099586301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140393348,"filename":"image_29012025_09_43_46_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332589705","file1":"1332589699","file0":"1332589692","file4":"1332589722","file5":"1332589726","file3":"1332589710"},"map_files_photo_id_array":[{"photo_id":"1332589726","filename":"file5"},{"photo_id":"1332589705","filename":"file2"},{"photo_id":"1332589722","filename":"file4"},{"photo_id":"1332589699","filename":"file1"},{"photo_id":"1332589692","filename":"file0"},{"photo_id":"1332589710","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332589699":["hashtag1","hashtag2"]},{"1332589726":["hashtag1","hashtag2"]},{"1332589692":["hashtag1","hashtag2"]},{"1332589705":["hashtag1","hashtag2"]},{"1332589722":["hashtag1","hashtag2"]},{"1332589710":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332589699, 1332589726, 1332589692, 1332589705, 1332589722, 1332589710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.462663650512695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:46:32.592927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_17_10366.jpg', '/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_36_10347.jpg', '/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_47_10377.jpg', '/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_56_9401.jpg', '/home/pi/Desktop/images/29012025/09/44/image_29012025_09_45_06_10340.jpg', '/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_17_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_17_10366.jpg
/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_36_10347.jpg
/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_47_10377.jpg
/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_56_9401.jpg
/home/pi/Desktop/images/29012025/09/44/image_29012025_09_45_06_10340.jpg
/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_17_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.5225057601928711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 09:46:42.767005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_17_10366.jpg', '/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_36_10347.jpg', '/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_47_10377.jpg', '/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_56_9401.jpg', '/home/pi/Desktop/images/29012025/09/44/image_29012025_09_45_06_10340.jpg', '/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_17_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_17_10366.jpg
/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_36_10347.jpg
/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_47_10377.jpg
/home/pi/Desktop/images/29012025/09/44/image_29012025_09_44_56_9401.jpg
/home/pi/Desktop/images/29012025/09/44/image_29012025_09_45_06_10340.jpg
/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_17_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":["1332590112","1332590123","1332590137","1332590131","1332590119","1332590127"],"photo_ids_order":["1332590112","1332590119","1332590123","1332590127","1332590131","1332590137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/785def4224b425f78c073fda6a2d0b87.jpg","text":"TemporaryFile(/tmp/multipartBody1468192836574361299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140463675,"filename":"image_29012025_09_44_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/29/2a04079b2f567682febe4ddf5c395ffa.jpg","text":"TemporaryFile(/tmp/multipartBody4884591145654925474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140463675,"filename":"image_29012025_09_44_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/29/beda4fe7a8082cd55650bb0e929d766c.jpg","text":"TemporaryFile(/tmp/multipartBody2189765525693364857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140463675,"filename":"image_29012025_09_45_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/29/1f3514e2681e2142e15ac8608647fad8.jpg","text":"TemporaryFile(/tmp/multipartBody1961609523735173525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140463675,"filename":"image_29012025_09_45_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/29/6f7af62ccc5483886f655c2977533cfb.jpg","text":"TemporaryFile(/tmp/multipartBody1457681547815194970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140463675,"filename":"image_29012025_09_44_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/29/7778c132723f9fad21082c971f5a9114.jpg","text":"TemporaryFile(/tmp/multipartBody4493126497586350143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140463675,"filename":"image_29012025_09_44_56_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332590123","file1":"1332590119","file0":"1332590112","file4":"1332590131","file5":"1332590137","file3":"1332590127"},"map_files_photo_id_array":[{"photo_id":"1332590137","filename":"file5"},{"photo_id":"1332590123","filename":"file2"},{"photo_id":"1332590131","filename":"file4"},{"photo_id":"1332590119","filename":"file1"},{"photo_id":"1332590112","filename":"file0"},{"photo_id":"1332590127","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332590112":["hashtag1","hashtag2"]},{"1332590123":["hashtag1","hashtag2"]},{"1332590137":["hashtag1","hashtag2"]},{"1332590131":["hashtag1","hashtag2"]},{"1332590119":["hashtag1","hashtag2"]},{"1332590127":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332590112, 1332590123, 1332590137, 1332590131, 1332590119, 1332590127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05943727493286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:47:32.961957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_26_9393.jpg', '/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_36_10338.jpg', '/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_47_10350.jpg', '/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_56_9432.jpg', '/home/pi/Desktop/images/29012025/09/45/image_29012025_09_46_07_10407.jpg', '/home/pi/Desktop/images/29012025/09/46/image_29012025_09_46_16_9471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_26_9393.jpg
/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_36_10338.jpg
/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_47_10350.jpg
/home/pi/Desktop/images/29012025/09/45/image_29012025_09_45_56_9432.jpg
/home/pi/Desktop/images/29012025/09/45/image_29012025_09_46_07_10407.jpg
/home/pi/Desktop/images/29012025/09/46/image_29012025_09_46_16_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332590168","1332590156","1332590179","1332590173","1332590161","1332590184"],"photo_ids_order":["1332590156","1332590161","1332590168","1332590173","1332590179","1332590184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2176634e6e366099081b6ee3e097fbda.jpg","text":"TemporaryFile(/tmp/multipartBody5482816260514809047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140513870,"filename":"image_29012025_09_45_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/29/a9fbefdb024e1e073aa23ff75d1fbeeb.jpg","text":"TemporaryFile(/tmp/multipartBody7938128056714980064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140513870,"filename":"image_29012025_09_45_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/29/3bec8be3f27973cf940180f2dce822a4.jpg","text":"TemporaryFile(/tmp/multipartBody6750471835873740871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140513870,"filename":"image_29012025_09_46_07_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/29/7053b301ffcca5d588ff3102ed6d7d78.jpg","text":"TemporaryFile(/tmp/multipartBody2082154491717827428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140513870,"filename":"image_29012025_09_45_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/29/260d3c9289a1197d1b248e5251fd8640.jpg","text":"TemporaryFile(/tmp/multipartBody4780023892597370015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140513870,"filename":"image_29012025_09_45_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/29/e4dbfe6d7ec24332d74f8fbf5a898054.jpg","text":"TemporaryFile(/tmp/multipartBody6894011754687954319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140513870,"filename":"image_29012025_09_46_16_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332590168","file1":"1332590161","file0":"1332590156","file4":"1332590179","file5":"1332590184","file3":"1332590173"},"map_files_photo_id_array":[{"photo_id":"1332590184","filename":"file5"},{"photo_id":"1332590168","filename":"file2"},{"photo_id":"1332590179","filename":"file4"},{"photo_id":"1332590161","filename":"file1"},{"photo_id":"1332590156","filename":"file0"},{"photo_id":"1332590173","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332590168":["hashtag1","hashtag2"]},{"1332590156":["hashtag1","hashtag2"]},{"1332590179":["hashtag1","hashtag2"]},{"1332590173":["hashtag1","hashtag2"]},{"1332590161":["hashtag1","hashtag2"]},{"1332590184":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332590168, 1332590156, 1332590179, 1332590173, 1332590161, 1332590184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72635006904602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:48:32.154591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/46/image_29012025_09_46_27_10367.jpg', '/home/pi/Desktop/images/29012025/09/46/image_29012025_09_46_37_10354.jpg', '/home/pi/Desktop/images/29012025/09/46/image_29012025_09_46_46_9428.jpg', '/home/pi/Desktop/images/29012025/09/46/image_29012025_09_46_57_10462.jpg', '/home/pi/Desktop/images/29012025/09/46/image_29012025_09_47_06_9458.jpg', '/home/pi/Desktop/images/29012025/09/47/image_29012025_09_47_17_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/46/image_29012025_09_46_27_10367.jpg
/home/pi/Desktop/images/29012025/09/46/image_29012025_09_46_37_10354.jpg
/home/pi/Desktop/images/29012025/09/46/image_29012025_09_46_46_9428.jpg
/home/pi/Desktop/images/29012025/09/46/image_29012025_09_46_57_10462.jpg
/home/pi/Desktop/images/29012025/09/46/image_29012025_09_47_06_9458.jpg
/home/pi/Desktop/images/29012025/09/47/image_29012025_09_47_17_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":["1332590214","1332590208","1332590237","1332590219","1332590232","1332590226"],"photo_ids_order":["1332590208","1332590214","1332590219","1332590226","1332590232","1332590237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e1f8f53a0f9ff1edfcabd4ba51edd06c.jpg","text":"TemporaryFile(/tmp/multipartBody4578267816418258707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140573047,"filename":"image_29012025_09_46_37_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/29/81ff7fcab74a8d1072db8968c1593bf0.jpg","text":"TemporaryFile(/tmp/multipartBody6609293056094099457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140573047,"filename":"image_29012025_09_46_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/29/56c42949de52e894f8946b0099aea1df.jpg","text":"TemporaryFile(/tmp/multipartBody6156901514097274026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140573047,"filename":"image_29012025_09_47_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/29/370c7c13fdc641ebdaaf4802baf5688b.jpg","text":"TemporaryFile(/tmp/multipartBody3260948278358248197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140573047,"filename":"image_29012025_09_46_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/29/de41a40ad9ea4769dea117b1772265cc.jpg","text":"TemporaryFile(/tmp/multipartBody5984269236334667511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140573047,"filename":"image_29012025_09_47_06_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/29/22e9dfd518981cdf4b009de03ad3cd06.jpg","text":"TemporaryFile(/tmp/multipartBody999873405018545554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140573047,"filename":"image_29012025_09_46_57_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332590219","file1":"1332590214","file0":"1332590208","file4":"1332590232","file5":"1332590237","file3":"1332590226"},"map_files_photo_id_array":[{"photo_id":"1332590237","filename":"file5"},{"photo_id":"1332590219","filename":"file2"},{"photo_id":"1332590232","filename":"file4"},{"photo_id":"1332590214","filename":"file1"},{"photo_id":"1332590208","filename":"file0"},{"photo_id":"1332590226","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332590214":["hashtag1","hashtag2"]},{"1332590208":["hashtag1","hashtag2"]},{"1332590237":["hashtag1","hashtag2"]},{"1332590219":["hashtag1","hashtag2"]},{"1332590232":["hashtag1","hashtag2"]},{"1332590226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332590214, 1332590208, 1332590237, 1332590219, 1332590232, 1332590226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.221909046173096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:49:32.367994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/47/image_29012025_09_47_27_10369.jpg', '/home/pi/Desktop/images/29012025/09/47/image_29012025_09_47_36_9451.jpg', '/home/pi/Desktop/images/29012025/09/47/image_29012025_09_47_47_10358.jpg', '/home/pi/Desktop/images/29012025/09/47/image_29012025_09_47_56_9379.jpg', '/home/pi/Desktop/images/29012025/09/47/image_29012025_09_48_07_10439.jpg', '/home/pi/Desktop/images/29012025/09/48/image_29012025_09_48_17_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/47/image_29012025_09_47_27_10369.jpg
/home/pi/Desktop/images/29012025/09/47/image_29012025_09_47_36_9451.jpg
/home/pi/Desktop/images/29012025/09/47/image_29012025_09_47_47_10358.jpg
/home/pi/Desktop/images/29012025/09/47/image_29012025_09_47_56_9379.jpg
/home/pi/Desktop/images/29012025/09/47/image_29012025_09_48_07_10439.jpg
/home/pi/Desktop/images/29012025/09/48/image_29012025_09_48_17_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":["1332590409","1332590315","1332590309","1332590361","1332590418","1332590319"],"photo_ids_order":["1332590309","1332590315","1332590319","1332590361","1332590409","1332590418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1ea44753a0ebc4c0ef346a59bf9e2aca.jpg","text":"TemporaryFile(/tmp/multipartBody5995149463813261060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140633273,"filename":"image_29012025_09_48_07_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/29/4bfb32c9947303b93dfc80133aa44e80.jpg","text":"TemporaryFile(/tmp/multipartBody2237378449220447443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140633273,"filename":"image_29012025_09_47_36_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/29/b49840ee967e8c4f8ad2fa917f3592af.jpg","text":"TemporaryFile(/tmp/multipartBody5655750283106830268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140633273,"filename":"image_29012025_09_47_27_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/29/4e245dfeab127ea0188ccabd08ab6123.jpg","text":"TemporaryFile(/tmp/multipartBody7859661080775948001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140633273,"filename":"image_29012025_09_47_56_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/29/f7e16c2bf4a7c17d251544317a6e2f75.jpg","text":"TemporaryFile(/tmp/multipartBody4227666300948838724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140633273,"filename":"image_29012025_09_48_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/29/ba2fd2831c649159a26d366511590e9e.jpg","text":"TemporaryFile(/tmp/multipartBody7189991820054033598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140633273,"filename":"image_29012025_09_47_47_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332590319","file1":"1332590315","file0":"1332590309","file4":"1332590409","file5":"1332590418","file3":"1332590361"},"map_files_photo_id_array":[{"photo_id":"1332590418","filename":"file5"},{"photo_id":"1332590319","filename":"file2"},{"photo_id":"1332590409","filename":"file4"},{"photo_id":"1332590315","filename":"file1"},{"photo_id":"1332590309","filename":"file0"},{"photo_id":"1332590361","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332590409":["hashtag1","hashtag2"]},{"1332590315":["hashtag1","hashtag2"]},{"1332590309":["hashtag1","hashtag2"]},{"1332590361":["hashtag1","hashtag2"]},{"1332590418":["hashtag1","hashtag2"]},{"1332590319":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332590409, 1332590315, 1332590309, 1332590361, 1332590418, 1332590319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8734347820282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:50:32.765031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/48/image_29012025_09_48_26_9469.jpg', '/home/pi/Desktop/images/29012025/09/48/image_29012025_09_48_37_10360.jpg', '/home/pi/Desktop/images/29012025/09/48/image_29012025_09_48_46_9471.jpg', '/home/pi/Desktop/images/29012025/09/48/image_29012025_09_48_57_10379.jpg', '/home/pi/Desktop/images/29012025/09/48/image_29012025_09_49_06_9339.jpg', '/home/pi/Desktop/images/29012025/09/49/image_29012025_09_49_16_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/48/image_29012025_09_48_26_9469.jpg
/home/pi/Desktop/images/29012025/09/48/image_29012025_09_48_37_10360.jpg
/home/pi/Desktop/images/29012025/09/48/image_29012025_09_48_46_9471.jpg
/home/pi/Desktop/images/29012025/09/48/image_29012025_09_48_57_10379.jpg
/home/pi/Desktop/images/29012025/09/48/image_29012025_09_49_06_9339.jpg
/home/pi/Desktop/images/29012025/09/49/image_29012025_09_49_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":["1332590480","1332590467","1332590461","1332590455","1332590475","1332590484"],"photo_ids_order":["1332590455","1332590461","1332590467","1332590475","1332590480","1332590484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c208dfa51a1bf031c66495d260c76087.jpg","text":"TemporaryFile(/tmp/multipartBody6429229955502130723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140693682,"filename":"image_29012025_09_49_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/29/3df49d13447b3d3494ffc0c2bcb513c0.jpg","text":"TemporaryFile(/tmp/multipartBody3331475362231722710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140693682,"filename":"image_29012025_09_48_46_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/29/642e22dd8b3f0b4f5c04f7c307c0f2c4.jpg","text":"TemporaryFile(/tmp/multipartBody1321097357635392613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140693682,"filename":"image_29012025_09_48_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/29/154ee85d6a229defb3e04f9609ad7bee.jpg","text":"TemporaryFile(/tmp/multipartBody5064593759778056720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140693682,"filename":"image_29012025_09_48_26_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/29/96b81ca4c26a04a38e303b580f68ec69.jpg","text":"TemporaryFile(/tmp/multipartBody4660828924502876973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140693682,"filename":"image_29012025_09_48_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/29/569109517461e1040b41f10c39867fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8610504455265419911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140693682,"filename":"image_29012025_09_49_16_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332590467","file1":"1332590461","file0":"1332590455","file4":"1332590480","file5":"1332590484","file3":"1332590475"},"map_files_photo_id_array":[{"photo_id":"1332590484","filename":"file5"},{"photo_id":"1332590467","filename":"file2"},{"photo_id":"1332590480","filename":"file4"},{"photo_id":"1332590461","filename":"file1"},{"photo_id":"1332590455","filename":"file0"},{"photo_id":"1332590475","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332590480":["hashtag1","hashtag2"]},{"1332590467":["hashtag1","hashtag2"]},{"1332590461":["hashtag1","hashtag2"]},{"1332590455":["hashtag1","hashtag2"]},{"1332590475":["hashtag1","hashtag2"]},{"1332590484":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332590480, 1332590467, 1332590461, 1332590455, 1332590475, 1332590484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.975298166275024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:51:33.036877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/49/image_29012025_09_49_27_10347.jpg', '/home/pi/Desktop/images/29012025/09/49/image_29012025_09_49_36_9330.jpg', '/home/pi/Desktop/images/29012025/09/49/image_29012025_09_49_46_10361.jpg', '/home/pi/Desktop/images/29012025/09/49/image_29012025_09_49_57_10376.jpg', '/home/pi/Desktop/images/29012025/09/49/image_29012025_09_50_06_9406.jpg', '/home/pi/Desktop/images/29012025/09/50/image_29012025_09_50_16_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/49/image_29012025_09_49_27_10347.jpg
/home/pi/Desktop/images/29012025/09/49/image_29012025_09_49_36_9330.jpg
/home/pi/Desktop/images/29012025/09/49/image_29012025_09_49_46_10361.jpg
/home/pi/Desktop/images/29012025/09/49/image_29012025_09_49_57_10376.jpg
/home/pi/Desktop/images/29012025/09/49/image_29012025_09_50_06_9406.jpg
/home/pi/Desktop/images/29012025/09/50/image_29012025_09_50_16_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":["1332590528","1332590525","1332590513","1332590533","1332590521","1332590518"],"photo_ids_order":["1332590513","1332590518","1332590521","1332590525","1332590528","1332590533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5ce64ea3281567f996566280d9a67794.jpg","text":"TemporaryFile(/tmp/multipartBody2447860256921793180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140753933,"filename":"image_29012025_09_50_06_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/29/5062b723e3b173a326c8a41b1d93e60e.jpg","text":"TemporaryFile(/tmp/multipartBody5025405085142833242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140753933,"filename":"image_29012025_09_49_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/29/7ee02446f7579c427885797bb64a5d57.jpg","text":"TemporaryFile(/tmp/multipartBody7339133342659144894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140753933,"filename":"image_29012025_09_49_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/29/e251d209579d3d53a293b8544f402364.jpg","text":"TemporaryFile(/tmp/multipartBody5633528128811795490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140753933,"filename":"image_29012025_09_50_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/29/942afc5f4a07e448f508d07ff50cc87e.jpg","text":"TemporaryFile(/tmp/multipartBody2755938997727448240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140753933,"filename":"image_29012025_09_49_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/29/e38f1b04cafb5f053b129622262a77c1.jpg","text":"TemporaryFile(/tmp/multipartBody1895464237570191065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140753933,"filename":"image_29012025_09_49_36_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332590521","file1":"1332590518","file0":"1332590513","file4":"1332590528","file5":"1332590533","file3":"1332590525"},"map_files_photo_id_array":[{"photo_id":"1332590533","filename":"file5"},{"photo_id":"1332590521","filename":"file2"},{"photo_id":"1332590528","filename":"file4"},{"photo_id":"1332590518","filename":"file1"},{"photo_id":"1332590513","filename":"file0"},{"photo_id":"1332590525","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332590528":["hashtag1","hashtag2"]},{"1332590525":["hashtag1","hashtag2"]},{"1332590513":["hashtag1","hashtag2"]},{"1332590533":["hashtag1","hashtag2"]},{"1332590521":["hashtag1","hashtag2"]},{"1332590518":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332590528, 1332590525, 1332590513, 1332590533, 1332590521, 1332590518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9169442653656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:52:32.154677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/50/image_29012025_09_50_26_9548.jpg', '/home/pi/Desktop/images/29012025/09/50/image_29012025_09_50_36_10353.jpg', '/home/pi/Desktop/images/29012025/09/50/image_29012025_09_50_47_10356.jpg', '/home/pi/Desktop/images/29012025/09/50/image_29012025_09_50_56_9397.jpg', '/home/pi/Desktop/images/29012025/09/50/image_29012025_09_51_06_10373.jpg', '/home/pi/Desktop/images/29012025/09/51/image_29012025_09_51_17_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/50/image_29012025_09_50_26_9548.jpg
/home/pi/Desktop/images/29012025/09/50/image_29012025_09_50_36_10353.jpg
/home/pi/Desktop/images/29012025/09/50/image_29012025_09_50_47_10356.jpg
/home/pi/Desktop/images/29012025/09/50/image_29012025_09_50_56_9397.jpg
/home/pi/Desktop/images/29012025/09/50/image_29012025_09_51_06_10373.jpg
/home/pi/Desktop/images/29012025/09/51/image_29012025_09_51_17_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":["1332590732","1332590720","1332590737","1332590725","1332590748","1332590742"],"photo_ids_order":["1332590720","1332590725","1332590732","1332590737","1332590742","1332590748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/eb1b9a96e19f611ed1c4055fff63ea9c.jpg","text":"TemporaryFile(/tmp/multipartBody676825432341279788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140813081,"filename":"image_29012025_09_50_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/29/b72924fcc9f6666bbdb7e38554c95527.jpg","text":"TemporaryFile(/tmp/multipartBody6028964621198861805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140813081,"filename":"image_29012025_09_50_26_9548.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d9dc1c74997e4ca142484dbeba8a1c33.jpg","text":"TemporaryFile(/tmp/multipartBody2025357698124133908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140813081,"filename":"image_29012025_09_50_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/29/27afe149c662f1534f10410dfb4e6dd6.jpg","text":"TemporaryFile(/tmp/multipartBody59876898256328755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140813081,"filename":"image_29012025_09_50_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/29/414ccc15aebe51875b868067f3f47747.jpg","text":"TemporaryFile(/tmp/multipartBody288082134894998909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140813081,"filename":"image_29012025_09_51_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/29/6a1d4e0bc531b2481b4876e0910ba27a.jpg","text":"TemporaryFile(/tmp/multipartBody6312704443261152015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140813081,"filename":"image_29012025_09_51_06_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332590732","file1":"1332590725","file0":"1332590720","file4":"1332590742","file5":"1332590748","file3":"1332590737"},"map_files_photo_id_array":[{"photo_id":"1332590748","filename":"file5"},{"photo_id":"1332590732","filename":"file2"},{"photo_id":"1332590742","filename":"file4"},{"photo_id":"1332590725","filename":"file1"},{"photo_id":"1332590720","filename":"file0"},{"photo_id":"1332590737","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332590732":["hashtag1","hashtag2"]},{"1332590720":["hashtag1","hashtag2"]},{"1332590737":["hashtag1","hashtag2"]},{"1332590725":["hashtag1","hashtag2"]},{"1332590748":["hashtag1","hashtag2"]},{"1332590742":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332590732, 1332590720, 1332590737, 1332590725, 1332590748, 1332590742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.951416015625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:53:32.449163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/51/image_29012025_09_51_26_9464.jpg', '/home/pi/Desktop/images/29012025/09/51/image_29012025_09_51_37_10416.jpg', '/home/pi/Desktop/images/29012025/09/51/image_29012025_09_51_46_9495.jpg', '/home/pi/Desktop/images/29012025/09/51/image_29012025_09_51_57_10360.jpg', '/home/pi/Desktop/images/29012025/09/51/image_29012025_09_52_07_10330.jpg', '/home/pi/Desktop/images/29012025/09/52/image_29012025_09_52_16_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/51/image_29012025_09_51_26_9464.jpg
/home/pi/Desktop/images/29012025/09/51/image_29012025_09_51_37_10416.jpg
/home/pi/Desktop/images/29012025/09/51/image_29012025_09_51_46_9495.jpg
/home/pi/Desktop/images/29012025/09/51/image_29012025_09_51_57_10360.jpg
/home/pi/Desktop/images/29012025/09/51/image_29012025_09_52_07_10330.jpg
/home/pi/Desktop/images/29012025/09/52/image_29012025_09_52_16_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":["1332590972","1332591472","1332591206","1332591091","1332591351","1332590850"],"photo_ids_order":["1332590850","1332590972","1332591091","1332591206","1332591351","1332591472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5373ec5c1fa6d458c08ced0d4fd48b9d.jpg","text":"TemporaryFile(/tmp/multipartBody7477422663531297980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140873371,"filename":"image_29012025_09_51_37_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/29/15aa9d60ef03b8e58379335a72d47d4c.jpg","text":"TemporaryFile(/tmp/multipartBody623915000349693071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140873371,"filename":"image_29012025_09_52_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/29/bcc452f2d56374d669056a3c8249d2d5.jpg","text":"TemporaryFile(/tmp/multipartBody3309517922794979818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140873371,"filename":"image_29012025_09_51_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/29/c2ec63ac8b1bd3d17ef4328ea8f62383.jpg","text":"TemporaryFile(/tmp/multipartBody494135397761654445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140873371,"filename":"image_29012025_09_51_46_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/29/7d85b3f8104c18ffd3eced6e81486727.jpg","text":"TemporaryFile(/tmp/multipartBody2633381317407300820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140873371,"filename":"image_29012025_09_52_07_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/29/e67533cab7b8aa738be57adf08111ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5977404428067546723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140873371,"filename":"image_29012025_09_51_26_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332591091","file1":"1332590972","file0":"1332590850","file4":"1332591351","file5":"1332591472","file3":"1332591206"},"map_files_photo_id_array":[{"photo_id":"1332591472","filename":"file5"},{"photo_id":"1332591091","filename":"file2"},{"photo_id":"1332591351","filename":"file4"},{"photo_id":"1332590972","filename":"file1"},{"photo_id":"1332590850","filename":"file0"},{"photo_id":"1332591206","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332590972":["hashtag1","hashtag2"]},{"1332591472":["hashtag1","hashtag2"]},{"1332591206":["hashtag1","hashtag2"]},{"1332591091":["hashtag1","hashtag2"]},{"1332591351":["hashtag1","hashtag2"]},{"1332590850":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332590972, 1332591472, 1332591206, 1332591091, 1332591351, 1332590850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59334659576416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:54:32.481950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/52/image_29012025_09_52_27_10439.jpg', '/home/pi/Desktop/images/29012025/09/52/image_29012025_09_52_36_9471.jpg', '/home/pi/Desktop/images/29012025/09/52/image_29012025_09_52_47_10458.jpg', '/home/pi/Desktop/images/29012025/09/52/image_29012025_09_52_56_9515.jpg', '/home/pi/Desktop/images/29012025/09/52/image_29012025_09_53_07_10345.jpg', '/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_17_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/52/image_29012025_09_52_27_10439.jpg
/home/pi/Desktop/images/29012025/09/52/image_29012025_09_52_36_9471.jpg
/home/pi/Desktop/images/29012025/09/52/image_29012025_09_52_47_10458.jpg
/home/pi/Desktop/images/29012025/09/52/image_29012025_09_52_56_9515.jpg
/home/pi/Desktop/images/29012025/09/52/image_29012025_09_53_07_10345.jpg
/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_17_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":["1332591925","1332591693","1332591678","1332591879","1332591672","1332591816"],"photo_ids_order":["1332591672","1332591678","1332591693","1332591816","1332591879","1332591925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ce2994fea0bfccd2be1a70d17300db0b.jpg","text":"TemporaryFile(/tmp/multipartBody6908054113102854297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140933396,"filename":"image_29012025_09_53_17_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/29/3bff40dde453aa4d96955e2250996ac8.jpg","text":"TemporaryFile(/tmp/multipartBody5980022336279934050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140933396,"filename":"image_29012025_09_52_47_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/29/7981eee98af6ac6f16177f51c0ab05aa.jpg","text":"TemporaryFile(/tmp/multipartBody7441610888541901478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140933396,"filename":"image_29012025_09_52_36_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/29/48d801a248bdb31e17b5d01f55ab894d.jpg","text":"TemporaryFile(/tmp/multipartBody7252633286549554594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140933396,"filename":"image_29012025_09_53_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/29/28d2a2c9fb6ecd462f2d60834a66a00e.jpg","text":"TemporaryFile(/tmp/multipartBody8562660244988944313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140933396,"filename":"image_29012025_09_52_27_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/29/ede125d98465371393d7d1d666a849a7.jpg","text":"TemporaryFile(/tmp/multipartBody8077863620959648540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738140933396,"filename":"image_29012025_09_52_56_9515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332591693","file1":"1332591678","file0":"1332591672","file4":"1332591879","file5":"1332591925","file3":"1332591816"},"map_files_photo_id_array":[{"photo_id":"1332591925","filename":"file5"},{"photo_id":"1332591693","filename":"file2"},{"photo_id":"1332591879","filename":"file4"},{"photo_id":"1332591678","filename":"file1"},{"photo_id":"1332591672","filename":"file0"},{"photo_id":"1332591816","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332591925":["hashtag1","hashtag2"]},{"1332591693":["hashtag1","hashtag2"]},{"1332591678":["hashtag1","hashtag2"]},{"1332591879":["hashtag1","hashtag2"]},{"1332591672":["hashtag1","hashtag2"]},{"1332591816":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332591925, 1332591693, 1332591678, 1332591879, 1332591672, 1332591816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.244619846343994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:55:32.740731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_26_9371.jpg', '/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_37_10382.jpg', '/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_46_9446.jpg', '/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_56_10353.jpg', '/home/pi/Desktop/images/29012025/09/53/image_29012025_09_54_07_10408.jpg', '/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_16_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_26_9371.jpg
/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_37_10382.jpg
/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_46_9446.jpg
/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_56_10353.jpg
/home/pi/Desktop/images/29012025/09/53/image_29012025_09_54_07_10408.jpg
/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_16_9421.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.5209383964538574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 09:55:42.665752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_26_9371.jpg', '/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_37_10382.jpg', '/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_46_9446.jpg', '/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_56_10353.jpg', '/home/pi/Desktop/images/29012025/09/53/image_29012025_09_54_07_10408.jpg', '/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_16_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_26_9371.jpg
/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_37_10382.jpg
/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_46_9446.jpg
/home/pi/Desktop/images/29012025/09/53/image_29012025_09_53_56_10353.jpg
/home/pi/Desktop/images/29012025/09/53/image_29012025_09_54_07_10408.jpg
/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_16_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":["1332592037","1332592016","1332592027","1332592021","1332592009","1332592029"],"photo_ids_order":["1332592009","1332592016","1332592021","1332592027","1332592029","1332592037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/af704fb9c61d731fc60364d5e269bda3.jpg","text":"TemporaryFile(/tmp/multipartBody4650191486696369774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141003590,"filename":"image_29012025_09_54_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/29/25396c3f1f72dba9722c1d72eaa4c2ae.jpg","text":"TemporaryFile(/tmp/multipartBody356931407986940458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141003590,"filename":"image_29012025_09_53_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/29/c2632bfb761edec52536d858e30afa06.jpg","text":"TemporaryFile(/tmp/multipartBody3069420084915647933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141003590,"filename":"image_29012025_09_53_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/29/d9700dba5aa63bd8b23b61911fbdbacf.jpg","text":"TemporaryFile(/tmp/multipartBody3406442571447625464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141003590,"filename":"image_29012025_09_53_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/29/fb06af859caf5a4449fbc6303829e490.jpg","text":"TemporaryFile(/tmp/multipartBody4728310695437461677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141003590,"filename":"image_29012025_09_53_26_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/29/ce6dfa9c3667d3ab42b55b781c9d600a.jpg","text":"TemporaryFile(/tmp/multipartBody4185727432777669570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141003590,"filename":"image_29012025_09_54_07_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332592021","file1":"1332592016","file0":"1332592009","file4":"1332592029","file5":"1332592037","file3":"1332592027"},"map_files_photo_id_array":[{"photo_id":"1332592037","filename":"file5"},{"photo_id":"1332592021","filename":"file2"},{"photo_id":"1332592029","filename":"file4"},{"photo_id":"1332592016","filename":"file1"},{"photo_id":"1332592009","filename":"file0"},{"photo_id":"1332592027","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332592037":["hashtag1","hashtag2"]},{"1332592016":["hashtag1","hashtag2"]},{"1332592027":["hashtag1","hashtag2"]},{"1332592021":["hashtag1","hashtag2"]},{"1332592009":["hashtag1","hashtag2"]},{"1332592029":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332592037, 1332592016, 1332592027, 1332592021, 1332592009, 1332592029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69746446609497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:56:32.924589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_27_10357.jpg', '/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_36_9473.jpg', '/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_46_10365.jpg', '/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_57_10361.jpg', '/home/pi/Desktop/images/29012025/09/54/image_29012025_09_55_06_9432.jpg', '/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_17_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_27_10357.jpg
/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_36_9473.jpg
/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_46_10365.jpg
/home/pi/Desktop/images/29012025/09/54/image_29012025_09_54_57_10361.jpg
/home/pi/Desktop/images/29012025/09/54/image_29012025_09_55_06_9432.jpg
/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_17_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":["1332592081","1332592098","1332592089","1332592104","1332592094","1332592085"],"photo_ids_order":["1332592081","1332592085","1332592089","1332592094","1332592098","1332592104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4a81d485b7d38dd3896f886e271ad1b9.jpg","text":"TemporaryFile(/tmp/multipartBody7958189989497303912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141053843,"filename":"image_29012025_09_54_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/29/2305fd2389d9dfce412124f7292870a8.jpg","text":"TemporaryFile(/tmp/multipartBody4782496219525319500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141053843,"filename":"image_29012025_09_55_06_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/29/8f6cf441d2513bd0ffeabc492aafeadf.jpg","text":"TemporaryFile(/tmp/multipartBody8106696418326514226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141053843,"filename":"image_29012025_09_54_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/29/f6252d703a9652b0b106edc9865fa509.jpg","text":"TemporaryFile(/tmp/multipartBody2797809759586499135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141053843,"filename":"image_29012025_09_55_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/29/cb744f6859de3207d025fe29f855ddcf.jpg","text":"TemporaryFile(/tmp/multipartBody1100822561337305683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141053843,"filename":"image_29012025_09_54_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/29/7246fcddd4fb3edfddb96fac43484add.jpg","text":"TemporaryFile(/tmp/multipartBody1419184580219353592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141053843,"filename":"image_29012025_09_54_36_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332592089","file1":"1332592085","file0":"1332592081","file4":"1332592098","file5":"1332592104","file3":"1332592094"},"map_files_photo_id_array":[{"photo_id":"1332592104","filename":"file5"},{"photo_id":"1332592089","filename":"file2"},{"photo_id":"1332592098","filename":"file4"},{"photo_id":"1332592085","filename":"file1"},{"photo_id":"1332592081","filename":"file0"},{"photo_id":"1332592094","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332592081":["hashtag1","hashtag2"]},{"1332592098":["hashtag1","hashtag2"]},{"1332592089":["hashtag1","hashtag2"]},{"1332592104":["hashtag1","hashtag2"]},{"1332592094":["hashtag1","hashtag2"]},{"1332592085":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332592081, 1332592098, 1332592089, 1332592104, 1332592094, 1332592085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52418899536133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 09:57:32.322440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_26_9485.jpg', '/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_36_10359.jpg', '/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_47_10367.jpg', '/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_56_9363.jpg', '/home/pi/Desktop/images/29012025/09/55/image_29012025_09_56_07_10333.jpg', '/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_17_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_26_9485.jpg
/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_36_10359.jpg
/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_47_10367.jpg
/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_56_9363.jpg
/home/pi/Desktop/images/29012025/09/55/image_29012025_09_56_07_10333.jpg
/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_17_10351.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-29 09:59:03.901596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_26_9485.jpg', '/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_36_10359.jpg', '/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_47_10367.jpg', '/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_56_9363.jpg', '/home/pi/Desktop/images/29012025/09/55/image_29012025_09_56_07_10333.jpg', '/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_17_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_26_9485.jpg
/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_36_10359.jpg
/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_47_10367.jpg
/home/pi/Desktop/images/29012025/09/55/image_29012025_09_55_56_9363.jpg
/home/pi/Desktop/images/29012025/09/55/image_29012025_09_56_07_10333.jpg
/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_17_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":["1332593077","1332593097","1332593091","1332593064","1332593083","1332593071"],"photo_ids_order":["1332593064","1332593071","1332593077","1332593083","1332593091","1332593097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/df0e2c6295eb17d31ce66a23e1a2a918.jpg","text":"TemporaryFile(/tmp/multipartBody2204638026492548173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141204884,"filename":"image_29012025_09_55_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/29/97081e3de14e275eed4ffa9158acb109.jpg","text":"TemporaryFile(/tmp/multipartBody3160524406583700364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141204884,"filename":"image_29012025_09_56_17_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/29/8215eba5efa8e4da55d63da640b2594c.jpg","text":"TemporaryFile(/tmp/multipartBody5966096732078360406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141204884,"filename":"image_29012025_09_56_07_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/29/ab7bbfac92c3e0bb6328aa5bfc8e2922.jpg","text":"TemporaryFile(/tmp/multipartBody2258510831399800588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141204884,"filename":"image_29012025_09_55_26_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/29/4917f1e777f4a0dc84cec91d381c11bf.jpg","text":"TemporaryFile(/tmp/multipartBody3754826270344351594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141204884,"filename":"image_29012025_09_55_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/29/23802d88aed5bd4c01d40ec8e473e002.jpg","text":"TemporaryFile(/tmp/multipartBody6689430851877738004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141204884,"filename":"image_29012025_09_55_36_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332593077","file1":"1332593071","file0":"1332593064","file4":"1332593091","file5":"1332593097","file3":"1332593083"},"map_files_photo_id_array":[{"photo_id":"1332593097","filename":"file5"},{"photo_id":"1332593077","filename":"file2"},{"photo_id":"1332593091","filename":"file4"},{"photo_id":"1332593071","filename":"file1"},{"photo_id":"1332593064","filename":"file0"},{"photo_id":"1332593083","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332593077":["hashtag1","hashtag2"]},{"1332593097":["hashtag1","hashtag2"]},{"1332593091":["hashtag1","hashtag2"]},{"1332593064":["hashtag1","hashtag2"]},{"1332593083":["hashtag1","hashtag2"]},{"1332593071":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332593077, 1332593097, 1332593091, 1332593064, 1332593083, 1332593071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91736102104187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 09:59:52.902376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_25_9443.jpg', '/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_36_10369.jpg', '/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_45_9448.jpg', '/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_55_10335.jpg', '/home/pi/Desktop/images/24012025/20/28/image_24012025_20_29_06_10481.jpg', '/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_15_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_25_9443.jpg
/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_36_10369.jpg
/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_45_9448.jpg
/home/pi/Desktop/images/24012025/20/28/image_24012025_20_28_55_10335.jpg
/home/pi/Desktop/images/24012025/20/28/image_24012025_20_29_06_10481.jpg
/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_15_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":["1332593125","1332593898","1332593892","1332593622","1332593903","1332593284"],"photo_ids_order":["1332593125","1332593284","1332593622","1332593892","1332593898","1332593903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8d19fcb9a17300d1d94b0e229f43fa13.jpg","text":"TemporaryFile(/tmp/multipartBody8594788359107699820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141254963,"filename":"image_24012025_20_28_25_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/29/92732da1c1aea77a3ebb5657d74df7d5.jpg","text":"TemporaryFile(/tmp/multipartBody2336955005054400182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141254963,"filename":"image_24012025_20_29_06_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/29/bcf1da6769cda4da2cb00b6d95e26c56.jpg","text":"TemporaryFile(/tmp/multipartBody4266291957134386930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141254963,"filename":"image_24012025_20_28_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/29/d431910658a734952bc52aa7d909081c.jpg","text":"TemporaryFile(/tmp/multipartBody421303481089960712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141254963,"filename":"image_24012025_20_28_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/29/1e1319f223666245498fed4f2e524da7.jpg","text":"TemporaryFile(/tmp/multipartBody4726399835040354229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141254963,"filename":"image_24012025_20_29_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/29/3660583a99cfd54eb7c3fd59075a958a.jpg","text":"TemporaryFile(/tmp/multipartBody5309095073948962777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141254963,"filename":"image_24012025_20_28_36_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332593622","file1":"1332593284","file0":"1332593125","file4":"1332593898","file5":"1332593903","file3":"1332593892"},"map_files_photo_id_array":[{"photo_id":"1332593903","filename":"file5"},{"photo_id":"1332593622","filename":"file2"},{"photo_id":"1332593898","filename":"file4"},{"photo_id":"1332593284","filename":"file1"},{"photo_id":"1332593125","filename":"file0"},{"photo_id":"1332593892","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332593125":["hashtag1","hashtag2"]},{"1332593898":["hashtag1","hashtag2"]},{"1332593892":["hashtag1","hashtag2"]},{"1332593622":["hashtag1","hashtag2"]},{"1332593903":["hashtag1","hashtag2"]},{"1332593284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332593125, 1332593898, 1332593892, 1332593622, 1332593903, 1332593284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.178345680236816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 10:00:43.055066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_26_9459.jpg', '/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_37_10337.jpg', '/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_46_9413.jpg', '/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_57_10417.jpg', '/home/pi/Desktop/images/29012025/09/56/image_29012025_09_57_07_10346.jpg', '/home/pi/Desktop/images/29012025/09/57/image_29012025_09_57_16_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_26_9459.jpg
/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_37_10337.jpg
/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_46_9413.jpg
/home/pi/Desktop/images/29012025/09/56/image_29012025_09_56_57_10417.jpg
/home/pi/Desktop/images/29012025/09/56/image_29012025_09_57_07_10346.jpg
/home/pi/Desktop/images/29012025/09/57/image_29012025_09_57_16_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":["1332594216","1332594306","1332594182","1332593946","1332593940","1332594224"],"photo_ids_order":["1332593940","1332593946","1332594182","1332594216","1332594224","1332594306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4d920d9910db74e23b60ce43086924a1.jpg","text":"TemporaryFile(/tmp/multipartBody2129131696269688929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141303958,"filename":"image_29012025_09_56_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/29/9c8335ec4bb39dbbf39de22c250665d0.jpg","text":"TemporaryFile(/tmp/multipartBody4018713695775420776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141303958,"filename":"image_29012025_09_57_16_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/29/76c50e2c7f06d66c923c6f2f00bf8e0d.jpg","text":"TemporaryFile(/tmp/multipartBody3839963283040306293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141303958,"filename":"image_29012025_09_56_46_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/29/59c786c254ea48a2235b32affb42207f.jpg","text":"TemporaryFile(/tmp/multipartBody5045886795473762474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141303958,"filename":"image_29012025_09_56_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/29/b970a867d00ed09c6ec215ccdeba192e.jpg","text":"TemporaryFile(/tmp/multipartBody1131760379825944939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141303958,"filename":"image_29012025_09_56_26_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/29/545d0b494ba25371cdbe9aa814886b52.jpg","text":"TemporaryFile(/tmp/multipartBody3227558209257425492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141303958,"filename":"image_29012025_09_57_07_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332594182","file1":"1332593946","file0":"1332593940","file4":"1332594224","file5":"1332594306","file3":"1332594216"},"map_files_photo_id_array":[{"photo_id":"1332594306","filename":"file5"},{"photo_id":"1332594182","filename":"file2"},{"photo_id":"1332594224","filename":"file4"},{"photo_id":"1332593946","filename":"file1"},{"photo_id":"1332593940","filename":"file0"},{"photo_id":"1332594216","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332594216":["hashtag1","hashtag2"]},{"1332594306":["hashtag1","hashtag2"]},{"1332594182":["hashtag1","hashtag2"]},{"1332593946":["hashtag1","hashtag2"]},{"1332593940":["hashtag1","hashtag2"]},{"1332594224":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332594216, 1332594306, 1332594182, 1332593946, 1332593940, 1332594224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01900267601013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:01:32.361878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/57/image_29012025_09_57_27_10371.jpg', '/home/pi/Desktop/images/29012025/09/57/image_29012025_09_57_36_9355.jpg', '/home/pi/Desktop/images/29012025/09/57/image_29012025_09_57_46_10404.jpg', '/home/pi/Desktop/images/29012025/09/57/image_29012025_09_57_57_10365.jpg', '/home/pi/Desktop/images/29012025/09/57/image_29012025_09_58_06_9462.jpg', '/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_17_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/57/image_29012025_09_57_27_10371.jpg
/home/pi/Desktop/images/29012025/09/57/image_29012025_09_57_36_9355.jpg
/home/pi/Desktop/images/29012025/09/57/image_29012025_09_57_46_10404.jpg
/home/pi/Desktop/images/29012025/09/57/image_29012025_09_57_57_10365.jpg
/home/pi/Desktop/images/29012025/09/57/image_29012025_09_58_06_9462.jpg
/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_17_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":["1332594855","1332594851","1332594689","1332594830","1332594746","1332594766"],"photo_ids_order":["1332594689","1332594746","1332594766","1332594830","1332594851","1332594855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1e8f284fc9d924618a0233ed91cddad7.jpg","text":"TemporaryFile(/tmp/multipartBody6036383307190302249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141353264,"filename":"image_29012025_09_58_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/29/61e2b981dedd15e285e52bef0daa7a98.jpg","text":"TemporaryFile(/tmp/multipartBody3147799986977732166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141353264,"filename":"image_29012025_09_58_06_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/29/950e33d9916506d21015f122248ac7f6.jpg","text":"TemporaryFile(/tmp/multipartBody5993332237342847532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141353264,"filename":"image_29012025_09_57_27_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/29/42bab884c1de9d566b0db66816089cda.jpg","text":"TemporaryFile(/tmp/multipartBody8844626699351047696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141353264,"filename":"image_29012025_09_57_57_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/29/bfc96d70efd46ed30e4f0a37b67cd3ed.jpg","text":"TemporaryFile(/tmp/multipartBody3937539226561251461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141353264,"filename":"image_29012025_09_57_36_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/29/314d8101357352dc42171900727bc9d7.jpg","text":"TemporaryFile(/tmp/multipartBody962471954360199338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141353264,"filename":"image_29012025_09_57_46_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332594766","file1":"1332594746","file0":"1332594689","file4":"1332594851","file5":"1332594855","file3":"1332594830"},"map_files_photo_id_array":[{"photo_id":"1332594855","filename":"file5"},{"photo_id":"1332594766","filename":"file2"},{"photo_id":"1332594851","filename":"file4"},{"photo_id":"1332594746","filename":"file1"},{"photo_id":"1332594689","filename":"file0"},{"photo_id":"1332594830","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332594855":["hashtag1","hashtag2"]},{"1332594851":["hashtag1","hashtag2"]},{"1332594689":["hashtag1","hashtag2"]},{"1332594830":["hashtag1","hashtag2"]},{"1332594746":["hashtag1","hashtag2"]},{"1332594766":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332594855, 1332594851, 1332594689, 1332594830, 1332594746, 1332594766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84038257598877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:02:32.612068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_27_10361.jpg', '/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_36_9434.jpg', '/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_47_10356.jpg', '/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_56_9471.jpg', '/home/pi/Desktop/images/29012025/09/58/image_29012025_09_59_06_10336.jpg', '/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_17_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_27_10361.jpg
/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_36_9434.jpg
/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_47_10356.jpg
/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_56_9471.jpg
/home/pi/Desktop/images/29012025/09/58/image_29012025_09_59_06_10336.jpg
/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_17_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.5125420093536377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 10:02:42.629011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_27_10361.jpg', '/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_36_9434.jpg', '/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_47_10356.jpg', '/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_56_9471.jpg', '/home/pi/Desktop/images/29012025/09/58/image_29012025_09_59_06_10336.jpg', '/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_17_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_27_10361.jpg
/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_36_9434.jpg
/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_47_10356.jpg
/home/pi/Desktop/images/29012025/09/58/image_29012025_09_58_56_9471.jpg
/home/pi/Desktop/images/29012025/09/58/image_29012025_09_59_06_10336.jpg
/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_17_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":["1332594903","1332594896","1332594915","1332594909","1332594925","1332594919"],"photo_ids_order":["1332594896","1332594903","1332594909","1332594915","1332594919","1332594925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/22e8afd039057b6578dee38e65fa2eab.jpg","text":"TemporaryFile(/tmp/multipartBody7401972090084349945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141423539,"filename":"image_29012025_09_58_36_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/29/2d974ba3d042ab845550a630ffe6cb1e.jpg","text":"TemporaryFile(/tmp/multipartBody5025224760708284385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141423539,"filename":"image_29012025_09_58_27_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/29/f1406f7c578e22b425f4b6ae36ad83c0.jpg","text":"TemporaryFile(/tmp/multipartBody4231769349542615032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141423539,"filename":"image_29012025_09_58_56_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/29/94737927c37b46331fc8b2d09351c31d.jpg","text":"TemporaryFile(/tmp/multipartBody412614998970001347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141423539,"filename":"image_29012025_09_58_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/29/b333ce956046d6950dbb762107c03f97.jpg","text":"TemporaryFile(/tmp/multipartBody2923098055913688241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141423539,"filename":"image_29012025_09_59_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/29/87109cda0c1253a667f4cbbecbe6b790.jpg","text":"TemporaryFile(/tmp/multipartBody5970812890960617151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141423539,"filename":"image_29012025_09_59_06_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332594909","file1":"1332594903","file0":"1332594896","file4":"1332594919","file5":"1332594925","file3":"1332594915"},"map_files_photo_id_array":[{"photo_id":"1332594925","filename":"file5"},{"photo_id":"1332594909","filename":"file2"},{"photo_id":"1332594919","filename":"file4"},{"photo_id":"1332594903","filename":"file1"},{"photo_id":"1332594896","filename":"file0"},{"photo_id":"1332594915","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332594903":["hashtag1","hashtag2"]},{"1332594896":["hashtag1","hashtag2"]},{"1332594915":["hashtag1","hashtag2"]},{"1332594909":["hashtag1","hashtag2"]},{"1332594925":["hashtag1","hashtag2"]},{"1332594919":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332594903, 1332594896, 1332594915, 1332594909, 1332594925, 1332594919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78998041152954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:03:32.945579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_26_9471.jpg', '/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_37_10402.jpg', '/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_46_9467.jpg', '/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_57_10376.jpg', '/home/pi/Desktop/images/29012025/10/01/image_29012025_10_01_15_10076.jpg', '/home/pi/Desktop/images/29012025/10/01/image_29012025_10_01_25_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_26_9471.jpg
/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_37_10402.jpg
/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_46_9467.jpg
/home/pi/Desktop/images/29012025/09/59/image_29012025_09_59_57_10376.jpg
/home/pi/Desktop/images/29012025/10/01/image_29012025_10_01_15_10076.jpg
/home/pi/Desktop/images/29012025/10/01/image_29012025_10_01_25_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332595206","1332595008","1332595397","1332595501","1332595126","1332595290"],"photo_ids_order":["1332595008","1332595126","1332595206","1332595290","1332595397","1332595501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aa83aa9ebea93ce05b876d2c5e7c48a2.jpg","text":"TemporaryFile(/tmp/multipartBody5293019599830970941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141473853,"filename":"image_29012025_09_59_46_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/29/d4abefaf84da745f054c997c998ab791.jpg","text":"TemporaryFile(/tmp/multipartBody251063229476921636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141473853,"filename":"image_29012025_09_59_26_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/29/9b82ecacf70817b65223905ba34dd319.jpg","text":"TemporaryFile(/tmp/multipartBody4642670651287241798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141473853,"filename":"image_29012025_10_01_15_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/99f62bcd21190c45738193dd142bac49.jpg","text":"TemporaryFile(/tmp/multipartBody1173660244215478815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141473853,"filename":"image_29012025_10_01_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/29/111306c270e0c67ca079797d0525f25c.jpg","text":"TemporaryFile(/tmp/multipartBody8122505594709956913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141473853,"filename":"image_29012025_09_59_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/29/83e0e840320d5b62d6d07341a388e19c.jpg","text":"TemporaryFile(/tmp/multipartBody2392584343721298973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141473853,"filename":"image_29012025_09_59_57_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332595206","file1":"1332595126","file0":"1332595008","file4":"1332595397","file5":"1332595501","file3":"1332595290"},"map_files_photo_id_array":[{"photo_id":"1332595501","filename":"file5"},{"photo_id":"1332595206","filename":"file2"},{"photo_id":"1332595397","filename":"file4"},{"photo_id":"1332595126","filename":"file1"},{"photo_id":"1332595008","filename":"file0"},{"photo_id":"1332595290","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332595206":["hashtag1","hashtag2"]},{"1332595008":["hashtag1","hashtag2"]},{"1332595397":["hashtag1","hashtag2"]},{"1332595501":["hashtag1","hashtag2"]},{"1332595126":["hashtag1","hashtag2"]},{"1332595290":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332595206, 1332595008, 1332595397, 1332595501, 1332595126, 1332595290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.601165533065796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:04:32.208383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/01/image_29012025_10_01_36_10345.jpg', '/home/pi/Desktop/images/29012025/10/01/image_29012025_10_01_45_9458.jpg', '/home/pi/Desktop/images/29012025/10/01/image_29012025_10_01_56_10382.jpg', '/home/pi/Desktop/images/29012025/10/01/image_29012025_10_02_05_9346.jpg', '/home/pi/Desktop/images/29012025/10/02/image_29012025_10_02_15_10457.jpg', '/home/pi/Desktop/images/29012025/10/02/image_29012025_10_02_26_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/01/image_29012025_10_01_36_10345.jpg
/home/pi/Desktop/images/29012025/10/01/image_29012025_10_01_45_9458.jpg
/home/pi/Desktop/images/29012025/10/01/image_29012025_10_01_56_10382.jpg
/home/pi/Desktop/images/29012025/10/01/image_29012025_10_02_05_9346.jpg
/home/pi/Desktop/images/29012025/10/02/image_29012025_10_02_15_10457.jpg
/home/pi/Desktop/images/29012025/10/02/image_29012025_10_02_26_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":["1332596090","1332595892","1332595911","1332595934","1332596008","1332595924"],"photo_ids_order":["1332595892","1332595911","1332595924","1332595934","1332596008","1332596090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/26bb7a2a687847a8db7eb1629b70c3e7.jpg","text":"TemporaryFile(/tmp/multipartBody823931965705050169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141533110,"filename":"image_29012025_10_02_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/29/97e219c0c2deac48a118a41c86eb8a8a.jpg","text":"TemporaryFile(/tmp/multipartBody8568385343302748547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141533110,"filename":"image_29012025_10_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/29/0eb154a15f153004d3e80d16f783656e.jpg","text":"TemporaryFile(/tmp/multipartBody4684173610636743676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141533110,"filename":"image_29012025_10_01_45_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/29/73c1d7431b036da0f734f958408c5342.jpg","text":"TemporaryFile(/tmp/multipartBody4074510874473209913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141533110,"filename":"image_29012025_10_02_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/29/246c160b5e8f31b39307f1c919e50f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6851294172318710905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141533110,"filename":"image_29012025_10_02_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/29/2d4bcae88286f6ad9d5888c655c5a8cf.jpg","text":"TemporaryFile(/tmp/multipartBody1265790043091951628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141533110,"filename":"image_29012025_10_01_56_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332595924","file1":"1332595911","file0":"1332595892","file4":"1332596008","file5":"1332596090","file3":"1332595934"},"map_files_photo_id_array":[{"photo_id":"1332596090","filename":"file5"},{"photo_id":"1332595924","filename":"file2"},{"photo_id":"1332596008","filename":"file4"},{"photo_id":"1332595911","filename":"file1"},{"photo_id":"1332595892","filename":"file0"},{"photo_id":"1332595934","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332596090":["hashtag1","hashtag2"]},{"1332595892":["hashtag1","hashtag2"]},{"1332595911":["hashtag1","hashtag2"]},{"1332595934":["hashtag1","hashtag2"]},{"1332596008":["hashtag1","hashtag2"]},{"1332595924":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332596090, 1332595892, 1332595911, 1332595934, 1332596008, 1332595924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.515645265579224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:05:32.495815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/02/image_29012025_10_02_35_9396.jpg', '/home/pi/Desktop/images/29012025/10/02/image_29012025_10_02_45_10371.jpg', '/home/pi/Desktop/images/29012025/10/02/image_29012025_10_02_55_9356.jpg', '/home/pi/Desktop/images/29012025/10/02/image_29012025_10_03_05_10464.jpg', '/home/pi/Desktop/images/29012025/10/03/image_29012025_10_03_16_10355.jpg', '/home/pi/Desktop/images/29012025/10/03/image_29012025_10_03_25_9479.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/02/image_29012025_10_02_35_9396.jpg
/home/pi/Desktop/images/29012025/10/02/image_29012025_10_02_45_10371.jpg
/home/pi/Desktop/images/29012025/10/02/image_29012025_10_02_55_9356.jpg
/home/pi/Desktop/images/29012025/10/02/image_29012025_10_03_05_10464.jpg
/home/pi/Desktop/images/29012025/10/03/image_29012025_10_03_16_10355.jpg
/home/pi/Desktop/images/29012025/10/03/image_29012025_10_03_25_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332596214","1332596245","1332596233","1332596236","1332596221","1332596241"],"photo_ids_order":["1332596214","1332596221","1332596233","1332596236","1332596241","1332596245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ec6dfc9bb7ac661bd0b811d7d8e30dcd.jpg","text":"TemporaryFile(/tmp/multipartBody8353225208529747199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141593400,"filename":"image_29012025_10_02_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/29/1f830e5af677a28677341a0ce266ed31.jpg","text":"TemporaryFile(/tmp/multipartBody5521762689303676494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141593400,"filename":"image_29012025_10_03_25_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/29/260314ecbda32f5d48a42253065158c0.jpg","text":"TemporaryFile(/tmp/multipartBody879020134167160942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141593400,"filename":"image_29012025_10_02_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/29/42e4391f21681a4ae41ebe3e3ba6d702.jpg","text":"TemporaryFile(/tmp/multipartBody8800552102139435669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141593400,"filename":"image_29012025_10_03_05_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/29/aa90966b6ee4ae6b3562c7885c57e59f.jpg","text":"TemporaryFile(/tmp/multipartBody8822008634039029613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141593400,"filename":"image_29012025_10_02_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/29/214c608ed6b19ebfe312ed98409061ac.jpg","text":"TemporaryFile(/tmp/multipartBody6222503926946825036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141593400,"filename":"image_29012025_10_03_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332596233","file1":"1332596221","file0":"1332596214","file4":"1332596241","file5":"1332596245","file3":"1332596236"},"map_files_photo_id_array":[{"photo_id":"1332596245","filename":"file5"},{"photo_id":"1332596233","filename":"file2"},{"photo_id":"1332596241","filename":"file4"},{"photo_id":"1332596221","filename":"file1"},{"photo_id":"1332596214","filename":"file0"},{"photo_id":"1332596236","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332596214":["hashtag1","hashtag2"]},{"1332596245":["hashtag1","hashtag2"]},{"1332596233":["hashtag1","hashtag2"]},{"1332596236":["hashtag1","hashtag2"]},{"1332596221":["hashtag1","hashtag2"]},{"1332596241":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332596214, 1332596245, 1332596233, 1332596236, 1332596221, 1332596241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.799741983413696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:06:32.701426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/03/image_29012025_10_03_35_10354.jpg', '/home/pi/Desktop/images/29012025/10/03/image_29012025_10_03_45_9401.jpg', '/home/pi/Desktop/images/29012025/10/03/image_29012025_10_03_55_10421.jpg', '/home/pi/Desktop/images/29012025/10/03/image_29012025_10_04_06_10344.jpg', '/home/pi/Desktop/images/29012025/10/04/image_29012025_10_04_15_9327.jpg', '/home/pi/Desktop/images/29012025/10/04/image_29012025_10_04_25_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/03/image_29012025_10_03_35_10354.jpg
/home/pi/Desktop/images/29012025/10/03/image_29012025_10_03_45_9401.jpg
/home/pi/Desktop/images/29012025/10/03/image_29012025_10_03_55_10421.jpg
/home/pi/Desktop/images/29012025/10/03/image_29012025_10_04_06_10344.jpg
/home/pi/Desktop/images/29012025/10/04/image_29012025_10_04_15_9327.jpg
/home/pi/Desktop/images/29012025/10/04/image_29012025_10_04_25_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":["1332596301","1332596285","1332596279","1332596272","1332596289","1332596265"],"photo_ids_order":["1332596265","1332596272","1332596279","1332596285","1332596289","1332596301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b782ba1159ef1bf7cc0c703bc3af91a1.jpg","text":"TemporaryFile(/tmp/multipartBody7006969757583685962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141653625,"filename":"image_29012025_10_04_25_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/29/cbf4d0a35f54c05d28eb478b57a604f3.jpg","text":"TemporaryFile(/tmp/multipartBody7193748306733308334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141653625,"filename":"image_29012025_10_04_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/29/c1c72465750e80c6012ef519c51fe7b1.jpg","text":"TemporaryFile(/tmp/multipartBody1208730243561733640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141653625,"filename":"image_29012025_10_03_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/29/be439cbfc9ae3d00d1730086ab52bc44.jpg","text":"TemporaryFile(/tmp/multipartBody8003173470318750098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141653625,"filename":"image_29012025_10_03_45_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/29/bcc179085c62c8de1ecdf7b2ae3b7515.jpg","text":"TemporaryFile(/tmp/multipartBody7722379326226966232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141653625,"filename":"image_29012025_10_04_15_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/29/f15e571c0ac5d34c66b6d75a3c58a3a1.jpg","text":"TemporaryFile(/tmp/multipartBody7833324202474667386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141653625,"filename":"image_29012025_10_03_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332596279","file1":"1332596272","file0":"1332596265","file4":"1332596289","file5":"1332596301","file3":"1332596285"},"map_files_photo_id_array":[{"photo_id":"1332596301","filename":"file5"},{"photo_id":"1332596279","filename":"file2"},{"photo_id":"1332596289","filename":"file4"},{"photo_id":"1332596272","filename":"file1"},{"photo_id":"1332596265","filename":"file0"},{"photo_id":"1332596285","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332596301":["hashtag1","hashtag2"]},{"1332596285":["hashtag1","hashtag2"]},{"1332596279":["hashtag1","hashtag2"]},{"1332596272":["hashtag1","hashtag2"]},{"1332596289":["hashtag1","hashtag2"]},{"1332596265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332596301, 1332596285, 1332596279, 1332596272, 1332596289, 1332596265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97192335128784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:07:32.945452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/04/image_29012025_10_04_35_9468.jpg', '/home/pi/Desktop/images/29012025/10/04/image_29012025_10_04_45_10454.jpg', '/home/pi/Desktop/images/29012025/10/04/image_29012025_10_04_56_10365.jpg', '/home/pi/Desktop/images/29012025/10/04/image_29012025_10_05_05_9385.jpg', '/home/pi/Desktop/images/29012025/10/05/image_29012025_10_05_15_10361.jpg', '/home/pi/Desktop/images/29012025/10/05/image_29012025_10_05_26_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/04/image_29012025_10_04_35_9468.jpg
/home/pi/Desktop/images/29012025/10/04/image_29012025_10_04_45_10454.jpg
/home/pi/Desktop/images/29012025/10/04/image_29012025_10_04_56_10365.jpg
/home/pi/Desktop/images/29012025/10/04/image_29012025_10_05_05_9385.jpg
/home/pi/Desktop/images/29012025/10/05/image_29012025_10_05_15_10361.jpg
/home/pi/Desktop/images/29012025/10/05/image_29012025_10_05_26_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":["1332596369","1332596360","1332596374","1332596443","1332596460","1332596364"],"photo_ids_order":["1332596360","1332596364","1332596369","1332596374","1332596443","1332596460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b0be9378f88dea3dfa8214b2cfd60366.jpg","text":"TemporaryFile(/tmp/multipartBody218925775066432008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141713853,"filename":"image_29012025_10_04_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/29/392cc0ffeca5a7d3f9c9deb2f7b7facf.jpg","text":"TemporaryFile(/tmp/multipartBody6842008072257344963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141713853,"filename":"image_29012025_10_04_35_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/29/a0015a614bac8706c39a1cffa799ef49.jpg","text":"TemporaryFile(/tmp/multipartBody2049105667400505883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141713853,"filename":"image_29012025_10_05_05_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/29/051f7a421c8d97b2edce4d01550896e0.jpg","text":"TemporaryFile(/tmp/multipartBody3966403645779425760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141713853,"filename":"image_29012025_10_05_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/29/5740f93bb5c6fae17cac365d862d101a.jpg","text":"TemporaryFile(/tmp/multipartBody6601136059500605417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141713853,"filename":"image_29012025_10_05_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/29/be7ff498fe79e2de4527dc733082c659.jpg","text":"TemporaryFile(/tmp/multipartBody977053792827521524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141713853,"filename":"image_29012025_10_04_45_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332596369","file1":"1332596364","file0":"1332596360","file4":"1332596443","file5":"1332596460","file3":"1332596374"},"map_files_photo_id_array":[{"photo_id":"1332596460","filename":"file5"},{"photo_id":"1332596369","filename":"file2"},{"photo_id":"1332596443","filename":"file4"},{"photo_id":"1332596364","filename":"file1"},{"photo_id":"1332596360","filename":"file0"},{"photo_id":"1332596374","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332596369":["hashtag1","hashtag2"]},{"1332596360":["hashtag1","hashtag2"]},{"1332596374":["hashtag1","hashtag2"]},{"1332596443":["hashtag1","hashtag2"]},{"1332596460":["hashtag1","hashtag2"]},{"1332596364":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332596369, 1332596360, 1332596374, 1332596443, 1332596460, 1332596364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61640548706055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:08:32.197400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/05/image_29012025_10_05_35_9432.jpg', '/home/pi/Desktop/images/29012025/10/05/image_29012025_10_05_46_10340.jpg', '/home/pi/Desktop/images/29012025/10/05/image_29012025_10_05_55_9351.jpg', '/home/pi/Desktop/images/29012025/10/05/image_29012025_10_06_05_10348.jpg', '/home/pi/Desktop/images/29012025/10/06/image_29012025_10_06_16_10346.jpg', '/home/pi/Desktop/images/29012025/10/06/image_29012025_10_06_25_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/05/image_29012025_10_05_35_9432.jpg
/home/pi/Desktop/images/29012025/10/05/image_29012025_10_05_46_10340.jpg
/home/pi/Desktop/images/29012025/10/05/image_29012025_10_05_55_9351.jpg
/home/pi/Desktop/images/29012025/10/05/image_29012025_10_06_05_10348.jpg
/home/pi/Desktop/images/29012025/10/06/image_29012025_10_06_16_10346.jpg
/home/pi/Desktop/images/29012025/10/06/image_29012025_10_06_25_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":["1332596543","1332596552","1332596516","1332596501","1332596494","1332596506"],"photo_ids_order":["1332596494","1332596501","1332596506","1332596516","1332596543","1332596552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/506b6ed048b331c7b9cd40b54ecea350.jpg","text":"TemporaryFile(/tmp/multipartBody9052656794561390780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141773086,"filename":"image_29012025_10_06_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/29/f2d6ee403dae0ccaf07f5c9e1c0647d8.jpg","text":"TemporaryFile(/tmp/multipartBody6524505404103801494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141773086,"filename":"image_29012025_10_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/29/3820c31d23e2e34d6d5592c0eb756b37.jpg","text":"TemporaryFile(/tmp/multipartBody7927260371851800746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141773086,"filename":"image_29012025_10_06_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/29/e233f2d4ce289d3ec58df58ebcecbac1.jpg","text":"TemporaryFile(/tmp/multipartBody4589269808156323124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141773086,"filename":"image_29012025_10_05_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/29/82f6635cd9199217039fc9d19d44fa3e.jpg","text":"TemporaryFile(/tmp/multipartBody6678298889693200633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141773086,"filename":"image_29012025_10_05_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/29/08ef2a32ca4081afe691f39b8bec4b2a.jpg","text":"TemporaryFile(/tmp/multipartBody4755305697701243839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141773086,"filename":"image_29012025_10_05_55_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332596506","file1":"1332596501","file0":"1332596494","file4":"1332596543","file5":"1332596552","file3":"1332596516"},"map_files_photo_id_array":[{"photo_id":"1332596552","filename":"file5"},{"photo_id":"1332596506","filename":"file2"},{"photo_id":"1332596543","filename":"file4"},{"photo_id":"1332596501","filename":"file1"},{"photo_id":"1332596494","filename":"file0"},{"photo_id":"1332596516","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332596543":["hashtag1","hashtag2"]},{"1332596552":["hashtag1","hashtag2"]},{"1332596516":["hashtag1","hashtag2"]},{"1332596501":["hashtag1","hashtag2"]},{"1332596494":["hashtag1","hashtag2"]},{"1332596506":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332596543, 1332596552, 1332596516, 1332596501, 1332596494, 1332596506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85668587684631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:09:32.512844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/06/image_29012025_10_06_35_10405.jpg', '/home/pi/Desktop/images/29012025/10/06/image_29012025_10_06_46_10357.jpg', '/home/pi/Desktop/images/29012025/10/06/image_29012025_10_06_55_9440.jpg', '/home/pi/Desktop/images/29012025/10/06/image_29012025_10_07_06_10351.jpg', '/home/pi/Desktop/images/29012025/10/07/image_29012025_10_07_15_9340.jpg', '/home/pi/Desktop/images/29012025/10/07/image_29012025_10_07_25_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/06/image_29012025_10_06_35_10405.jpg
/home/pi/Desktop/images/29012025/10/06/image_29012025_10_06_46_10357.jpg
/home/pi/Desktop/images/29012025/10/06/image_29012025_10_06_55_9440.jpg
/home/pi/Desktop/images/29012025/10/06/image_29012025_10_07_06_10351.jpg
/home/pi/Desktop/images/29012025/10/07/image_29012025_10_07_15_9340.jpg
/home/pi/Desktop/images/29012025/10/07/image_29012025_10_07_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":["1332597431","1332597200","1332597436","1332597261","1332597377","1332597092"],"photo_ids_order":["1332597092","1332597200","1332597261","1332597377","1332597431","1332597436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aa025f0d17d6c95c16794915b2e553c8.jpg","text":"TemporaryFile(/tmp/multipartBody6580012878537909155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141833433,"filename":"image_29012025_10_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/29/a001b7b45cd42d23da09c56641f6254e.jpg","text":"TemporaryFile(/tmp/multipartBody3442369789152700749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141833433,"filename":"image_29012025_10_06_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/29/5dc709fa20948da72d358bb5008c2e68.jpg","text":"TemporaryFile(/tmp/multipartBody4480786273232840484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141833433,"filename":"image_29012025_10_07_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/29/76b91c8469ba0097e48da6454e5c8bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2262685090189903279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141833433,"filename":"image_29012025_10_06_55_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/29/09d53618d3393e97c9d56154eeb8e5ac.jpg","text":"TemporaryFile(/tmp/multipartBody8663705903869742696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141833433,"filename":"image_29012025_10_07_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/29/21c3c9cc8d6929b44cf0841a0f887998.jpg","text":"TemporaryFile(/tmp/multipartBody6968898153545411642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141833433,"filename":"image_29012025_10_06_35_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332597261","file1":"1332597200","file0":"1332597092","file4":"1332597431","file5":"1332597436","file3":"1332597377"},"map_files_photo_id_array":[{"photo_id":"1332597436","filename":"file5"},{"photo_id":"1332597261","filename":"file2"},{"photo_id":"1332597431","filename":"file4"},{"photo_id":"1332597200","filename":"file1"},{"photo_id":"1332597092","filename":"file0"},{"photo_id":"1332597377","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332597431":["hashtag1","hashtag2"]},{"1332597200":["hashtag1","hashtag2"]},{"1332597436":["hashtag1","hashtag2"]},{"1332597261":["hashtag1","hashtag2"]},{"1332597377":["hashtag1","hashtag2"]},{"1332597092":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332597431, 1332597200, 1332597436, 1332597261, 1332597377, 1332597092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.685744762420654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:10:32.680746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/07/image_29012025_10_07_36_10368.jpg', '/home/pi/Desktop/images/29012025/10/07/image_29012025_10_07_45_9344.jpg', '/home/pi/Desktop/images/29012025/10/07/image_29012025_10_07_55_10362.jpg', '/home/pi/Desktop/images/29012025/10/07/image_29012025_10_08_06_10432.jpg', '/home/pi/Desktop/images/29012025/10/08/image_29012025_10_08_15_9389.jpg', '/home/pi/Desktop/images/29012025/10/08/image_29012025_10_08_25_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/07/image_29012025_10_07_36_10368.jpg
/home/pi/Desktop/images/29012025/10/07/image_29012025_10_07_45_9344.jpg
/home/pi/Desktop/images/29012025/10/07/image_29012025_10_07_55_10362.jpg
/home/pi/Desktop/images/29012025/10/07/image_29012025_10_08_06_10432.jpg
/home/pi/Desktop/images/29012025/10/08/image_29012025_10_08_15_9389.jpg
/home/pi/Desktop/images/29012025/10/08/image_29012025_10_08_25_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":["1332597709","1332597502","1332597888","1332597498","1332597492","1332597819"],"photo_ids_order":["1332597492","1332597498","1332597502","1332597709","1332597819","1332597888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8d58e8a4d240ecc345c7533ae769449b.jpg","text":"TemporaryFile(/tmp/multipartBody1727231902355980648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141893573,"filename":"image_29012025_10_08_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/29/69cb88219f8924ef5a80997ea06ff773.jpg","text":"TemporaryFile(/tmp/multipartBody1428004996254272729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141893573,"filename":"image_29012025_10_07_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/29/4afcc2cf6e0c9589bfd3cb693bc09681.jpg","text":"TemporaryFile(/tmp/multipartBody8863554275218461203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141893573,"filename":"image_29012025_10_08_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/29/1540b54bbeb62b7985b4b789a81326c2.jpg","text":"TemporaryFile(/tmp/multipartBody4368587667464981549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141893573,"filename":"image_29012025_10_07_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/29/0937830cb9965d6d54d822ffb44bff9b.jpg","text":"TemporaryFile(/tmp/multipartBody1649281446826348802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141893573,"filename":"image_29012025_10_07_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/29/d519dde2fc922cea2a9ec7d2ac4d03de.jpg","text":"TemporaryFile(/tmp/multipartBody7904098859580834903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141893573,"filename":"image_29012025_10_08_15_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332597502","file1":"1332597498","file0":"1332597492","file4":"1332597819","file5":"1332597888","file3":"1332597709"},"map_files_photo_id_array":[{"photo_id":"1332597888","filename":"file5"},{"photo_id":"1332597502","filename":"file2"},{"photo_id":"1332597819","filename":"file4"},{"photo_id":"1332597498","filename":"file1"},{"photo_id":"1332597492","filename":"file0"},{"photo_id":"1332597709","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332597709":["hashtag1","hashtag2"]},{"1332597502":["hashtag1","hashtag2"]},{"1332597888":["hashtag1","hashtag2"]},{"1332597498":["hashtag1","hashtag2"]},{"1332597492":["hashtag1","hashtag2"]},{"1332597819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332597709, 1332597502, 1332597888, 1332597498, 1332597492, 1332597819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55871319770813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:11:32.870988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/08/image_29012025_10_08_36_10334.jpg', '/home/pi/Desktop/images/29012025/10/08/image_29012025_10_08_45_9361.jpg', '/home/pi/Desktop/images/29012025/10/08/image_29012025_10_08_55_10359.jpg', '/home/pi/Desktop/images/29012025/10/08/image_29012025_10_09_05_9333.jpg', '/home/pi/Desktop/images/29012025/10/09/image_29012025_10_09_15_10417.jpg', '/home/pi/Desktop/images/29012025/10/09/image_29012025_10_09_26_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/08/image_29012025_10_08_36_10334.jpg
/home/pi/Desktop/images/29012025/10/08/image_29012025_10_08_45_9361.jpg
/home/pi/Desktop/images/29012025/10/08/image_29012025_10_08_55_10359.jpg
/home/pi/Desktop/images/29012025/10/08/image_29012025_10_09_05_9333.jpg
/home/pi/Desktop/images/29012025/10/09/image_29012025_10_09_15_10417.jpg
/home/pi/Desktop/images/29012025/10/09/image_29012025_10_09_26_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":["1332598080","1332598074","1332598023","1332598088","1332598091","1332598085"],"photo_ids_order":["1332598023","1332598074","1332598080","1332598085","1332598088","1332598091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0e0377cff0fc46bb71295eca784eb66f.jpg","text":"TemporaryFile(/tmp/multipartBody3872856679011616186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141953771,"filename":"image_29012025_10_08_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/29/a834ae8cb3ab655ba7a98ac5b92cd224.jpg","text":"TemporaryFile(/tmp/multipartBody6260898874675573663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141953771,"filename":"image_29012025_10_08_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/29/5ae7b800b2be2d023a47e8ed7ec2cdd7.jpg","text":"TemporaryFile(/tmp/multipartBody9131117093883048700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141953771,"filename":"image_29012025_10_08_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/29/014db6378d9b1482b655c1ea91350a82.jpg","text":"TemporaryFile(/tmp/multipartBody2260493955044979805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141953771,"filename":"image_29012025_10_09_15_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/29/d0013ac314a1f3993cd5f0e3bc1d70a6.jpg","text":"TemporaryFile(/tmp/multipartBody3992799148949324880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141953771,"filename":"image_29012025_10_09_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/29/aea960179b433ea5ca65682e3f5ef9c0.jpg","text":"TemporaryFile(/tmp/multipartBody6839314927541902921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738141953771,"filename":"image_29012025_10_09_05_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332598080","file1":"1332598074","file0":"1332598023","file4":"1332598088","file5":"1332598091","file3":"1332598085"},"map_files_photo_id_array":[{"photo_id":"1332598091","filename":"file5"},{"photo_id":"1332598080","filename":"file2"},{"photo_id":"1332598088","filename":"file4"},{"photo_id":"1332598074","filename":"file1"},{"photo_id":"1332598023","filename":"file0"},{"photo_id":"1332598085","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332598080":["hashtag1","hashtag2"]},{"1332598074":["hashtag1","hashtag2"]},{"1332598023":["hashtag1","hashtag2"]},{"1332598088":["hashtag1","hashtag2"]},{"1332598091":["hashtag1","hashtag2"]},{"1332598085":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332598080, 1332598074, 1332598023, 1332598088, 1332598091, 1332598085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77151608467102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:12:33.077751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/09/image_29012025_10_09_35_9443.jpg', '/home/pi/Desktop/images/29012025/10/09/image_29012025_10_09_45_10336.jpg', '/home/pi/Desktop/images/29012025/10/09/image_29012025_10_09_56_10368.jpg', '/home/pi/Desktop/images/29012025/10/09/image_29012025_10_10_05_9347.jpg', '/home/pi/Desktop/images/29012025/10/10/image_29012025_10_10_15_10388.jpg', '/home/pi/Desktop/images/29012025/10/10/image_29012025_10_10_25_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/09/image_29012025_10_09_35_9443.jpg
/home/pi/Desktop/images/29012025/10/09/image_29012025_10_09_45_10336.jpg
/home/pi/Desktop/images/29012025/10/09/image_29012025_10_09_56_10368.jpg
/home/pi/Desktop/images/29012025/10/09/image_29012025_10_10_05_9347.jpg
/home/pi/Desktop/images/29012025/10/10/image_29012025_10_10_15_10388.jpg
/home/pi/Desktop/images/29012025/10/10/image_29012025_10_10_25_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":["1332598121","1332598138","1332598126","1332598146","1332598143","1332598133"],"photo_ids_order":["1332598121","1332598126","1332598133","1332598138","1332598143","1332598146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/237b9883af712befd572b86828b0d3f9.jpg","text":"TemporaryFile(/tmp/multipartBody6917127879101669292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142013965,"filename":"image_29012025_10_09_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/29/ea51659e42c11db6ab7e4e21a6a59d66.jpg","text":"TemporaryFile(/tmp/multipartBody7840379474190285935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142013965,"filename":"image_29012025_10_10_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/29/736a8a34360f03ac2fdc6edd0feafd24.jpg","text":"TemporaryFile(/tmp/multipartBody6568613490856431228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142013965,"filename":"image_29012025_10_09_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/29/cd74ddfb55a288d040d2ac48bdad011b.jpg","text":"TemporaryFile(/tmp/multipartBody352786853449470160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142013965,"filename":"image_29012025_10_10_25_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/29/80f06f729c8f9f7fa1231b70fd33be3e.jpg","text":"TemporaryFile(/tmp/multipartBody4095868130356663296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142013965,"filename":"image_29012025_10_10_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/29/308d621c3b12e326e08df7f9e6bdbecc.jpg","text":"TemporaryFile(/tmp/multipartBody7050474048128906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142013965,"filename":"image_29012025_10_09_56_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332598133","file1":"1332598126","file0":"1332598121","file4":"1332598143","file5":"1332598146","file3":"1332598138"},"map_files_photo_id_array":[{"photo_id":"1332598146","filename":"file5"},{"photo_id":"1332598133","filename":"file2"},{"photo_id":"1332598143","filename":"file4"},{"photo_id":"1332598126","filename":"file1"},{"photo_id":"1332598121","filename":"file0"},{"photo_id":"1332598138","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332598121":["hashtag1","hashtag2"]},{"1332598138":["hashtag1","hashtag2"]},{"1332598126":["hashtag1","hashtag2"]},{"1332598146":["hashtag1","hashtag2"]},{"1332598143":["hashtag1","hashtag2"]},{"1332598133":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332598121, 1332598138, 1332598126, 1332598146, 1332598143, 1332598133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.752806663513184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:13:32.305516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/10/image_29012025_10_10_35_10402.jpg', '/home/pi/Desktop/images/29012025/10/10/image_29012025_10_10_46_10339.jpg', '/home/pi/Desktop/images/29012025/10/10/image_29012025_10_10_55_9350.jpg', '/home/pi/Desktop/images/29012025/10/10/image_29012025_10_11_05_10342.jpg', '/home/pi/Desktop/images/29012025/10/11/image_29012025_10_11_16_10349.jpg', '/home/pi/Desktop/images/29012025/10/11/image_29012025_10_11_25_9371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/10/image_29012025_10_10_35_10402.jpg
/home/pi/Desktop/images/29012025/10/10/image_29012025_10_10_46_10339.jpg
/home/pi/Desktop/images/29012025/10/10/image_29012025_10_10_55_9350.jpg
/home/pi/Desktop/images/29012025/10/10/image_29012025_10_11_05_10342.jpg
/home/pi/Desktop/images/29012025/10/11/image_29012025_10_11_16_10349.jpg
/home/pi/Desktop/images/29012025/10/11/image_29012025_10_11_25_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332598252","1332598249","1332598222","1332598204","1332598181","1332598256"],"photo_ids_order":["1332598181","1332598204","1332598222","1332598249","1332598252","1332598256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3d33c9a28c25975ea807d4920e42808c.jpg","text":"TemporaryFile(/tmp/multipartBody8519010515663870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142073212,"filename":"image_29012025_10_11_16_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/29/cc525289dac668d242f7b73715afdeb8.jpg","text":"TemporaryFile(/tmp/multipartBody9080565550943176985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142073212,"filename":"image_29012025_10_11_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/29/38539ba060796da84c7bf4ed1790c00f.jpg","text":"TemporaryFile(/tmp/multipartBody3602022600472824471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142073212,"filename":"image_29012025_10_10_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/29/357f7f891b20d33f8d0fcbe4a0319ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2534836729000627616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142073212,"filename":"image_29012025_10_10_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/29/8484d852797f06261a1698217823d875.jpg","text":"TemporaryFile(/tmp/multipartBody2900697713101376790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142073212,"filename":"image_29012025_10_10_35_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/29/05d9f94265c5eed296eee315ce3bc42e.jpg","text":"TemporaryFile(/tmp/multipartBody1058066058207005483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142073212,"filename":"image_29012025_10_11_25_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332598222","file1":"1332598204","file0":"1332598181","file4":"1332598252","file5":"1332598256","file3":"1332598249"},"map_files_photo_id_array":[{"photo_id":"1332598256","filename":"file5"},{"photo_id":"1332598222","filename":"file2"},{"photo_id":"1332598252","filename":"file4"},{"photo_id":"1332598204","filename":"file1"},{"photo_id":"1332598181","filename":"file0"},{"photo_id":"1332598249","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332598252":["hashtag1","hashtag2"]},{"1332598249":["hashtag1","hashtag2"]},{"1332598222":["hashtag1","hashtag2"]},{"1332598204":["hashtag1","hashtag2"]},{"1332598181":["hashtag1","hashtag2"]},{"1332598256":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332598252, 1332598249, 1332598222, 1332598204, 1332598181, 1332598256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76203155517578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:14:32.543364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/11/image_29012025_10_11_35_10355.jpg', '/home/pi/Desktop/images/29012025/10/11/image_29012025_10_11_46_10363.jpg', '/home/pi/Desktop/images/29012025/10/11/image_29012025_10_11_55_9490.jpg', '/home/pi/Desktop/images/29012025/10/11/image_29012025_10_12_06_10354.jpg', '/home/pi/Desktop/images/29012025/10/12/image_29012025_10_12_15_9353.jpg', '/home/pi/Desktop/images/29012025/10/12/image_29012025_10_12_25_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/11/image_29012025_10_11_35_10355.jpg
/home/pi/Desktop/images/29012025/10/11/image_29012025_10_11_46_10363.jpg
/home/pi/Desktop/images/29012025/10/11/image_29012025_10_11_55_9490.jpg
/home/pi/Desktop/images/29012025/10/11/image_29012025_10_12_06_10354.jpg
/home/pi/Desktop/images/29012025/10/12/image_29012025_10_12_15_9353.jpg
/home/pi/Desktop/images/29012025/10/12/image_29012025_10_12_25_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":["1332598780","1332598615","1332598516","1332598857","1332598413","1332598676"],"photo_ids_order":["1332598413","1332598516","1332598615","1332598676","1332598780","1332598857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/adf5469982d455a2e90332ddd9dda35f.jpg","text":"TemporaryFile(/tmp/multipartBody8175595029923343903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142133459,"filename":"image_29012025_10_12_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/29/a064124e37a8305dd33918989b4b42c9.jpg","text":"TemporaryFile(/tmp/multipartBody6656193308382711582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142133459,"filename":"image_29012025_10_11_55_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/29/93dd81de6c6e3e969bdb4989b9b5c522.jpg","text":"TemporaryFile(/tmp/multipartBody3571352141939728687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142133459,"filename":"image_29012025_10_11_46_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/29/5381c0bcbb1e25b496dce97a94e5c64d.jpg","text":"TemporaryFile(/tmp/multipartBody2850000248148429594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142133459,"filename":"image_29012025_10_12_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/29/790f1b4ede77aed61a5942f07dc606de.jpg","text":"TemporaryFile(/tmp/multipartBody5567329212357035243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142133459,"filename":"image_29012025_10_11_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/29/e575466ed4452148d862325c9c74aa2f.jpg","text":"TemporaryFile(/tmp/multipartBody7908245062301090601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142133459,"filename":"image_29012025_10_12_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332598615","file1":"1332598516","file0":"1332598413","file4":"1332598780","file5":"1332598857","file3":"1332598676"},"map_files_photo_id_array":[{"photo_id":"1332598857","filename":"file5"},{"photo_id":"1332598615","filename":"file2"},{"photo_id":"1332598780","filename":"file4"},{"photo_id":"1332598516","filename":"file1"},{"photo_id":"1332598413","filename":"file0"},{"photo_id":"1332598676","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332598780":["hashtag1","hashtag2"]},{"1332598615":["hashtag1","hashtag2"]},{"1332598516":["hashtag1","hashtag2"]},{"1332598857":["hashtag1","hashtag2"]},{"1332598413":["hashtag1","hashtag2"]},{"1332598676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332598780, 1332598615, 1332598516, 1332598857, 1332598413, 1332598676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.31388711929321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:15:32.772279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/12/image_29012025_10_12_36_10449.jpg', '/home/pi/Desktop/images/29012025/10/12/image_29012025_10_12_45_9378.jpg', '/home/pi/Desktop/images/29012025/10/12/image_29012025_10_12_55_10354.jpg', '/home/pi/Desktop/images/29012025/10/12/image_29012025_10_13_05_9446.jpg', '/home/pi/Desktop/images/29012025/10/13/image_29012025_10_13_15_10348.jpg', '/home/pi/Desktop/images/29012025/10/13/image_29012025_10_13_26_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/12/image_29012025_10_12_36_10449.jpg
/home/pi/Desktop/images/29012025/10/12/image_29012025_10_12_45_9378.jpg
/home/pi/Desktop/images/29012025/10/12/image_29012025_10_12_55_10354.jpg
/home/pi/Desktop/images/29012025/10/12/image_29012025_10_13_05_9446.jpg
/home/pi/Desktop/images/29012025/10/13/image_29012025_10_13_15_10348.jpg
/home/pi/Desktop/images/29012025/10/13/image_29012025_10_13_26_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":["1332599272","1332599265","1332599252","1332599258","1332599281","1332599278"],"photo_ids_order":["1332599252","1332599258","1332599265","1332599272","1332599278","1332599281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/12c084d11790b4efd964d5dbdf32b2f9.jpg","text":"TemporaryFile(/tmp/multipartBody8447746210002022186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142193669,"filename":"image_29012025_10_13_05_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/29/2485e208817b3842618a335294da1331.jpg","text":"TemporaryFile(/tmp/multipartBody6462238885214353166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142193669,"filename":"image_29012025_10_12_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/29/e37cca856b145efb19f02aa86bcf4310.jpg","text":"TemporaryFile(/tmp/multipartBody3475116574375659761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142193669,"filename":"image_29012025_10_12_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/29/3071106863c3a3eefa0234570d029331.jpg","text":"TemporaryFile(/tmp/multipartBody245798116468275104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142193669,"filename":"image_29012025_10_12_45_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/29/270e7dc71fe4e5500efd490f9cf418aa.jpg","text":"TemporaryFile(/tmp/multipartBody1547694359461458601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142193669,"filename":"image_29012025_10_13_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/29/44e00cd7abe1d66c72abffc26f3095fe.jpg","text":"TemporaryFile(/tmp/multipartBody3899789391952275174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142193669,"filename":"image_29012025_10_13_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332599265","file1":"1332599258","file0":"1332599252","file4":"1332599278","file5":"1332599281","file3":"1332599272"},"map_files_photo_id_array":[{"photo_id":"1332599281","filename":"file5"},{"photo_id":"1332599265","filename":"file2"},{"photo_id":"1332599278","filename":"file4"},{"photo_id":"1332599258","filename":"file1"},{"photo_id":"1332599252","filename":"file0"},{"photo_id":"1332599272","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332599272":["hashtag1","hashtag2"]},{"1332599265":["hashtag1","hashtag2"]},{"1332599252":["hashtag1","hashtag2"]},{"1332599258":["hashtag1","hashtag2"]},{"1332599281":["hashtag1","hashtag2"]},{"1332599278":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332599272, 1332599265, 1332599252, 1332599258, 1332599281, 1332599278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.844704389572144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:16:33.034833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/13/image_29012025_10_13_35_9364.jpg', '/home/pi/Desktop/images/29012025/10/13/image_29012025_10_13_45_10461.jpg', '/home/pi/Desktop/images/29012025/10/13/image_29012025_10_13_56_10353.jpg', '/home/pi/Desktop/images/29012025/10/13/image_29012025_10_14_05_9414.jpg', '/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_16_10327.jpg', '/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_25_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/13/image_29012025_10_13_35_9364.jpg
/home/pi/Desktop/images/29012025/10/13/image_29012025_10_13_45_10461.jpg
/home/pi/Desktop/images/29012025/10/13/image_29012025_10_13_56_10353.jpg
/home/pi/Desktop/images/29012025/10/13/image_29012025_10_14_05_9414.jpg
/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_16_10327.jpg
/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_25_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":["1332599617","1332599602","1332599553","1332599672","1332599543","1332599596"],"photo_ids_order":["1332599543","1332599553","1332599596","1332599602","1332599617","1332599672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/da63b25634aa26f1117aef450ab7da75.jpg","text":"TemporaryFile(/tmp/multipartBody5949781835483452232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142253935,"filename":"image_29012025_10_14_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/29/2715fffaa6bc64d3e47d89d1b79748a7.jpg","text":"TemporaryFile(/tmp/multipartBody3464788793434509117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142253935,"filename":"image_29012025_10_14_05_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/29/fcef30e25f4ded758a0d8e1a2c9091d1.jpg","text":"TemporaryFile(/tmp/multipartBody7604121408956204516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142253935,"filename":"image_29012025_10_13_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/29/7dc0650940dd61f603191ef6af2f4c8f.jpg","text":"TemporaryFile(/tmp/multipartBody4985198651264626654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142253935,"filename":"image_29012025_10_14_25_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/29/c856be807519cec5d196b83bb76fd4a6.jpg","text":"TemporaryFile(/tmp/multipartBody1345677917984341836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142253935,"filename":"image_29012025_10_13_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/29/4641dd7e95c67cc8b5ed5b60d3a1d6bf.jpg","text":"TemporaryFile(/tmp/multipartBody6070627965112788195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142253935,"filename":"image_29012025_10_13_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332599596","file1":"1332599553","file0":"1332599543","file4":"1332599617","file5":"1332599672","file3":"1332599602"},"map_files_photo_id_array":[{"photo_id":"1332599672","filename":"file5"},{"photo_id":"1332599596","filename":"file2"},{"photo_id":"1332599617","filename":"file4"},{"photo_id":"1332599553","filename":"file1"},{"photo_id":"1332599543","filename":"file0"},{"photo_id":"1332599602","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332599617":["hashtag1","hashtag2"]},{"1332599602":["hashtag1","hashtag2"]},{"1332599553":["hashtag1","hashtag2"]},{"1332599672":["hashtag1","hashtag2"]},{"1332599543":["hashtag1","hashtag2"]},{"1332599596":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332599617, 1332599602, 1332599553, 1332599672, 1332599543, 1332599596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.54613995552063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:17:32.295318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_35_10363.jpg', '/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_46_10362.jpg', '/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_55_9344.jpg', '/home/pi/Desktop/images/29012025/10/14/image_29012025_10_15_05_10353.jpg', '/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_16_10357.jpg', '/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_25_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_35_10363.jpg
/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_46_10362.jpg
/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_55_9344.jpg
/home/pi/Desktop/images/29012025/10/14/image_29012025_10_15_05_10353.jpg
/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_16_10357.jpg
/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_25_9444.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.5433938503265381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 10:17:42.453722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_35_10363.jpg', '/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_46_10362.jpg', '/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_55_9344.jpg', '/home/pi/Desktop/images/29012025/10/14/image_29012025_10_15_05_10353.jpg', '/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_16_10357.jpg', '/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_25_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_35_10363.jpg
/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_46_10362.jpg
/home/pi/Desktop/images/29012025/10/14/image_29012025_10_14_55_9344.jpg
/home/pi/Desktop/images/29012025/10/14/image_29012025_10_15_05_10353.jpg
/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_16_10357.jpg
/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_25_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332600471","1332600513","1332600440","1332600509","1332600518","1332600492"],"photo_ids_order":["1332600440","1332600471","1332600492","1332600509","1332600513","1332600518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/60d34da2b5d2a51691661ea2870e291d.jpg","text":"TemporaryFile(/tmp/multipartBody1006563472544997579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142323353,"filename":"image_29012025_10_14_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/29/abc582ce51e16323601cd876d80e49b8.jpg","text":"TemporaryFile(/tmp/multipartBody8339349935374242641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142323353,"filename":"image_29012025_10_15_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/29/b2103ee400bf1c9b4945bd996fbac916.jpg","text":"TemporaryFile(/tmp/multipartBody1559602976511371386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142323353,"filename":"image_29012025_10_14_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/29/c4e1165a0905d4a2e7504dab08fbdfc0.jpg","text":"TemporaryFile(/tmp/multipartBody1282825330799384360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142323353,"filename":"image_29012025_10_15_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/29/73d1e178374189b834dfa319c6e56c72.jpg","text":"TemporaryFile(/tmp/multipartBody1422640571724802411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142323353,"filename":"image_29012025_10_15_25_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/29/f6a5fd3e445dc8cec85afa9936afabe0.jpg","text":"TemporaryFile(/tmp/multipartBody2861496760258865987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142323353,"filename":"image_29012025_10_14_55_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332600492","file1":"1332600471","file0":"1332600440","file4":"1332600513","file5":"1332600518","file3":"1332600509"},"map_files_photo_id_array":[{"photo_id":"1332600518","filename":"file5"},{"photo_id":"1332600492","filename":"file2"},{"photo_id":"1332600513","filename":"file4"},{"photo_id":"1332600471","filename":"file1"},{"photo_id":"1332600440","filename":"file0"},{"photo_id":"1332600509","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332600471":["hashtag1","hashtag2"]},{"1332600513":["hashtag1","hashtag2"]},{"1332600440":["hashtag1","hashtag2"]},{"1332600509":["hashtag1","hashtag2"]},{"1332600518":["hashtag1","hashtag2"]},{"1332600492":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332600471, 1332600513, 1332600440, 1332600509, 1332600518, 1332600492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.864784955978394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:18:32.568668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_36_10419.jpg', '/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_45_9351.jpg', '/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_55_10437.jpg', '/home/pi/Desktop/images/29012025/10/15/image_29012025_10_16_06_10351.jpg', '/home/pi/Desktop/images/29012025/10/16/image_29012025_10_16_25_10429.jpg', '/home/pi/Desktop/images/29012025/10/16/image_29012025_10_16_35_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_36_10419.jpg
/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_45_9351.jpg
/home/pi/Desktop/images/29012025/10/15/image_29012025_10_15_55_10437.jpg
/home/pi/Desktop/images/29012025/10/15/image_29012025_10_16_06_10351.jpg
/home/pi/Desktop/images/29012025/10/16/image_29012025_10_16_25_10429.jpg
/home/pi/Desktop/images/29012025/10/16/image_29012025_10_16_35_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":["1332600939","1332600852","1332600741","1332600787","1332601057","1332601176"],"photo_ids_order":["1332600741","1332600787","1332600852","1332600939","1332601057","1332601176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/589df096e0965bbff99b97cd8eb90949.jpg","text":"TemporaryFile(/tmp/multipartBody6349987178822004497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142373466,"filename":"image_29012025_10_16_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/29/68050bdeb88a08abc9dab6b7a179b31e.jpg","text":"TemporaryFile(/tmp/multipartBody1013765735762191430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142373466,"filename":"image_29012025_10_15_55_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/29/58fe0ed28a5a22783d5426c7427b9005.jpg","text":"TemporaryFile(/tmp/multipartBody7534102754243014122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142373466,"filename":"image_29012025_10_15_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/29/85c987d62d77450d53269c03bec45558.jpg","text":"TemporaryFile(/tmp/multipartBody3457417601463647707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142373466,"filename":"image_29012025_10_15_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/29/a889bb79627244cbf55e60a89f77fd36.jpg","text":"TemporaryFile(/tmp/multipartBody5005583002426818591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142373466,"filename":"image_29012025_10_16_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/29/7725fb7e1bfd194dcafdcd0817651398.jpg","text":"TemporaryFile(/tmp/multipartBody1243310512462662070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142373466,"filename":"image_29012025_10_16_35_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332600852","file1":"1332600787","file0":"1332600741","file4":"1332601057","file5":"1332601176","file3":"1332600939"},"map_files_photo_id_array":[{"photo_id":"1332601176","filename":"file5"},{"photo_id":"1332600852","filename":"file2"},{"photo_id":"1332601057","filename":"file4"},{"photo_id":"1332600787","filename":"file1"},{"photo_id":"1332600741","filename":"file0"},{"photo_id":"1332600939","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332600939":["hashtag1","hashtag2"]},{"1332600852":["hashtag1","hashtag2"]},{"1332600741":["hashtag1","hashtag2"]},{"1332600787":["hashtag1","hashtag2"]},{"1332601057":["hashtag1","hashtag2"]},{"1332601176":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332600939, 1332600852, 1332600741, 1332600787, 1332601057, 1332601176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.44086742401123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:19:32.751066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/16/image_29012025_10_16_45_10377.jpg', '/home/pi/Desktop/images/29012025/10/16/image_29012025_10_16_56_10369.jpg', '/home/pi/Desktop/images/29012025/10/16/image_29012025_10_17_05_9337.jpg', '/home/pi/Desktop/images/29012025/10/17/image_29012025_10_17_15_10347.jpg', '/home/pi/Desktop/images/29012025/10/17/image_29012025_10_17_26_10386.jpg', '/home/pi/Desktop/images/29012025/10/17/image_29012025_10_17_35_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/16/image_29012025_10_16_45_10377.jpg
/home/pi/Desktop/images/29012025/10/16/image_29012025_10_16_56_10369.jpg
/home/pi/Desktop/images/29012025/10/16/image_29012025_10_17_05_9337.jpg
/home/pi/Desktop/images/29012025/10/17/image_29012025_10_17_15_10347.jpg
/home/pi/Desktop/images/29012025/10/17/image_29012025_10_17_26_10386.jpg
/home/pi/Desktop/images/29012025/10/17/image_29012025_10_17_35_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":["1332601379","1332601280","1332601268","1332601469","1332601508","1332601443"],"photo_ids_order":["1332601268","1332601280","1332601379","1332601443","1332601469","1332601508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b283774bc7007effee3137a1269e3e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2087363922910159135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142433649,"filename":"image_29012025_10_17_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/29/a4c852f2e2b03d61bc9f78b1ca5abb68.jpg","text":"TemporaryFile(/tmp/multipartBody8661229186442150168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142433649,"filename":"image_29012025_10_16_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/29/f5665cdeb8253fe69ccb0e56e577803a.jpg","text":"TemporaryFile(/tmp/multipartBody3034704687268897874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142433649,"filename":"image_29012025_10_16_45_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/29/b662eb17f078f722d8d27e3a481b1e40.jpg","text":"TemporaryFile(/tmp/multipartBody1494668170522019932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142433649,"filename":"image_29012025_10_17_26_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/29/d83e50d760b83443ad008300cc8df718.jpg","text":"TemporaryFile(/tmp/multipartBody2014559176766891350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142433649,"filename":"image_29012025_10_17_35_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/29/dcef9f4d41183f0d7a874051dd5f39c1.jpg","text":"TemporaryFile(/tmp/multipartBody1783225474232230098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142433649,"filename":"image_29012025_10_17_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332601379","file1":"1332601280","file0":"1332601268","file4":"1332601469","file5":"1332601508","file3":"1332601443"},"map_files_photo_id_array":[{"photo_id":"1332601508","filename":"file5"},{"photo_id":"1332601379","filename":"file2"},{"photo_id":"1332601469","filename":"file4"},{"photo_id":"1332601280","filename":"file1"},{"photo_id":"1332601268","filename":"file0"},{"photo_id":"1332601443","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332601379":["hashtag1","hashtag2"]},{"1332601280":["hashtag1","hashtag2"]},{"1332601268":["hashtag1","hashtag2"]},{"1332601469":["hashtag1","hashtag2"]},{"1332601508":["hashtag1","hashtag2"]},{"1332601443":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332601379, 1332601280, 1332601268, 1332601469, 1332601508, 1332601443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94442129135132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:20:33.014466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/17/image_29012025_10_17_45_10349.jpg', '/home/pi/Desktop/images/29012025/10/17/image_29012025_10_17_56_10371.jpg', '/home/pi/Desktop/images/29012025/10/17/image_29012025_10_18_05_9462.jpg', '/home/pi/Desktop/images/29012025/10/18/image_29012025_10_18_16_10350.jpg', '/home/pi/Desktop/images/29012025/10/18/image_29012025_10_18_26_10051.jpg', '/home/pi/Desktop/images/29012025/10/18/image_29012025_10_18_35_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/17/image_29012025_10_17_45_10349.jpg
/home/pi/Desktop/images/29012025/10/17/image_29012025_10_17_56_10371.jpg
/home/pi/Desktop/images/29012025/10/17/image_29012025_10_18_05_9462.jpg
/home/pi/Desktop/images/29012025/10/18/image_29012025_10_18_16_10350.jpg
/home/pi/Desktop/images/29012025/10/18/image_29012025_10_18_26_10051.jpg
/home/pi/Desktop/images/29012025/10/18/image_29012025_10_18_35_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":["1332601539","1332601559","1332601568","1332601547","1332601543","1332601554"],"photo_ids_order":["1332601539","1332601543","1332601547","1332601554","1332601559","1332601568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7316c00edbe1918cec355dfc7460f242.jpg","text":"TemporaryFile(/tmp/multipartBody6179505845589134845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142493919,"filename":"image_29012025_10_17_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/29/2b40ce0f886f6a5fb983eed47808178a.jpg","text":"TemporaryFile(/tmp/multipartBody5907168344299786563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142493919,"filename":"image_29012025_10_18_26_10051.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7307ab725f3c2d27f843223c7b21e2ee.jpg","text":"TemporaryFile(/tmp/multipartBody3269940805644938659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142493919,"filename":"image_29012025_10_18_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/29/3a887c14bb3cded656af6ffc89d10b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1840416179365315993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142493919,"filename":"image_29012025_10_18_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/29/18a9ab78e70bb4f3fda4591723ea8f3b.jpg","text":"TemporaryFile(/tmp/multipartBody6112393022139213209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142493919,"filename":"image_29012025_10_17_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/29/ef948612fd8761fd5db590f60243b0bf.jpg","text":"TemporaryFile(/tmp/multipartBody1018909169772086102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142493919,"filename":"image_29012025_10_18_16_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332601547","file1":"1332601543","file0":"1332601539","file4":"1332601559","file5":"1332601568","file3":"1332601554"},"map_files_photo_id_array":[{"photo_id":"1332601568","filename":"file5"},{"photo_id":"1332601547","filename":"file2"},{"photo_id":"1332601559","filename":"file4"},{"photo_id":"1332601543","filename":"file1"},{"photo_id":"1332601539","filename":"file0"},{"photo_id":"1332601554","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332601539":["hashtag1","hashtag2"]},{"1332601559":["hashtag1","hashtag2"]},{"1332601568":["hashtag1","hashtag2"]},{"1332601547":["hashtag1","hashtag2"]},{"1332601543":["hashtag1","hashtag2"]},{"1332601554":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332601539, 1332601559, 1332601568, 1332601547, 1332601543, 1332601554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86540937423706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:21:33.287616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/18/image_29012025_10_18_45_10363.jpg', '/home/pi/Desktop/images/29012025/10/18/image_29012025_10_18_55_9374.jpg', '/home/pi/Desktop/images/29012025/10/18/image_29012025_10_19_05_10356.jpg', '/home/pi/Desktop/images/29012025/10/19/image_29012025_10_19_16_10350.jpg', '/home/pi/Desktop/images/29012025/10/19/image_29012025_10_19_25_9364.jpg', '/home/pi/Desktop/images/29012025/10/19/image_29012025_10_19_35_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/18/image_29012025_10_18_45_10363.jpg
/home/pi/Desktop/images/29012025/10/18/image_29012025_10_18_55_9374.jpg
/home/pi/Desktop/images/29012025/10/18/image_29012025_10_19_05_10356.jpg
/home/pi/Desktop/images/29012025/10/19/image_29012025_10_19_16_10350.jpg
/home/pi/Desktop/images/29012025/10/19/image_29012025_10_19_25_9364.jpg
/home/pi/Desktop/images/29012025/10/19/image_29012025_10_19_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":["1332601623","1332601617","1332601605","1332601625","1332601627","1332601612"],"photo_ids_order":["1332601605","1332601612","1332601617","1332601623","1332601625","1332601627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4b22d03988a9271294a1f0b567e795b4.jpg","text":"TemporaryFile(/tmp/multipartBody6473922742845691941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142554190,"filename":"image_29012025_10_19_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/29/e7b6e0134ce87beb2016b8e0e886d7e4.jpg","text":"TemporaryFile(/tmp/multipartBody1319459789561049648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142554190,"filename":"image_29012025_10_19_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/29/c9e7a8194ac90d59000e6aefc492ed1b.jpg","text":"TemporaryFile(/tmp/multipartBody3333131358281027141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142554190,"filename":"image_29012025_10_18_45_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/29/6137c031803193f5f8112a889351c118.jpg","text":"TemporaryFile(/tmp/multipartBody3451052323815384991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142554190,"filename":"image_29012025_10_19_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/29/b9b7f52e606ed73c9a7fb41f50244ff4.jpg","text":"TemporaryFile(/tmp/multipartBody6366230230841460344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142554190,"filename":"image_29012025_10_19_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/29/cfa49c1a86627dce3368bdc5b2794626.jpg","text":"TemporaryFile(/tmp/multipartBody5128597895521076794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142554190,"filename":"image_29012025_10_18_55_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332601617","file1":"1332601612","file0":"1332601605","file4":"1332601625","file5":"1332601627","file3":"1332601623"},"map_files_photo_id_array":[{"photo_id":"1332601627","filename":"file5"},{"photo_id":"1332601617","filename":"file2"},{"photo_id":"1332601625","filename":"file4"},{"photo_id":"1332601612","filename":"file1"},{"photo_id":"1332601605","filename":"file0"},{"photo_id":"1332601623","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332601623":["hashtag1","hashtag2"]},{"1332601617":["hashtag1","hashtag2"]},{"1332601605":["hashtag1","hashtag2"]},{"1332601625":["hashtag1","hashtag2"]},{"1332601627":["hashtag1","hashtag2"]},{"1332601612":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332601623, 1332601617, 1332601605, 1332601625, 1332601627, 1332601612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.280701875686646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:22:32.357604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/19/image_29012025_10_19_46_10430.jpg', '/home/pi/Desktop/images/29012025/10/19/image_29012025_10_19_55_9516.jpg', '/home/pi/Desktop/images/29012025/10/19/image_29012025_10_20_06_10396.jpg', '/home/pi/Desktop/images/29012025/10/20/image_29012025_10_20_15_9369.jpg', '/home/pi/Desktop/images/29012025/10/20/image_29012025_10_20_25_10371.jpg', '/home/pi/Desktop/images/29012025/10/20/image_29012025_10_20_36_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/19/image_29012025_10_19_46_10430.jpg
/home/pi/Desktop/images/29012025/10/19/image_29012025_10_19_55_9516.jpg
/home/pi/Desktop/images/29012025/10/19/image_29012025_10_20_06_10396.jpg
/home/pi/Desktop/images/29012025/10/20/image_29012025_10_20_15_9369.jpg
/home/pi/Desktop/images/29012025/10/20/image_29012025_10_20_25_10371.jpg
/home/pi/Desktop/images/29012025/10/20/image_29012025_10_20_36_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332601679","1332601664","1332601646","1332601712","1332601706","1332601702"],"photo_ids_order":["1332601646","1332601664","1332601679","1332601702","1332601706","1332601712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a983b8cac2a8e3d79411884df0a29185.jpg","text":"TemporaryFile(/tmp/multipartBody8658366174881963931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142613278,"filename":"image_29012025_10_20_06_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/29/685f6eb27094ac15d9e15de890a2aef5.jpg","text":"TemporaryFile(/tmp/multipartBody7352657339922054398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142613278,"filename":"image_29012025_10_19_55_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2e3a89bf9564a94a87d6d79135c5dc8e.jpg","text":"TemporaryFile(/tmp/multipartBody28329319103702453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142613278,"filename":"image_29012025_10_19_46_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/29/9dfb4383480a6b728c473a3beec100a3.jpg","text":"TemporaryFile(/tmp/multipartBody995362290155359775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142613278,"filename":"image_29012025_10_20_36_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/29/4b8b6cbeaca87b6465dfb5d62e95e05e.jpg","text":"TemporaryFile(/tmp/multipartBody1002296310683411836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142613278,"filename":"image_29012025_10_20_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/29/a5223bb873c70bcf50dcc088330c6f5a.jpg","text":"TemporaryFile(/tmp/multipartBody9188108910171540394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142613278,"filename":"image_29012025_10_20_15_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332601679","file1":"1332601664","file0":"1332601646","file4":"1332601706","file5":"1332601712","file3":"1332601702"},"map_files_photo_id_array":[{"photo_id":"1332601712","filename":"file5"},{"photo_id":"1332601679","filename":"file2"},{"photo_id":"1332601706","filename":"file4"},{"photo_id":"1332601664","filename":"file1"},{"photo_id":"1332601646","filename":"file0"},{"photo_id":"1332601702","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332601679":["hashtag1","hashtag2"]},{"1332601664":["hashtag1","hashtag2"]},{"1332601646":["hashtag1","hashtag2"]},{"1332601712":["hashtag1","hashtag2"]},{"1332601706":["hashtag1","hashtag2"]},{"1332601702":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332601679, 1332601664, 1332601646, 1332601712, 1332601706, 1332601702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41729974746704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:23:32.702626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/20/image_29012025_10_20_45_9367.jpg', '/home/pi/Desktop/images/29012025/10/20/image_29012025_10_20_55_10352.jpg', '/home/pi/Desktop/images/29012025/10/20/image_29012025_10_21_05_9333.jpg', '/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_15_10345.jpg', '/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_26_10354.jpg', '/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_35_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/20/image_29012025_10_20_45_9367.jpg
/home/pi/Desktop/images/29012025/10/20/image_29012025_10_20_55_10352.jpg
/home/pi/Desktop/images/29012025/10/20/image_29012025_10_21_05_9333.jpg
/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_15_10345.jpg
/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_26_10354.jpg
/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_35_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":["1332601913","1332601885","1332601948","1332601942","1332601935","1332601926"],"photo_ids_order":["1332601885","1332601913","1332601926","1332601935","1332601942","1332601948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8fd0467dbb4f4780f5c2c45547bb6c69.jpg","text":"TemporaryFile(/tmp/multipartBody744242774900944892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142673638,"filename":"image_29012025_10_20_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/29/37c274762a03d59a3108a0bf01911948.jpg","text":"TemporaryFile(/tmp/multipartBody6035239287297441621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142673638,"filename":"image_29012025_10_20_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/29/05eeacc45bcc6e6f487ae2c1a7842e1e.jpg","text":"TemporaryFile(/tmp/multipartBody1119468913070649388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142673638,"filename":"image_29012025_10_21_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/29/248f415a0516373a06cc2fc2d8261ebb.jpg","text":"TemporaryFile(/tmp/multipartBody5403780056859417196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142673638,"filename":"image_29012025_10_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/29/d63f74e759560ec57a69b12c48d3c078.jpg","text":"TemporaryFile(/tmp/multipartBody5102163141854061701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142673638,"filename":"image_29012025_10_21_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/29/b70dc4592c7b638f0cc5bff3bf53ef4f.jpg","text":"TemporaryFile(/tmp/multipartBody961042489034409962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142673638,"filename":"image_29012025_10_21_05_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332601926","file1":"1332601913","file0":"1332601885","file4":"1332601942","file5":"1332601948","file3":"1332601935"},"map_files_photo_id_array":[{"photo_id":"1332601948","filename":"file5"},{"photo_id":"1332601926","filename":"file2"},{"photo_id":"1332601942","filename":"file4"},{"photo_id":"1332601913","filename":"file1"},{"photo_id":"1332601885","filename":"file0"},{"photo_id":"1332601935","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332601913":["hashtag1","hashtag2"]},{"1332601885":["hashtag1","hashtag2"]},{"1332601948":["hashtag1","hashtag2"]},{"1332601942":["hashtag1","hashtag2"]},{"1332601935":["hashtag1","hashtag2"]},{"1332601926":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332601913, 1332601885, 1332601948, 1332601942, 1332601935, 1332601926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60086631774902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:24:32.950168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_45_10345.jpg', '/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_56_10368.jpg', '/home/pi/Desktop/images/29012025/10/21/image_29012025_10_22_05_9443.jpg', '/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_15_10363.jpg', '/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_25_9381.jpg', '/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_35_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_45_10345.jpg
/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_56_10368.jpg
/home/pi/Desktop/images/29012025/10/21/image_29012025_10_22_05_9443.jpg
/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_15_10363.jpg
/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_25_9381.jpg
/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_35_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.5125205516815186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 10:24:42.885490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_45_10345.jpg', '/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_56_10368.jpg', '/home/pi/Desktop/images/29012025/10/21/image_29012025_10_22_05_9443.jpg', '/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_15_10363.jpg', '/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_25_9381.jpg', '/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_35_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_45_10345.jpg
/home/pi/Desktop/images/29012025/10/21/image_29012025_10_21_56_10368.jpg
/home/pi/Desktop/images/29012025/10/21/image_29012025_10_22_05_9443.jpg
/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_15_10363.jpg
/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_25_9381.jpg
/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_35_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332602000","1332601994","1332602026","1332602011","1332602020","1332602005"],"photo_ids_order":["1332601994","1332602000","1332602005","1332602011","1332602020","1332602026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bc78040331526337cc2f0a9606b90ce3.jpg","text":"TemporaryFile(/tmp/multipartBody4217072224093175022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142743802,"filename":"image_29012025_10_21_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/29/54c854a871ef6cb5f41a7542b6268e35.jpg","text":"TemporaryFile(/tmp/multipartBody974953365381822085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142743802,"filename":"image_29012025_10_21_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/29/5878bc9d2b6981b3cf80cbb52623a691.jpg","text":"TemporaryFile(/tmp/multipartBody3550624306030587917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142743802,"filename":"image_29012025_10_22_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/29/68ba6d92266dc1c550e87c78ef550279.jpg","text":"TemporaryFile(/tmp/multipartBody1796095826867189335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142743802,"filename":"image_29012025_10_22_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/29/3b7ae13adc91670bb172da6ede753942.jpg","text":"TemporaryFile(/tmp/multipartBody2769828977569309298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142743802,"filename":"image_29012025_10_22_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/29/d9ff2e45a254c8b274dfe05944f1efb3.jpg","text":"TemporaryFile(/tmp/multipartBody2038288782843084353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142743802,"filename":"image_29012025_10_22_05_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332602005","file1":"1332602000","file0":"1332601994","file4":"1332602020","file5":"1332602026","file3":"1332602011"},"map_files_photo_id_array":[{"photo_id":"1332602026","filename":"file5"},{"photo_id":"1332602005","filename":"file2"},{"photo_id":"1332602020","filename":"file4"},{"photo_id":"1332602000","filename":"file1"},{"photo_id":"1332601994","filename":"file0"},{"photo_id":"1332602011","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332602000":["hashtag1","hashtag2"]},{"1332601994":["hashtag1","hashtag2"]},{"1332602026":["hashtag1","hashtag2"]},{"1332602011":["hashtag1","hashtag2"]},{"1332602020":["hashtag1","hashtag2"]},{"1332602005":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332602000, 1332601994, 1332602026, 1332602011, 1332602020, 1332602005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.693427085876465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:25:33.153381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_46_10356.jpg', '/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_55_9389.jpg', '/home/pi/Desktop/images/29012025/10/22/image_29012025_10_23_05_10363.jpg', '/home/pi/Desktop/images/29012025/10/23/image_29012025_10_23_16_10340.jpg', '/home/pi/Desktop/images/29012025/10/23/image_29012025_10_23_25_9344.jpg', '/home/pi/Desktop/images/29012025/10/23/image_29012025_10_23_35_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_46_10356.jpg
/home/pi/Desktop/images/29012025/10/22/image_29012025_10_22_55_9389.jpg
/home/pi/Desktop/images/29012025/10/22/image_29012025_10_23_05_10363.jpg
/home/pi/Desktop/images/29012025/10/23/image_29012025_10_23_16_10340.jpg
/home/pi/Desktop/images/29012025/10/23/image_29012025_10_23_25_9344.jpg
/home/pi/Desktop/images/29012025/10/23/image_29012025_10_23_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":["1332602165","1332602153","1332602147","1332602138","1332602161","1332602158"],"photo_ids_order":["1332602138","1332602147","1332602153","1332602158","1332602161","1332602165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a4cad5529492860e93328181001726ef.jpg","text":"TemporaryFile(/tmp/multipartBody8912661786840590923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142794060,"filename":"image_29012025_10_23_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/29/bb7a6a42edcfd0b28d47c588ac0e860b.jpg","text":"TemporaryFile(/tmp/multipartBody6472571505454016310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142794060,"filename":"image_29012025_10_23_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/29/a4d6a485c6c273f9e5e2f9dbd2e24b3e.jpg","text":"TemporaryFile(/tmp/multipartBody8054794376578815372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142794060,"filename":"image_29012025_10_22_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/29/f4843156529bf70edb901d483ab5eb0b.jpg","text":"TemporaryFile(/tmp/multipartBody4584983958058429663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142794060,"filename":"image_29012025_10_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/29/717cacdb071947349553eba6335e6b8c.jpg","text":"TemporaryFile(/tmp/multipartBody1897507926998846631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142794060,"filename":"image_29012025_10_23_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/29/ee680e4ab0a7393996a3783560381379.jpg","text":"TemporaryFile(/tmp/multipartBody3547902347116760409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142794060,"filename":"image_29012025_10_23_16_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332602153","file1":"1332602147","file0":"1332602138","file4":"1332602161","file5":"1332602165","file3":"1332602158"},"map_files_photo_id_array":[{"photo_id":"1332602165","filename":"file5"},{"photo_id":"1332602153","filename":"file2"},{"photo_id":"1332602161","filename":"file4"},{"photo_id":"1332602147","filename":"file1"},{"photo_id":"1332602138","filename":"file0"},{"photo_id":"1332602158","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332602165":["hashtag1","hashtag2"]},{"1332602153":["hashtag1","hashtag2"]},{"1332602147":["hashtag1","hashtag2"]},{"1332602138":["hashtag1","hashtag2"]},{"1332602161":["hashtag1","hashtag2"]},{"1332602158":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332602165, 1332602153, 1332602147, 1332602138, 1332602161, 1332602158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29108119010925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:26:32.336519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/23/image_29012025_10_23_46_10388.jpg', '/home/pi/Desktop/images/29012025/10/23/image_29012025_10_23_55_9433.jpg', '/home/pi/Desktop/images/29012025/10/23/image_29012025_10_24_05_10350.jpg', '/home/pi/Desktop/images/29012025/10/24/image_29012025_10_24_15_9368.jpg', '/home/pi/Desktop/images/29012025/10/24/image_29012025_10_24_25_10391.jpg', '/home/pi/Desktop/images/29012025/10/24/image_29012025_10_24_36_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/23/image_29012025_10_23_46_10388.jpg
/home/pi/Desktop/images/29012025/10/23/image_29012025_10_23_55_9433.jpg
/home/pi/Desktop/images/29012025/10/23/image_29012025_10_24_05_10350.jpg
/home/pi/Desktop/images/29012025/10/24/image_29012025_10_24_15_9368.jpg
/home/pi/Desktop/images/29012025/10/24/image_29012025_10_24_25_10391.jpg
/home/pi/Desktop/images/29012025/10/24/image_29012025_10_24_36_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332602192","1332602225","1332602218","1332602209","1332602199","1332602229"],"photo_ids_order":["1332602192","1332602199","1332602209","1332602218","1332602225","1332602229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8da84816362b699927c830e0ad204e0a.jpg","text":"TemporaryFile(/tmp/multipartBody8525671949050675605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142853239,"filename":"image_29012025_10_23_46_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/29/9f5ee2b08e94c07155340e07046e3c47.jpg","text":"TemporaryFile(/tmp/multipartBody495265333801275243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142853239,"filename":"image_29012025_10_24_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/29/a09fd44a489f299d86e533327fdb7cd0.jpg","text":"TemporaryFile(/tmp/multipartBody6481393724883785172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142853239,"filename":"image_29012025_10_24_15_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/29/cd9db716a2217a66e6ef1eb00f4afdfb.jpg","text":"TemporaryFile(/tmp/multipartBody9008701365171251501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142853239,"filename":"image_29012025_10_24_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/29/b04844b38ac065391b9b5e2a2cb27a04.jpg","text":"TemporaryFile(/tmp/multipartBody4844072102363777078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142853239,"filename":"image_29012025_10_23_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/29/2a6dbfdb79957632c9512e1e92560c60.jpg","text":"TemporaryFile(/tmp/multipartBody6078155250564279399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142853239,"filename":"image_29012025_10_24_36_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332602209","file1":"1332602199","file0":"1332602192","file4":"1332602225","file5":"1332602229","file3":"1332602218"},"map_files_photo_id_array":[{"photo_id":"1332602229","filename":"file5"},{"photo_id":"1332602209","filename":"file2"},{"photo_id":"1332602225","filename":"file4"},{"photo_id":"1332602199","filename":"file1"},{"photo_id":"1332602192","filename":"file0"},{"photo_id":"1332602218","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332602192":["hashtag1","hashtag2"]},{"1332602225":["hashtag1","hashtag2"]},{"1332602218":["hashtag1","hashtag2"]},{"1332602209":["hashtag1","hashtag2"]},{"1332602199":["hashtag1","hashtag2"]},{"1332602229":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332602192, 1332602225, 1332602218, 1332602209, 1332602199, 1332602229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65296530723572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:27:32.638581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/24/image_29012025_10_24_45_9441.jpg', '/home/pi/Desktop/images/29012025/10/24/image_29012025_10_24_55_10364.jpg', '/home/pi/Desktop/images/29012025/10/24/image_29012025_10_25_05_9344.jpg', '/home/pi/Desktop/images/29012025/10/25/image_29012025_10_25_15_10414.jpg', '/home/pi/Desktop/images/29012025/10/25/image_29012025_10_25_26_10361.jpg', '/home/pi/Desktop/images/29012025/10/25/image_29012025_10_25_35_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/24/image_29012025_10_24_45_9441.jpg
/home/pi/Desktop/images/29012025/10/24/image_29012025_10_24_55_10364.jpg
/home/pi/Desktop/images/29012025/10/24/image_29012025_10_25_05_9344.jpg
/home/pi/Desktop/images/29012025/10/25/image_29012025_10_25_15_10414.jpg
/home/pi/Desktop/images/29012025/10/25/image_29012025_10_25_26_10361.jpg
/home/pi/Desktop/images/29012025/10/25/image_29012025_10_25_35_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332602669","1332602302","1332602475","1332602769","1332602562","1332602393"],"photo_ids_order":["1332602302","1332602393","1332602475","1332602562","1332602669","1332602769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/14635abd9e5e431084819a74665248fa.jpg","text":"TemporaryFile(/tmp/multipartBody8975909695604501320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142913537,"filename":"image_29012025_10_25_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/29/a3a3414daa2863c05450492072d06eae.jpg","text":"TemporaryFile(/tmp/multipartBody1235044649758044507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142913537,"filename":"image_29012025_10_24_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/29/8c58700591bd94922c6a806ce1f5659e.jpg","text":"TemporaryFile(/tmp/multipartBody249411113723064226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142913537,"filename":"image_29012025_10_25_05_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/29/d775e7cc1dbf943a106f623bbe33053b.jpg","text":"TemporaryFile(/tmp/multipartBody2073114027440967901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142913537,"filename":"image_29012025_10_25_35_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/29/e4bfd8f53fbcffd9cbf252df70d73b4f.jpg","text":"TemporaryFile(/tmp/multipartBody8718486178568895727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142913537,"filename":"image_29012025_10_25_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/29/d2cfe70dbbef80f82b1497c43d855dae.jpg","text":"TemporaryFile(/tmp/multipartBody8604207109117414399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142913537,"filename":"image_29012025_10_24_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332602475","file1":"1332602393","file0":"1332602302","file4":"1332602669","file5":"1332602769","file3":"1332602562"},"map_files_photo_id_array":[{"photo_id":"1332602769","filename":"file5"},{"photo_id":"1332602475","filename":"file2"},{"photo_id":"1332602669","filename":"file4"},{"photo_id":"1332602393","filename":"file1"},{"photo_id":"1332602302","filename":"file0"},{"photo_id":"1332602562","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332602669":["hashtag1","hashtag2"]},{"1332602302":["hashtag1","hashtag2"]},{"1332602475":["hashtag1","hashtag2"]},{"1332602769":["hashtag1","hashtag2"]},{"1332602562":["hashtag1","hashtag2"]},{"1332602393":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332602669, 1332602302, 1332602475, 1332602769, 1332602562, 1332602393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.402348279953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:28:32.710525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/25/image_29012025_10_25_45_10403.jpg', '/home/pi/Desktop/images/29012025/10/25/image_29012025_10_26_05_10364.jpg', '/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_16_10349.jpg', '/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_25_9358.jpg', '/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_35_10408.jpg', '/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_46_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/25/image_29012025_10_25_45_10403.jpg
/home/pi/Desktop/images/29012025/10/25/image_29012025_10_26_05_10364.jpg
/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_16_10349.jpg
/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_25_9358.jpg
/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_35_10408.jpg
/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_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":["1332603283","1332603288","1332603255","1332603285","1332603279","1332603272"],"photo_ids_order":["1332603255","1332603272","1332603279","1332603283","1332603285","1332603288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/676c082b9061fe4b796001203767f42d.jpg","text":"TemporaryFile(/tmp/multipartBody2821313473278390607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142973613,"filename":"image_29012025_10_26_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/29/c5bfc6c57f68087af04828c0328f60da.jpg","text":"TemporaryFile(/tmp/multipartBody3682897458026825483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142973613,"filename":"image_29012025_10_26_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/29/a5782280ef58d4e8c46c9f08e74448c4.jpg","text":"TemporaryFile(/tmp/multipartBody8265109657703153920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142973613,"filename":"image_29012025_10_25_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/29/0b4f43cea276417837abd4450a104e4f.jpg","text":"TemporaryFile(/tmp/multipartBody6478873333739825268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142973613,"filename":"image_29012025_10_26_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/29/f5382b11a58841930a4ae090a7c5cfef.jpg","text":"TemporaryFile(/tmp/multipartBody4928239956724662405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142973613,"filename":"image_29012025_10_26_16_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/29/ffa8883cb24af5c3e2c9a26ca3f02e68.jpg","text":"TemporaryFile(/tmp/multipartBody8783835719028442438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738142973613,"filename":"image_29012025_10_26_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332603279","file1":"1332603272","file0":"1332603255","file4":"1332603285","file5":"1332603288","file3":"1332603283"},"map_files_photo_id_array":[{"photo_id":"1332603288","filename":"file5"},{"photo_id":"1332603279","filename":"file2"},{"photo_id":"1332603285","filename":"file4"},{"photo_id":"1332603272","filename":"file1"},{"photo_id":"1332603255","filename":"file0"},{"photo_id":"1332603283","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332603283":["hashtag1","hashtag2"]},{"1332603288":["hashtag1","hashtag2"]},{"1332603255":["hashtag1","hashtag2"]},{"1332603285":["hashtag1","hashtag2"]},{"1332603279":["hashtag1","hashtag2"]},{"1332603272":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332603283, 1332603288, 1332603255, 1332603285, 1332603279, 1332603272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.450037240982056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:29:33.058620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_55_9454.jpg', '/home/pi/Desktop/images/29012025/10/26/image_29012025_10_27_06_10413.jpg', '/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_15_9347.jpg', '/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_25_10450.jpg', '/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_36_10342.jpg', '/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_45_9466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_55_9454.jpg
/home/pi/Desktop/images/29012025/10/26/image_29012025_10_27_06_10413.jpg
/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_15_9347.jpg
/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_25_10450.jpg
/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_36_10342.jpg
/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_45_9466.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.5392923355102539 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 10:29:42.906402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_55_9454.jpg', '/home/pi/Desktop/images/29012025/10/26/image_29012025_10_27_06_10413.jpg', '/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_15_9347.jpg', '/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_25_10450.jpg', '/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_36_10342.jpg', '/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_45_9466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/26/image_29012025_10_26_55_9454.jpg
/home/pi/Desktop/images/29012025/10/26/image_29012025_10_27_06_10413.jpg
/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_15_9347.jpg
/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_25_10450.jpg
/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_36_10342.jpg
/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_45_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332603748","1332603756","1332603705","1332603599","1332603638","1332603752"],"photo_ids_order":["1332603599","1332603638","1332603705","1332603748","1332603752","1332603756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9cf3295ad822ccb43cf430a5cdd28633.jpg","text":"TemporaryFile(/tmp/multipartBody2105145392619864719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143043814,"filename":"image_29012025_10_27_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/29/f75b06485c160b11842cab3813b028af.jpg","text":"TemporaryFile(/tmp/multipartBody6214615021264748135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143043814,"filename":"image_29012025_10_27_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/29/ac2b8231330f4ea2c242200b9b2d2d48.jpg","text":"TemporaryFile(/tmp/multipartBody3930880739351904027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143043814,"filename":"image_29012025_10_27_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/29/16acd1a084e0f100af261b9d0eaabe40.jpg","text":"TemporaryFile(/tmp/multipartBody6316893742378649674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143043814,"filename":"image_29012025_10_26_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/29/e4b0fff937f9c57d00961e61ecdeb176.jpg","text":"TemporaryFile(/tmp/multipartBody492341269722224857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143043814,"filename":"image_29012025_10_27_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/29/11b766c990d7f495dd50e5ecc74910ec.jpg","text":"TemporaryFile(/tmp/multipartBody8537309613356659991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143043814,"filename":"image_29012025_10_27_36_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332603705","file1":"1332603638","file0":"1332603599","file4":"1332603752","file5":"1332603756","file3":"1332603748"},"map_files_photo_id_array":[{"photo_id":"1332603756","filename":"file5"},{"photo_id":"1332603705","filename":"file2"},{"photo_id":"1332603752","filename":"file4"},{"photo_id":"1332603638","filename":"file1"},{"photo_id":"1332603599","filename":"file0"},{"photo_id":"1332603748","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332603748":["hashtag1","hashtag2"]},{"1332603756":["hashtag1","hashtag2"]},{"1332603705":["hashtag1","hashtag2"]},{"1332603599":["hashtag1","hashtag2"]},{"1332603638":["hashtag1","hashtag2"]},{"1332603752":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332603748, 1332603756, 1332603705, 1332603599, 1332603638, 1332603752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20553112030029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:30:33.150545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_56_10414.jpg', '/home/pi/Desktop/images/29012025/10/28/image_29012025_10_28_15_10402.jpg', '/home/pi/Desktop/images/29012025/10/28/image_29012025_10_28_26_10373.jpg', '/home/pi/Desktop/images/29012025/10/28/image_29012025_10_28_35_9455.jpg', '/home/pi/Desktop/images/29012025/10/28/image_29012025_10_28_46_10372.jpg', '/home/pi/Desktop/images/29012025/10/28/image_29012025_10_28_55_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/27/image_29012025_10_27_56_10414.jpg
/home/pi/Desktop/images/29012025/10/28/image_29012025_10_28_15_10402.jpg
/home/pi/Desktop/images/29012025/10/28/image_29012025_10_28_26_10373.jpg
/home/pi/Desktop/images/29012025/10/28/image_29012025_10_28_35_9455.jpg
/home/pi/Desktop/images/29012025/10/28/image_29012025_10_28_46_10372.jpg
/home/pi/Desktop/images/29012025/10/28/image_29012025_10_28_55_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":["1332603799","1332603787","1332603795","1332603783","1332603777","1332603792"],"photo_ids_order":["1332603777","1332603783","1332603787","1332603792","1332603795","1332603799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f55ca37eabd16dd713ff2850433e9300.jpg","text":"TemporaryFile(/tmp/multipartBody4933809580907422030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143094058,"filename":"image_29012025_10_28_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/29/51c0cee1cff4fc1afcf14935f4aad50b.jpg","text":"TemporaryFile(/tmp/multipartBody52461295842512920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143094058,"filename":"image_29012025_10_28_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/29/684ea94f8de5edcf79355d8b83136cb9.jpg","text":"TemporaryFile(/tmp/multipartBody6205474544260734785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143094058,"filename":"image_29012025_10_28_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/29/d53d5c9a5d9d26338fdafc5ac7a610aa.jpg","text":"TemporaryFile(/tmp/multipartBody5332032744066761297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143094058,"filename":"image_29012025_10_28_15_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/29/774aa8e74e5a82a40e04b610f717e6bd.jpg","text":"TemporaryFile(/tmp/multipartBody5009379898473243313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143094058,"filename":"image_29012025_10_27_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/29/6756653c5ebcfca54413fff59bb8b2bb.jpg","text":"TemporaryFile(/tmp/multipartBody3698525134337844723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143094058,"filename":"image_29012025_10_28_35_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332603787","file1":"1332603783","file0":"1332603777","file4":"1332603795","file5":"1332603799","file3":"1332603792"},"map_files_photo_id_array":[{"photo_id":"1332603799","filename":"file5"},{"photo_id":"1332603787","filename":"file2"},{"photo_id":"1332603795","filename":"file4"},{"photo_id":"1332603783","filename":"file1"},{"photo_id":"1332603777","filename":"file0"},{"photo_id":"1332603792","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332603799":["hashtag1","hashtag2"]},{"1332603787":["hashtag1","hashtag2"]},{"1332603795":["hashtag1","hashtag2"]},{"1332603783":["hashtag1","hashtag2"]},{"1332603777":["hashtag1","hashtag2"]},{"1332603792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332603799, 1332603787, 1332603795, 1332603783, 1332603777, 1332603792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70883774757385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:31:32.462917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/28/image_29012025_10_29_05_10425.jpg', '/home/pi/Desktop/images/29012025/10/29/image_29012025_10_29_16_10365.jpg', '/home/pi/Desktop/images/29012025/10/29/image_29012025_10_29_25_9433.jpg', '/home/pi/Desktop/images/29012025/10/29/image_29012025_10_29_36_10358.jpg', '/home/pi/Desktop/images/29012025/10/29/image_29012025_10_29_45_9397.jpg', '/home/pi/Desktop/images/29012025/10/29/image_29012025_10_29_55_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/28/image_29012025_10_29_05_10425.jpg
/home/pi/Desktop/images/29012025/10/29/image_29012025_10_29_16_10365.jpg
/home/pi/Desktop/images/29012025/10/29/image_29012025_10_29_25_9433.jpg
/home/pi/Desktop/images/29012025/10/29/image_29012025_10_29_36_10358.jpg
/home/pi/Desktop/images/29012025/10/29/image_29012025_10_29_45_9397.jpg
/home/pi/Desktop/images/29012025/10/29/image_29012025_10_29_55_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":["1332603859","1332603832","1332603873","1332603869","1332603866","1332603845"],"photo_ids_order":["1332603832","1332603845","1332603859","1332603866","1332603869","1332603873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d7ea294c40ccbf7b8a840a277e4e34aa.jpg","text":"TemporaryFile(/tmp/multipartBody1866868384803722348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143153370,"filename":"image_29012025_10_29_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/29/c85e3507eb10662bfe576dd333bb3d4c.jpg","text":"TemporaryFile(/tmp/multipartBody3677151167533624995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143153370,"filename":"image_29012025_10_29_05_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/29/f7f9eb36373113a44930e6cfe57cb5e1.jpg","text":"TemporaryFile(/tmp/multipartBody4854203627553017694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143153370,"filename":"image_29012025_10_29_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/29/c2a0dc84174e1b731213ed6c7371f947.jpg","text":"TemporaryFile(/tmp/multipartBody4606027529312776879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143153370,"filename":"image_29012025_10_29_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/29/b39248314da70f5742b91583b0fc5043.jpg","text":"TemporaryFile(/tmp/multipartBody3600548041657578792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143153370,"filename":"image_29012025_10_29_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/29/d6e54f2b1ce74d578da42955ad67cc55.jpg","text":"TemporaryFile(/tmp/multipartBody6747286372139489305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143153370,"filename":"image_29012025_10_29_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332603859","file1":"1332603845","file0":"1332603832","file4":"1332603869","file5":"1332603873","file3":"1332603866"},"map_files_photo_id_array":[{"photo_id":"1332603873","filename":"file5"},{"photo_id":"1332603859","filename":"file2"},{"photo_id":"1332603869","filename":"file4"},{"photo_id":"1332603845","filename":"file1"},{"photo_id":"1332603832","filename":"file0"},{"photo_id":"1332603866","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332603859":["hashtag1","hashtag2"]},{"1332603832":["hashtag1","hashtag2"]},{"1332603873":["hashtag1","hashtag2"]},{"1332603869":["hashtag1","hashtag2"]},{"1332603866":["hashtag1","hashtag2"]},{"1332603845":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332603859, 1332603832, 1332603873, 1332603869, 1332603866, 1332603845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16722750663757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:32:32.635760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/29/image_29012025_10_30_06_10358.jpg', '/home/pi/Desktop/images/29012025/10/30/image_29012025_10_30_15_9320.jpg', '/home/pi/Desktop/images/29012025/10/30/image_29012025_10_30_25_10387.jpg', '/home/pi/Desktop/images/29012025/10/30/image_29012025_10_30_36_10420.jpg', '/home/pi/Desktop/images/29012025/10/30/image_29012025_10_30_45_9392.jpg', '/home/pi/Desktop/images/29012025/10/30/image_29012025_10_30_56_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/29/image_29012025_10_30_06_10358.jpg
/home/pi/Desktop/images/29012025/10/30/image_29012025_10_30_15_9320.jpg
/home/pi/Desktop/images/29012025/10/30/image_29012025_10_30_25_10387.jpg
/home/pi/Desktop/images/29012025/10/30/image_29012025_10_30_36_10420.jpg
/home/pi/Desktop/images/29012025/10/30/image_29012025_10_30_45_9392.jpg
/home/pi/Desktop/images/29012025/10/30/image_29012025_10_30_56_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":["1332603952","1332603955","1332603940","1332603931","1332603945","1332603935"],"photo_ids_order":["1332603931","1332603935","1332603940","1332603945","1332603952","1332603955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e725600d6ea95ec674123dfae02d8d87.jpg","text":"TemporaryFile(/tmp/multipartBody3816043859320921925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143213548,"filename":"image_29012025_10_30_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/29/3c697345b63a7c6712b017978751d2be.jpg","text":"TemporaryFile(/tmp/multipartBody351957182588215048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143213548,"filename":"image_29012025_10_30_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/29/d1c7a73daab6855c9ec3f982ce1a2f8e.jpg","text":"TemporaryFile(/tmp/multipartBody3143903852742264446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143213548,"filename":"image_29012025_10_30_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/29/47870a41ed583bca231b38cc36e866a0.jpg","text":"TemporaryFile(/tmp/multipartBody327419318728882078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143213548,"filename":"image_29012025_10_30_06_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/29/f3e5c794cf662af153e33b088e243d36.jpg","text":"TemporaryFile(/tmp/multipartBody2797442068521830920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143213548,"filename":"image_29012025_10_30_36_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/29/3a78e3994a3cb6cbf055cd6c8422a63c.jpg","text":"TemporaryFile(/tmp/multipartBody4671969236460402583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143213548,"filename":"image_29012025_10_30_15_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332603940","file1":"1332603935","file0":"1332603931","file4":"1332603952","file5":"1332603955","file3":"1332603945"},"map_files_photo_id_array":[{"photo_id":"1332603955","filename":"file5"},{"photo_id":"1332603940","filename":"file2"},{"photo_id":"1332603952","filename":"file4"},{"photo_id":"1332603935","filename":"file1"},{"photo_id":"1332603931","filename":"file0"},{"photo_id":"1332603945","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332603952":["hashtag1","hashtag2"]},{"1332603955":["hashtag1","hashtag2"]},{"1332603940":["hashtag1","hashtag2"]},{"1332603931":["hashtag1","hashtag2"]},{"1332603945":["hashtag1","hashtag2"]},{"1332603935":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332603952, 1332603955, 1332603940, 1332603931, 1332603945, 1332603935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18293476104736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:33:32.751912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/30/image_29012025_10_31_05_9373.jpg', '/home/pi/Desktop/images/29012025/10/31/image_29012025_10_31_15_10446.jpg', '/home/pi/Desktop/images/29012025/10/31/image_29012025_10_31_26_10366.jpg', '/home/pi/Desktop/images/29012025/10/31/image_29012025_10_31_35_9432.jpg', '/home/pi/Desktop/images/29012025/10/31/image_29012025_10_31_45_10365.jpg', '/home/pi/Desktop/images/29012025/10/31/image_29012025_10_31_55_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/30/image_29012025_10_31_05_9373.jpg
/home/pi/Desktop/images/29012025/10/31/image_29012025_10_31_15_10446.jpg
/home/pi/Desktop/images/29012025/10/31/image_29012025_10_31_26_10366.jpg
/home/pi/Desktop/images/29012025/10/31/image_29012025_10_31_35_9432.jpg
/home/pi/Desktop/images/29012025/10/31/image_29012025_10_31_45_10365.jpg
/home/pi/Desktop/images/29012025/10/31/image_29012025_10_31_55_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":["1332605008","1332604627","1332605192","1332604902","1332604667","1332604783"],"photo_ids_order":["1332604627","1332604667","1332604783","1332604902","1332605008","1332605192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3c02701fe4d4d4f01303245333b9a203.jpg","text":"TemporaryFile(/tmp/multipartBody5364325974228674929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143273656,"filename":"image_29012025_10_31_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/29/eebb7b68cecee1f7ffbbbf3eada1341e.jpg","text":"TemporaryFile(/tmp/multipartBody1490028781522421834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143273656,"filename":"image_29012025_10_31_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/29/f3d06b2858fb6ce6be0e595217e4be1e.jpg","text":"TemporaryFile(/tmp/multipartBody3930443203494516107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143273656,"filename":"image_29012025_10_31_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/29/66807535ff2d7fb9828767e00dc28af2.jpg","text":"TemporaryFile(/tmp/multipartBody3462045803024413277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143273656,"filename":"image_29012025_10_31_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/29/0fe2059a7e239b5fbddbb89cad770a12.jpg","text":"TemporaryFile(/tmp/multipartBody762446159321908853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143273656,"filename":"image_29012025_10_31_15_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/29/bf2ec51a509db2477e4c1ea3280e81cb.jpg","text":"TemporaryFile(/tmp/multipartBody2492524246636149174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143273656,"filename":"image_29012025_10_31_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332604783","file1":"1332604667","file0":"1332604627","file4":"1332605008","file5":"1332605192","file3":"1332604902"},"map_files_photo_id_array":[{"photo_id":"1332605192","filename":"file5"},{"photo_id":"1332604783","filename":"file2"},{"photo_id":"1332605008","filename":"file4"},{"photo_id":"1332604667","filename":"file1"},{"photo_id":"1332604627","filename":"file0"},{"photo_id":"1332604902","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332605008":["hashtag1","hashtag2"]},{"1332604627":["hashtag1","hashtag2"]},{"1332605192":["hashtag1","hashtag2"]},{"1332604902":["hashtag1","hashtag2"]},{"1332604667":["hashtag1","hashtag2"]},{"1332604783":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332605008, 1332604627, 1332605192, 1332604902, 1332604667, 1332604783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61402344703674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:34:32.949065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/31/image_29012025_10_32_05_10414.jpg', '/home/pi/Desktop/images/29012025/10/32/image_29012025_10_32_16_10386.jpg', '/home/pi/Desktop/images/29012025/10/32/image_29012025_10_32_25_9483.jpg', '/home/pi/Desktop/images/29012025/10/32/image_29012025_10_32_36_10352.jpg', '/home/pi/Desktop/images/29012025/10/32/image_29012025_10_32_45_9347.jpg', '/home/pi/Desktop/images/29012025/10/32/image_29012025_10_32_55_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/31/image_29012025_10_32_05_10414.jpg
/home/pi/Desktop/images/29012025/10/32/image_29012025_10_32_16_10386.jpg
/home/pi/Desktop/images/29012025/10/32/image_29012025_10_32_25_9483.jpg
/home/pi/Desktop/images/29012025/10/32/image_29012025_10_32_36_10352.jpg
/home/pi/Desktop/images/29012025/10/32/image_29012025_10_32_45_9347.jpg
/home/pi/Desktop/images/29012025/10/32/image_29012025_10_32_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":["1332605832","1332605757","1332605588","1332605489","1332605807","1332605632"],"photo_ids_order":["1332605489","1332605588","1332605632","1332605757","1332605807","1332605832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8873c6e711a180e129642825dd2405ee.jpg","text":"TemporaryFile(/tmp/multipartBody5888340658728205776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143333847,"filename":"image_29012025_10_32_55_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/29/18b603bc5e6ef9f2dcf36c0036f7a815.jpg","text":"TemporaryFile(/tmp/multipartBody2613152838601706762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143333847,"filename":"image_29012025_10_32_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/29/6cafbe25f7543c90f80984ec7e3cd669.jpg","text":"TemporaryFile(/tmp/multipartBody2603540597303941562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143333847,"filename":"image_29012025_10_32_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/29/7bd80a3630b31839ae28b0588ad45496.jpg","text":"TemporaryFile(/tmp/multipartBody7883312297844563008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143333847,"filename":"image_29012025_10_32_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/29/a2687255ef217f216c8e29adaca08991.jpg","text":"TemporaryFile(/tmp/multipartBody3069422562929716199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143333847,"filename":"image_29012025_10_32_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/29/a62d510138be5e5778931d2f88503f82.jpg","text":"TemporaryFile(/tmp/multipartBody8437514421671820817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143333847,"filename":"image_29012025_10_32_25_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332605632","file1":"1332605588","file0":"1332605489","file4":"1332605807","file5":"1332605832","file3":"1332605757"},"map_files_photo_id_array":[{"photo_id":"1332605832","filename":"file5"},{"photo_id":"1332605632","filename":"file2"},{"photo_id":"1332605807","filename":"file4"},{"photo_id":"1332605588","filename":"file1"},{"photo_id":"1332605489","filename":"file0"},{"photo_id":"1332605757","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332605832":["hashtag1","hashtag2"]},{"1332605757":["hashtag1","hashtag2"]},{"1332605588":["hashtag1","hashtag2"]},{"1332605489":["hashtag1","hashtag2"]},{"1332605807":["hashtag1","hashtag2"]},{"1332605632":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332605832, 1332605757, 1332605588, 1332605489, 1332605807, 1332605632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39153575897217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:35:32.212269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/32/image_29012025_10_33_06_10373.jpg', '/home/pi/Desktop/images/29012025/10/33/image_29012025_10_33_15_9490.jpg', '/home/pi/Desktop/images/29012025/10/33/image_29012025_10_33_26_10402.jpg', '/home/pi/Desktop/images/29012025/10/33/image_29012025_10_33_35_9361.jpg', '/home/pi/Desktop/images/29012025/10/33/image_29012025_10_33_45_10472.jpg', '/home/pi/Desktop/images/29012025/10/33/image_29012025_10_33_55_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/32/image_29012025_10_33_06_10373.jpg
/home/pi/Desktop/images/29012025/10/33/image_29012025_10_33_15_9490.jpg
/home/pi/Desktop/images/29012025/10/33/image_29012025_10_33_26_10402.jpg
/home/pi/Desktop/images/29012025/10/33/image_29012025_10_33_35_9361.jpg
/home/pi/Desktop/images/29012025/10/33/image_29012025_10_33_45_10472.jpg
/home/pi/Desktop/images/29012025/10/33/image_29012025_10_33_55_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":["1332605886","1332605874","1332605882","1332605858","1332605866","1332605878"],"photo_ids_order":["1332605858","1332605866","1332605874","1332605878","1332605882","1332605886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fa2a1df12d7a9dd4797a7d07e8f090b5.jpg","text":"TemporaryFile(/tmp/multipartBody768136330891812397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143393108,"filename":"image_29012025_10_33_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/29/191ff0e721864b2140273194602c902b.jpg","text":"TemporaryFile(/tmp/multipartBody4288192821838998320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143393108,"filename":"image_29012025_10_33_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/29/bc3f0c1c42957238e5a03918b6ce7361.jpg","text":"TemporaryFile(/tmp/multipartBody4385557343453241741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143393108,"filename":"image_29012025_10_33_45_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/29/dc8f91c047313d1db3482eebff5e7c86.jpg","text":"TemporaryFile(/tmp/multipartBody7081503211986895320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143393108,"filename":"image_29012025_10_33_06_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/29/6c6fd5ef857af9dd5875c56040ed3d91.jpg","text":"TemporaryFile(/tmp/multipartBody5932263316984109787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143393108,"filename":"image_29012025_10_33_15_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/29/3a2f160b4cd9ec9c6500ccf7d90d86b2.jpg","text":"TemporaryFile(/tmp/multipartBody8911412823007079554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143393108,"filename":"image_29012025_10_33_35_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332605874","file1":"1332605866","file0":"1332605858","file4":"1332605882","file5":"1332605886","file3":"1332605878"},"map_files_photo_id_array":[{"photo_id":"1332605886","filename":"file5"},{"photo_id":"1332605874","filename":"file2"},{"photo_id":"1332605882","filename":"file4"},{"photo_id":"1332605866","filename":"file1"},{"photo_id":"1332605858","filename":"file0"},{"photo_id":"1332605878","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332605886":["hashtag1","hashtag2"]},{"1332605874":["hashtag1","hashtag2"]},{"1332605882":["hashtag1","hashtag2"]},{"1332605858":["hashtag1","hashtag2"]},{"1332605866":["hashtag1","hashtag2"]},{"1332605878":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332605886, 1332605874, 1332605882, 1332605858, 1332605866, 1332605878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04244804382324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:36:32.447499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/33/image_29012025_10_34_05_10361.jpg', '/home/pi/Desktop/images/29012025/10/34/image_29012025_10_34_16_10359.jpg', '/home/pi/Desktop/images/29012025/10/34/image_29012025_10_34_25_9369.jpg', '/home/pi/Desktop/images/29012025/10/34/image_29012025_10_34_35_10408.jpg', '/home/pi/Desktop/images/29012025/10/34/image_29012025_10_34_46_10417.jpg', '/home/pi/Desktop/images/29012025/10/34/image_29012025_10_34_55_9403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/33/image_29012025_10_34_05_10361.jpg
/home/pi/Desktop/images/29012025/10/34/image_29012025_10_34_16_10359.jpg
/home/pi/Desktop/images/29012025/10/34/image_29012025_10_34_25_9369.jpg
/home/pi/Desktop/images/29012025/10/34/image_29012025_10_34_35_10408.jpg
/home/pi/Desktop/images/29012025/10/34/image_29012025_10_34_46_10417.jpg
/home/pi/Desktop/images/29012025/10/34/image_29012025_10_34_55_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":["1332605967","1332605960","1332605951","1332605948","1332605974","1332605956"],"photo_ids_order":["1332605948","1332605951","1332605956","1332605960","1332605967","1332605974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c47018612ea0dff283648b11d3f41032.jpg","text":"TemporaryFile(/tmp/multipartBody2742997258873402588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143453346,"filename":"image_29012025_10_34_46_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/29/58b71adf4b73fe42e5ae0ebf5b4ca253.jpg","text":"TemporaryFile(/tmp/multipartBody2882614226249064589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143453346,"filename":"image_29012025_10_34_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/29/910855f9c6ef6ba3ea9032de11d9eef9.jpg","text":"TemporaryFile(/tmp/multipartBody2724477065435095734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143453346,"filename":"image_29012025_10_34_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/29/f200f58b3e083ff96bebe7744541b253.jpg","text":"TemporaryFile(/tmp/multipartBody2989269460130643351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143453346,"filename":"image_29012025_10_34_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/29/a640f0248e84d7dfc53302581a7bd5fd.jpg","text":"TemporaryFile(/tmp/multipartBody183567019965726940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143453346,"filename":"image_29012025_10_34_55_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/29/1340781fb20f89bfdcf5d3ac398b7846.jpg","text":"TemporaryFile(/tmp/multipartBody1133610068780130722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143453346,"filename":"image_29012025_10_34_25_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332605956","file1":"1332605951","file0":"1332605948","file4":"1332605967","file5":"1332605974","file3":"1332605960"},"map_files_photo_id_array":[{"photo_id":"1332605974","filename":"file5"},{"photo_id":"1332605956","filename":"file2"},{"photo_id":"1332605967","filename":"file4"},{"photo_id":"1332605951","filename":"file1"},{"photo_id":"1332605948","filename":"file0"},{"photo_id":"1332605960","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332605967":["hashtag1","hashtag2"]},{"1332605960":["hashtag1","hashtag2"]},{"1332605951":["hashtag1","hashtag2"]},{"1332605948":["hashtag1","hashtag2"]},{"1332605974":["hashtag1","hashtag2"]},{"1332605956":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332605967, 1332605960, 1332605951, 1332605948, 1332605974, 1332605956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36804461479187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:37:32.750015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/34/image_29012025_10_35_05_10363.jpg', '/home/pi/Desktop/images/29012025/10/35/image_29012025_10_35_15_9454.jpg', '/home/pi/Desktop/images/29012025/10/35/image_29012025_10_35_25_10359.jpg', '/home/pi/Desktop/images/29012025/10/35/image_29012025_10_35_36_10358.jpg', '/home/pi/Desktop/images/29012025/10/35/image_29012025_10_35_45_9387.jpg', '/home/pi/Desktop/images/29012025/10/35/image_29012025_10_35_55_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/34/image_29012025_10_35_05_10363.jpg
/home/pi/Desktop/images/29012025/10/35/image_29012025_10_35_15_9454.jpg
/home/pi/Desktop/images/29012025/10/35/image_29012025_10_35_25_10359.jpg
/home/pi/Desktop/images/29012025/10/35/image_29012025_10_35_36_10358.jpg
/home/pi/Desktop/images/29012025/10/35/image_29012025_10_35_45_9387.jpg
/home/pi/Desktop/images/29012025/10/35/image_29012025_10_35_55_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":["1332606054","1332606021","1332606014","1332606002","1332606019","1332606010"],"photo_ids_order":["1332606002","1332606010","1332606014","1332606019","1332606021","1332606054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f389bf0c72d947f7b4403298dbe0d165.jpg","text":"TemporaryFile(/tmp/multipartBody132565602667124043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143513648,"filename":"image_29012025_10_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/29/0f496d4fde95c038d7245439878100fa.jpg","text":"TemporaryFile(/tmp/multipartBody4965732380311780114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143513648,"filename":"image_29012025_10_35_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/29/cfb26b7e2f908da9ff5a986928dc1105.jpg","text":"TemporaryFile(/tmp/multipartBody5214140395456654903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143513648,"filename":"image_29012025_10_35_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/29/6ea842842cfa64028f0d10791dad93e9.jpg","text":"TemporaryFile(/tmp/multipartBody6208911156268082945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143513648,"filename":"image_29012025_10_35_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/29/adc859a1e7300362653561f5a0be71c0.jpg","text":"TemporaryFile(/tmp/multipartBody2852611522758905297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143513648,"filename":"image_29012025_10_35_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/29/b54fd0bfa638fc4a65eb27df12549c25.jpg","text":"TemporaryFile(/tmp/multipartBody1323590829742302882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143513648,"filename":"image_29012025_10_35_15_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332606014","file1":"1332606010","file0":"1332606002","file4":"1332606021","file5":"1332606054","file3":"1332606019"},"map_files_photo_id_array":[{"photo_id":"1332606054","filename":"file5"},{"photo_id":"1332606014","filename":"file2"},{"photo_id":"1332606021","filename":"file4"},{"photo_id":"1332606010","filename":"file1"},{"photo_id":"1332606002","filename":"file0"},{"photo_id":"1332606019","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332606054":["hashtag1","hashtag2"]},{"1332606021":["hashtag1","hashtag2"]},{"1332606014":["hashtag1","hashtag2"]},{"1332606002":["hashtag1","hashtag2"]},{"1332606019":["hashtag1","hashtag2"]},{"1332606010":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332606054, 1332606021, 1332606014, 1332606002, 1332606019, 1332606010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47366809844971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:38:32.829850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/35/image_29012025_10_36_05_9451.jpg', '/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_15_10339.jpg', '/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_26_10363.jpg', '/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_35_9367.jpg', '/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_45_10353.jpg', '/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_56_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/35/image_29012025_10_36_05_9451.jpg
/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_15_10339.jpg
/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_26_10363.jpg
/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_35_9367.jpg
/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_45_10353.jpg
/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_56_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.5114233493804932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 10:38:42.895803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/35/image_29012025_10_36_05_9451.jpg', '/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_15_10339.jpg', '/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_26_10363.jpg', '/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_35_9367.jpg', '/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_45_10353.jpg', '/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_56_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/35/image_29012025_10_36_05_9451.jpg
/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_15_10339.jpg
/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_26_10363.jpg
/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_35_9367.jpg
/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_45_10353.jpg
/home/pi/Desktop/images/29012025/10/36/image_29012025_10_36_56_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":["1332606161","1332606158","1332606152","1332606146","1332606163","1332606139"],"photo_ids_order":["1332606139","1332606146","1332606152","1332606158","1332606161","1332606163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2cc1ab9576faa2575a81398842fe5be6.jpg","text":"TemporaryFile(/tmp/multipartBody5705009051834398053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143583787,"filename":"image_29012025_10_36_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/29/3338e678c4525ef9c2422a2d89224a11.jpg","text":"TemporaryFile(/tmp/multipartBody5345973271433164041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143583787,"filename":"image_29012025_10_36_35_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/29/e3debde27c7a967bf7cdfd0f4fa5611b.jpg","text":"TemporaryFile(/tmp/multipartBody929692081625669300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143583787,"filename":"image_29012025_10_36_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/29/690877e86163ed86b2ab94d7eb863fb3.jpg","text":"TemporaryFile(/tmp/multipartBody468172718096088770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143583787,"filename":"image_29012025_10_36_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/29/ec2eb2e71695faf4a018aabc820bcc4c.jpg","text":"TemporaryFile(/tmp/multipartBody9102299803354553255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143583787,"filename":"image_29012025_10_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/29/c29e7315dcea45594c27db02edc5629d.jpg","text":"TemporaryFile(/tmp/multipartBody3930065666385529528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143583787,"filename":"image_29012025_10_36_05_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332606152","file1":"1332606146","file0":"1332606139","file4":"1332606161","file5":"1332606163","file3":"1332606158"},"map_files_photo_id_array":[{"photo_id":"1332606163","filename":"file5"},{"photo_id":"1332606152","filename":"file2"},{"photo_id":"1332606161","filename":"file4"},{"photo_id":"1332606146","filename":"file1"},{"photo_id":"1332606139","filename":"file0"},{"photo_id":"1332606158","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332606161":["hashtag1","hashtag2"]},{"1332606158":["hashtag1","hashtag2"]},{"1332606152":["hashtag1","hashtag2"]},{"1332606146":["hashtag1","hashtag2"]},{"1332606163":["hashtag1","hashtag2"]},{"1332606139":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332606161, 1332606158, 1332606152, 1332606146, 1332606163, 1332606139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41628575325012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:39:33.080340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/36/image_29012025_10_37_05_9543.jpg', '/home/pi/Desktop/images/29012025/10/37/image_29012025_10_37_16_10344.jpg', '/home/pi/Desktop/images/29012025/10/37/image_29012025_10_37_25_9357.jpg', '/home/pi/Desktop/images/29012025/10/37/image_29012025_10_37_35_10361.jpg', '/home/pi/Desktop/images/29012025/10/37/image_29012025_10_37_46_10357.jpg', '/home/pi/Desktop/images/29012025/10/37/image_29012025_10_37_55_9463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/36/image_29012025_10_37_05_9543.jpg
/home/pi/Desktop/images/29012025/10/37/image_29012025_10_37_16_10344.jpg
/home/pi/Desktop/images/29012025/10/37/image_29012025_10_37_25_9357.jpg
/home/pi/Desktop/images/29012025/10/37/image_29012025_10_37_35_10361.jpg
/home/pi/Desktop/images/29012025/10/37/image_29012025_10_37_46_10357.jpg
/home/pi/Desktop/images/29012025/10/37/image_29012025_10_37_55_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":["1332606182","1332606199","1332606187","1332606192","1332606205","1332606195"],"photo_ids_order":["1332606182","1332606187","1332606192","1332606195","1332606199","1332606205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/406ad9e599a79f45e7feffdea960e0c0.jpg","text":"TemporaryFile(/tmp/multipartBody7519986555404872485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143633981,"filename":"image_29012025_10_37_05_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/29/d0820ebb45011ecbf8831db144bb1633.jpg","text":"TemporaryFile(/tmp/multipartBody6972444851220209399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143633981,"filename":"image_29012025_10_37_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/29/08dadcce9e348b20f5972505f97e9a25.jpg","text":"TemporaryFile(/tmp/multipartBody7796555532997952095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143633981,"filename":"image_29012025_10_37_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/29/49f44a5677c0d55e8f7270921e9be724.jpg","text":"TemporaryFile(/tmp/multipartBody3328309330620257932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143633981,"filename":"image_29012025_10_37_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/29/aeaa9e735d2b6463fcf323c126ac8dd7.jpg","text":"TemporaryFile(/tmp/multipartBody305374147652160014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143633981,"filename":"image_29012025_10_37_55_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/29/998997d4e0a93f5544b2b7f87a4f938e.jpg","text":"TemporaryFile(/tmp/multipartBody2052940524273429462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143633981,"filename":"image_29012025_10_37_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332606192","file1":"1332606187","file0":"1332606182","file4":"1332606199","file5":"1332606205","file3":"1332606195"},"map_files_photo_id_array":[{"photo_id":"1332606205","filename":"file5"},{"photo_id":"1332606192","filename":"file2"},{"photo_id":"1332606199","filename":"file4"},{"photo_id":"1332606187","filename":"file1"},{"photo_id":"1332606182","filename":"file0"},{"photo_id":"1332606195","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332606182":["hashtag1","hashtag2"]},{"1332606199":["hashtag1","hashtag2"]},{"1332606187":["hashtag1","hashtag2"]},{"1332606192":["hashtag1","hashtag2"]},{"1332606205":["hashtag1","hashtag2"]},{"1332606195":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332606182, 1332606199, 1332606187, 1332606192, 1332606205, 1332606195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.13562536239624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:40:32.294488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/37/image_29012025_10_38_05_10359.jpg', '/home/pi/Desktop/images/29012025/10/38/image_29012025_10_38_15_9360.jpg', '/home/pi/Desktop/images/29012025/10/38/image_29012025_10_38_25_10434.jpg', '/home/pi/Desktop/images/29012025/10/38/image_29012025_10_38_36_10360.jpg', '/home/pi/Desktop/images/29012025/10/38/image_29012025_10_38_45_9456.jpg', '/home/pi/Desktop/images/29012025/10/38/image_29012025_10_38_55_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/37/image_29012025_10_38_05_10359.jpg
/home/pi/Desktop/images/29012025/10/38/image_29012025_10_38_15_9360.jpg
/home/pi/Desktop/images/29012025/10/38/image_29012025_10_38_25_10434.jpg
/home/pi/Desktop/images/29012025/10/38/image_29012025_10_38_36_10360.jpg
/home/pi/Desktop/images/29012025/10/38/image_29012025_10_38_45_9456.jpg
/home/pi/Desktop/images/29012025/10/38/image_29012025_10_38_55_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":["1332606246","1332606240","1332606290","1332606251","1332606236","1332606259"],"photo_ids_order":["1332606236","1332606240","1332606246","1332606251","1332606259","1332606290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/15ea23d13990afa9b41d91ffd9412fcc.jpg","text":"TemporaryFile(/tmp/multipartBody428466357853833410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143693198,"filename":"image_29012025_10_38_25_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/29/53cb213ddaafa9b1ad66e04cbeddd90f.jpg","text":"TemporaryFile(/tmp/multipartBody6010940268758267300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143693198,"filename":"image_29012025_10_38_15_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/29/e64f47ceb2c7e46ac6062788058c157d.jpg","text":"TemporaryFile(/tmp/multipartBody1885209536896206867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143693198,"filename":"image_29012025_10_38_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/29/2add5b4fbb3613e5028e1bd8401d4bdd.jpg","text":"TemporaryFile(/tmp/multipartBody6922139417485031299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143693198,"filename":"image_29012025_10_38_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/29/619b3c06cd74a820e1dbd864345900ee.jpg","text":"TemporaryFile(/tmp/multipartBody7339568755363381613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143693198,"filename":"image_29012025_10_38_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/29/a63ca09445894ee64217dee58e7cd332.jpg","text":"TemporaryFile(/tmp/multipartBody8471020857204215151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143693198,"filename":"image_29012025_10_38_45_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332606246","file1":"1332606240","file0":"1332606236","file4":"1332606259","file5":"1332606290","file3":"1332606251"},"map_files_photo_id_array":[{"photo_id":"1332606290","filename":"file5"},{"photo_id":"1332606246","filename":"file2"},{"photo_id":"1332606259","filename":"file4"},{"photo_id":"1332606240","filename":"file1"},{"photo_id":"1332606236","filename":"file0"},{"photo_id":"1332606251","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332606246":["hashtag1","hashtag2"]},{"1332606240":["hashtag1","hashtag2"]},{"1332606290":["hashtag1","hashtag2"]},{"1332606251":["hashtag1","hashtag2"]},{"1332606236":["hashtag1","hashtag2"]},{"1332606259":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332606246, 1332606240, 1332606290, 1332606251, 1332606236, 1332606259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1856324672699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:41:32.654445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/38/image_29012025_10_39_06_10341.jpg', '/home/pi/Desktop/images/29012025/10/39/image_29012025_10_39_15_9359.jpg', '/home/pi/Desktop/images/29012025/10/39/image_29012025_10_39_25_10349.jpg', '/home/pi/Desktop/images/29012025/10/39/image_29012025_10_39_35_9352.jpg', '/home/pi/Desktop/images/29012025/10/39/image_29012025_10_39_45_10425.jpg', '/home/pi/Desktop/images/29012025/10/40/image_29012025_10_40_25_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/38/image_29012025_10_39_06_10341.jpg
/home/pi/Desktop/images/29012025/10/39/image_29012025_10_39_15_9359.jpg
/home/pi/Desktop/images/29012025/10/39/image_29012025_10_39_25_10349.jpg
/home/pi/Desktop/images/29012025/10/39/image_29012025_10_39_35_9352.jpg
/home/pi/Desktop/images/29012025/10/39/image_29012025_10_39_45_10425.jpg
/home/pi/Desktop/images/29012025/10/40/image_29012025_10_40_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":["1332606363","1332606371","1332606350","1332606368","1332606358","1332606372"],"photo_ids_order":["1332606350","1332606358","1332606363","1332606368","1332606371","1332606372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0d5324f9087ce8a68cc8988c28dfca56.jpg","text":"TemporaryFile(/tmp/multipartBody6773442618206211775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143753580,"filename":"image_29012025_10_39_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/29/049c64c667c1e37c9922bb72b5e29d89.jpg","text":"TemporaryFile(/tmp/multipartBody937457949087766771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143753580,"filename":"image_29012025_10_39_45_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/29/647815ef7e82c06150a1e76b9092784c.jpg","text":"TemporaryFile(/tmp/multipartBody2552186763371493000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143753580,"filename":"image_29012025_10_39_06_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/29/b91e1091cef1fe6a47fcc16fc906535a.jpg","text":"TemporaryFile(/tmp/multipartBody8327255201270867991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143753580,"filename":"image_29012025_10_39_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/29/cd59c8727f7f5f69667c37cb0c7dbb80.jpg","text":"TemporaryFile(/tmp/multipartBody1854643081537476301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143753580,"filename":"image_29012025_10_39_15_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/29/c5abf4273eb2b381a1c0caa647213ebf.jpg","text":"TemporaryFile(/tmp/multipartBody4971598168629305091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143753580,"filename":"image_29012025_10_40_25_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332606363","file1":"1332606358","file0":"1332606350","file4":"1332606371","file5":"1332606372","file3":"1332606368"},"map_files_photo_id_array":[{"photo_id":"1332606372","filename":"file5"},{"photo_id":"1332606363","filename":"file2"},{"photo_id":"1332606371","filename":"file4"},{"photo_id":"1332606358","filename":"file1"},{"photo_id":"1332606350","filename":"file0"},{"photo_id":"1332606368","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332606363":["hashtag1","hashtag2"]},{"1332606371":["hashtag1","hashtag2"]},{"1332606350":["hashtag1","hashtag2"]},{"1332606368":["hashtag1","hashtag2"]},{"1332606358":["hashtag1","hashtag2"]},{"1332606372":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332606363, 1332606371, 1332606350, 1332606368, 1332606358, 1332606372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18712759017944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:42:32.782380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/40/image_29012025_10_40_35_10423.jpg', '/home/pi/Desktop/images/29012025/10/40/image_29012025_10_40_46_10365.jpg', '/home/pi/Desktop/images/29012025/10/40/image_29012025_10_40_55_9474.jpg', '/home/pi/Desktop/images/29012025/10/40/image_29012025_10_41_05_10352.jpg', '/home/pi/Desktop/images/29012025/10/41/image_29012025_10_41_16_10353.jpg', '/home/pi/Desktop/images/29012025/10/41/image_29012025_10_41_25_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/40/image_29012025_10_40_35_10423.jpg
/home/pi/Desktop/images/29012025/10/40/image_29012025_10_40_46_10365.jpg
/home/pi/Desktop/images/29012025/10/40/image_29012025_10_40_55_9474.jpg
/home/pi/Desktop/images/29012025/10/40/image_29012025_10_41_05_10352.jpg
/home/pi/Desktop/images/29012025/10/41/image_29012025_10_41_16_10353.jpg
/home/pi/Desktop/images/29012025/10/41/image_29012025_10_41_25_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332606405","1332606398","1332606428","1332606413","1332606437","1332606463"],"photo_ids_order":["1332606398","1332606405","1332606413","1332606428","1332606437","1332606463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6a47590aae2f1f9f2c088110b81255b5.jpg","text":"TemporaryFile(/tmp/multipartBody4487544112921375831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143813688,"filename":"image_29012025_10_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/29/d87eaa8a044e0c4b10164964e4a45003.jpg","text":"TemporaryFile(/tmp/multipartBody618586944887163271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143813688,"filename":"image_29012025_10_40_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/29/375828216d746e15022d24143b7ee1ed.jpg","text":"TemporaryFile(/tmp/multipartBody788430397467990897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143813688,"filename":"image_29012025_10_41_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/29/8fc772252217f0f2d8fcd85cc060f2f6.jpg","text":"TemporaryFile(/tmp/multipartBody4958932527089779699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143813688,"filename":"image_29012025_10_40_55_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/29/c2a9293c556cb16eb44e176930040497.jpg","text":"TemporaryFile(/tmp/multipartBody3345733196536812421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143813688,"filename":"image_29012025_10_41_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/29/aaf6a97c30fb61eda391ff447afc851d.jpg","text":"TemporaryFile(/tmp/multipartBody7293878756216592907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143813688,"filename":"image_29012025_10_41_25_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332606413","file1":"1332606405","file0":"1332606398","file4":"1332606437","file5":"1332606463","file3":"1332606428"},"map_files_photo_id_array":[{"photo_id":"1332606463","filename":"file5"},{"photo_id":"1332606413","filename":"file2"},{"photo_id":"1332606437","filename":"file4"},{"photo_id":"1332606405","filename":"file1"},{"photo_id":"1332606398","filename":"file0"},{"photo_id":"1332606428","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332606405":["hashtag1","hashtag2"]},{"1332606398":["hashtag1","hashtag2"]},{"1332606428":["hashtag1","hashtag2"]},{"1332606413":["hashtag1","hashtag2"]},{"1332606437":["hashtag1","hashtag2"]},{"1332606463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332606405, 1332606398, 1332606428, 1332606413, 1332606437, 1332606463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.13789463043213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:43:33.062377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/41/image_29012025_10_41_36_10398.jpg', '/home/pi/Desktop/images/29012025/10/41/image_29012025_10_41_45_9363.jpg', '/home/pi/Desktop/images/29012025/10/41/image_29012025_10_41_55_10379.jpg', '/home/pi/Desktop/images/29012025/10/41/image_29012025_10_42_06_10414.jpg', '/home/pi/Desktop/images/29012025/10/42/image_29012025_10_42_15_9375.jpg', '/home/pi/Desktop/images/29012025/10/42/image_29012025_10_42_25_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/41/image_29012025_10_41_36_10398.jpg
/home/pi/Desktop/images/29012025/10/41/image_29012025_10_41_45_9363.jpg
/home/pi/Desktop/images/29012025/10/41/image_29012025_10_41_55_10379.jpg
/home/pi/Desktop/images/29012025/10/41/image_29012025_10_42_06_10414.jpg
/home/pi/Desktop/images/29012025/10/42/image_29012025_10_42_15_9375.jpg
/home/pi/Desktop/images/29012025/10/42/image_29012025_10_42_25_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":["1332606494","1332606563","1332606566","1332606551","1332606560","1332606567"],"photo_ids_order":["1332606494","1332606551","1332606560","1332606563","1332606566","1332606567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/81eac763fe8370524feab1c0b0e8d8ac.jpg","text":"TemporaryFile(/tmp/multipartBody6555445422867889683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143873976,"filename":"image_29012025_10_41_36_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/29/33e8f97848a13c6e3e4155b3b8374bca.jpg","text":"TemporaryFile(/tmp/multipartBody1352743119549900038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143873976,"filename":"image_29012025_10_42_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/29/4fb2e7b98d099b6fd7fdf38678cd08dc.jpg","text":"TemporaryFile(/tmp/multipartBody4309479231771012443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143873976,"filename":"image_29012025_10_42_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/29/d3d5d7770023de4003ef707a585702ef.jpg","text":"TemporaryFile(/tmp/multipartBody1151695952258314552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143873976,"filename":"image_29012025_10_41_45_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/29/640984f0f3654f50ab5cef45b0160aca.jpg","text":"TemporaryFile(/tmp/multipartBody9046237060598366581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143873976,"filename":"image_29012025_10_41_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/29/c6dd1dbfd5518806c41e937be8ea6775.jpg","text":"TemporaryFile(/tmp/multipartBody8008876159324404033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143873976,"filename":"image_29012025_10_42_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332606560","file1":"1332606551","file0":"1332606494","file4":"1332606566","file5":"1332606567","file3":"1332606563"},"map_files_photo_id_array":[{"photo_id":"1332606567","filename":"file5"},{"photo_id":"1332606560","filename":"file2"},{"photo_id":"1332606566","filename":"file4"},{"photo_id":"1332606551","filename":"file1"},{"photo_id":"1332606494","filename":"file0"},{"photo_id":"1332606563","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332606494":["hashtag1","hashtag2"]},{"1332606563":["hashtag1","hashtag2"]},{"1332606566":["hashtag1","hashtag2"]},{"1332606551":["hashtag1","hashtag2"]},{"1332606560":["hashtag1","hashtag2"]},{"1332606567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332606494, 1332606563, 1332606566, 1332606551, 1332606560, 1332606567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.640392541885376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:44:32.186769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/42/image_29012025_10_42_35_9352.jpg', '/home/pi/Desktop/images/29012025/10/42/image_29012025_10_42_56_10376.jpg', '/home/pi/Desktop/images/29012025/10/43/image_29012025_10_43_15_10398.jpg', '/home/pi/Desktop/images/29012025/10/43/image_29012025_10_43_25_9418.jpg', '/home/pi/Desktop/images/29012025/10/43/image_29012025_10_43_35_10348.jpg', '/home/pi/Desktop/images/29012025/10/43/image_29012025_10_43_46_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/42/image_29012025_10_42_35_9352.jpg
/home/pi/Desktop/images/29012025/10/42/image_29012025_10_42_56_10376.jpg
/home/pi/Desktop/images/29012025/10/43/image_29012025_10_43_15_10398.jpg
/home/pi/Desktop/images/29012025/10/43/image_29012025_10_43_25_9418.jpg
/home/pi/Desktop/images/29012025/10/43/image_29012025_10_43_35_10348.jpg
/home/pi/Desktop/images/29012025/10/43/image_29012025_10_43_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":["1332606621","1332606639","1332606671","1332606650","1332606628","1332606663"],"photo_ids_order":["1332606621","1332606628","1332606639","1332606650","1332606663","1332606671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/83d5a0a9cbcf7130d46f14145ea96786.jpg","text":"TemporaryFile(/tmp/multipartBody2357711835125559794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143933088,"filename":"image_29012025_10_42_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/29/6e7ec34b532420658c75c9afb49f572b.jpg","text":"TemporaryFile(/tmp/multipartBody6615227057933794314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143933088,"filename":"image_29012025_10_43_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/29/0c8abb95b2bb8c3ccc7539bc1b98ae2a.jpg","text":"TemporaryFile(/tmp/multipartBody9207189629242887344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143933088,"filename":"image_29012025_10_43_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/29/a34a4d8972ca4c596b589aba661cf6ac.jpg","text":"TemporaryFile(/tmp/multipartBody8532527478073385755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143933088,"filename":"image_29012025_10_43_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/29/00b993923675ed51b16672dcb05857ad.jpg","text":"TemporaryFile(/tmp/multipartBody8848927703953436187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143933088,"filename":"image_29012025_10_42_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/29/61c91b57de3c5a4a9275bd4a0665ef8a.jpg","text":"TemporaryFile(/tmp/multipartBody815971946880294415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143933088,"filename":"image_29012025_10_43_35_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332606639","file1":"1332606628","file0":"1332606621","file4":"1332606663","file5":"1332606671","file3":"1332606650"},"map_files_photo_id_array":[{"photo_id":"1332606671","filename":"file5"},{"photo_id":"1332606639","filename":"file2"},{"photo_id":"1332606663","filename":"file4"},{"photo_id":"1332606628","filename":"file1"},{"photo_id":"1332606621","filename":"file0"},{"photo_id":"1332606650","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332606621":["hashtag1","hashtag2"]},{"1332606639":["hashtag1","hashtag2"]},{"1332606671":["hashtag1","hashtag2"]},{"1332606650":["hashtag1","hashtag2"]},{"1332606628":["hashtag1","hashtag2"]},{"1332606663":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332606621, 1332606639, 1332606671, 1332606650, 1332606628, 1332606663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61913561820984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:45:32.562547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/43/image_29012025_10_43_55_9410.jpg', '/home/pi/Desktop/images/29012025/10/43/image_29012025_10_44_05_10405.jpg', '/home/pi/Desktop/images/29012025/10/44/image_29012025_10_44_15_9422.jpg', '/home/pi/Desktop/images/29012025/10/44/image_29012025_10_44_36_10386.jpg', '/home/pi/Desktop/images/29012025/10/44/image_29012025_10_44_45_9422.jpg', '/home/pi/Desktop/images/29012025/10/44/image_29012025_10_44_56_10456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/43/image_29012025_10_43_55_9410.jpg
/home/pi/Desktop/images/29012025/10/43/image_29012025_10_44_05_10405.jpg
/home/pi/Desktop/images/29012025/10/44/image_29012025_10_44_15_9422.jpg
/home/pi/Desktop/images/29012025/10/44/image_29012025_10_44_36_10386.jpg
/home/pi/Desktop/images/29012025/10/44/image_29012025_10_44_45_9422.jpg
/home/pi/Desktop/images/29012025/10/44/image_29012025_10_44_56_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":["1332606866","1332606875","1332606860","1332606878","1332606845","1332606871"],"photo_ids_order":["1332606845","1332606860","1332606866","1332606871","1332606875","1332606878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/23ea4c7669791c00d80ea8031694f843.jpg","text":"TemporaryFile(/tmp/multipartBody4806833439519451561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143993477,"filename":"image_29012025_10_44_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/29/746941806eb5ea7947bb0b07284752a0.jpg","text":"TemporaryFile(/tmp/multipartBody458070098551730404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143993477,"filename":"image_29012025_10_44_45_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/29/1e48e2629a7891460f69d091272ffa76.jpg","text":"TemporaryFile(/tmp/multipartBody465391914964773599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143993477,"filename":"image_29012025_10_44_05_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/29/d211c39dd31cfcae8637f436cccf5fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6068667356956226246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143993477,"filename":"image_29012025_10_44_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/29/70510abfc41d36f369204ede48d612bd.jpg","text":"TemporaryFile(/tmp/multipartBody1341087262025145060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143993477,"filename":"image_29012025_10_43_55_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/29/bfd2f04b48fb7def70817c993e99af2e.jpg","text":"TemporaryFile(/tmp/multipartBody937895813422097986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738143993477,"filename":"image_29012025_10_44_36_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332606866","file1":"1332606860","file0":"1332606845","file4":"1332606875","file5":"1332606878","file3":"1332606871"},"map_files_photo_id_array":[{"photo_id":"1332606878","filename":"file5"},{"photo_id":"1332606866","filename":"file2"},{"photo_id":"1332606875","filename":"file4"},{"photo_id":"1332606860","filename":"file1"},{"photo_id":"1332606845","filename":"file0"},{"photo_id":"1332606871","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332606866":["hashtag1","hashtag2"]},{"1332606875":["hashtag1","hashtag2"]},{"1332606860":["hashtag1","hashtag2"]},{"1332606878":["hashtag1","hashtag2"]},{"1332606845":["hashtag1","hashtag2"]},{"1332606871":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332606866, 1332606875, 1332606860, 1332606878, 1332606845, 1332606871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74326252937317 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:46:32.634700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/44/image_29012025_10_45_05_9419.jpg', '/home/pi/Desktop/images/29012025/10/45/image_29012025_10_45_15_10335.jpg', '/home/pi/Desktop/images/29012025/10/45/image_29012025_10_45_26_10355.jpg', '/home/pi/Desktop/images/29012025/10/45/image_29012025_10_45_56_10365.jpg', '/home/pi/Desktop/images/29012025/10/45/image_29012025_10_46_05_9375.jpg', '/home/pi/Desktop/images/29012025/10/46/image_29012025_10_46_25_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/44/image_29012025_10_45_05_9419.jpg
/home/pi/Desktop/images/29012025/10/45/image_29012025_10_45_15_10335.jpg
/home/pi/Desktop/images/29012025/10/45/image_29012025_10_45_26_10355.jpg
/home/pi/Desktop/images/29012025/10/45/image_29012025_10_45_56_10365.jpg
/home/pi/Desktop/images/29012025/10/45/image_29012025_10_46_05_9375.jpg
/home/pi/Desktop/images/29012025/10/46/image_29012025_10_46_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":["1332607014","1332607007","1332607018","1332607003","1332606934","1332607011"],"photo_ids_order":["1332606934","1332607003","1332607007","1332607011","1332607014","1332607018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8a269f801dc3cbe7d64b6ec62a1d3852.jpg","text":"TemporaryFile(/tmp/multipartBody8159597384939382154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144053570,"filename":"image_29012025_10_46_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/29/8519903117805438b78b233f9e58a11f.jpg","text":"TemporaryFile(/tmp/multipartBody5960210494195545479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144053570,"filename":"image_29012025_10_45_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/29/31247ca9f09e6a3aa335bf5e86ab6ad7.jpg","text":"TemporaryFile(/tmp/multipartBody9174018287271536025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144053570,"filename":"image_29012025_10_46_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/29/af1cb64ada42083cd1f602b1f9d8b055.jpg","text":"TemporaryFile(/tmp/multipartBody1721799987027063741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144053570,"filename":"image_29012025_10_45_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/29/2ba6b9077c909e2402ddea651c27b68c.jpg","text":"TemporaryFile(/tmp/multipartBody6002040119462446174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144053570,"filename":"image_29012025_10_45_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/29/6aef48b0442bf796f5b7e77a952832a7.jpg","text":"TemporaryFile(/tmp/multipartBody9169890911256353776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144053570,"filename":"image_29012025_10_45_56_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332607007","file1":"1332607003","file0":"1332606934","file4":"1332607014","file5":"1332607018","file3":"1332607011"},"map_files_photo_id_array":[{"photo_id":"1332607018","filename":"file5"},{"photo_id":"1332607007","filename":"file2"},{"photo_id":"1332607014","filename":"file4"},{"photo_id":"1332607003","filename":"file1"},{"photo_id":"1332606934","filename":"file0"},{"photo_id":"1332607011","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332607014":["hashtag1","hashtag2"]},{"1332607007":["hashtag1","hashtag2"]},{"1332607018":["hashtag1","hashtag2"]},{"1332607003":["hashtag1","hashtag2"]},{"1332606934":["hashtag1","hashtag2"]},{"1332607011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332607014, 1332607007, 1332607018, 1332607003, 1332606934, 1332607011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.079200744628906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:47:32.929443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/46/image_29012025_10_46_35_10353.jpg', '/home/pi/Desktop/images/29012025/10/46/image_29012025_10_46_46_10339.jpg', '/home/pi/Desktop/images/29012025/10/46/image_29012025_10_46_55_9359.jpg', '/home/pi/Desktop/images/29012025/10/46/image_29012025_10_47_05_10359.jpg', '/home/pi/Desktop/images/29012025/10/47/image_29012025_10_47_16_10355.jpg', '/home/pi/Desktop/images/29012025/10/47/image_29012025_10_47_25_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/46/image_29012025_10_46_35_10353.jpg
/home/pi/Desktop/images/29012025/10/46/image_29012025_10_46_46_10339.jpg
/home/pi/Desktop/images/29012025/10/46/image_29012025_10_46_55_9359.jpg
/home/pi/Desktop/images/29012025/10/46/image_29012025_10_47_05_10359.jpg
/home/pi/Desktop/images/29012025/10/47/image_29012025_10_47_16_10355.jpg
/home/pi/Desktop/images/29012025/10/47/image_29012025_10_47_25_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":["1332607064","1332607075","1332607072","1332607054","1332607068","1332607059"],"photo_ids_order":["1332607054","1332607059","1332607064","1332607068","1332607072","1332607075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/039376b437caa673bc341ca7668de8d9.jpg","text":"TemporaryFile(/tmp/multipartBody2526022766056556636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144113862,"filename":"image_29012025_10_46_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/29/fa196758dfd62059d6ee1575aabf0125.jpg","text":"TemporaryFile(/tmp/multipartBody6374797458466107470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144113862,"filename":"image_29012025_10_47_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/29/c342f1366d00a1c30c2ab6c99be9e79c.jpg","text":"TemporaryFile(/tmp/multipartBody3433787636448853781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144113862,"filename":"image_29012025_10_47_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/29/7a898c844914255af8cf894733c48512.jpg","text":"TemporaryFile(/tmp/multipartBody4823919220922882565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144113862,"filename":"image_29012025_10_46_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/29/1e11a59af024559ba3fc4a74be056cd5.jpg","text":"TemporaryFile(/tmp/multipartBody8673062495785752969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144113862,"filename":"image_29012025_10_47_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/29/7c8607aef2e17d35b7b774d7a756f315.jpg","text":"TemporaryFile(/tmp/multipartBody8127501751949246213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144113862,"filename":"image_29012025_10_46_46_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332607064","file1":"1332607059","file0":"1332607054","file4":"1332607072","file5":"1332607075","file3":"1332607068"},"map_files_photo_id_array":[{"photo_id":"1332607075","filename":"file5"},{"photo_id":"1332607064","filename":"file2"},{"photo_id":"1332607072","filename":"file4"},{"photo_id":"1332607059","filename":"file1"},{"photo_id":"1332607054","filename":"file0"},{"photo_id":"1332607068","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332607064":["hashtag1","hashtag2"]},{"1332607075":["hashtag1","hashtag2"]},{"1332607072":["hashtag1","hashtag2"]},{"1332607054":["hashtag1","hashtag2"]},{"1332607068":["hashtag1","hashtag2"]},{"1332607059":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332607064, 1332607075, 1332607072, 1332607054, 1332607068, 1332607059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84376382827759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:48:33.096797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/47/image_29012025_10_47_35_10359.jpg', '/home/pi/Desktop/images/29012025/10/47/image_29012025_10_47_45_9379.jpg', '/home/pi/Desktop/images/29012025/10/47/image_29012025_10_47_55_10422.jpg', '/home/pi/Desktop/images/29012025/10/47/image_29012025_10_48_06_10338.jpg', '/home/pi/Desktop/images/29012025/10/48/image_29012025_10_48_15_9337.jpg', '/home/pi/Desktop/images/29012025/10/48/image_29012025_10_48_25_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/47/image_29012025_10_47_35_10359.jpg
/home/pi/Desktop/images/29012025/10/47/image_29012025_10_47_45_9379.jpg
/home/pi/Desktop/images/29012025/10/47/image_29012025_10_47_55_10422.jpg
/home/pi/Desktop/images/29012025/10/47/image_29012025_10_48_06_10338.jpg
/home/pi/Desktop/images/29012025/10/48/image_29012025_10_48_15_9337.jpg
/home/pi/Desktop/images/29012025/10/48/image_29012025_10_48_25_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":["1332607115","1332607109","1332607129","1332607134","1332607122","1332607131"],"photo_ids_order":["1332607109","1332607115","1332607122","1332607129","1332607131","1332607134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9b79f8c4ee2ea286cb0cde9b543ce0bf.jpg","text":"TemporaryFile(/tmp/multipartBody5780805772381156837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144174016,"filename":"image_29012025_10_47_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/29/b6c8f5147038c43f396e2fc4832b667a.jpg","text":"TemporaryFile(/tmp/multipartBody2643594137152912717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144174016,"filename":"image_29012025_10_47_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/29/580a73f5967efc5abb0622fc3cadfc30.jpg","text":"TemporaryFile(/tmp/multipartBody2118544697050694293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144174016,"filename":"image_29012025_10_48_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/29/fe17d2d687678c6c5325a1515b9cfa15.jpg","text":"TemporaryFile(/tmp/multipartBody6415449352297699988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144174016,"filename":"image_29012025_10_48_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/29/d0fa881421732893d354a127e6dfb8b3.jpg","text":"TemporaryFile(/tmp/multipartBody7225115956407195554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144174016,"filename":"image_29012025_10_47_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/29/94fa89b6486bd577d0b9646e0615c4c7.jpg","text":"TemporaryFile(/tmp/multipartBody3395049938948046659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144174016,"filename":"image_29012025_10_48_15_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332607122","file1":"1332607115","file0":"1332607109","file4":"1332607131","file5":"1332607134","file3":"1332607129"},"map_files_photo_id_array":[{"photo_id":"1332607134","filename":"file5"},{"photo_id":"1332607122","filename":"file2"},{"photo_id":"1332607131","filename":"file4"},{"photo_id":"1332607115","filename":"file1"},{"photo_id":"1332607109","filename":"file0"},{"photo_id":"1332607129","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332607115":["hashtag1","hashtag2"]},{"1332607109":["hashtag1","hashtag2"]},{"1332607129":["hashtag1","hashtag2"]},{"1332607134":["hashtag1","hashtag2"]},{"1332607122":["hashtag1","hashtag2"]},{"1332607131":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332607115, 1332607109, 1332607129, 1332607134, 1332607122, 1332607131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.850111961364746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:49:32.409867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/48/image_29012025_10_48_36_10373.jpg', '/home/pi/Desktop/images/29012025/10/48/image_29012025_10_48_45_9442.jpg', '/home/pi/Desktop/images/29012025/10/48/image_29012025_10_48_55_10362.jpg', '/home/pi/Desktop/images/29012025/10/48/image_29012025_10_49_05_9366.jpg', '/home/pi/Desktop/images/29012025/10/49/image_29012025_10_49_15_10431.jpg', '/home/pi/Desktop/images/29012025/10/49/image_29012025_10_49_26_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/48/image_29012025_10_48_36_10373.jpg
/home/pi/Desktop/images/29012025/10/48/image_29012025_10_48_45_9442.jpg
/home/pi/Desktop/images/29012025/10/48/image_29012025_10_48_55_10362.jpg
/home/pi/Desktop/images/29012025/10/48/image_29012025_10_49_05_9366.jpg
/home/pi/Desktop/images/29012025/10/49/image_29012025_10_49_15_10431.jpg
/home/pi/Desktop/images/29012025/10/49/image_29012025_10_49_26_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":["1332607199","1332607190","1332607208","1332607195","1332607173","1332607182"],"photo_ids_order":["1332607173","1332607182","1332607190","1332607195","1332607199","1332607208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/518fc4bcf32410fa8e9f76d3040170a1.jpg","text":"TemporaryFile(/tmp/multipartBody6278859699144139236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144233321,"filename":"image_29012025_10_49_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/29/ebd821bce971a52b3fb0947aa3a0a25a.jpg","text":"TemporaryFile(/tmp/multipartBody687666701925672118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144233321,"filename":"image_29012025_10_48_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/29/4c024b7568bd3707fc21f8bd2df2c541.jpg","text":"TemporaryFile(/tmp/multipartBody6195436397471492308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144233321,"filename":"image_29012025_10_49_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/29/443152d9b5e717ddccc28d2dad85cc65.jpg","text":"TemporaryFile(/tmp/multipartBody8912887772232839153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144233321,"filename":"image_29012025_10_49_05_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/29/01c6fce24771e0ed18f7f8f6a00b02c9.jpg","text":"TemporaryFile(/tmp/multipartBody4654706571732907938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144233321,"filename":"image_29012025_10_48_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/29/51078e2130338ebecb73e08db2219ece.jpg","text":"TemporaryFile(/tmp/multipartBody4544594898906962965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144233321,"filename":"image_29012025_10_48_45_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332607190","file1":"1332607182","file0":"1332607173","file4":"1332607199","file5":"1332607208","file3":"1332607195"},"map_files_photo_id_array":[{"photo_id":"1332607208","filename":"file5"},{"photo_id":"1332607190","filename":"file2"},{"photo_id":"1332607199","filename":"file4"},{"photo_id":"1332607182","filename":"file1"},{"photo_id":"1332607173","filename":"file0"},{"photo_id":"1332607195","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332607199":["hashtag1","hashtag2"]},{"1332607190":["hashtag1","hashtag2"]},{"1332607208":["hashtag1","hashtag2"]},{"1332607195":["hashtag1","hashtag2"]},{"1332607173":["hashtag1","hashtag2"]},{"1332607182":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332607199, 1332607190, 1332607208, 1332607195, 1332607173, 1332607182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.999205350875854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:50:32.603342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/49/image_29012025_10_49_35_9357.jpg', '/home/pi/Desktop/images/29012025/10/49/image_29012025_10_49_45_10404.jpg', '/home/pi/Desktop/images/29012025/10/49/image_29012025_10_49_56_10405.jpg', '/home/pi/Desktop/images/29012025/10/49/image_29012025_10_50_05_9382.jpg', '/home/pi/Desktop/images/29012025/10/50/image_29012025_10_50_16_10363.jpg', '/home/pi/Desktop/images/29012025/10/50/image_29012025_10_50_25_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/49/image_29012025_10_49_35_9357.jpg
/home/pi/Desktop/images/29012025/10/49/image_29012025_10_49_45_10404.jpg
/home/pi/Desktop/images/29012025/10/49/image_29012025_10_49_56_10405.jpg
/home/pi/Desktop/images/29012025/10/49/image_29012025_10_50_05_9382.jpg
/home/pi/Desktop/images/29012025/10/50/image_29012025_10_50_16_10363.jpg
/home/pi/Desktop/images/29012025/10/50/image_29012025_10_50_25_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":["1332607425","1332607397","1332607445","1332607439","1332607412","1332607390"],"photo_ids_order":["1332607390","1332607397","1332607412","1332607425","1332607439","1332607445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/43d2e4c9a6ee0928fd129bb5360eb8df.jpg","text":"TemporaryFile(/tmp/multipartBody3576900070951756269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144293509,"filename":"image_29012025_10_50_05_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/29/c7401a5e73a79854a91b766d3b5308db.jpg","text":"TemporaryFile(/tmp/multipartBody119279022782982388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144293509,"filename":"image_29012025_10_49_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/29/ce76212bbd0506cf3c6bab7043bc62f2.jpg","text":"TemporaryFile(/tmp/multipartBody5437843110441232049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144293509,"filename":"image_29012025_10_50_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/29/a03a2cb941963949a49193b05ef238cb.jpg","text":"TemporaryFile(/tmp/multipartBody6591680171972172196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144293509,"filename":"image_29012025_10_50_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/29/7752cdf94976cb53452cd3bcdf2a222b.jpg","text":"TemporaryFile(/tmp/multipartBody2803728349477189632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144293509,"filename":"image_29012025_10_49_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/29/8e31d166fa405aafdeb5146352112c72.jpg","text":"TemporaryFile(/tmp/multipartBody1482631871182634788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144293509,"filename":"image_29012025_10_49_35_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332607412","file1":"1332607397","file0":"1332607390","file4":"1332607439","file5":"1332607445","file3":"1332607425"},"map_files_photo_id_array":[{"photo_id":"1332607445","filename":"file5"},{"photo_id":"1332607412","filename":"file2"},{"photo_id":"1332607439","filename":"file4"},{"photo_id":"1332607397","filename":"file1"},{"photo_id":"1332607390","filename":"file0"},{"photo_id":"1332607425","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332607425":["hashtag1","hashtag2"]},{"1332607397":["hashtag1","hashtag2"]},{"1332607445":["hashtag1","hashtag2"]},{"1332607439":["hashtag1","hashtag2"]},{"1332607412":["hashtag1","hashtag2"]},{"1332607390":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332607425, 1332607397, 1332607445, 1332607439, 1332607412, 1332607390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6451952457428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:51:32.826616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/50/image_29012025_10_50_35_10366.jpg', '/home/pi/Desktop/images/29012025/10/50/image_29012025_10_50_46_10338.jpg', '/home/pi/Desktop/images/29012025/10/50/image_29012025_10_50_55_9347.jpg', '/home/pi/Desktop/images/29012025/10/50/image_29012025_10_51_05_10426.jpg', '/home/pi/Desktop/images/29012025/10/51/image_29012025_10_51_16_10333.jpg', '/home/pi/Desktop/images/29012025/10/51/image_29012025_10_51_25_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/50/image_29012025_10_50_35_10366.jpg
/home/pi/Desktop/images/29012025/10/50/image_29012025_10_50_46_10338.jpg
/home/pi/Desktop/images/29012025/10/50/image_29012025_10_50_55_9347.jpg
/home/pi/Desktop/images/29012025/10/50/image_29012025_10_51_05_10426.jpg
/home/pi/Desktop/images/29012025/10/51/image_29012025_10_51_16_10333.jpg
/home/pi/Desktop/images/29012025/10/51/image_29012025_10_51_25_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":["1332607508","1332607516","1332607501","1332607494","1332607488","1332607512"],"photo_ids_order":["1332607488","1332607494","1332607501","1332607508","1332607512","1332607516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d4c1b052ef3a9a6e2d1c4b6ece34abd1.jpg","text":"TemporaryFile(/tmp/multipartBody4520782481686278498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144353734,"filename":"image_29012025_10_51_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/29/0daea99bd383d36435166eecc7c0b392.jpg","text":"TemporaryFile(/tmp/multipartBody2931840332282487113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144353734,"filename":"image_29012025_10_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/29/981d3baf14aac091b8e4ccdb50a95a06.jpg","text":"TemporaryFile(/tmp/multipartBody4192268384208983558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144353734,"filename":"image_29012025_10_50_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/29/26cfb42bbf1139e09c81cbfaa45a43c0.jpg","text":"TemporaryFile(/tmp/multipartBody5248716108242439076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144353734,"filename":"image_29012025_10_50_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/29/e93a0477c085c65a845c61df58ed1794.jpg","text":"TemporaryFile(/tmp/multipartBody6142405272301226753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144353734,"filename":"image_29012025_10_50_35_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/29/32dd90f1843e43d5050a2ee22ad8aa93.jpg","text":"TemporaryFile(/tmp/multipartBody1400744965638242125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144353734,"filename":"image_29012025_10_51_16_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332607501","file1":"1332607494","file0":"1332607488","file4":"1332607512","file5":"1332607516","file3":"1332607508"},"map_files_photo_id_array":[{"photo_id":"1332607516","filename":"file5"},{"photo_id":"1332607501","filename":"file2"},{"photo_id":"1332607512","filename":"file4"},{"photo_id":"1332607494","filename":"file1"},{"photo_id":"1332607488","filename":"file0"},{"photo_id":"1332607508","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332607508":["hashtag1","hashtag2"]},{"1332607516":["hashtag1","hashtag2"]},{"1332607501":["hashtag1","hashtag2"]},{"1332607494":["hashtag1","hashtag2"]},{"1332607488":["hashtag1","hashtag2"]},{"1332607512":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332607508, 1332607516, 1332607501, 1332607494, 1332607488, 1332607512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15119028091431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:52:33.031734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/51/image_29012025_10_51_35_10349.jpg', '/home/pi/Desktop/images/29012025/10/51/image_29012025_10_51_45_9395.jpg', '/home/pi/Desktop/images/29012025/10/51/image_29012025_10_51_55_10359.jpg', '/home/pi/Desktop/images/29012025/10/51/image_29012025_10_52_06_10359.jpg', '/home/pi/Desktop/images/29012025/10/52/image_29012025_10_52_15_9337.jpg', '/home/pi/Desktop/images/29012025/10/52/image_29012025_10_52_25_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/51/image_29012025_10_51_35_10349.jpg
/home/pi/Desktop/images/29012025/10/51/image_29012025_10_51_45_9395.jpg
/home/pi/Desktop/images/29012025/10/51/image_29012025_10_51_55_10359.jpg
/home/pi/Desktop/images/29012025/10/51/image_29012025_10_52_06_10359.jpg
/home/pi/Desktop/images/29012025/10/52/image_29012025_10_52_15_9337.jpg
/home/pi/Desktop/images/29012025/10/52/image_29012025_10_52_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":["1332607562","1332607547","1332607558","1332607569","1332607566","1332607554"],"photo_ids_order":["1332607547","1332607554","1332607558","1332607562","1332607566","1332607569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0ada127ffa0eedf86c2e5c5a21422006.jpg","text":"TemporaryFile(/tmp/multipartBody3581696540028668943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144413942,"filename":"image_29012025_10_52_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/29/e756a7173d02312993534c7418a817cc.jpg","text":"TemporaryFile(/tmp/multipartBody6450588170903205102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144413942,"filename":"image_29012025_10_51_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/29/2085b1999410ef18325690a00e566c12.jpg","text":"TemporaryFile(/tmp/multipartBody2726289694379248491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144413942,"filename":"image_29012025_10_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/29/79f81707869769c288019e662d2a3e3e.jpg","text":"TemporaryFile(/tmp/multipartBody6963826890156624692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144413942,"filename":"image_29012025_10_52_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/29/ed62201b135efd78b83021c080a67a2c.jpg","text":"TemporaryFile(/tmp/multipartBody7459726046409415689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144413942,"filename":"image_29012025_10_52_15_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/29/469afe3126d8ca9e0af244285516cf2a.jpg","text":"TemporaryFile(/tmp/multipartBody430507194157961886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144413942,"filename":"image_29012025_10_51_45_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332607558","file1":"1332607554","file0":"1332607547","file4":"1332607566","file5":"1332607569","file3":"1332607562"},"map_files_photo_id_array":[{"photo_id":"1332607569","filename":"file5"},{"photo_id":"1332607558","filename":"file2"},{"photo_id":"1332607566","filename":"file4"},{"photo_id":"1332607554","filename":"file1"},{"photo_id":"1332607547","filename":"file0"},{"photo_id":"1332607562","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332607562":["hashtag1","hashtag2"]},{"1332607547":["hashtag1","hashtag2"]},{"1332607558":["hashtag1","hashtag2"]},{"1332607569":["hashtag1","hashtag2"]},{"1332607566":["hashtag1","hashtag2"]},{"1332607554":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332607562, 1332607547, 1332607558, 1332607569, 1332607566, 1332607554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.493555545806885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:53:32.200032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/52/image_29012025_10_52_36_10419.jpg', '/home/pi/Desktop/images/29012025/10/52/image_29012025_10_52_45_9452.jpg', '/home/pi/Desktop/images/29012025/10/52/image_29012025_10_52_56_10378.jpg', '/home/pi/Desktop/images/29012025/10/52/image_29012025_10_53_05_9338.jpg', '/home/pi/Desktop/images/29012025/10/53/image_29012025_10_53_15_10344.jpg', '/home/pi/Desktop/images/29012025/10/53/image_29012025_10_53_26_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/52/image_29012025_10_52_36_10419.jpg
/home/pi/Desktop/images/29012025/10/52/image_29012025_10_52_45_9452.jpg
/home/pi/Desktop/images/29012025/10/52/image_29012025_10_52_56_10378.jpg
/home/pi/Desktop/images/29012025/10/52/image_29012025_10_53_05_9338.jpg
/home/pi/Desktop/images/29012025/10/53/image_29012025_10_53_15_10344.jpg
/home/pi/Desktop/images/29012025/10/53/image_29012025_10_53_26_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":["1332607667","1332607687","1332607675","1332607680","1332607644","1332607638"],"photo_ids_order":["1332607638","1332607644","1332607667","1332607675","1332607680","1332607687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/011c01a6e5e5db3cf23e33b906ae6c48.jpg","text":"TemporaryFile(/tmp/multipartBody8229012569713130619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144473108,"filename":"image_29012025_10_52_56_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/29/b9165a63d003850b0d3843690b7ee418.jpg","text":"TemporaryFile(/tmp/multipartBody1049228802047794813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144473108,"filename":"image_29012025_10_53_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/29/decf03125ce64094cab605e8bfd17191.jpg","text":"TemporaryFile(/tmp/multipartBody5783997737105003082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144473108,"filename":"image_29012025_10_53_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/29/e4510c39133faa069a31a2c57b711c1c.jpg","text":"TemporaryFile(/tmp/multipartBody3594412772566655367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144473108,"filename":"image_29012025_10_53_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/29/c64e96ebc59a15832b99fe1a271ccfdc.jpg","text":"TemporaryFile(/tmp/multipartBody3401676109698304842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144473108,"filename":"image_29012025_10_52_45_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/29/e26ce9b248c3f7811fa23417f7fbbb20.jpg","text":"TemporaryFile(/tmp/multipartBody1328549162984053417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144473108,"filename":"image_29012025_10_52_36_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332607667","file1":"1332607644","file0":"1332607638","file4":"1332607680","file5":"1332607687","file3":"1332607675"},"map_files_photo_id_array":[{"photo_id":"1332607687","filename":"file5"},{"photo_id":"1332607667","filename":"file2"},{"photo_id":"1332607680","filename":"file4"},{"photo_id":"1332607644","filename":"file1"},{"photo_id":"1332607638","filename":"file0"},{"photo_id":"1332607675","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332607667":["hashtag1","hashtag2"]},{"1332607687":["hashtag1","hashtag2"]},{"1332607675":["hashtag1","hashtag2"]},{"1332607680":["hashtag1","hashtag2"]},{"1332607644":["hashtag1","hashtag2"]},{"1332607638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332607667, 1332607687, 1332607675, 1332607680, 1332607644, 1332607638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58938193321228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:54:32.422479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/53/image_29012025_10_53_35_9363.jpg', '/home/pi/Desktop/images/29012025/10/53/image_29012025_10_53_45_10454.jpg', '/home/pi/Desktop/images/29012025/10/53/image_29012025_10_53_56_10347.jpg', '/home/pi/Desktop/images/29012025/10/53/image_29012025_10_54_05_9382.jpg', '/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_16_10408.jpg', '/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_25_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/53/image_29012025_10_53_35_9363.jpg
/home/pi/Desktop/images/29012025/10/53/image_29012025_10_53_45_10454.jpg
/home/pi/Desktop/images/29012025/10/53/image_29012025_10_53_56_10347.jpg
/home/pi/Desktop/images/29012025/10/53/image_29012025_10_54_05_9382.jpg
/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_16_10408.jpg
/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_25_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":["1332607769","1332607754","1332607763","1332607736","1332607745","1332607729"],"photo_ids_order":["1332607729","1332607736","1332607745","1332607754","1332607763","1332607769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/64c2d8e7aac60dbbc46b0144e66f6271.jpg","text":"TemporaryFile(/tmp/multipartBody2138772441959325570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144533328,"filename":"image_29012025_10_54_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/29/e613292798ccc19bf8ccf59069edcf4b.jpg","text":"TemporaryFile(/tmp/multipartBody4383976663702716848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144533328,"filename":"image_29012025_10_54_05_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/29/4667e16b45688ab1ba1d848cb7b93dac.jpg","text":"TemporaryFile(/tmp/multipartBody9049241807395029927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144533328,"filename":"image_29012025_10_54_16_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/29/5e19de0a289d6a8b9af29ec7404e6333.jpg","text":"TemporaryFile(/tmp/multipartBody112444339985254736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144533328,"filename":"image_29012025_10_53_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/29/592e71420b5119b234437a851c6a112f.jpg","text":"TemporaryFile(/tmp/multipartBody8553804315737252423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144533328,"filename":"image_29012025_10_53_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/29/908afea68b8e214bb01630bb1dceab59.jpg","text":"TemporaryFile(/tmp/multipartBody3312265384690417348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144533328,"filename":"image_29012025_10_53_35_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332607745","file1":"1332607736","file0":"1332607729","file4":"1332607763","file5":"1332607769","file3":"1332607754"},"map_files_photo_id_array":[{"photo_id":"1332607769","filename":"file5"},{"photo_id":"1332607745","filename":"file2"},{"photo_id":"1332607763","filename":"file4"},{"photo_id":"1332607736","filename":"file1"},{"photo_id":"1332607729","filename":"file0"},{"photo_id":"1332607754","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332607769":["hashtag1","hashtag2"]},{"1332607754":["hashtag1","hashtag2"]},{"1332607763":["hashtag1","hashtag2"]},{"1332607736":["hashtag1","hashtag2"]},{"1332607745":["hashtag1","hashtag2"]},{"1332607729":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332607769, 1332607754, 1332607763, 1332607736, 1332607745, 1332607729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.333436012268066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:55:32.671759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_35_10353.jpg', '/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_46_10402.jpg', '/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_55_9454.jpg', '/home/pi/Desktop/images/29012025/10/54/image_29012025_10_55_05_10395.jpg', '/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_15_9337.jpg', '/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_25_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_35_10353.jpg
/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_46_10402.jpg
/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_55_9454.jpg
/home/pi/Desktop/images/29012025/10/54/image_29012025_10_55_05_10395.jpg
/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_15_9337.jpg
/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_25_10381.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.5124354362487793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 10:55:42.621241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_35_10353.jpg', '/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_46_10402.jpg', '/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_55_9454.jpg', '/home/pi/Desktop/images/29012025/10/54/image_29012025_10_55_05_10395.jpg', '/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_15_9337.jpg', '/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_25_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_35_10353.jpg
/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_46_10402.jpg
/home/pi/Desktop/images/29012025/10/54/image_29012025_10_54_55_9454.jpg
/home/pi/Desktop/images/29012025/10/54/image_29012025_10_55_05_10395.jpg
/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_15_9337.jpg
/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_25_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332608000","1332608024","1332607907","1332608020","1332607848","1332608013"],"photo_ids_order":["1332607848","1332607907","1332608000","1332608013","1332608020","1332608024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/71d14f63138653f5a4e899547ccf433d.jpg","text":"TemporaryFile(/tmp/multipartBody4818995600234255499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144603551,"filename":"image_29012025_10_54_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/29/d899be4914c6e59a8bff775c9e80128e.jpg","text":"TemporaryFile(/tmp/multipartBody2413367037991272500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144603551,"filename":"image_29012025_10_55_25_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/29/e408e3d6220cdb3e5792c684a16e32cf.jpg","text":"TemporaryFile(/tmp/multipartBody8890012466650006448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144603551,"filename":"image_29012025_10_54_46_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/29/c69af46b02d053185da8829c5e12be62.jpg","text":"TemporaryFile(/tmp/multipartBody503061317735834845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144603551,"filename":"image_29012025_10_55_15_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/29/c1af0b80d13986961bd37678d6e885db.jpg","text":"TemporaryFile(/tmp/multipartBody613005799603033626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144603551,"filename":"image_29012025_10_54_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/29/6982c555669a0564d62aa5db33dc1b85.jpg","text":"TemporaryFile(/tmp/multipartBody2774467539491042419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144603551,"filename":"image_29012025_10_55_05_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332608000","file1":"1332607907","file0":"1332607848","file4":"1332608020","file5":"1332608024","file3":"1332608013"},"map_files_photo_id_array":[{"photo_id":"1332608024","filename":"file5"},{"photo_id":"1332608000","filename":"file2"},{"photo_id":"1332608020","filename":"file4"},{"photo_id":"1332607907","filename":"file1"},{"photo_id":"1332607848","filename":"file0"},{"photo_id":"1332608013","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332608000":["hashtag1","hashtag2"]},{"1332608024":["hashtag1","hashtag2"]},{"1332607907":["hashtag1","hashtag2"]},{"1332608020":["hashtag1","hashtag2"]},{"1332607848":["hashtag1","hashtag2"]},{"1332608013":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332608000, 1332608024, 1332607907, 1332608020, 1332607848, 1332608013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.050819396972656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:56:32.783881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_36_10349.jpg', '/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_45_9348.jpg', '/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_55_10350.jpg', '/home/pi/Desktop/images/29012025/10/55/image_29012025_10_56_06_10342.jpg', '/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_15_9367.jpg', '/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_25_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_36_10349.jpg
/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_45_9348.jpg
/home/pi/Desktop/images/29012025/10/55/image_29012025_10_55_55_10350.jpg
/home/pi/Desktop/images/29012025/10/55/image_29012025_10_56_06_10342.jpg
/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_15_9367.jpg
/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_25_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":["1332608086","1332608233","1332608245","1332608079","1332608073","1332608285"],"photo_ids_order":["1332608073","1332608079","1332608086","1332608233","1332608245","1332608285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b99b63bd98fd495958b00147241b97d5.jpg","text":"TemporaryFile(/tmp/multipartBody8986210338232701916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144653684,"filename":"image_29012025_10_55_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/29/dd41842937371df23f45016fa2bee227.jpg","text":"TemporaryFile(/tmp/multipartBody2776056051566325234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144653684,"filename":"image_29012025_10_56_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/29/118cdba9360cdbb05978bb73211ee67d.jpg","text":"TemporaryFile(/tmp/multipartBody4994996373006411470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144653684,"filename":"image_29012025_10_56_15_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/29/facd2c24fd65536a317e7114910f23b4.jpg","text":"TemporaryFile(/tmp/multipartBody1715955989145208779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144653684,"filename":"image_29012025_10_55_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/29/9a9a177a41bd5bfff7e19c48a8a03173.jpg","text":"TemporaryFile(/tmp/multipartBody1475289317296198149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144653684,"filename":"image_29012025_10_55_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/29/4dabd5ababdeff8a282d2cca1af65628.jpg","text":"TemporaryFile(/tmp/multipartBody2109980411560374976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144653684,"filename":"image_29012025_10_56_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332608086","file1":"1332608079","file0":"1332608073","file4":"1332608245","file5":"1332608285","file3":"1332608233"},"map_files_photo_id_array":[{"photo_id":"1332608285","filename":"file5"},{"photo_id":"1332608086","filename":"file2"},{"photo_id":"1332608245","filename":"file4"},{"photo_id":"1332608079","filename":"file1"},{"photo_id":"1332608073","filename":"file0"},{"photo_id":"1332608233","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332608086":["hashtag1","hashtag2"]},{"1332608233":["hashtag1","hashtag2"]},{"1332608245":["hashtag1","hashtag2"]},{"1332608079":["hashtag1","hashtag2"]},{"1332608073":["hashtag1","hashtag2"]},{"1332608285":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332608086, 1332608233, 1332608245, 1332608079, 1332608073, 1332608285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14047288894653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 10:57:33.060404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_36_10417.jpg', '/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_45_9422.jpg', '/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_56_10359.jpg', '/home/pi/Desktop/images/29012025/10/56/image_29012025_10_57_05_9319.jpg', '/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_15_10339.jpg', '/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_26_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_36_10417.jpg
/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_45_9422.jpg
/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_56_10359.jpg
/home/pi/Desktop/images/29012025/10/56/image_29012025_10_57_05_9319.jpg
/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_15_10339.jpg
/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_26_10347.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-29 10:59:03.971023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_36_10417.jpg', '/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_45_9422.jpg', '/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_56_10359.jpg', '/home/pi/Desktop/images/29012025/10/56/image_29012025_10_57_05_9319.jpg', '/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_15_10339.jpg', '/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_26_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_36_10417.jpg
/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_45_9422.jpg
/home/pi/Desktop/images/29012025/10/56/image_29012025_10_56_56_10359.jpg
/home/pi/Desktop/images/29012025/10/56/image_29012025_10_57_05_9319.jpg
/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_15_10339.jpg
/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_26_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":["1332608540","1332608528","1332608600","1332608593","1332608535","1332608520"],"photo_ids_order":["1332608520","1332608528","1332608535","1332608540","1332608593","1332608600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c0a9323e37bee3725d9faff86f8a7c27.jpg","text":"TemporaryFile(/tmp/multipartBody3669627103188627072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144805073,"filename":"image_29012025_10_57_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/29/b1e3bd0aeb544279df3ad9d19755c5f3.jpg","text":"TemporaryFile(/tmp/multipartBody3077170731956214581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144805073,"filename":"image_29012025_10_56_45_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/29/f5db897afffa6fc05d48bc986da7b11b.jpg","text":"TemporaryFile(/tmp/multipartBody4339490313222054228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144805073,"filename":"image_29012025_10_57_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/29/bf7d334857c58f4c2030c27422920996.jpg","text":"TemporaryFile(/tmp/multipartBody5678769111442068086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144805073,"filename":"image_29012025_10_57_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/29/9146c0dfc767f74ecc9a31e63daa68bb.jpg","text":"TemporaryFile(/tmp/multipartBody8540975170221237143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144805073,"filename":"image_29012025_10_56_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/29/f919fe74a75e157bc2d5d77c1a18a80c.jpg","text":"TemporaryFile(/tmp/multipartBody2764293475434313832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144805073,"filename":"image_29012025_10_56_36_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332608535","file1":"1332608528","file0":"1332608520","file4":"1332608593","file5":"1332608600","file3":"1332608540"},"map_files_photo_id_array":[{"photo_id":"1332608600","filename":"file5"},{"photo_id":"1332608535","filename":"file2"},{"photo_id":"1332608593","filename":"file4"},{"photo_id":"1332608528","filename":"file1"},{"photo_id":"1332608520","filename":"file0"},{"photo_id":"1332608540","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332608540":["hashtag1","hashtag2"]},{"1332608528":["hashtag1","hashtag2"]},{"1332608600":["hashtag1","hashtag2"]},{"1332608593":["hashtag1","hashtag2"]},{"1332608535":["hashtag1","hashtag2"]},{"1332608520":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332608540, 1332608528, 1332608600, 1332608593, 1332608535, 1332608520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.984334230422974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 10:59:52.796715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_26_10367.jpg', '/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_35_9428.jpg', '/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_45_10357.jpg', '/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_56_10357.jpg', '/home/pi/Desktop/images/24012025/20/29/image_24012025_20_30_05_9377.jpg', '/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_16_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_26_10367.jpg
/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_35_9428.jpg
/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_45_10357.jpg
/home/pi/Desktop/images/24012025/20/29/image_24012025_20_29_56_10357.jpg
/home/pi/Desktop/images/24012025/20/29/image_24012025_20_30_05_9377.jpg
/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_16_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":["1332608633","1332608647","1332608637","1332608622","1332608625","1332608628"],"photo_ids_order":["1332608622","1332608625","1332608628","1332608633","1332608637","1332608647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e464ace2debc13b81d964c1bd23df702.jpg","text":"TemporaryFile(/tmp/multipartBody2705900941945745875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144854880,"filename":"image_24012025_20_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/29/f67bdac11bfc92f7c289e71e9464bd1d.jpg","text":"TemporaryFile(/tmp/multipartBody7306871213018824946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144854880,"filename":"image_24012025_20_30_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/29/73e6f494f69bde8981c120be09544127.jpg","text":"TemporaryFile(/tmp/multipartBody6072691244216104482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144854880,"filename":"image_24012025_20_30_05_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/29/427421f629e4ff7b0084bb44f9679242.jpg","text":"TemporaryFile(/tmp/multipartBody518675244253915500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144854880,"filename":"image_24012025_20_29_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/29/7e25fbaf0d2bb6569f087faf974ea449.jpg","text":"TemporaryFile(/tmp/multipartBody4634004187308888644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144854880,"filename":"image_24012025_20_29_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/29/b1ddadd040c18e3a80865a6bd82a51dc.jpg","text":"TemporaryFile(/tmp/multipartBody4586637901245140133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144854880,"filename":"image_24012025_20_29_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332608628","file1":"1332608625","file0":"1332608622","file4":"1332608637","file5":"1332608647","file3":"1332608633"},"map_files_photo_id_array":[{"photo_id":"1332608647","filename":"file5"},{"photo_id":"1332608628","filename":"file2"},{"photo_id":"1332608637","filename":"file4"},{"photo_id":"1332608625","filename":"file1"},{"photo_id":"1332608622","filename":"file0"},{"photo_id":"1332608633","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332608633":["hashtag1","hashtag2"]},{"1332608647":["hashtag1","hashtag2"]},{"1332608637":["hashtag1","hashtag2"]},{"1332608622":["hashtag1","hashtag2"]},{"1332608625":["hashtag1","hashtag2"]},{"1332608628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332608633, 1332608647, 1332608637, 1332608622, 1332608625, 1332608628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.420703172683716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 11:00:43.007391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_35_9347.jpg', '/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_45_10375.jpg', '/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_56_10409.jpg', '/home/pi/Desktop/images/29012025/10/57/image_29012025_10_58_05_9423.jpg', '/home/pi/Desktop/images/29012025/10/58/image_29012025_10_58_15_10404.jpg', '/home/pi/Desktop/images/29012025/10/58/image_29012025_10_58_25_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_35_9347.jpg
/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_45_10375.jpg
/home/pi/Desktop/images/29012025/10/57/image_29012025_10_57_56_10409.jpg
/home/pi/Desktop/images/29012025/10/57/image_29012025_10_58_05_9423.jpg
/home/pi/Desktop/images/29012025/10/58/image_29012025_10_58_15_10404.jpg
/home/pi/Desktop/images/29012025/10/58/image_29012025_10_58_25_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":["1332608669","1332608689","1332608674","1332608683","1332608679","1332608693"],"photo_ids_order":["1332608669","1332608674","1332608679","1332608683","1332608689","1332608693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6d314a12b632607fd4acf7bf15797bf0.jpg","text":"TemporaryFile(/tmp/multipartBody5330381680564863266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144903917,"filename":"image_29012025_10_57_35_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/29/64ee819f9de99adbf45e176fdd85b34d.jpg","text":"TemporaryFile(/tmp/multipartBody984155574725823759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144903917,"filename":"image_29012025_10_58_15_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/29/8f7e05f571fa991d010186cbd83236fe.jpg","text":"TemporaryFile(/tmp/multipartBody6284617385735359746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144903917,"filename":"image_29012025_10_57_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/29/78ec74b0b7f00781990ff72777bd6e9d.jpg","text":"TemporaryFile(/tmp/multipartBody6676624866153839478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144903917,"filename":"image_29012025_10_58_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/29/304cb2d4732381c638b2b01a61d2c0c3.jpg","text":"TemporaryFile(/tmp/multipartBody3074800819452906488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144903917,"filename":"image_29012025_10_57_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/29/39b8ece3eb6de30bfe188a39f5f983b8.jpg","text":"TemporaryFile(/tmp/multipartBody1523952385318688655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144903917,"filename":"image_29012025_10_58_25_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332608679","file1":"1332608674","file0":"1332608669","file4":"1332608689","file5":"1332608693","file3":"1332608683"},"map_files_photo_id_array":[{"photo_id":"1332608693","filename":"file5"},{"photo_id":"1332608679","filename":"file2"},{"photo_id":"1332608689","filename":"file4"},{"photo_id":"1332608674","filename":"file1"},{"photo_id":"1332608669","filename":"file0"},{"photo_id":"1332608683","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332608669":["hashtag1","hashtag2"]},{"1332608689":["hashtag1","hashtag2"]},{"1332608674":["hashtag1","hashtag2"]},{"1332608683":["hashtag1","hashtag2"]},{"1332608679":["hashtag1","hashtag2"]},{"1332608693":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332608669, 1332608689, 1332608674, 1332608683, 1332608679, 1332608693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.457863569259644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:01:32.217246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/58/image_29012025_10_58_35_10358.jpg', '/home/pi/Desktop/images/29012025/10/58/image_29012025_10_58_46_10353.jpg', '/home/pi/Desktop/images/29012025/10/58/image_29012025_10_58_55_9376.jpg', '/home/pi/Desktop/images/29012025/10/58/image_29012025_10_59_05_10408.jpg', '/home/pi/Desktop/images/29012025/10/59/image_29012025_10_59_16_10362.jpg', '/home/pi/Desktop/images/29012025/10/59/image_29012025_10_59_25_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/58/image_29012025_10_58_35_10358.jpg
/home/pi/Desktop/images/29012025/10/58/image_29012025_10_58_46_10353.jpg
/home/pi/Desktop/images/29012025/10/58/image_29012025_10_58_55_9376.jpg
/home/pi/Desktop/images/29012025/10/58/image_29012025_10_59_05_10408.jpg
/home/pi/Desktop/images/29012025/10/59/image_29012025_10_59_16_10362.jpg
/home/pi/Desktop/images/29012025/10/59/image_29012025_10_59_25_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":["1332608747","1332608714","1332608761","1332608737","1332608728","1332608754"],"photo_ids_order":["1332608714","1332608728","1332608737","1332608747","1332608754","1332608761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/85b5c7b06d9b9f87f41d0e587c86fa2c.jpg","text":"TemporaryFile(/tmp/multipartBody7546642910814895676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144953129,"filename":"image_29012025_10_59_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/29/2840e4987fa4981085dcbdd551978abe.jpg","text":"TemporaryFile(/tmp/multipartBody6296199326744410368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144953129,"filename":"image_29012025_10_58_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/29/5a8bb8fd2f66edc5bdd2ecc978c2f964.jpg","text":"TemporaryFile(/tmp/multipartBody4135213017997957688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144953129,"filename":"image_29012025_10_59_25_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/29/b5f01a0952689270fbcb2cc5e1d26b9d.jpg","text":"TemporaryFile(/tmp/multipartBody3147522210659464547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144953129,"filename":"image_29012025_10_58_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/29/f91bdbcac62e8d7b27079b9c88ee10b9.jpg","text":"TemporaryFile(/tmp/multipartBody6424153413325144675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144953129,"filename":"image_29012025_10_58_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/29/f1e877904baa30f15fd8ec9829fe6bec.jpg","text":"TemporaryFile(/tmp/multipartBody5715360099263143419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738144953129,"filename":"image_29012025_10_59_16_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332608737","file1":"1332608728","file0":"1332608714","file4":"1332608754","file5":"1332608761","file3":"1332608747"},"map_files_photo_id_array":[{"photo_id":"1332608761","filename":"file5"},{"photo_id":"1332608737","filename":"file2"},{"photo_id":"1332608754","filename":"file4"},{"photo_id":"1332608728","filename":"file1"},{"photo_id":"1332608714","filename":"file0"},{"photo_id":"1332608747","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332608747":["hashtag1","hashtag2"]},{"1332608714":["hashtag1","hashtag2"]},{"1332608761":["hashtag1","hashtag2"]},{"1332608737":["hashtag1","hashtag2"]},{"1332608728":["hashtag1","hashtag2"]},{"1332608754":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332608747, 1332608714, 1332608761, 1332608737, 1332608728, 1332608754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35858392715454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:02:32.440051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/10/59/image_29012025_10_59_36_10373.jpg', '/home/pi/Desktop/images/29012025/10/59/image_29012025_10_59_45_9400.jpg', '/home/pi/Desktop/images/29012025/10/59/image_29012025_10_59_55_10356.jpg', '/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_16_10080.jpg', '/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_26_10467.jpg', '/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_37_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/10/59/image_29012025_10_59_36_10373.jpg
/home/pi/Desktop/images/29012025/10/59/image_29012025_10_59_45_9400.jpg
/home/pi/Desktop/images/29012025/10/59/image_29012025_10_59_55_10356.jpg
/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_16_10080.jpg
/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_26_10467.jpg
/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_37_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332609604","1332608845","1332608803","1332608823","1332609182","1332609356"],"photo_ids_order":["1332608803","1332608823","1332608845","1332609182","1332609356","1332609604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9e3198f688c9f7a71f8c184a8dbe9cfb.jpg","text":"TemporaryFile(/tmp/multipartBody168348888013704958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145013350,"filename":"image_29012025_11_00_37_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/29/bf9de49f366ee67a0d8d5d448fbaf1be.jpg","text":"TemporaryFile(/tmp/multipartBody7932505383978447595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145013350,"filename":"image_29012025_10_59_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/29/7f6d1521332e070a32252fa8b278286c.jpg","text":"TemporaryFile(/tmp/multipartBody3135536079590530749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145013350,"filename":"image_29012025_10_59_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/29/37380d469e4bfa0d19e3e9bc4fc536fb.jpg","text":"TemporaryFile(/tmp/multipartBody8300815376613164893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145013350,"filename":"image_29012025_10_59_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/29/ba66c2b2939a7a38e9659bdfe9cf6166.jpg","text":"TemporaryFile(/tmp/multipartBody983324215027182500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145013350,"filename":"image_29012025_11_00_16_10080.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/52fbd3a35e549b11ddd4a1351c707c22.jpg","text":"TemporaryFile(/tmp/multipartBody657835087320425006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145013350,"filename":"image_29012025_11_00_26_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332608845","file1":"1332608823","file0":"1332608803","file4":"1332609356","file5":"1332609604","file3":"1332609182"},"map_files_photo_id_array":[{"photo_id":"1332609604","filename":"file5"},{"photo_id":"1332608845","filename":"file2"},{"photo_id":"1332609356","filename":"file4"},{"photo_id":"1332608823","filename":"file1"},{"photo_id":"1332608803","filename":"file0"},{"photo_id":"1332609182","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332609604":["hashtag1","hashtag2"]},{"1332608845":["hashtag1","hashtag2"]},{"1332608803":["hashtag1","hashtag2"]},{"1332608823":["hashtag1","hashtag2"]},{"1332609182":["hashtag1","hashtag2"]},{"1332609356":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332609604, 1332608845, 1332608803, 1332608823, 1332609182, 1332609356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.740795373916626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:03:32.727449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_46_9451.jpg', '/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_57_10440.jpg', '/home/pi/Desktop/images/29012025/11/00/image_29012025_11_01_06_9345.jpg', '/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_16_10333.jpg', '/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_27_10437.jpg', '/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_36_9521.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_46_9451.jpg
/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_57_10440.jpg
/home/pi/Desktop/images/29012025/11/00/image_29012025_11_01_06_9345.jpg
/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_16_10333.jpg
/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_27_10437.jpg
/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_36_9521.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.512484073638916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 11:03:42.655676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_46_9451.jpg', '/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_57_10440.jpg', '/home/pi/Desktop/images/29012025/11/00/image_29012025_11_01_06_9345.jpg', '/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_16_10333.jpg', '/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_27_10437.jpg', '/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_36_9521.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_46_9451.jpg
/home/pi/Desktop/images/29012025/11/00/image_29012025_11_00_57_10440.jpg
/home/pi/Desktop/images/29012025/11/00/image_29012025_11_01_06_9345.jpg
/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_16_10333.jpg
/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_27_10437.jpg
/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_36_9521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332610687","1332610708","1332610702","1332610711","1332610698","1332610676"],"photo_ids_order":["1332610676","1332610687","1332610698","1332610702","1332610708","1332610711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5c9059aa2eaa96903f977d917663891e.jpg","text":"TemporaryFile(/tmp/multipartBody7006991876641081875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145083592,"filename":"image_29012025_11_00_57_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/29/c71d70c6cbaacbaf560841df72d35c8c.jpg","text":"TemporaryFile(/tmp/multipartBody8890081855914407575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145083592,"filename":"image_29012025_11_01_27_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/29/869d5fff55ce5101ecd77c19a0159639.jpg","text":"TemporaryFile(/tmp/multipartBody1477096722762168769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145083592,"filename":"image_29012025_11_01_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/29/955b5e7c339c4b053a332a3838e4a864.jpg","text":"TemporaryFile(/tmp/multipartBody5477038943897307580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145083592,"filename":"image_29012025_11_01_36_9521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e852c7d2ab274b3c61138b7216c0f8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4338129442829037493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145083592,"filename":"image_29012025_11_01_06_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/29/8c976f429f974a9eeae58a9eeab87aef.jpg","text":"TemporaryFile(/tmp/multipartBody712749425166182512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145083592,"filename":"image_29012025_11_00_46_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332610698","file1":"1332610687","file0":"1332610676","file4":"1332610708","file5":"1332610711","file3":"1332610702"},"map_files_photo_id_array":[{"photo_id":"1332610711","filename":"file5"},{"photo_id":"1332610698","filename":"file2"},{"photo_id":"1332610708","filename":"file4"},{"photo_id":"1332610687","filename":"file1"},{"photo_id":"1332610676","filename":"file0"},{"photo_id":"1332610702","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332610687":["hashtag1","hashtag2"]},{"1332610708":["hashtag1","hashtag2"]},{"1332610702":["hashtag1","hashtag2"]},{"1332610711":["hashtag1","hashtag2"]},{"1332610698":["hashtag1","hashtag2"]},{"1332610676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332610687, 1332610708, 1332610702, 1332610711, 1332610698, 1332610676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.74898171424866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:04:32.842138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_47_10352.jpg', '/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_56_9353.jpg', '/home/pi/Desktop/images/29012025/11/01/image_29012025_11_02_06_10377.jpg', '/home/pi/Desktop/images/29012025/11/02/image_29012025_11_02_17_10357.jpg', '/home/pi/Desktop/images/29012025/11/02/image_29012025_11_02_26_9429.jpg', '/home/pi/Desktop/images/29012025/11/02/image_29012025_11_02_36_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_47_10352.jpg
/home/pi/Desktop/images/29012025/11/01/image_29012025_11_01_56_9353.jpg
/home/pi/Desktop/images/29012025/11/01/image_29012025_11_02_06_10377.jpg
/home/pi/Desktop/images/29012025/11/02/image_29012025_11_02_17_10357.jpg
/home/pi/Desktop/images/29012025/11/02/image_29012025_11_02_26_9429.jpg
/home/pi/Desktop/images/29012025/11/02/image_29012025_11_02_36_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":["1332610724","1332611275","1332611026","1332611205","1332610734","1332611228"],"photo_ids_order":["1332610724","1332610734","1332611026","1332611205","1332611228","1332611275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/03f004703e98fdf7ab3bb9c8d614aed8.jpg","text":"TemporaryFile(/tmp/multipartBody2323550603075251705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145133742,"filename":"image_29012025_11_01_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/29/3360d366c030172a6934fca80aaa3776.jpg","text":"TemporaryFile(/tmp/multipartBody9181209768820523239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145133742,"filename":"image_29012025_11_02_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/29/9668acd4e3b306cab3ea486cf2213bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6721980674176430081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145133742,"filename":"image_29012025_11_02_06_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/29/09e9eabaff8a059e011fe5b82d4f2815.jpg","text":"TemporaryFile(/tmp/multipartBody2252949361951027262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145133742,"filename":"image_29012025_11_02_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/29/8f8293183ed8dc0749736337856876f7.jpg","text":"TemporaryFile(/tmp/multipartBody7989445006327422538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145133742,"filename":"image_29012025_11_01_56_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/29/3c233f18414de946777d5029af114bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2650814815768037296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145133742,"filename":"image_29012025_11_02_26_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332611026","file1":"1332610734","file0":"1332610724","file4":"1332611228","file5":"1332611275","file3":"1332611205"},"map_files_photo_id_array":[{"photo_id":"1332611275","filename":"file5"},{"photo_id":"1332611026","filename":"file2"},{"photo_id":"1332611228","filename":"file4"},{"photo_id":"1332610734","filename":"file1"},{"photo_id":"1332610724","filename":"file0"},{"photo_id":"1332611205","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332610724":["hashtag1","hashtag2"]},{"1332611275":["hashtag1","hashtag2"]},{"1332611026":["hashtag1","hashtag2"]},{"1332611205":["hashtag1","hashtag2"]},{"1332610734":["hashtag1","hashtag2"]},{"1332611228":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332610724, 1332611275, 1332611026, 1332611205, 1332610734, 1332611228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.507367849349976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:05:33.107099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/02/image_29012025_11_02_46_9338.jpg', '/home/pi/Desktop/images/29012025/11/02/image_29012025_11_02_56_10446.jpg', '/home/pi/Desktop/images/29012025/11/02/image_29012025_11_03_07_10351.jpg', '/home/pi/Desktop/images/29012025/11/03/image_29012025_11_03_16_9444.jpg', '/home/pi/Desktop/images/29012025/11/03/image_29012025_11_03_26_10368.jpg', '/home/pi/Desktop/images/29012025/11/03/image_29012025_11_03_36_9387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/02/image_29012025_11_02_46_9338.jpg
/home/pi/Desktop/images/29012025/11/02/image_29012025_11_02_56_10446.jpg
/home/pi/Desktop/images/29012025/11/02/image_29012025_11_03_07_10351.jpg
/home/pi/Desktop/images/29012025/11/03/image_29012025_11_03_16_9444.jpg
/home/pi/Desktop/images/29012025/11/03/image_29012025_11_03_26_10368.jpg
/home/pi/Desktop/images/29012025/11/03/image_29012025_11_03_36_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":["1332611414","1332611408","1332611419","1332611433","1332611456","1332611438"],"photo_ids_order":["1332611408","1332611414","1332611419","1332611433","1332611438","1332611456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bb85cfa3eba706b9af24657544e00da5.jpg","text":"TemporaryFile(/tmp/multipartBody5316784757123110066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145194011,"filename":"image_29012025_11_02_56_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/29/c3f61adc89e54d0a2197642db8c0dea2.jpg","text":"TemporaryFile(/tmp/multipartBody8529053508639759461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145194011,"filename":"image_29012025_11_02_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/29/dff4c07c593366d4f7bb00b290826178.jpg","text":"TemporaryFile(/tmp/multipartBody3179930863680380836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145194011,"filename":"image_29012025_11_03_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/29/197560808d7c6facc55db3d8cdd4ccf4.jpg","text":"TemporaryFile(/tmp/multipartBody9156951619327293163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145194011,"filename":"image_29012025_11_03_16_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/29/051d6c0cbeafc773bc104fd02ada7683.jpg","text":"TemporaryFile(/tmp/multipartBody7447377762726113398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145194011,"filename":"image_29012025_11_03_36_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/29/becca7d79c8623f9ce093939239584df.jpg","text":"TemporaryFile(/tmp/multipartBody8746916893795199275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145194011,"filename":"image_29012025_11_03_26_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332611419","file1":"1332611414","file0":"1332611408","file4":"1332611438","file5":"1332611456","file3":"1332611433"},"map_files_photo_id_array":[{"photo_id":"1332611456","filename":"file5"},{"photo_id":"1332611419","filename":"file2"},{"photo_id":"1332611438","filename":"file4"},{"photo_id":"1332611414","filename":"file1"},{"photo_id":"1332611408","filename":"file0"},{"photo_id":"1332611433","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332611414":["hashtag1","hashtag2"]},{"1332611408":["hashtag1","hashtag2"]},{"1332611419":["hashtag1","hashtag2"]},{"1332611433":["hashtag1","hashtag2"]},{"1332611456":["hashtag1","hashtag2"]},{"1332611438":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332611414, 1332611408, 1332611419, 1332611433, 1332611456, 1332611438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.993072509765625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:06:32.227267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/03/image_29012025_11_03_46_10448.jpg', '/home/pi/Desktop/images/29012025/11/03/image_29012025_11_03_57_10368.jpg', '/home/pi/Desktop/images/29012025/11/03/image_29012025_11_04_06_9477.jpg', '/home/pi/Desktop/images/29012025/11/04/image_29012025_11_04_16_10352.jpg', '/home/pi/Desktop/images/29012025/11/04/image_29012025_11_04_26_9354.jpg', '/home/pi/Desktop/images/29012025/11/04/image_29012025_11_04_36_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/03/image_29012025_11_03_46_10448.jpg
/home/pi/Desktop/images/29012025/11/03/image_29012025_11_03_57_10368.jpg
/home/pi/Desktop/images/29012025/11/03/image_29012025_11_04_06_9477.jpg
/home/pi/Desktop/images/29012025/11/04/image_29012025_11_04_16_10352.jpg
/home/pi/Desktop/images/29012025/11/04/image_29012025_11_04_26_9354.jpg
/home/pi/Desktop/images/29012025/11/04/image_29012025_11_04_36_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":["1332611550","1332611538","1332611567","1332611534","1332611522","1332611516"],"photo_ids_order":["1332611516","1332611522","1332611534","1332611538","1332611550","1332611567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7afc1e0ea36255c3913891cf8689fab1.jpg","text":"TemporaryFile(/tmp/multipartBody2585455155655561855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145253143,"filename":"image_29012025_11_04_26_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/29/b413fcc09dae084e62cc79c6a7957f3a.jpg","text":"TemporaryFile(/tmp/multipartBody3542542347087572947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145253143,"filename":"image_29012025_11_04_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/29/3c791b8a379f9d6654d44f9c4348bc17.jpg","text":"TemporaryFile(/tmp/multipartBody6770255157387189803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145253143,"filename":"image_29012025_11_04_36_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/29/af9af17be79e80547a99fe7a25cf16e6.jpg","text":"TemporaryFile(/tmp/multipartBody4877768847172384497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145253143,"filename":"image_29012025_11_04_06_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/29/bc6a7558dbd0541f7abc8ce9b6fda651.jpg","text":"TemporaryFile(/tmp/multipartBody4168778484345355807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145253143,"filename":"image_29012025_11_03_57_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/29/61ab4dea88727de9822c8d59a42ec6b0.jpg","text":"TemporaryFile(/tmp/multipartBody9122657168189599744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145253143,"filename":"image_29012025_11_03_46_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332611534","file1":"1332611522","file0":"1332611516","file4":"1332611550","file5":"1332611567","file3":"1332611538"},"map_files_photo_id_array":[{"photo_id":"1332611567","filename":"file5"},{"photo_id":"1332611534","filename":"file2"},{"photo_id":"1332611550","filename":"file4"},{"photo_id":"1332611522","filename":"file1"},{"photo_id":"1332611516","filename":"file0"},{"photo_id":"1332611538","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332611550":["hashtag1","hashtag2"]},{"1332611538":["hashtag1","hashtag2"]},{"1332611567":["hashtag1","hashtag2"]},{"1332611534":["hashtag1","hashtag2"]},{"1332611522":["hashtag1","hashtag2"]},{"1332611516":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332611550, 1332611538, 1332611567, 1332611534, 1332611522, 1332611516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.539764404296875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:07:32.414900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/04/image_29012025_11_04_47_10352.jpg', '/home/pi/Desktop/images/29012025/11/04/image_29012025_11_04_56_9457.jpg', '/home/pi/Desktop/images/29012025/11/04/image_29012025_11_05_06_10397.jpg', '/home/pi/Desktop/images/29012025/11/05/image_29012025_11_05_16_9352.jpg', '/home/pi/Desktop/images/29012025/11/05/image_29012025_11_05_26_10417.jpg', '/home/pi/Desktop/images/29012025/11/05/image_29012025_11_05_37_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/04/image_29012025_11_04_47_10352.jpg
/home/pi/Desktop/images/29012025/11/04/image_29012025_11_04_56_9457.jpg
/home/pi/Desktop/images/29012025/11/04/image_29012025_11_05_06_10397.jpg
/home/pi/Desktop/images/29012025/11/05/image_29012025_11_05_16_9352.jpg
/home/pi/Desktop/images/29012025/11/05/image_29012025_11_05_26_10417.jpg
/home/pi/Desktop/images/29012025/11/05/image_29012025_11_05_37_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":["1332611679","1332611634","1332611610","1332611675","1332611660","1332611654"],"photo_ids_order":["1332611610","1332611634","1332611654","1332611660","1332611675","1332611679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9149ebcd6cb6b6a696b4ea4681d48d31.jpg","text":"TemporaryFile(/tmp/multipartBody7578963977587551843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145313328,"filename":"image_29012025_11_05_37_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/29/4dcf761326180e8febeff03b95efca38.jpg","text":"TemporaryFile(/tmp/multipartBody8147363256462247205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145313328,"filename":"image_29012025_11_04_56_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/29/5511b30810e7a45714677f744018346c.jpg","text":"TemporaryFile(/tmp/multipartBody8461595071461430840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145313328,"filename":"image_29012025_11_04_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/29/a63ba2b046a53dd0ec21628ce336c878.jpg","text":"TemporaryFile(/tmp/multipartBody619836535880853260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145313328,"filename":"image_29012025_11_05_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/29/5d24e2df281e7ec8f36332d5575018bf.jpg","text":"TemporaryFile(/tmp/multipartBody6533748806274415447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145313328,"filename":"image_29012025_11_05_16_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/29/c36ba644dc8c244f9dbc26c6ced1fd7b.jpg","text":"TemporaryFile(/tmp/multipartBody5876076581926498475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145313328,"filename":"image_29012025_11_05_06_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332611654","file1":"1332611634","file0":"1332611610","file4":"1332611675","file5":"1332611679","file3":"1332611660"},"map_files_photo_id_array":[{"photo_id":"1332611679","filename":"file5"},{"photo_id":"1332611654","filename":"file2"},{"photo_id":"1332611675","filename":"file4"},{"photo_id":"1332611634","filename":"file1"},{"photo_id":"1332611610","filename":"file0"},{"photo_id":"1332611660","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332611679":["hashtag1","hashtag2"]},{"1332611634":["hashtag1","hashtag2"]},{"1332611610":["hashtag1","hashtag2"]},{"1332611675":["hashtag1","hashtag2"]},{"1332611660":["hashtag1","hashtag2"]},{"1332611654":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332611679, 1332611634, 1332611610, 1332611675, 1332611660, 1332611654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39687466621399 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:08:32.653552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/05/image_29012025_11_05_46_9349.jpg', '/home/pi/Desktop/images/29012025/11/05/image_29012025_11_05_56_10418.jpg', '/home/pi/Desktop/images/29012025/11/05/image_29012025_11_06_06_9393.jpg', '/home/pi/Desktop/images/29012025/11/06/image_29012025_11_06_16_10376.jpg', '/home/pi/Desktop/images/29012025/11/06/image_29012025_11_06_26_10346.jpg', '/home/pi/Desktop/images/29012025/11/06/image_29012025_11_06_36_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/05/image_29012025_11_05_46_9349.jpg
/home/pi/Desktop/images/29012025/11/05/image_29012025_11_05_56_10418.jpg
/home/pi/Desktop/images/29012025/11/05/image_29012025_11_06_06_9393.jpg
/home/pi/Desktop/images/29012025/11/06/image_29012025_11_06_16_10376.jpg
/home/pi/Desktop/images/29012025/11/06/image_29012025_11_06_26_10346.jpg
/home/pi/Desktop/images/29012025/11/06/image_29012025_11_06_36_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":["1332611773","1332611803","1332611812","1332611781","1332611808","1332611785"],"photo_ids_order":["1332611773","1332611781","1332611785","1332611803","1332611808","1332611812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/442390282ed2362afb208660ce6deb38.jpg","text":"TemporaryFile(/tmp/multipartBody865547503543814671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145373583,"filename":"image_29012025_11_05_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/29/9664fc4878a3cec664a0498846f42ad7.jpg","text":"TemporaryFile(/tmp/multipartBody4824734612506966664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145373583,"filename":"image_29012025_11_06_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/29/247675f2980abdac40d1f548471ea130.jpg","text":"TemporaryFile(/tmp/multipartBody6139799790956158167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145373583,"filename":"image_29012025_11_06_36_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/29/475442dae356b5f00019abec5ae50a3a.jpg","text":"TemporaryFile(/tmp/multipartBody2277626067081672711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145373583,"filename":"image_29012025_11_05_56_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/29/ec987035feb8bb6594afd5b6f6dda25c.jpg","text":"TemporaryFile(/tmp/multipartBody2858489587587504813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145373583,"filename":"image_29012025_11_06_26_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/29/2e7eae7cafd299f42076dbb4dfbb7a60.jpg","text":"TemporaryFile(/tmp/multipartBody2598026147646783149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145373583,"filename":"image_29012025_11_06_06_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332611785","file1":"1332611781","file0":"1332611773","file4":"1332611808","file5":"1332611812","file3":"1332611803"},"map_files_photo_id_array":[{"photo_id":"1332611812","filename":"file5"},{"photo_id":"1332611785","filename":"file2"},{"photo_id":"1332611808","filename":"file4"},{"photo_id":"1332611781","filename":"file1"},{"photo_id":"1332611773","filename":"file0"},{"photo_id":"1332611803","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332611773":["hashtag1","hashtag2"]},{"1332611803":["hashtag1","hashtag2"]},{"1332611812":["hashtag1","hashtag2"]},{"1332611781":["hashtag1","hashtag2"]},{"1332611808":["hashtag1","hashtag2"]},{"1332611785":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332611773, 1332611803, 1332611812, 1332611781, 1332611808, 1332611785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.816704511642456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:09:32.938612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/06/image_29012025_11_06_46_10377.jpg', '/home/pi/Desktop/images/29012025/11/06/image_29012025_11_06_57_10358.jpg', '/home/pi/Desktop/images/29012025/11/06/image_29012025_11_07_06_9424.jpg', '/home/pi/Desktop/images/29012025/11/07/image_29012025_11_07_16_10346.jpg', '/home/pi/Desktop/images/29012025/11/07/image_29012025_11_07_26_9412.jpg', '/home/pi/Desktop/images/29012025/11/07/image_29012025_11_07_36_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/06/image_29012025_11_06_46_10377.jpg
/home/pi/Desktop/images/29012025/11/06/image_29012025_11_06_57_10358.jpg
/home/pi/Desktop/images/29012025/11/06/image_29012025_11_07_06_9424.jpg
/home/pi/Desktop/images/29012025/11/07/image_29012025_11_07_16_10346.jpg
/home/pi/Desktop/images/29012025/11/07/image_29012025_11_07_26_9412.jpg
/home/pi/Desktop/images/29012025/11/07/image_29012025_11_07_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":["1332611953","1332611857","1332611851","1332611961","1332611880","1332611957"],"photo_ids_order":["1332611851","1332611857","1332611880","1332611953","1332611957","1332611961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9b09490f146cc472bedb0d6e85073e1b.jpg","text":"TemporaryFile(/tmp/multipartBody8153276083023414536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145433857,"filename":"image_29012025_11_07_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/29/34ca97b3c0e1dc3eba4f629746847964.jpg","text":"TemporaryFile(/tmp/multipartBody6562389851694401506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145433857,"filename":"image_29012025_11_06_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/29/c57a1b54de40e2dee75285d7e1026a5e.jpg","text":"TemporaryFile(/tmp/multipartBody744090609310553667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145433857,"filename":"image_29012025_11_06_46_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/29/daf07f6fe6681aaf0a0483896378e05c.jpg","text":"TemporaryFile(/tmp/multipartBody6564546195170258455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145433857,"filename":"image_29012025_11_07_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/29/96af45b9346ab35164b360eb2aafa4cb.jpg","text":"TemporaryFile(/tmp/multipartBody2215530258012187505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145433857,"filename":"image_29012025_11_07_06_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/29/7b908bdb5440e40bde18a6adafad051f.jpg","text":"TemporaryFile(/tmp/multipartBody3811593244792498995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145433857,"filename":"image_29012025_11_07_26_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332611880","file1":"1332611857","file0":"1332611851","file4":"1332611957","file5":"1332611961","file3":"1332611953"},"map_files_photo_id_array":[{"photo_id":"1332611961","filename":"file5"},{"photo_id":"1332611880","filename":"file2"},{"photo_id":"1332611957","filename":"file4"},{"photo_id":"1332611857","filename":"file1"},{"photo_id":"1332611851","filename":"file0"},{"photo_id":"1332611953","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332611953":["hashtag1","hashtag2"]},{"1332611857":["hashtag1","hashtag2"]},{"1332611851":["hashtag1","hashtag2"]},{"1332611961":["hashtag1","hashtag2"]},{"1332611880":["hashtag1","hashtag2"]},{"1332611957":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332611953, 1332611857, 1332611851, 1332611961, 1332611880, 1332611957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30396127700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:10:33.290609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/07/image_29012025_11_07_47_10400.jpg', '/home/pi/Desktop/images/29012025/11/07/image_29012025_11_07_56_9337.jpg', '/home/pi/Desktop/images/29012025/11/07/image_29012025_11_08_06_10414.jpg', '/home/pi/Desktop/images/29012025/11/08/image_29012025_11_08_17_10346.jpg', '/home/pi/Desktop/images/29012025/11/08/image_29012025_11_08_26_9429.jpg', '/home/pi/Desktop/images/29012025/11/08/image_29012025_11_08_36_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/07/image_29012025_11_07_47_10400.jpg
/home/pi/Desktop/images/29012025/11/07/image_29012025_11_07_56_9337.jpg
/home/pi/Desktop/images/29012025/11/07/image_29012025_11_08_06_10414.jpg
/home/pi/Desktop/images/29012025/11/08/image_29012025_11_08_17_10346.jpg
/home/pi/Desktop/images/29012025/11/08/image_29012025_11_08_26_9429.jpg
/home/pi/Desktop/images/29012025/11/08/image_29012025_11_08_36_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":["1332612043","1332612019","1332611988","1332612027","1332612003","1332612046"],"photo_ids_order":["1332611988","1332612003","1332612019","1332612027","1332612043","1332612046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/281648386487695babc68ee7596efb83.jpg","text":"TemporaryFile(/tmp/multipartBody6827035936439192427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145494198,"filename":"image_29012025_11_08_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/29/8c83d740ef91ac66fda9083dd85fb247.jpg","text":"TemporaryFile(/tmp/multipartBody2895102987979961073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145494198,"filename":"image_29012025_11_08_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/29/dbc3cd74fb22d95df26594fee78d37bb.jpg","text":"TemporaryFile(/tmp/multipartBody7650444898780136272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145494198,"filename":"image_29012025_11_07_47_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/29/8c967550a18c3b5c182e3cc545fefd28.jpg","text":"TemporaryFile(/tmp/multipartBody6850648173933833441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145494198,"filename":"image_29012025_11_08_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/29/c39862fb80980f77b7ff1d154c6c69f3.jpg","text":"TemporaryFile(/tmp/multipartBody2487342533388887459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145494198,"filename":"image_29012025_11_07_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/29/d4f72c182cef5f42a08c741954716af9.jpg","text":"TemporaryFile(/tmp/multipartBody2608668981626048678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145494198,"filename":"image_29012025_11_08_36_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332612019","file1":"1332612003","file0":"1332611988","file4":"1332612043","file5":"1332612046","file3":"1332612027"},"map_files_photo_id_array":[{"photo_id":"1332612046","filename":"file5"},{"photo_id":"1332612019","filename":"file2"},{"photo_id":"1332612043","filename":"file4"},{"photo_id":"1332612003","filename":"file1"},{"photo_id":"1332611988","filename":"file0"},{"photo_id":"1332612027","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332612043":["hashtag1","hashtag2"]},{"1332612019":["hashtag1","hashtag2"]},{"1332611988":["hashtag1","hashtag2"]},{"1332612027":["hashtag1","hashtag2"]},{"1332612003":["hashtag1","hashtag2"]},{"1332612046":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332612043, 1332612019, 1332611988, 1332612027, 1332612003, 1332612046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49938344955444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:11:32.555388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/08/image_29012025_11_08_46_9345.jpg', '/home/pi/Desktop/images/29012025/11/08/image_29012025_11_08_56_10354.jpg', '/home/pi/Desktop/images/29012025/11/08/image_29012025_11_09_06_10328.jpg', '/home/pi/Desktop/images/29012025/11/09/image_29012025_11_09_16_9330.jpg', '/home/pi/Desktop/images/29012025/11/09/image_29012025_11_09_26_10431.jpg', '/home/pi/Desktop/images/29012025/11/09/image_29012025_11_09_37_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/08/image_29012025_11_08_46_9345.jpg
/home/pi/Desktop/images/29012025/11/08/image_29012025_11_08_56_10354.jpg
/home/pi/Desktop/images/29012025/11/08/image_29012025_11_09_06_10328.jpg
/home/pi/Desktop/images/29012025/11/09/image_29012025_11_09_16_9330.jpg
/home/pi/Desktop/images/29012025/11/09/image_29012025_11_09_26_10431.jpg
/home/pi/Desktop/images/29012025/11/09/image_29012025_11_09_37_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":["1332612223","1332612075","1332612072","1332612213","1332612104","1332612067"],"photo_ids_order":["1332612067","1332612072","1332612075","1332612104","1332612213","1332612223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5747ece43e5a701ade5de538d457bdc4.jpg","text":"TemporaryFile(/tmp/multipartBody4429147974987509153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145553462,"filename":"image_29012025_11_09_37_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/29/81d57bdd00ea4b785dedee68b9a97626.jpg","text":"TemporaryFile(/tmp/multipartBody3128965254501078713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145553462,"filename":"image_29012025_11_09_06_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/29/373de16ad62a4b983cba7145ee4683d9.jpg","text":"TemporaryFile(/tmp/multipartBody1226847506318218326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145553462,"filename":"image_29012025_11_08_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/29/bc8c82a771211da7846c3f880eba9534.jpg","text":"TemporaryFile(/tmp/multipartBody8113898127873386067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145553462,"filename":"image_29012025_11_09_26_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/29/faaa0c79ea6fcaa656bc9f18d04791e4.jpg","text":"TemporaryFile(/tmp/multipartBody677300371681245525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145553462,"filename":"image_29012025_11_09_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/29/f16770d7f55b676e72199f9ead6a48e1.jpg","text":"TemporaryFile(/tmp/multipartBody1721156146425829091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145553462,"filename":"image_29012025_11_08_46_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332612075","file1":"1332612072","file0":"1332612067","file4":"1332612213","file5":"1332612223","file3":"1332612104"},"map_files_photo_id_array":[{"photo_id":"1332612223","filename":"file5"},{"photo_id":"1332612075","filename":"file2"},{"photo_id":"1332612213","filename":"file4"},{"photo_id":"1332612072","filename":"file1"},{"photo_id":"1332612067","filename":"file0"},{"photo_id":"1332612104","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332612223":["hashtag1","hashtag2"]},{"1332612075":["hashtag1","hashtag2"]},{"1332612072":["hashtag1","hashtag2"]},{"1332612213":["hashtag1","hashtag2"]},{"1332612104":["hashtag1","hashtag2"]},{"1332612067":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332612223, 1332612075, 1332612072, 1332612213, 1332612104, 1332612067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.192747831344604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:12:32.684176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/09/image_29012025_11_09_46_9345.jpg', '/home/pi/Desktop/images/29012025/11/09/image_29012025_11_09_56_10369.jpg', '/home/pi/Desktop/images/29012025/11/09/image_29012025_11_10_07_10347.jpg', '/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_16_9428.jpg', '/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_26_10392.jpg', '/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_36_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/09/image_29012025_11_09_46_9345.jpg
/home/pi/Desktop/images/29012025/11/09/image_29012025_11_09_56_10369.jpg
/home/pi/Desktop/images/29012025/11/09/image_29012025_11_10_07_10347.jpg
/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_16_9428.jpg
/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_26_10392.jpg
/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_36_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":["1332612297","1332612315","1332612309","1332612300","1332612292","1332612305"],"photo_ids_order":["1332612292","1332612297","1332612300","1332612305","1332612309","1332612315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9f29228069004746cd98220c0e89013a.jpg","text":"TemporaryFile(/tmp/multipartBody8143047562873921147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145613603,"filename":"image_29012025_11_09_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/29/5ec61d194a9e97b55c191e48d1880934.jpg","text":"TemporaryFile(/tmp/multipartBody10173510432395817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145613603,"filename":"image_29012025_11_10_36_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/29/fbadf843f0148ae72c2e1f68deeef0fa.jpg","text":"TemporaryFile(/tmp/multipartBody3107460772686637438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145613603,"filename":"image_29012025_11_10_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/29/46b4029cf0dd8f53fa05918440f00b23.jpg","text":"TemporaryFile(/tmp/multipartBody2629522202811796003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145613603,"filename":"image_29012025_11_10_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/29/4224f5b7b7b2f2c555a415496d059a76.jpg","text":"TemporaryFile(/tmp/multipartBody1092699184809876642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145613603,"filename":"image_29012025_11_09_46_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/29/30376e979ac182563d1234a5523a5507.jpg","text":"TemporaryFile(/tmp/multipartBody6612849050574549836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145613603,"filename":"image_29012025_11_10_16_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332612300","file1":"1332612297","file0":"1332612292","file4":"1332612309","file5":"1332612315","file3":"1332612305"},"map_files_photo_id_array":[{"photo_id":"1332612315","filename":"file5"},{"photo_id":"1332612300","filename":"file2"},{"photo_id":"1332612309","filename":"file4"},{"photo_id":"1332612297","filename":"file1"},{"photo_id":"1332612292","filename":"file0"},{"photo_id":"1332612305","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332612297":["hashtag1","hashtag2"]},{"1332612315":["hashtag1","hashtag2"]},{"1332612309":["hashtag1","hashtag2"]},{"1332612300":["hashtag1","hashtag2"]},{"1332612292":["hashtag1","hashtag2"]},{"1332612305":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332612297, 1332612315, 1332612309, 1332612300, 1332612292, 1332612305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.95984745025635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:13:32.950456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_46_10371.jpg', '/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_57_10359.jpg', '/home/pi/Desktop/images/29012025/11/10/image_29012025_11_11_06_9466.jpg', '/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_16_10378.jpg', '/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_26_9352.jpg', '/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_36_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_46_10371.jpg
/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_57_10359.jpg
/home/pi/Desktop/images/29012025/11/10/image_29012025_11_11_06_9466.jpg
/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_16_10378.jpg
/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_26_9352.jpg
/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_36_10361.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.5172851085662842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 11:13:42.966859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_46_10371.jpg', '/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_57_10359.jpg', '/home/pi/Desktop/images/29012025/11/10/image_29012025_11_11_06_9466.jpg', '/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_16_10378.jpg', '/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_26_9352.jpg', '/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_36_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_46_10371.jpg
/home/pi/Desktop/images/29012025/11/10/image_29012025_11_10_57_10359.jpg
/home/pi/Desktop/images/29012025/11/10/image_29012025_11_11_06_9466.jpg
/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_16_10378.jpg
/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_26_9352.jpg
/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_36_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332612369","1332612378","1332612350","1332612472","1332612373","1332612457"],"photo_ids_order":["1332612350","1332612369","1332612373","1332612378","1332612457","1332612472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f96e088d1018ca58233182930512d03a.jpg","text":"TemporaryFile(/tmp/multipartBody6918980059740015712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145683869,"filename":"image_29012025_11_10_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/29/39f55c9b1a9b2070c92e5e919e9e1ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5088228540418333552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145683869,"filename":"image_29012025_11_11_16_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/29/b48d4f29b8903b775cf1c7996c91c508.jpg","text":"TemporaryFile(/tmp/multipartBody9131751141386831737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145683869,"filename":"image_29012025_11_10_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/29/01cd870f636b3d105c84b2a144dd6534.jpg","text":"TemporaryFile(/tmp/multipartBody77483367812641103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145683869,"filename":"image_29012025_11_11_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/29/a3d89287896dcb153c72f33274f246f9.jpg","text":"TemporaryFile(/tmp/multipartBody3350629975609727726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145683869,"filename":"image_29012025_11_11_06_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/29/c08ecfedd2bd800cb622ac6b6f57c752.jpg","text":"TemporaryFile(/tmp/multipartBody401670898090133998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145683869,"filename":"image_29012025_11_11_26_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332612373","file1":"1332612369","file0":"1332612350","file4":"1332612457","file5":"1332612472","file3":"1332612378"},"map_files_photo_id_array":[{"photo_id":"1332612472","filename":"file5"},{"photo_id":"1332612373","filename":"file2"},{"photo_id":"1332612457","filename":"file4"},{"photo_id":"1332612369","filename":"file1"},{"photo_id":"1332612350","filename":"file0"},{"photo_id":"1332612378","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332612369":["hashtag1","hashtag2"]},{"1332612378":["hashtag1","hashtag2"]},{"1332612350":["hashtag1","hashtag2"]},{"1332612472":["hashtag1","hashtag2"]},{"1332612373":["hashtag1","hashtag2"]},{"1332612457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332612369, 1332612378, 1332612350, 1332612472, 1332612373, 1332612457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.852983236312866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:14:32.280719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_47_10361.jpg', '/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_56_9391.jpg', '/home/pi/Desktop/images/29012025/11/11/image_29012025_11_12_06_10369.jpg', '/home/pi/Desktop/images/29012025/11/12/image_29012025_11_12_17_10348.jpg', '/home/pi/Desktop/images/29012025/11/12/image_29012025_11_12_26_9456.jpg', '/home/pi/Desktop/images/29012025/11/12/image_29012025_11_12_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_47_10361.jpg
/home/pi/Desktop/images/29012025/11/11/image_29012025_11_11_56_9391.jpg
/home/pi/Desktop/images/29012025/11/11/image_29012025_11_12_06_10369.jpg
/home/pi/Desktop/images/29012025/11/12/image_29012025_11_12_17_10348.jpg
/home/pi/Desktop/images/29012025/11/12/image_29012025_11_12_26_9456.jpg
/home/pi/Desktop/images/29012025/11/12/image_29012025_11_12_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":["1332612517","1332612520","1332612534","1332612528","1332612497","1332612524"],"photo_ids_order":["1332612497","1332612517","1332612520","1332612524","1332612528","1332612534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/24656405782cb3f1d5911994e2acd619.jpg","text":"TemporaryFile(/tmp/multipartBody3974873200655985695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145733187,"filename":"image_29012025_11_11_56_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/29/8bc81dd86b2006860382c40d48a7e90e.jpg","text":"TemporaryFile(/tmp/multipartBody8577717231938534434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145733187,"filename":"image_29012025_11_12_06_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/29/7ca54040a8293e32a4ab710cbf47c6cd.jpg","text":"TemporaryFile(/tmp/multipartBody1028707553736545181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145733187,"filename":"image_29012025_11_12_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/29/4f14f33d1be9a010acdcb2b00d85e5e7.jpg","text":"TemporaryFile(/tmp/multipartBody326971209601742312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145733187,"filename":"image_29012025_11_12_26_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/29/b8e1d74991cc42fe882adf77e0648763.jpg","text":"TemporaryFile(/tmp/multipartBody1046796832220570067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145733187,"filename":"image_29012025_11_11_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/29/0ca2eda5cef0d79d15bada89e7cf46f4.jpg","text":"TemporaryFile(/tmp/multipartBody1186236538087712327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145733187,"filename":"image_29012025_11_12_17_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332612520","file1":"1332612517","file0":"1332612497","file4":"1332612528","file5":"1332612534","file3":"1332612524"},"map_files_photo_id_array":[{"photo_id":"1332612534","filename":"file5"},{"photo_id":"1332612520","filename":"file2"},{"photo_id":"1332612528","filename":"file4"},{"photo_id":"1332612517","filename":"file1"},{"photo_id":"1332612497","filename":"file0"},{"photo_id":"1332612524","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332612517":["hashtag1","hashtag2"]},{"1332612520":["hashtag1","hashtag2"]},{"1332612534":["hashtag1","hashtag2"]},{"1332612528":["hashtag1","hashtag2"]},{"1332612497":["hashtag1","hashtag2"]},{"1332612524":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332612517, 1332612520, 1332612534, 1332612528, 1332612497, 1332612524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28560519218445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:15:32.531610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/12/image_29012025_11_12_46_9350.jpg', '/home/pi/Desktop/images/29012025/11/12/image_29012025_11_12_56_10421.jpg', '/home/pi/Desktop/images/29012025/11/12/image_29012025_11_13_07_10344.jpg', '/home/pi/Desktop/images/29012025/11/13/image_29012025_11_13_16_9372.jpg', '/home/pi/Desktop/images/29012025/11/13/image_29012025_11_13_26_10366.jpg', '/home/pi/Desktop/images/29012025/11/13/image_29012025_11_13_37_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/12/image_29012025_11_12_46_9350.jpg
/home/pi/Desktop/images/29012025/11/12/image_29012025_11_12_56_10421.jpg
/home/pi/Desktop/images/29012025/11/12/image_29012025_11_13_07_10344.jpg
/home/pi/Desktop/images/29012025/11/13/image_29012025_11_13_16_9372.jpg
/home/pi/Desktop/images/29012025/11/13/image_29012025_11_13_26_10366.jpg
/home/pi/Desktop/images/29012025/11/13/image_29012025_11_13_37_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":["1332612687","1332612672","1332612666","1332612677","1332612685","1332612682"],"photo_ids_order":["1332612666","1332612672","1332612677","1332612682","1332612685","1332612687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b5edf102cc61e3655935795f07161371.jpg","text":"TemporaryFile(/tmp/multipartBody8839700107565537027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145793460,"filename":"image_29012025_11_13_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/29/bedf4a990657e446ef553e02669360a3.jpg","text":"TemporaryFile(/tmp/multipartBody1941510960232014657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145793460,"filename":"image_29012025_11_12_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/29/1d47645bbca6e8c1a380c93e5cd99edc.jpg","text":"TemporaryFile(/tmp/multipartBody2605054964423566476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145793460,"filename":"image_29012025_11_12_46_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/29/e1c07e4c1df864ea6406604ab7f69af2.jpg","text":"TemporaryFile(/tmp/multipartBody3700531723125327627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145793460,"filename":"image_29012025_11_13_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/29/2efcdbb96bf68d0bc84493fa8909972d.jpg","text":"TemporaryFile(/tmp/multipartBody6741429942696456338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145793460,"filename":"image_29012025_11_13_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/29/98035c511b2da594dc848abd826f0316.jpg","text":"TemporaryFile(/tmp/multipartBody6520591514641863800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145793460,"filename":"image_29012025_11_13_16_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332612677","file1":"1332612672","file0":"1332612666","file4":"1332612685","file5":"1332612687","file3":"1332612682"},"map_files_photo_id_array":[{"photo_id":"1332612687","filename":"file5"},{"photo_id":"1332612677","filename":"file2"},{"photo_id":"1332612685","filename":"file4"},{"photo_id":"1332612672","filename":"file1"},{"photo_id":"1332612666","filename":"file0"},{"photo_id":"1332612682","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332612687":["hashtag1","hashtag2"]},{"1332612672":["hashtag1","hashtag2"]},{"1332612666":["hashtag1","hashtag2"]},{"1332612677":["hashtag1","hashtag2"]},{"1332612685":["hashtag1","hashtag2"]},{"1332612682":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332612687, 1332612672, 1332612666, 1332612677, 1332612685, 1332612682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52180194854736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:16:32.650560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/13/image_29012025_11_13_46_9422.jpg', '/home/pi/Desktop/images/29012025/11/13/image_29012025_11_13_56_10376.jpg', '/home/pi/Desktop/images/29012025/11/13/image_29012025_11_14_06_9341.jpg', '/home/pi/Desktop/images/29012025/11/14/image_29012025_11_14_16_10415.jpg', '/home/pi/Desktop/images/29012025/11/14/image_29012025_11_14_27_10408.jpg', '/home/pi/Desktop/images/29012025/11/14/image_29012025_11_14_36_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/13/image_29012025_11_13_46_9422.jpg
/home/pi/Desktop/images/29012025/11/13/image_29012025_11_13_56_10376.jpg
/home/pi/Desktop/images/29012025/11/13/image_29012025_11_14_06_9341.jpg
/home/pi/Desktop/images/29012025/11/14/image_29012025_11_14_16_10415.jpg
/home/pi/Desktop/images/29012025/11/14/image_29012025_11_14_27_10408.jpg
/home/pi/Desktop/images/29012025/11/14/image_29012025_11_14_36_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":["1332612742","1332612756","1332612753","1332612747","1332612735","1332612751"],"photo_ids_order":["1332612735","1332612742","1332612747","1332612751","1332612753","1332612756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7c46df78fe6be4479795f9825cfb7ba3.jpg","text":"TemporaryFile(/tmp/multipartBody7727076952791226316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145853553,"filename":"image_29012025_11_13_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/29/230395b7e8f7a92e1fe7b9fab45acf57.jpg","text":"TemporaryFile(/tmp/multipartBody8857394479206735755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145853553,"filename":"image_29012025_11_14_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/29/47ee76b77e5e333be6166b849e8693bb.jpg","text":"TemporaryFile(/tmp/multipartBody6434125223489405839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145853553,"filename":"image_29012025_11_14_27_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/29/614851a99bbdbddeb34fdc48310f9273.jpg","text":"TemporaryFile(/tmp/multipartBody7650410694893028518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145853553,"filename":"image_29012025_11_14_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/29/18f705f750e986463d89041bbefb46f6.jpg","text":"TemporaryFile(/tmp/multipartBody5178471416118564489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145853553,"filename":"image_29012025_11_13_46_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/29/b4f3a3f889b0d719fda3346d756f640b.jpg","text":"TemporaryFile(/tmp/multipartBody2134767628742484460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145853553,"filename":"image_29012025_11_14_16_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332612747","file1":"1332612742","file0":"1332612735","file4":"1332612753","file5":"1332612756","file3":"1332612751"},"map_files_photo_id_array":[{"photo_id":"1332612756","filename":"file5"},{"photo_id":"1332612747","filename":"file2"},{"photo_id":"1332612753","filename":"file4"},{"photo_id":"1332612742","filename":"file1"},{"photo_id":"1332612735","filename":"file0"},{"photo_id":"1332612751","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332612742":["hashtag1","hashtag2"]},{"1332612756":["hashtag1","hashtag2"]},{"1332612753":["hashtag1","hashtag2"]},{"1332612747":["hashtag1","hashtag2"]},{"1332612735":["hashtag1","hashtag2"]},{"1332612751":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332612742, 1332612756, 1332612753, 1332612747, 1332612735, 1332612751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22218084335327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:17:32.940347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/14/image_29012025_11_14_46_10361.jpg', '/home/pi/Desktop/images/29012025/11/14/image_29012025_11_14_57_10371.jpg', '/home/pi/Desktop/images/29012025/11/14/image_29012025_11_15_06_9388.jpg', '/home/pi/Desktop/images/29012025/11/15/image_29012025_11_15_16_10377.jpg', '/home/pi/Desktop/images/29012025/11/15/image_29012025_11_15_26_9423.jpg', '/home/pi/Desktop/images/29012025/11/15/image_29012025_11_15_36_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/14/image_29012025_11_14_46_10361.jpg
/home/pi/Desktop/images/29012025/11/14/image_29012025_11_14_57_10371.jpg
/home/pi/Desktop/images/29012025/11/14/image_29012025_11_15_06_9388.jpg
/home/pi/Desktop/images/29012025/11/15/image_29012025_11_15_16_10377.jpg
/home/pi/Desktop/images/29012025/11/15/image_29012025_11_15_26_9423.jpg
/home/pi/Desktop/images/29012025/11/15/image_29012025_11_15_36_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":["1332612981","1332612954","1332612951","1332612965","1332612959","1332612941"],"photo_ids_order":["1332612941","1332612951","1332612954","1332612959","1332612965","1332612981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9993d76ebddd929214eafd5d9416dce5.jpg","text":"TemporaryFile(/tmp/multipartBody1063582373730975072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145913840,"filename":"image_29012025_11_15_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/29/2de16acf75577251fe7e483116fa9cb6.jpg","text":"TemporaryFile(/tmp/multipartBody5350646284495663029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145913840,"filename":"image_29012025_11_15_06_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/29/1edb017c3823bd9263d38401f3ae3ca0.jpg","text":"TemporaryFile(/tmp/multipartBody7584073501797450080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145913840,"filename":"image_29012025_11_14_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/29/4866b669bc5653f7f36174b606726e70.jpg","text":"TemporaryFile(/tmp/multipartBody4969280857619059086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145913840,"filename":"image_29012025_11_15_26_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/29/dda8b084994baa5627743220606925fd.jpg","text":"TemporaryFile(/tmp/multipartBody1699076663990523812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145913840,"filename":"image_29012025_11_15_16_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/29/15ac3d657439a87105f3838a02267d01.jpg","text":"TemporaryFile(/tmp/multipartBody6432145302661113553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145913840,"filename":"image_29012025_11_14_46_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332612954","file1":"1332612951","file0":"1332612941","file4":"1332612965","file5":"1332612981","file3":"1332612959"},"map_files_photo_id_array":[{"photo_id":"1332612981","filename":"file5"},{"photo_id":"1332612954","filename":"file2"},{"photo_id":"1332612965","filename":"file4"},{"photo_id":"1332612951","filename":"file1"},{"photo_id":"1332612941","filename":"file0"},{"photo_id":"1332612959","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332612981":["hashtag1","hashtag2"]},{"1332612954":["hashtag1","hashtag2"]},{"1332612951":["hashtag1","hashtag2"]},{"1332612965":["hashtag1","hashtag2"]},{"1332612959":["hashtag1","hashtag2"]},{"1332612941":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332612981, 1332612954, 1332612951, 1332612965, 1332612959, 1332612941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.619558811187744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:18:32.978428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/15/image_29012025_11_15_47_10421.jpg', '/home/pi/Desktop/images/29012025/11/15/image_29012025_11_15_56_9394.jpg', '/home/pi/Desktop/images/29012025/11/15/image_29012025_11_16_06_10359.jpg', '/home/pi/Desktop/images/29012025/11/16/image_29012025_11_16_16_9334.jpg', '/home/pi/Desktop/images/29012025/11/16/image_29012025_11_16_26_10393.jpg', '/home/pi/Desktop/images/29012025/11/16/image_29012025_11_16_37_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/15/image_29012025_11_15_47_10421.jpg
/home/pi/Desktop/images/29012025/11/15/image_29012025_11_15_56_9394.jpg
/home/pi/Desktop/images/29012025/11/15/image_29012025_11_16_06_10359.jpg
/home/pi/Desktop/images/29012025/11/16/image_29012025_11_16_16_9334.jpg
/home/pi/Desktop/images/29012025/11/16/image_29012025_11_16_26_10393.jpg
/home/pi/Desktop/images/29012025/11/16/image_29012025_11_16_37_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":["1332613017","1332613076","1332613070","1332613058","1332613046","1332613042"],"photo_ids_order":["1332613017","1332613042","1332613046","1332613058","1332613070","1332613076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a5447cc7103150c7bbfb790592a73339.jpg","text":"TemporaryFile(/tmp/multipartBody6191106239843627637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145973890,"filename":"image_29012025_11_15_47_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/29/30e070e2df6612a2703dfddd41cd12ef.jpg","text":"TemporaryFile(/tmp/multipartBody7539003596063908872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145973890,"filename":"image_29012025_11_16_37_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/29/36e60a67b90c82e78b554bbd4e515313.jpg","text":"TemporaryFile(/tmp/multipartBody1944204125214732617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145973890,"filename":"image_29012025_11_16_26_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/29/ea990a15b8c543d3df2be1e1e7f1e075.jpg","text":"TemporaryFile(/tmp/multipartBody3698135977030422263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145973890,"filename":"image_29012025_11_16_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/29/0fbdb0c551447ac5b5b7185d9b59cc33.jpg","text":"TemporaryFile(/tmp/multipartBody407687871923104213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145973890,"filename":"image_29012025_11_16_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/29/fc76d30bdd9b4a7c6baa92888c76d483.jpg","text":"TemporaryFile(/tmp/multipartBody1217647225703183389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738145973890,"filename":"image_29012025_11_15_56_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332613046","file1":"1332613042","file0":"1332613017","file4":"1332613070","file5":"1332613076","file3":"1332613058"},"map_files_photo_id_array":[{"photo_id":"1332613076","filename":"file5"},{"photo_id":"1332613046","filename":"file2"},{"photo_id":"1332613070","filename":"file4"},{"photo_id":"1332613042","filename":"file1"},{"photo_id":"1332613017","filename":"file0"},{"photo_id":"1332613058","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332613017":["hashtag1","hashtag2"]},{"1332613076":["hashtag1","hashtag2"]},{"1332613070":["hashtag1","hashtag2"]},{"1332613058":["hashtag1","hashtag2"]},{"1332613046":["hashtag1","hashtag2"]},{"1332613042":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332613017, 1332613076, 1332613070, 1332613058, 1332613046, 1332613042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76208305358887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:19:33.138367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/16/image_29012025_11_16_46_9358.jpg', '/home/pi/Desktop/images/29012025/11/16/image_29012025_11_16_56_10469.jpg', '/home/pi/Desktop/images/29012025/11/16/image_29012025_11_17_06_9398.jpg', '/home/pi/Desktop/images/29012025/11/17/image_29012025_11_17_27_10427.jpg', '/home/pi/Desktop/images/29012025/11/17/image_29012025_11_17_36_9341.jpg', '/home/pi/Desktop/images/29012025/11/17/image_29012025_11_17_46_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/16/image_29012025_11_16_46_9358.jpg
/home/pi/Desktop/images/29012025/11/16/image_29012025_11_16_56_10469.jpg
/home/pi/Desktop/images/29012025/11/16/image_29012025_11_17_06_9398.jpg
/home/pi/Desktop/images/29012025/11/17/image_29012025_11_17_27_10427.jpg
/home/pi/Desktop/images/29012025/11/17/image_29012025_11_17_36_9341.jpg
/home/pi/Desktop/images/29012025/11/17/image_29012025_11_17_46_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332613163","1332613154","1332613148","1332613121","1332613165","1332613159"],"photo_ids_order":["1332613121","1332613148","1332613154","1332613159","1332613163","1332613165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/292df05ffb476907e416e71546b669fb.jpg","text":"TemporaryFile(/tmp/multipartBody6535591575793931607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146034040,"filename":"image_29012025_11_17_36_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/29/e1be06a37238af77c603d8ef2cab6f73.jpg","text":"TemporaryFile(/tmp/multipartBody4570754276847539773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146034040,"filename":"image_29012025_11_17_06_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/29/ec4c40a6dcc618e6fde4968b0bd19bfd.jpg","text":"TemporaryFile(/tmp/multipartBody1306372473579030117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146034040,"filename":"image_29012025_11_16_56_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/29/49096904ab3e4f3f2539c93c8c1c4218.jpg","text":"TemporaryFile(/tmp/multipartBody7864352611060145909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146034040,"filename":"image_29012025_11_16_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/29/5da1cda0ebfc7734a2f599ecdc24c5e4.jpg","text":"TemporaryFile(/tmp/multipartBody5051686275798866072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146034040,"filename":"image_29012025_11_17_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/29/2f1d34ccd1203244efacf8ece2b92083.jpg","text":"TemporaryFile(/tmp/multipartBody6883483590083249236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146034040,"filename":"image_29012025_11_17_27_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332613154","file1":"1332613148","file0":"1332613121","file4":"1332613163","file5":"1332613165","file3":"1332613159"},"map_files_photo_id_array":[{"photo_id":"1332613165","filename":"file5"},{"photo_id":"1332613154","filename":"file2"},{"photo_id":"1332613163","filename":"file4"},{"photo_id":"1332613148","filename":"file1"},{"photo_id":"1332613121","filename":"file0"},{"photo_id":"1332613159","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332613163":["hashtag1","hashtag2"]},{"1332613154":["hashtag1","hashtag2"]},{"1332613148":["hashtag1","hashtag2"]},{"1332613121":["hashtag1","hashtag2"]},{"1332613165":["hashtag1","hashtag2"]},{"1332613159":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332613163, 1332613154, 1332613148, 1332613121, 1332613165, 1332613159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.80360651016235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:20:32.330371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/17/image_29012025_11_17_56_9428.jpg', '/home/pi/Desktop/images/29012025/11/17/image_29012025_11_18_06_10353.jpg', '/home/pi/Desktop/images/29012025/11/18/image_29012025_11_18_17_10356.jpg', '/home/pi/Desktop/images/29012025/11/18/image_29012025_11_18_26_9367.jpg', '/home/pi/Desktop/images/29012025/11/18/image_29012025_11_18_36_10352.jpg', '/home/pi/Desktop/images/29012025/11/18/image_29012025_11_18_46_9506.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/17/image_29012025_11_17_56_9428.jpg
/home/pi/Desktop/images/29012025/11/17/image_29012025_11_18_06_10353.jpg
/home/pi/Desktop/images/29012025/11/18/image_29012025_11_18_17_10356.jpg
/home/pi/Desktop/images/29012025/11/18/image_29012025_11_18_26_9367.jpg
/home/pi/Desktop/images/29012025/11/18/image_29012025_11_18_36_10352.jpg
/home/pi/Desktop/images/29012025/11/18/image_29012025_11_18_46_9506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332613256","1332613259","1332613241","1332613264","1332613252","1332613225"],"photo_ids_order":["1332613225","1332613241","1332613252","1332613256","1332613259","1332613264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5b98fa3958a384b03d3a6cdfc1a19e2b.jpg","text":"TemporaryFile(/tmp/multipartBody2709074411347666817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146093242,"filename":"image_29012025_11_18_26_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/29/dbf4f43f25f94b04a870fcb4ddc19f37.jpg","text":"TemporaryFile(/tmp/multipartBody2262247349638933131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146093242,"filename":"image_29012025_11_18_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/29/c2f572a996be843395cbd81e12702c96.jpg","text":"TemporaryFile(/tmp/multipartBody2526415685681780905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146093242,"filename":"image_29012025_11_18_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/29/0f0301078add0d6a551974e6673f7a98.jpg","text":"TemporaryFile(/tmp/multipartBody3083827389918515858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146093242,"filename":"image_29012025_11_18_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/29/700a11e5354671e4e959fc9c649af794.jpg","text":"TemporaryFile(/tmp/multipartBody5087388170515644698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146093242,"filename":"image_29012025_11_18_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/29/c85a6c17d1cd2a9108f0f328ab7b0f03.jpg","text":"TemporaryFile(/tmp/multipartBody5511266072378196238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146093242,"filename":"image_29012025_11_17_56_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332613252","file1":"1332613241","file0":"1332613225","file4":"1332613259","file5":"1332613264","file3":"1332613256"},"map_files_photo_id_array":[{"photo_id":"1332613264","filename":"file5"},{"photo_id":"1332613252","filename":"file2"},{"photo_id":"1332613259","filename":"file4"},{"photo_id":"1332613241","filename":"file1"},{"photo_id":"1332613225","filename":"file0"},{"photo_id":"1332613256","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332613256":["hashtag1","hashtag2"]},{"1332613259":["hashtag1","hashtag2"]},{"1332613241":["hashtag1","hashtag2"]},{"1332613264":["hashtag1","hashtag2"]},{"1332613252":["hashtag1","hashtag2"]},{"1332613225":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332613256, 1332613259, 1332613241, 1332613264, 1332613252, 1332613225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.556825399398804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:21:32.538829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/18/image_29012025_11_18_56_10388.jpg', '/home/pi/Desktop/images/29012025/11/19/image_29012025_11_19_16_9454.jpg', '/home/pi/Desktop/images/29012025/11/19/image_29012025_11_19_26_10431.jpg', '/home/pi/Desktop/images/29012025/11/19/image_29012025_11_19_36_9429.jpg', '/home/pi/Desktop/images/29012025/11/19/image_29012025_11_19_46_10362.jpg', '/home/pi/Desktop/images/29012025/11/19/image_29012025_11_19_57_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/18/image_29012025_11_18_56_10388.jpg
/home/pi/Desktop/images/29012025/11/19/image_29012025_11_19_16_9454.jpg
/home/pi/Desktop/images/29012025/11/19/image_29012025_11_19_26_10431.jpg
/home/pi/Desktop/images/29012025/11/19/image_29012025_11_19_36_9429.jpg
/home/pi/Desktop/images/29012025/11/19/image_29012025_11_19_46_10362.jpg
/home/pi/Desktop/images/29012025/11/19/image_29012025_11_19_57_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":["1332614498","1332613908","1332614146","1332614490","1332614338","1332614493"],"photo_ids_order":["1332613908","1332614146","1332614338","1332614490","1332614493","1332614498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0d8659f55172ad4adbc0fc33e606b2a3.jpg","text":"TemporaryFile(/tmp/multipartBody5119159023924345950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146153464,"filename":"image_29012025_11_19_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/29/7e9250e3fb244b2442be5e771b9be7cc.jpg","text":"TemporaryFile(/tmp/multipartBody8723966089248502287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146153464,"filename":"image_29012025_11_18_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/29/19db27b4bef7abf4bf89dcd26df0e8d2.jpg","text":"TemporaryFile(/tmp/multipartBody5596023448601308286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146153464,"filename":"image_29012025_11_19_16_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/29/ba72c8375009e5e640f15b6da606c8ef.jpg","text":"TemporaryFile(/tmp/multipartBody4966113211311880823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146153464,"filename":"image_29012025_11_19_36_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/29/abdefb39d605047267015354e7c1ba83.jpg","text":"TemporaryFile(/tmp/multipartBody6206162331808683169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146153464,"filename":"image_29012025_11_19_26_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/29/4aa015f5d3f2a85b53d808c5f799ffcc.jpg","text":"TemporaryFile(/tmp/multipartBody6898875352287555235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146153464,"filename":"image_29012025_11_19_46_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332614338","file1":"1332614146","file0":"1332613908","file4":"1332614493","file5":"1332614498","file3":"1332614490"},"map_files_photo_id_array":[{"photo_id":"1332614498","filename":"file5"},{"photo_id":"1332614338","filename":"file2"},{"photo_id":"1332614493","filename":"file4"},{"photo_id":"1332614146","filename":"file1"},{"photo_id":"1332613908","filename":"file0"},{"photo_id":"1332614490","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332614498":["hashtag1","hashtag2"]},{"1332613908":["hashtag1","hashtag2"]},{"1332614146":["hashtag1","hashtag2"]},{"1332614490":["hashtag1","hashtag2"]},{"1332614338":["hashtag1","hashtag2"]},{"1332614493":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332614498, 1332613908, 1332614146, 1332614490, 1332614338, 1332614493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.82110404968262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:22:32.732590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/19/image_29012025_11_20_06_9392.jpg', '/home/pi/Desktop/images/29012025/11/20/image_29012025_11_20_16_10449.jpg', '/home/pi/Desktop/images/29012025/11/20/image_29012025_11_20_26_9340.jpg', '/home/pi/Desktop/images/29012025/11/20/image_29012025_11_20_36_10462.jpg', '/home/pi/Desktop/images/29012025/11/20/image_29012025_11_20_47_10439.jpg', '/home/pi/Desktop/images/29012025/11/20/image_29012025_11_20_56_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/19/image_29012025_11_20_06_9392.jpg
/home/pi/Desktop/images/29012025/11/20/image_29012025_11_20_16_10449.jpg
/home/pi/Desktop/images/29012025/11/20/image_29012025_11_20_26_9340.jpg
/home/pi/Desktop/images/29012025/11/20/image_29012025_11_20_36_10462.jpg
/home/pi/Desktop/images/29012025/11/20/image_29012025_11_20_47_10439.jpg
/home/pi/Desktop/images/29012025/11/20/image_29012025_11_20_56_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":["1332614882","1332614555","1332614927","1332614572","1332614565","1332614943"],"photo_ids_order":["1332614555","1332614565","1332614572","1332614882","1332614927","1332614943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9b9255ab9af900351ae4e15a396abe1d.jpg","text":"TemporaryFile(/tmp/multipartBody8571876789200838970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146213675,"filename":"image_29012025_11_20_36_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/29/1a9b3ced0f61dfc347a6e16316537f8e.jpg","text":"TemporaryFile(/tmp/multipartBody327636771377596163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146213675,"filename":"image_29012025_11_20_06_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/29/c9906d41031d9756c45438d9c10d27be.jpg","text":"TemporaryFile(/tmp/multipartBody8616510519240651280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146213675,"filename":"image_29012025_11_20_47_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/29/00b468b95b3e744b6b71fb84c8e3e495.jpg","text":"TemporaryFile(/tmp/multipartBody2930259820952862361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146213675,"filename":"image_29012025_11_20_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/29/b827eed461a085759d36db50d6b023a4.jpg","text":"TemporaryFile(/tmp/multipartBody6890053452870983249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146213675,"filename":"image_29012025_11_20_16_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/29/b1b1fbde989bdd75609ee2bab2fa77fb.jpg","text":"TemporaryFile(/tmp/multipartBody6039336835613241046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146213675,"filename":"image_29012025_11_20_56_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332614572","file1":"1332614565","file0":"1332614555","file4":"1332614927","file5":"1332614943","file3":"1332614882"},"map_files_photo_id_array":[{"photo_id":"1332614943","filename":"file5"},{"photo_id":"1332614572","filename":"file2"},{"photo_id":"1332614927","filename":"file4"},{"photo_id":"1332614565","filename":"file1"},{"photo_id":"1332614555","filename":"file0"},{"photo_id":"1332614882","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332614882":["hashtag1","hashtag2"]},{"1332614555":["hashtag1","hashtag2"]},{"1332614927":["hashtag1","hashtag2"]},{"1332614572":["hashtag1","hashtag2"]},{"1332614565":["hashtag1","hashtag2"]},{"1332614943":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332614882, 1332614555, 1332614927, 1332614572, 1332614565, 1332614943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.72768759727478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:23:32.941345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/20/image_29012025_11_21_06_10352.jpg', '/home/pi/Desktop/images/29012025/11/21/image_29012025_11_21_16_9356.jpg', '/home/pi/Desktop/images/29012025/11/21/image_29012025_11_21_26_10420.jpg', '/home/pi/Desktop/images/29012025/11/21/image_29012025_11_21_37_10335.jpg', '/home/pi/Desktop/images/29012025/11/21/image_29012025_11_21_46_9346.jpg', '/home/pi/Desktop/images/29012025/11/21/image_29012025_11_21_56_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/20/image_29012025_11_21_06_10352.jpg
/home/pi/Desktop/images/29012025/11/21/image_29012025_11_21_16_9356.jpg
/home/pi/Desktop/images/29012025/11/21/image_29012025_11_21_26_10420.jpg
/home/pi/Desktop/images/29012025/11/21/image_29012025_11_21_37_10335.jpg
/home/pi/Desktop/images/29012025/11/21/image_29012025_11_21_46_9346.jpg
/home/pi/Desktop/images/29012025/11/21/image_29012025_11_21_56_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":["1332615377","1332615368","1332615391","1332615349","1332615370","1332615366"],"photo_ids_order":["1332615349","1332615366","1332615368","1332615370","1332615377","1332615391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/097657470fce7a0179a1041d99e8aa76.jpg","text":"TemporaryFile(/tmp/multipartBody292518998015010313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146273863,"filename":"image_29012025_11_21_46_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/29/6b3b4aa0324dfecf75416cc5c789b4ea.jpg","text":"TemporaryFile(/tmp/multipartBody7466721625898423573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146273863,"filename":"image_29012025_11_21_26_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/29/7cda6dd2e0fdb70ac307004b91d12abf.jpg","text":"TemporaryFile(/tmp/multipartBody6993250932493418949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146273863,"filename":"image_29012025_11_21_56_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/29/86736f78d5f4ec2d845748ff7a6fc144.jpg","text":"TemporaryFile(/tmp/multipartBody8432271035505749776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146273863,"filename":"image_29012025_11_21_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/29/f45dc92d6bf67c261fba97365b34138c.jpg","text":"TemporaryFile(/tmp/multipartBody2197446767129136017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146273863,"filename":"image_29012025_11_21_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/29/15fe7952b265d1b952a0ac73d27008f2.jpg","text":"TemporaryFile(/tmp/multipartBody7849294889246345902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146273863,"filename":"image_29012025_11_21_16_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332615368","file1":"1332615366","file0":"1332615349","file4":"1332615377","file5":"1332615391","file3":"1332615370"},"map_files_photo_id_array":[{"photo_id":"1332615391","filename":"file5"},{"photo_id":"1332615368","filename":"file2"},{"photo_id":"1332615377","filename":"file4"},{"photo_id":"1332615366","filename":"file1"},{"photo_id":"1332615349","filename":"file0"},{"photo_id":"1332615370","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332615377":["hashtag1","hashtag2"]},{"1332615368":["hashtag1","hashtag2"]},{"1332615391":["hashtag1","hashtag2"]},{"1332615349":["hashtag1","hashtag2"]},{"1332615370":["hashtag1","hashtag2"]},{"1332615366":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332615377, 1332615368, 1332615391, 1332615349, 1332615370, 1332615366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.65829396247864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:24:32.190464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/21/image_29012025_11_22_06_9404.jpg', '/home/pi/Desktop/images/29012025/11/22/image_29012025_11_22_16_10456.jpg', '/home/pi/Desktop/images/29012025/11/22/image_29012025_11_22_27_10367.jpg', '/home/pi/Desktop/images/29012025/11/22/image_29012025_11_22_36_9436.jpg', '/home/pi/Desktop/images/29012025/11/22/image_29012025_11_22_46_10434.jpg', '/home/pi/Desktop/images/29012025/11/22/image_29012025_11_22_56_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/21/image_29012025_11_22_06_9404.jpg
/home/pi/Desktop/images/29012025/11/22/image_29012025_11_22_16_10456.jpg
/home/pi/Desktop/images/29012025/11/22/image_29012025_11_22_27_10367.jpg
/home/pi/Desktop/images/29012025/11/22/image_29012025_11_22_36_9436.jpg
/home/pi/Desktop/images/29012025/11/22/image_29012025_11_22_46_10434.jpg
/home/pi/Desktop/images/29012025/11/22/image_29012025_11_22_56_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":["1332615425","1332615640","1332615802","1332615807","1332615797","1332615417"],"photo_ids_order":["1332615417","1332615425","1332615640","1332615797","1332615802","1332615807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7c7bc16f940abfcd073e24e5144505ca.jpg","text":"TemporaryFile(/tmp/multipartBody8315494551138602211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146333085,"filename":"image_29012025_11_22_16_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/29/9b4f0ef59d26e1950b50fbf8bd9379c0.jpg","text":"TemporaryFile(/tmp/multipartBody7727081258662195545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146333085,"filename":"image_29012025_11_22_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/29/8e7d0e4ce52d153e5084fcdfea0bb920.jpg","text":"TemporaryFile(/tmp/multipartBody4804401439329070048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146333085,"filename":"image_29012025_11_22_46_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/29/c59a82a3a9524507d16ea12dbfcf4a67.jpg","text":"TemporaryFile(/tmp/multipartBody8553948033294097868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146333085,"filename":"image_29012025_11_22_56_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/29/a43ceba6c0aac0a33617e5a57b358fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1499065871178207119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146333085,"filename":"image_29012025_11_22_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/29/b4e69f108fe3b5e9557686cde562ea0d.jpg","text":"TemporaryFile(/tmp/multipartBody4043101430384151235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146333085,"filename":"image_29012025_11_22_06_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332615640","file1":"1332615425","file0":"1332615417","file4":"1332615802","file5":"1332615807","file3":"1332615797"},"map_files_photo_id_array":[{"photo_id":"1332615807","filename":"file5"},{"photo_id":"1332615640","filename":"file2"},{"photo_id":"1332615802","filename":"file4"},{"photo_id":"1332615425","filename":"file1"},{"photo_id":"1332615417","filename":"file0"},{"photo_id":"1332615797","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332615425":["hashtag1","hashtag2"]},{"1332615640":["hashtag1","hashtag2"]},{"1332615802":["hashtag1","hashtag2"]},{"1332615807":["hashtag1","hashtag2"]},{"1332615797":["hashtag1","hashtag2"]},{"1332615417":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332615425, 1332615640, 1332615802, 1332615807, 1332615797, 1332615417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42195224761963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:25:32.518768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/22/image_29012025_11_23_06_10383.jpg', '/home/pi/Desktop/images/29012025/11/23/image_29012025_11_23_17_10388.jpg', '/home/pi/Desktop/images/29012025/11/23/image_29012025_11_23_26_9381.jpg', '/home/pi/Desktop/images/29012025/11/23/image_29012025_11_23_36_10343.jpg', '/home/pi/Desktop/images/29012025/11/23/image_29012025_11_23_47_10362.jpg', '/home/pi/Desktop/images/29012025/11/23/image_29012025_11_23_56_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/22/image_29012025_11_23_06_10383.jpg
/home/pi/Desktop/images/29012025/11/23/image_29012025_11_23_17_10388.jpg
/home/pi/Desktop/images/29012025/11/23/image_29012025_11_23_26_9381.jpg
/home/pi/Desktop/images/29012025/11/23/image_29012025_11_23_36_10343.jpg
/home/pi/Desktop/images/29012025/11/23/image_29012025_11_23_47_10362.jpg
/home/pi/Desktop/images/29012025/11/23/image_29012025_11_23_56_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":["1332615895","1332615904","1332615888","1332615864","1332615906","1332615900"],"photo_ids_order":["1332615864","1332615888","1332615895","1332615900","1332615904","1332615906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/13867b76a374619da24bccea2ab563c1.jpg","text":"TemporaryFile(/tmp/multipartBody4503849392834207291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146393458,"filename":"image_29012025_11_23_26_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/29/e6e56acf5178c2b172bb5613eedb1d2b.jpg","text":"TemporaryFile(/tmp/multipartBody7591489739700358324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146393458,"filename":"image_29012025_11_23_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/29/3410913ecfa4c38acbc7dd08bfa2001a.jpg","text":"TemporaryFile(/tmp/multipartBody3722447406635550843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146393458,"filename":"image_29012025_11_23_17_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/29/718f3faff35778a3bff4dba82b98da81.jpg","text":"TemporaryFile(/tmp/multipartBody3983923810242129946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146393458,"filename":"image_29012025_11_23_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/29/e8998f430c208c51aef852a123044d5a.jpg","text":"TemporaryFile(/tmp/multipartBody1520458756554967438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146393458,"filename":"image_29012025_11_23_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/29/8af35e2a9b83643b34a51b01bfd5308d.jpg","text":"TemporaryFile(/tmp/multipartBody3316094806776392496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146393458,"filename":"image_29012025_11_23_36_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332615895","file1":"1332615888","file0":"1332615864","file4":"1332615904","file5":"1332615906","file3":"1332615900"},"map_files_photo_id_array":[{"photo_id":"1332615906","filename":"file5"},{"photo_id":"1332615895","filename":"file2"},{"photo_id":"1332615904","filename":"file4"},{"photo_id":"1332615888","filename":"file1"},{"photo_id":"1332615864","filename":"file0"},{"photo_id":"1332615900","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332615895":["hashtag1","hashtag2"]},{"1332615904":["hashtag1","hashtag2"]},{"1332615888":["hashtag1","hashtag2"]},{"1332615864":["hashtag1","hashtag2"]},{"1332615906":["hashtag1","hashtag2"]},{"1332615900":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332615895, 1332615904, 1332615888, 1332615864, 1332615906, 1332615900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25342869758606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:26:32.677708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/23/image_29012025_11_24_07_10401.jpg', '/home/pi/Desktop/images/29012025/11/24/image_29012025_11_24_16_9352.jpg', '/home/pi/Desktop/images/29012025/11/24/image_29012025_11_24_26_10423.jpg', '/home/pi/Desktop/images/29012025/11/24/image_29012025_11_24_37_10349.jpg', '/home/pi/Desktop/images/29012025/11/24/image_29012025_11_24_46_9483.jpg', '/home/pi/Desktop/images/29012025/11/24/image_29012025_11_24_56_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/23/image_29012025_11_24_07_10401.jpg
/home/pi/Desktop/images/29012025/11/24/image_29012025_11_24_16_9352.jpg
/home/pi/Desktop/images/29012025/11/24/image_29012025_11_24_26_10423.jpg
/home/pi/Desktop/images/29012025/11/24/image_29012025_11_24_37_10349.jpg
/home/pi/Desktop/images/29012025/11/24/image_29012025_11_24_46_9483.jpg
/home/pi/Desktop/images/29012025/11/24/image_29012025_11_24_56_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":["1332616261","1332616204","1332616296","1332616256","1332616184","1332616151"],"photo_ids_order":["1332616151","1332616184","1332616204","1332616256","1332616261","1332616296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e85954b6adf0676b81ad62d551457223.jpg","text":"TemporaryFile(/tmp/multipartBody7470921867897836023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146453608,"filename":"image_29012025_11_24_46_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/29/e299c02ec5f578ec149fee4574fdff3f.jpg","text":"TemporaryFile(/tmp/multipartBody8563918174356028242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146453608,"filename":"image_29012025_11_24_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/29/cf7da3c419faa78c55a2e154b135e45d.jpg","text":"TemporaryFile(/tmp/multipartBody6343516091434570974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146453608,"filename":"image_29012025_11_24_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/29/55d7337a9c91f2d0d43a4596dc7f4502.jpg","text":"TemporaryFile(/tmp/multipartBody861188249689579820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146453608,"filename":"image_29012025_11_24_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/29/2f2c8b6f7046633c86084dd282cf889f.jpg","text":"TemporaryFile(/tmp/multipartBody4889786267897913025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146453608,"filename":"image_29012025_11_24_16_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/29/e3a9f2ec57de482de9b56d65cbcad3a1.jpg","text":"TemporaryFile(/tmp/multipartBody426518145449341729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146453608,"filename":"image_29012025_11_24_07_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332616204","file1":"1332616184","file0":"1332616151","file4":"1332616261","file5":"1332616296","file3":"1332616256"},"map_files_photo_id_array":[{"photo_id":"1332616296","filename":"file5"},{"photo_id":"1332616204","filename":"file2"},{"photo_id":"1332616261","filename":"file4"},{"photo_id":"1332616184","filename":"file1"},{"photo_id":"1332616151","filename":"file0"},{"photo_id":"1332616256","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332616261":["hashtag1","hashtag2"]},{"1332616204":["hashtag1","hashtag2"]},{"1332616296":["hashtag1","hashtag2"]},{"1332616256":["hashtag1","hashtag2"]},{"1332616184":["hashtag1","hashtag2"]},{"1332616151":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332616261, 1332616204, 1332616296, 1332616256, 1332616184, 1332616151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92647457122803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:27:32.879955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/24/image_29012025_11_25_06_9359.jpg', '/home/pi/Desktop/images/29012025/11/25/image_29012025_11_25_16_10365.jpg', '/home/pi/Desktop/images/29012025/11/25/image_29012025_11_25_27_10386.jpg', '/home/pi/Desktop/images/29012025/11/25/image_29012025_11_25_36_9475.jpg', '/home/pi/Desktop/images/29012025/11/25/image_29012025_11_25_46_10355.jpg', '/home/pi/Desktop/images/29012025/11/25/image_29012025_11_25_56_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/24/image_29012025_11_25_06_9359.jpg
/home/pi/Desktop/images/29012025/11/25/image_29012025_11_25_16_10365.jpg
/home/pi/Desktop/images/29012025/11/25/image_29012025_11_25_27_10386.jpg
/home/pi/Desktop/images/29012025/11/25/image_29012025_11_25_36_9475.jpg
/home/pi/Desktop/images/29012025/11/25/image_29012025_11_25_46_10355.jpg
/home/pi/Desktop/images/29012025/11/25/image_29012025_11_25_56_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":["1332616372","1332616357","1332616339","1332616383","1332616371","1332616350"],"photo_ids_order":["1332616339","1332616350","1332616357","1332616371","1332616372","1332616383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b73d9977d4a5d4a3ad627cce4c588bf6.jpg","text":"TemporaryFile(/tmp/multipartBody6447006144240349742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146513785,"filename":"image_29012025_11_25_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/29/09022351d80e9e8a10c851b42271bf0f.jpg","text":"TemporaryFile(/tmp/multipartBody3783215690843065612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146513785,"filename":"image_29012025_11_25_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/29/47324893f63076cff2b4d5999c21cc33.jpg","text":"TemporaryFile(/tmp/multipartBody2635992322983273629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146513785,"filename":"image_29012025_11_25_06_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/29/03ac50c4ed0b836961d29835af539289.jpg","text":"TemporaryFile(/tmp/multipartBody3663817188807803237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146513785,"filename":"image_29012025_11_25_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/29/72364f74234e5c03af4890ac2639b77e.jpg","text":"TemporaryFile(/tmp/multipartBody4561505732206136719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146513785,"filename":"image_29012025_11_25_36_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/29/4e3827fbbc461d49edecbae535d5403b.jpg","text":"TemporaryFile(/tmp/multipartBody7258024447198295956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146513785,"filename":"image_29012025_11_25_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332616357","file1":"1332616350","file0":"1332616339","file4":"1332616372","file5":"1332616383","file3":"1332616371"},"map_files_photo_id_array":[{"photo_id":"1332616383","filename":"file5"},{"photo_id":"1332616357","filename":"file2"},{"photo_id":"1332616372","filename":"file4"},{"photo_id":"1332616350","filename":"file1"},{"photo_id":"1332616339","filename":"file0"},{"photo_id":"1332616371","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332616372":["hashtag1","hashtag2"]},{"1332616357":["hashtag1","hashtag2"]},{"1332616339":["hashtag1","hashtag2"]},{"1332616383":["hashtag1","hashtag2"]},{"1332616371":["hashtag1","hashtag2"]},{"1332616350":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332616372, 1332616357, 1332616339, 1332616383, 1332616371, 1332616350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.648473501205444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:28:33.115576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/25/image_29012025_11_26_06_10424.jpg', '/home/pi/Desktop/images/29012025/11/26/image_29012025_11_26_17_10335.jpg', '/home/pi/Desktop/images/29012025/11/26/image_29012025_11_26_26_9383.jpg', '/home/pi/Desktop/images/29012025/11/26/image_29012025_11_26_36_10419.jpg', '/home/pi/Desktop/images/29012025/11/26/image_29012025_11_26_47_10363.jpg', '/home/pi/Desktop/images/29012025/11/26/image_29012025_11_26_56_9429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/25/image_29012025_11_26_06_10424.jpg
/home/pi/Desktop/images/29012025/11/26/image_29012025_11_26_17_10335.jpg
/home/pi/Desktop/images/29012025/11/26/image_29012025_11_26_26_9383.jpg
/home/pi/Desktop/images/29012025/11/26/image_29012025_11_26_36_10419.jpg
/home/pi/Desktop/images/29012025/11/26/image_29012025_11_26_47_10363.jpg
/home/pi/Desktop/images/29012025/11/26/image_29012025_11_26_56_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332616474","1332616441","1332616438","1332616464","1332616449","1332616629"],"photo_ids_order":["1332616438","1332616441","1332616449","1332616464","1332616474","1332616629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8b7b9647ef8b25ad1adbd2c2e308a66a.jpg","text":"TemporaryFile(/tmp/multipartBody7721582160566952754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146574023,"filename":"image_29012025_11_26_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/29/bf6f8215ad3934bae9210112ec80cf68.jpg","text":"TemporaryFile(/tmp/multipartBody1775505742756876379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146574023,"filename":"image_29012025_11_26_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/29/e09e550f488d6401a0a413e03ef89a92.jpg","text":"TemporaryFile(/tmp/multipartBody62616455185395228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146574023,"filename":"image_29012025_11_26_06_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/29/fd3ea26812af641a616e87f05b5513bb.jpg","text":"TemporaryFile(/tmp/multipartBody5351029840207935415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146574023,"filename":"image_29012025_11_26_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/29/1b0dce4d36a315d60b4173ef6a493c99.jpg","text":"TemporaryFile(/tmp/multipartBody8710749472834526028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146574023,"filename":"image_29012025_11_26_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/29/aed45c0febec8e5d2da8214c7563d68e.jpg","text":"TemporaryFile(/tmp/multipartBody3799673965690509542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146574023,"filename":"image_29012025_11_26_56_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332616449","file1":"1332616441","file0":"1332616438","file4":"1332616474","file5":"1332616629","file3":"1332616464"},"map_files_photo_id_array":[{"photo_id":"1332616629","filename":"file5"},{"photo_id":"1332616449","filename":"file2"},{"photo_id":"1332616474","filename":"file4"},{"photo_id":"1332616441","filename":"file1"},{"photo_id":"1332616438","filename":"file0"},{"photo_id":"1332616464","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332616474":["hashtag1","hashtag2"]},{"1332616441":["hashtag1","hashtag2"]},{"1332616438":["hashtag1","hashtag2"]},{"1332616464":["hashtag1","hashtag2"]},{"1332616449":["hashtag1","hashtag2"]},{"1332616629":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332616474, 1332616441, 1332616438, 1332616464, 1332616449, 1332616629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04823160171509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:29:32.385022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/26/image_29012025_11_27_07_10371.jpg', '/home/pi/Desktop/images/29012025/11/27/image_29012025_11_27_16_9341.jpg', '/home/pi/Desktop/images/29012025/11/27/image_29012025_11_27_26_10392.jpg', '/home/pi/Desktop/images/29012025/11/27/image_29012025_11_27_37_10372.jpg', '/home/pi/Desktop/images/29012025/11/27/image_29012025_11_27_46_9429.jpg', '/home/pi/Desktop/images/29012025/11/27/image_29012025_11_27_56_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/26/image_29012025_11_27_07_10371.jpg
/home/pi/Desktop/images/29012025/11/27/image_29012025_11_27_16_9341.jpg
/home/pi/Desktop/images/29012025/11/27/image_29012025_11_27_26_10392.jpg
/home/pi/Desktop/images/29012025/11/27/image_29012025_11_27_37_10372.jpg
/home/pi/Desktop/images/29012025/11/27/image_29012025_11_27_46_9429.jpg
/home/pi/Desktop/images/29012025/11/27/image_29012025_11_27_56_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":["1332616730","1332616718","1332616712","1332616705","1332616735","1332616725"],"photo_ids_order":["1332616705","1332616712","1332616718","1332616725","1332616730","1332616735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bd7d124a27b5df0a26f3b1f2cad81d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7945497759776551601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146633297,"filename":"image_29012025_11_27_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/29/d2da4866a4af2154e38b39cc16344150.jpg","text":"TemporaryFile(/tmp/multipartBody2023788167284111921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146633297,"filename":"image_29012025_11_27_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/29/f35f758ea9b8e6f5c7aca27587f7a11c.jpg","text":"TemporaryFile(/tmp/multipartBody8533934224068469911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146633297,"filename":"image_29012025_11_27_16_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/29/629e2afe28983c5942d5d9fcf5ca4cb2.jpg","text":"TemporaryFile(/tmp/multipartBody268268488794234784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146633297,"filename":"image_29012025_11_27_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/29/96535dde4fd190e9085e8b12b6e58aa2.jpg","text":"TemporaryFile(/tmp/multipartBody7896961146660220170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146633297,"filename":"image_29012025_11_27_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/29/ecafc47c61dcbd2ec05bcb4cc804a59b.jpg","text":"TemporaryFile(/tmp/multipartBody8188346464176236970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146633297,"filename":"image_29012025_11_27_37_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332616718","file1":"1332616712","file0":"1332616705","file4":"1332616730","file5":"1332616735","file3":"1332616725"},"map_files_photo_id_array":[{"photo_id":"1332616735","filename":"file5"},{"photo_id":"1332616718","filename":"file2"},{"photo_id":"1332616730","filename":"file4"},{"photo_id":"1332616712","filename":"file1"},{"photo_id":"1332616705","filename":"file0"},{"photo_id":"1332616725","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332616730":["hashtag1","hashtag2"]},{"1332616718":["hashtag1","hashtag2"]},{"1332616712":["hashtag1","hashtag2"]},{"1332616705":["hashtag1","hashtag2"]},{"1332616735":["hashtag1","hashtag2"]},{"1332616725":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332616730, 1332616718, 1332616712, 1332616705, 1332616735, 1332616725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37465763092041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:30:32.672426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/27/image_29012025_11_28_06_9349.jpg', '/home/pi/Desktop/images/29012025/11/28/image_29012025_11_28_16_10427.jpg', '/home/pi/Desktop/images/29012025/11/28/image_29012025_11_28_27_10427.jpg', '/home/pi/Desktop/images/29012025/11/28/image_29012025_11_28_36_9430.jpg', '/home/pi/Desktop/images/29012025/11/28/image_29012025_11_28_56_9411.jpg', '/home/pi/Desktop/images/29012025/11/28/image_29012025_11_29_06_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/27/image_29012025_11_28_06_9349.jpg
/home/pi/Desktop/images/29012025/11/28/image_29012025_11_28_16_10427.jpg
/home/pi/Desktop/images/29012025/11/28/image_29012025_11_28_27_10427.jpg
/home/pi/Desktop/images/29012025/11/28/image_29012025_11_28_36_9430.jpg
/home/pi/Desktop/images/29012025/11/28/image_29012025_11_28_56_9411.jpg
/home/pi/Desktop/images/29012025/11/28/image_29012025_11_29_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":["1332616934","1332616820","1332616780","1332616770","1332616929","1332616787"],"photo_ids_order":["1332616770","1332616780","1332616787","1332616820","1332616929","1332616934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/444dc8898fe1ce8c6eb535204335c696.jpg","text":"TemporaryFile(/tmp/multipartBody6978207377358401640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146693600,"filename":"image_29012025_11_29_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/29/44e2b5f9c26414611a3660c42572dfcc.jpg","text":"TemporaryFile(/tmp/multipartBody2888014374360775226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146693600,"filename":"image_29012025_11_28_36_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/29/5c75a102783076abe33e8cb910bf145a.jpg","text":"TemporaryFile(/tmp/multipartBody3262211837476919570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146693600,"filename":"image_29012025_11_28_16_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/29/bd660ec5efd86b32e72d510b8101ccf4.jpg","text":"TemporaryFile(/tmp/multipartBody9219339766091206730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146693600,"filename":"image_29012025_11_28_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/29/4fa3c93a2f2d87e52cfd6144e502d058.jpg","text":"TemporaryFile(/tmp/multipartBody4787543631286258706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146693600,"filename":"image_29012025_11_28_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/29/2b99b4a2a081f6f110aad6fcfb8271bd.jpg","text":"TemporaryFile(/tmp/multipartBody8563258922399448299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146693600,"filename":"image_29012025_11_28_27_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332616787","file1":"1332616780","file0":"1332616770","file4":"1332616929","file5":"1332616934","file3":"1332616820"},"map_files_photo_id_array":[{"photo_id":"1332616934","filename":"file5"},{"photo_id":"1332616787","filename":"file2"},{"photo_id":"1332616929","filename":"file4"},{"photo_id":"1332616780","filename":"file1"},{"photo_id":"1332616770","filename":"file0"},{"photo_id":"1332616820","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332616934":["hashtag1","hashtag2"]},{"1332616820":["hashtag1","hashtag2"]},{"1332616780":["hashtag1","hashtag2"]},{"1332616770":["hashtag1","hashtag2"]},{"1332616929":["hashtag1","hashtag2"]},{"1332616787":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332616934, 1332616820, 1332616780, 1332616770, 1332616929, 1332616787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35629439353943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:31:32.804103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/29/image_29012025_11_29_17_10351.jpg', '/home/pi/Desktop/images/29012025/11/29/image_29012025_11_29_26_9376.jpg', '/home/pi/Desktop/images/29012025/11/29/image_29012025_11_29_36_10418.jpg', '/home/pi/Desktop/images/29012025/11/29/image_29012025_11_29_47_10358.jpg', '/home/pi/Desktop/images/29012025/11/29/image_29012025_11_29_56_9472.jpg', '/home/pi/Desktop/images/29012025/11/29/image_29012025_11_30_07_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/29/image_29012025_11_29_17_10351.jpg
/home/pi/Desktop/images/29012025/11/29/image_29012025_11_29_26_9376.jpg
/home/pi/Desktop/images/29012025/11/29/image_29012025_11_29_36_10418.jpg
/home/pi/Desktop/images/29012025/11/29/image_29012025_11_29_47_10358.jpg
/home/pi/Desktop/images/29012025/11/29/image_29012025_11_29_56_9472.jpg
/home/pi/Desktop/images/29012025/11/29/image_29012025_11_30_07_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":["1332617554","1332617641","1332617550","1332617523","1332617543","1332617474"],"photo_ids_order":["1332617474","1332617523","1332617543","1332617550","1332617554","1332617641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ca9083ba52b3883e61d99353ee563f2e.jpg","text":"TemporaryFile(/tmp/multipartBody51454317343491124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146753727,"filename":"image_29012025_11_29_56_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/29/453463d13623d378c243e5f27e8f3754.jpg","text":"TemporaryFile(/tmp/multipartBody3208115713182397503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146753727,"filename":"image_29012025_11_30_07_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/29/557b3ccc40656f351cf508a0c8ff39cf.jpg","text":"TemporaryFile(/tmp/multipartBody5029533592528900296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146753727,"filename":"image_29012025_11_29_47_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/29/714cbcdc4298703ac2e3f800bfe202fc.jpg","text":"TemporaryFile(/tmp/multipartBody6118865686752669912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146753727,"filename":"image_29012025_11_29_26_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/29/cf97418057241e45ebb3d61e25d09351.jpg","text":"TemporaryFile(/tmp/multipartBody5126154343152304344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146753727,"filename":"image_29012025_11_29_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/29/691c4c02aed2c2e6e1f92ecc325ae7b6.jpg","text":"TemporaryFile(/tmp/multipartBody8415637976928358136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146753727,"filename":"image_29012025_11_29_17_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332617543","file1":"1332617523","file0":"1332617474","file4":"1332617554","file5":"1332617641","file3":"1332617550"},"map_files_photo_id_array":[{"photo_id":"1332617641","filename":"file5"},{"photo_id":"1332617543","filename":"file2"},{"photo_id":"1332617554","filename":"file4"},{"photo_id":"1332617523","filename":"file1"},{"photo_id":"1332617474","filename":"file0"},{"photo_id":"1332617550","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332617554":["hashtag1","hashtag2"]},{"1332617641":["hashtag1","hashtag2"]},{"1332617550":["hashtag1","hashtag2"]},{"1332617523":["hashtag1","hashtag2"]},{"1332617543":["hashtag1","hashtag2"]},{"1332617474":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332617554, 1332617641, 1332617550, 1332617523, 1332617543, 1332617474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5229012966156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:32:33.044014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/30/image_29012025_11_30_16_9342.jpg', '/home/pi/Desktop/images/29012025/11/30/image_29012025_11_30_26_10352.jpg', '/home/pi/Desktop/images/29012025/11/30/image_29012025_11_30_37_10361.jpg', '/home/pi/Desktop/images/29012025/11/30/image_29012025_11_30_46_9423.jpg', '/home/pi/Desktop/images/29012025/11/30/image_29012025_11_30_56_10364.jpg', '/home/pi/Desktop/images/29012025/11/30/image_29012025_11_31_06_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/30/image_29012025_11_30_16_9342.jpg
/home/pi/Desktop/images/29012025/11/30/image_29012025_11_30_26_10352.jpg
/home/pi/Desktop/images/29012025/11/30/image_29012025_11_30_37_10361.jpg
/home/pi/Desktop/images/29012025/11/30/image_29012025_11_30_46_9423.jpg
/home/pi/Desktop/images/29012025/11/30/image_29012025_11_30_56_10364.jpg
/home/pi/Desktop/images/29012025/11/30/image_29012025_11_31_06_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":["1332617680","1332617674","1332617665","1332617685","1332617669","1332617690"],"photo_ids_order":["1332617665","1332617669","1332617674","1332617680","1332617685","1332617690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4149ad80c3b10592df8a5287b8121293.jpg","text":"TemporaryFile(/tmp/multipartBody1834179952001771327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146813944,"filename":"image_29012025_11_30_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/29/eba667959e4e2da3ce5fa34e241483dc.jpg","text":"TemporaryFile(/tmp/multipartBody5709086683549430596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146813944,"filename":"image_29012025_11_30_37_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/29/c15916b98c31cab3ff1893d7b9f0b7a0.jpg","text":"TemporaryFile(/tmp/multipartBody5395423795589050849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146813944,"filename":"image_29012025_11_30_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/29/650e2e06151d1ca36cba0015bda2b4b1.jpg","text":"TemporaryFile(/tmp/multipartBody604034139458618317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146813944,"filename":"image_29012025_11_30_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/29/38519b3ea028d8771e5b299f2edacd3e.jpg","text":"TemporaryFile(/tmp/multipartBody4962453446406967063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146813944,"filename":"image_29012025_11_30_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/29/8f2a306f6d637a74dd3cb84b35f17a6a.jpg","text":"TemporaryFile(/tmp/multipartBody3094465281636401592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146813944,"filename":"image_29012025_11_31_06_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332617674","file1":"1332617669","file0":"1332617665","file4":"1332617685","file5":"1332617690","file3":"1332617680"},"map_files_photo_id_array":[{"photo_id":"1332617690","filename":"file5"},{"photo_id":"1332617674","filename":"file2"},{"photo_id":"1332617685","filename":"file4"},{"photo_id":"1332617669","filename":"file1"},{"photo_id":"1332617665","filename":"file0"},{"photo_id":"1332617680","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332617680":["hashtag1","hashtag2"]},{"1332617674":["hashtag1","hashtag2"]},{"1332617665":["hashtag1","hashtag2"]},{"1332617685":["hashtag1","hashtag2"]},{"1332617669":["hashtag1","hashtag2"]},{"1332617690":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332617680, 1332617674, 1332617665, 1332617685, 1332617669, 1332617690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.253326654434204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:33:32.272910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/31/image_29012025_11_31_16_10445.jpg', '/home/pi/Desktop/images/29012025/11/31/image_29012025_11_31_27_10416.jpg', '/home/pi/Desktop/images/29012025/11/31/image_29012025_11_31_36_9503.jpg', '/home/pi/Desktop/images/29012025/11/31/image_29012025_11_31_46_10355.jpg', '/home/pi/Desktop/images/29012025/11/31/image_29012025_11_31_56_9366.jpg', '/home/pi/Desktop/images/29012025/11/31/image_29012025_11_32_06_10464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/31/image_29012025_11_31_16_10445.jpg
/home/pi/Desktop/images/29012025/11/31/image_29012025_11_31_27_10416.jpg
/home/pi/Desktop/images/29012025/11/31/image_29012025_11_31_36_9503.jpg
/home/pi/Desktop/images/29012025/11/31/image_29012025_11_31_46_10355.jpg
/home/pi/Desktop/images/29012025/11/31/image_29012025_11_31_56_9366.jpg
/home/pi/Desktop/images/29012025/11/31/image_29012025_11_32_06_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332617731","1332617751","1332617742","1332617715","1332617738","1332617708"],"photo_ids_order":["1332617708","1332617715","1332617731","1332617738","1332617742","1332617751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8b0337aed5b3f90261e439b41367c907.jpg","text":"TemporaryFile(/tmp/multipartBody7093086481627617433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146873180,"filename":"image_29012025_11_31_36_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4f4a50b75ddf41ef2b1ef60df42ba83a.jpg","text":"TemporaryFile(/tmp/multipartBody2157014016520654580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146873180,"filename":"image_29012025_11_32_06_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/29/ad2b3fb7e82e48f2b9f7bea14677e544.jpg","text":"TemporaryFile(/tmp/multipartBody2362405791770217268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146873180,"filename":"image_29012025_11_31_56_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/29/d9615ab31decc887bda4e06c9d222334.jpg","text":"TemporaryFile(/tmp/multipartBody8371231982783000850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146873180,"filename":"image_29012025_11_31_27_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/29/6dca2bc0a59f7d12f14d35c4d192e3ea.jpg","text":"TemporaryFile(/tmp/multipartBody5623988178162535626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146873180,"filename":"image_29012025_11_31_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/29/5e3f4be70d2e4dec66c57d8e99bc1324.jpg","text":"TemporaryFile(/tmp/multipartBody3567026271995119223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146873180,"filename":"image_29012025_11_31_16_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332617731","file1":"1332617715","file0":"1332617708","file4":"1332617742","file5":"1332617751","file3":"1332617738"},"map_files_photo_id_array":[{"photo_id":"1332617751","filename":"file5"},{"photo_id":"1332617731","filename":"file2"},{"photo_id":"1332617742","filename":"file4"},{"photo_id":"1332617715","filename":"file1"},{"photo_id":"1332617708","filename":"file0"},{"photo_id":"1332617738","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332617731":["hashtag1","hashtag2"]},{"1332617751":["hashtag1","hashtag2"]},{"1332617742":["hashtag1","hashtag2"]},{"1332617715":["hashtag1","hashtag2"]},{"1332617738":["hashtag1","hashtag2"]},{"1332617708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332617731, 1332617751, 1332617742, 1332617715, 1332617738, 1332617708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17908787727356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:34:32.386474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/32/image_29012025_11_32_17_10351.jpg', '/home/pi/Desktop/images/29012025/11/32/image_29012025_11_32_26_9415.jpg', '/home/pi/Desktop/images/29012025/11/32/image_29012025_11_32_36_10359.jpg', '/home/pi/Desktop/images/29012025/11/32/image_29012025_11_32_46_9338.jpg', '/home/pi/Desktop/images/29012025/11/32/image_29012025_11_32_56_10469.jpg', '/home/pi/Desktop/images/29012025/11/32/image_29012025_11_33_07_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/32/image_29012025_11_32_17_10351.jpg
/home/pi/Desktop/images/29012025/11/32/image_29012025_11_32_26_9415.jpg
/home/pi/Desktop/images/29012025/11/32/image_29012025_11_32_36_10359.jpg
/home/pi/Desktop/images/29012025/11/32/image_29012025_11_32_46_9338.jpg
/home/pi/Desktop/images/29012025/11/32/image_29012025_11_32_56_10469.jpg
/home/pi/Desktop/images/29012025/11/32/image_29012025_11_33_07_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":["1332617901","1332617891","1332617885","1332617879","1332617906","1332617896"],"photo_ids_order":["1332617879","1332617885","1332617891","1332617896","1332617901","1332617906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3da8d68c9a01705ccb57ba5bd41e5149.jpg","text":"TemporaryFile(/tmp/multipartBody6436352787968504121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146933290,"filename":"image_29012025_11_32_56_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/29/30bda754d3a7b779322b356ff67cfb83.jpg","text":"TemporaryFile(/tmp/multipartBody2670680912680053192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146933290,"filename":"image_29012025_11_32_36_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/29/98283767984af70c61a23101c4164d35.jpg","text":"TemporaryFile(/tmp/multipartBody7727377624426075267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146933290,"filename":"image_29012025_11_32_26_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/29/689717d297b610e842385242c344c11f.jpg","text":"TemporaryFile(/tmp/multipartBody6571960241796727777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146933290,"filename":"image_29012025_11_32_17_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/29/2b48386899b15331acad66b1a68b85e5.jpg","text":"TemporaryFile(/tmp/multipartBody4294710008485365741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146933290,"filename":"image_29012025_11_33_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/29/ffb7dd32dbe9827e8e0c854c45c7154b.jpg","text":"TemporaryFile(/tmp/multipartBody7892254258360591517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146933290,"filename":"image_29012025_11_32_46_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332617891","file1":"1332617885","file0":"1332617879","file4":"1332617901","file5":"1332617906","file3":"1332617896"},"map_files_photo_id_array":[{"photo_id":"1332617906","filename":"file5"},{"photo_id":"1332617891","filename":"file2"},{"photo_id":"1332617901","filename":"file4"},{"photo_id":"1332617885","filename":"file1"},{"photo_id":"1332617879","filename":"file0"},{"photo_id":"1332617896","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332617901":["hashtag1","hashtag2"]},{"1332617891":["hashtag1","hashtag2"]},{"1332617885":["hashtag1","hashtag2"]},{"1332617879":["hashtag1","hashtag2"]},{"1332617906":["hashtag1","hashtag2"]},{"1332617896":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332617901, 1332617891, 1332617885, 1332617879, 1332617906, 1332617896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09402084350586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:35:32.686782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/33/image_29012025_11_33_17_10024.jpg', '/home/pi/Desktop/images/29012025/11/33/image_29012025_11_33_26_9459.jpg', '/home/pi/Desktop/images/29012025/11/33/image_29012025_11_33_36_10363.jpg', '/home/pi/Desktop/images/29012025/11/33/image_29012025_11_33_46_9351.jpg', '/home/pi/Desktop/images/29012025/11/33/image_29012025_11_33_56_10399.jpg', '/home/pi/Desktop/images/29012025/11/33/image_29012025_11_34_07_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/33/image_29012025_11_33_17_10024.jpg
/home/pi/Desktop/images/29012025/11/33/image_29012025_11_33_26_9459.jpg
/home/pi/Desktop/images/29012025/11/33/image_29012025_11_33_36_10363.jpg
/home/pi/Desktop/images/29012025/11/33/image_29012025_11_33_46_9351.jpg
/home/pi/Desktop/images/29012025/11/33/image_29012025_11_33_56_10399.jpg
/home/pi/Desktop/images/29012025/11/33/image_29012025_11_34_07_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":["1332617950","1332617974","1332618039","1332617964","1332618125","1332617957"],"photo_ids_order":["1332617950","1332617957","1332617964","1332617974","1332618039","1332618125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/24d8f8893456cd7ab8e19f92cbb30fb2.jpg","text":"TemporaryFile(/tmp/multipartBody1903267506780964043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146993613,"filename":"image_29012025_11_33_17_10024.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/60092e62cf1b8ce52bbc3e4cb3a8814f.jpg","text":"TemporaryFile(/tmp/multipartBody4736879103177217167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146993613,"filename":"image_29012025_11_33_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/29/304de4f32153b9fb8408f4535af34d35.jpg","text":"TemporaryFile(/tmp/multipartBody2806071720734839996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146993613,"filename":"image_29012025_11_33_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/29/c75d8a89909baf8b4e9703afaf29777e.jpg","text":"TemporaryFile(/tmp/multipartBody5591350894303093019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146993613,"filename":"image_29012025_11_33_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/29/5c02b453280556d9200a36fe0805de53.jpg","text":"TemporaryFile(/tmp/multipartBody2966793379857590917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146993613,"filename":"image_29012025_11_34_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/29/9b1dfc9c3bd602aa6e0a9fa76e2bee87.jpg","text":"TemporaryFile(/tmp/multipartBody7813026281134863742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738146993613,"filename":"image_29012025_11_33_26_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332617964","file1":"1332617957","file0":"1332617950","file4":"1332618039","file5":"1332618125","file3":"1332617974"},"map_files_photo_id_array":[{"photo_id":"1332618125","filename":"file5"},{"photo_id":"1332617964","filename":"file2"},{"photo_id":"1332618039","filename":"file4"},{"photo_id":"1332617957","filename":"file1"},{"photo_id":"1332617950","filename":"file0"},{"photo_id":"1332617974","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332617950":["hashtag1","hashtag2"]},{"1332617974":["hashtag1","hashtag2"]},{"1332618039":["hashtag1","hashtag2"]},{"1332617964":["hashtag1","hashtag2"]},{"1332618125":["hashtag1","hashtag2"]},{"1332617957":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332617950, 1332617974, 1332618039, 1332617964, 1332618125, 1332617957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51687264442444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:36:32.886913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/34/image_29012025_11_34_16_9408.jpg', '/home/pi/Desktop/images/29012025/11/34/image_29012025_11_34_26_10378.jpg', '/home/pi/Desktop/images/29012025/11/34/image_29012025_11_34_37_10377.jpg', '/home/pi/Desktop/images/29012025/11/34/image_29012025_11_34_46_9516.jpg', '/home/pi/Desktop/images/29012025/11/34/image_29012025_11_34_57_10365.jpg', '/home/pi/Desktop/images/29012025/11/34/image_29012025_11_35_06_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/34/image_29012025_11_34_16_9408.jpg
/home/pi/Desktop/images/29012025/11/34/image_29012025_11_34_26_10378.jpg
/home/pi/Desktop/images/29012025/11/34/image_29012025_11_34_37_10377.jpg
/home/pi/Desktop/images/29012025/11/34/image_29012025_11_34_46_9516.jpg
/home/pi/Desktop/images/29012025/11/34/image_29012025_11_34_57_10365.jpg
/home/pi/Desktop/images/29012025/11/34/image_29012025_11_35_06_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":["1332618346","1332618334","1332618341","1332618329","1332618274","1332618337"],"photo_ids_order":["1332618274","1332618329","1332618334","1332618337","1332618341","1332618346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/574bcf634d9d14abbab8b8db574a8a6b.jpg","text":"TemporaryFile(/tmp/multipartBody6685154637006396365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147053790,"filename":"image_29012025_11_35_06_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/29/8a2627a54805ec9b4acacda821926797.jpg","text":"TemporaryFile(/tmp/multipartBody4311496322301781412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147053790,"filename":"image_29012025_11_34_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/29/fa6045819f703957c0576f2116875a4e.jpg","text":"TemporaryFile(/tmp/multipartBody4567486743386966065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147053790,"filename":"image_29012025_11_34_57_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/29/9aa86ccd27b91ca84e9010cefdee1749.jpg","text":"TemporaryFile(/tmp/multipartBody1610592525699055307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147053790,"filename":"image_29012025_11_34_26_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/29/e2ab267b323fa4b9411620ea17ed052d.jpg","text":"TemporaryFile(/tmp/multipartBody4461335831835756627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147053790,"filename":"image_29012025_11_34_16_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/29/fc3b1398796118584bb3ce177dff36dd.jpg","text":"TemporaryFile(/tmp/multipartBody1182619770878030307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147053790,"filename":"image_29012025_11_34_46_9516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332618334","file1":"1332618329","file0":"1332618274","file4":"1332618341","file5":"1332618346","file3":"1332618337"},"map_files_photo_id_array":[{"photo_id":"1332618346","filename":"file5"},{"photo_id":"1332618334","filename":"file2"},{"photo_id":"1332618341","filename":"file4"},{"photo_id":"1332618329","filename":"file1"},{"photo_id":"1332618274","filename":"file0"},{"photo_id":"1332618337","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332618346":["hashtag1","hashtag2"]},{"1332618334":["hashtag1","hashtag2"]},{"1332618341":["hashtag1","hashtag2"]},{"1332618329":["hashtag1","hashtag2"]},{"1332618274":["hashtag1","hashtag2"]},{"1332618337":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332618346, 1332618334, 1332618341, 1332618329, 1332618274, 1332618337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72108745574951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:37:33.108387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/35/image_29012025_11_35_16_10372.jpg', '/home/pi/Desktop/images/29012025/11/35/image_29012025_11_35_27_10342.jpg', '/home/pi/Desktop/images/29012025/11/35/image_29012025_11_35_36_9459.jpg', '/home/pi/Desktop/images/29012025/11/35/image_29012025_11_35_47_10444.jpg', '/home/pi/Desktop/images/29012025/11/35/image_29012025_11_35_56_9480.jpg', '/home/pi/Desktop/images/29012025/11/35/image_29012025_11_36_06_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/35/image_29012025_11_35_16_10372.jpg
/home/pi/Desktop/images/29012025/11/35/image_29012025_11_35_27_10342.jpg
/home/pi/Desktop/images/29012025/11/35/image_29012025_11_35_36_9459.jpg
/home/pi/Desktop/images/29012025/11/35/image_29012025_11_35_47_10444.jpg
/home/pi/Desktop/images/29012025/11/35/image_29012025_11_35_56_9480.jpg
/home/pi/Desktop/images/29012025/11/35/image_29012025_11_36_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":["1332618642","1332618654","1332618648","1332618497","1332618614","1332618608"],"photo_ids_order":["1332618497","1332618608","1332618614","1332618642","1332618648","1332618654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/80bd6c82f76b1525f18b7f960650caa7.jpg","text":"TemporaryFile(/tmp/multipartBody7226692538846396758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147114041,"filename":"image_29012025_11_35_47_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/29/4088859949021d858cdebfed8eb1b22a.jpg","text":"TemporaryFile(/tmp/multipartBody5939510238031440150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147114041,"filename":"image_29012025_11_36_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/29/9f46de806914f05768ea85312e881c06.jpg","text":"TemporaryFile(/tmp/multipartBody2748464304899104208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147114041,"filename":"image_29012025_11_35_56_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/29/7a31fe830e4d0cc1142d350963cbb318.jpg","text":"TemporaryFile(/tmp/multipartBody4562290511947324029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147114041,"filename":"image_29012025_11_35_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/29/96469b59fa8d254b31aee31140d5370e.jpg","text":"TemporaryFile(/tmp/multipartBody125749792551278747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147114041,"filename":"image_29012025_11_35_36_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/29/13fbf0bd5367316e8801a1466194757b.jpg","text":"TemporaryFile(/tmp/multipartBody4767337004878742324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147114041,"filename":"image_29012025_11_35_27_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332618614","file1":"1332618608","file0":"1332618497","file4":"1332618648","file5":"1332618654","file3":"1332618642"},"map_files_photo_id_array":[{"photo_id":"1332618654","filename":"file5"},{"photo_id":"1332618614","filename":"file2"},{"photo_id":"1332618648","filename":"file4"},{"photo_id":"1332618608","filename":"file1"},{"photo_id":"1332618497","filename":"file0"},{"photo_id":"1332618642","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332618642":["hashtag1","hashtag2"]},{"1332618654":["hashtag1","hashtag2"]},{"1332618648":["hashtag1","hashtag2"]},{"1332618497":["hashtag1","hashtag2"]},{"1332618614":["hashtag1","hashtag2"]},{"1332618608":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332618642, 1332618654, 1332618648, 1332618497, 1332618614, 1332618608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.267367124557495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:38:32.291129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/36/image_29012025_11_36_16_9334.jpg', '/home/pi/Desktop/images/29012025/11/36/image_29012025_11_36_26_10365.jpg', '/home/pi/Desktop/images/29012025/11/36/image_29012025_11_36_37_10408.jpg', '/home/pi/Desktop/images/29012025/11/36/image_29012025_11_36_46_9341.jpg', '/home/pi/Desktop/images/29012025/11/36/image_29012025_11_36_56_10373.jpg', '/home/pi/Desktop/images/29012025/11/36/image_29012025_11_37_07_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/36/image_29012025_11_36_16_9334.jpg
/home/pi/Desktop/images/29012025/11/36/image_29012025_11_36_26_10365.jpg
/home/pi/Desktop/images/29012025/11/36/image_29012025_11_36_37_10408.jpg
/home/pi/Desktop/images/29012025/11/36/image_29012025_11_36_46_9341.jpg
/home/pi/Desktop/images/29012025/11/36/image_29012025_11_36_56_10373.jpg
/home/pi/Desktop/images/29012025/11/36/image_29012025_11_37_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":["1332618795","1332618797","1332618793","1332618790","1332618784","1332618778"],"photo_ids_order":["1332618778","1332618784","1332618790","1332618793","1332618795","1332618797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f9e1d43622b89e4e74efa1c71fbf37aa.jpg","text":"TemporaryFile(/tmp/multipartBody4068064524294899264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147173195,"filename":"image_29012025_11_36_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/29/a06273310edc3f7c769d5621f06571a8.jpg","text":"TemporaryFile(/tmp/multipartBody940674945802424015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147173195,"filename":"image_29012025_11_37_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/29/fc4dbd0f89641bf6575f27d67b77d94f.jpg","text":"TemporaryFile(/tmp/multipartBody4869553043672703168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147173195,"filename":"image_29012025_11_36_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/29/1ef9eb2e1b3da134a364be16109d82aa.jpg","text":"TemporaryFile(/tmp/multipartBody1896445031745884124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147173195,"filename":"image_29012025_11_36_37_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/29/ccce84cd795c38ea948d2ecdab4f645b.jpg","text":"TemporaryFile(/tmp/multipartBody7379853506006962725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147173195,"filename":"image_29012025_11_36_26_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/29/259b99593837288e702e9d3779369f7e.jpg","text":"TemporaryFile(/tmp/multipartBody7019974788038512063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147173195,"filename":"image_29012025_11_36_16_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332618790","file1":"1332618784","file0":"1332618778","file4":"1332618795","file5":"1332618797","file3":"1332618793"},"map_files_photo_id_array":[{"photo_id":"1332618797","filename":"file5"},{"photo_id":"1332618790","filename":"file2"},{"photo_id":"1332618795","filename":"file4"},{"photo_id":"1332618784","filename":"file1"},{"photo_id":"1332618778","filename":"file0"},{"photo_id":"1332618793","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332618795":["hashtag1","hashtag2"]},{"1332618797":["hashtag1","hashtag2"]},{"1332618793":["hashtag1","hashtag2"]},{"1332618790":["hashtag1","hashtag2"]},{"1332618784":["hashtag1","hashtag2"]},{"1332618778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332618795, 1332618797, 1332618793, 1332618790, 1332618784, 1332618778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54750609397888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:39:32.706658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/37/image_29012025_11_37_16_9407.jpg', '/home/pi/Desktop/images/29012025/11/37/image_29012025_11_37_26_10374.jpg', '/home/pi/Desktop/images/29012025/11/37/image_29012025_11_37_37_10342.jpg', '/home/pi/Desktop/images/29012025/11/37/image_29012025_11_37_46_9452.jpg', '/home/pi/Desktop/images/29012025/11/37/image_29012025_11_37_57_10354.jpg', '/home/pi/Desktop/images/29012025/11/37/image_29012025_11_38_06_9371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/37/image_29012025_11_37_16_9407.jpg
/home/pi/Desktop/images/29012025/11/37/image_29012025_11_37_26_10374.jpg
/home/pi/Desktop/images/29012025/11/37/image_29012025_11_37_37_10342.jpg
/home/pi/Desktop/images/29012025/11/37/image_29012025_11_37_46_9452.jpg
/home/pi/Desktop/images/29012025/11/37/image_29012025_11_37_57_10354.jpg
/home/pi/Desktop/images/29012025/11/37/image_29012025_11_38_06_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332618823","1332618834","1332618828","1332618839","1332618850","1332618844"],"photo_ids_order":["1332618823","1332618828","1332618834","1332618839","1332618844","1332618850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/39fd8fab897e7c7dd98b051f47ff5dfe.jpg","text":"TemporaryFile(/tmp/multipartBody7678932514667405106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147233602,"filename":"image_29012025_11_37_16_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/29/f13e27753567dadc3ff837917f24bbd1.jpg","text":"TemporaryFile(/tmp/multipartBody5003378742293836389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147233602,"filename":"image_29012025_11_37_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/29/335b17d6e4fbdbe3c2bf98609647ec72.jpg","text":"TemporaryFile(/tmp/multipartBody7849827902688818478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147233602,"filename":"image_29012025_11_37_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/29/1f7ec8c99398daf469f25f50efdedfde.jpg","text":"TemporaryFile(/tmp/multipartBody7263073292764496941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147233602,"filename":"image_29012025_11_37_46_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/29/e87c4aef0317d952253122edb5a34285.jpg","text":"TemporaryFile(/tmp/multipartBody890840591924144376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147233602,"filename":"image_29012025_11_38_06_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/29/fc7adbaa0fc76728ee480988a5af791b.jpg","text":"TemporaryFile(/tmp/multipartBody4513402467801617218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147233602,"filename":"image_29012025_11_37_57_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332618834","file1":"1332618828","file0":"1332618823","file4":"1332618844","file5":"1332618850","file3":"1332618839"},"map_files_photo_id_array":[{"photo_id":"1332618850","filename":"file5"},{"photo_id":"1332618834","filename":"file2"},{"photo_id":"1332618844","filename":"file4"},{"photo_id":"1332618828","filename":"file1"},{"photo_id":"1332618823","filename":"file0"},{"photo_id":"1332618839","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332618823":["hashtag1","hashtag2"]},{"1332618834":["hashtag1","hashtag2"]},{"1332618828":["hashtag1","hashtag2"]},{"1332618839":["hashtag1","hashtag2"]},{"1332618850":["hashtag1","hashtag2"]},{"1332618844":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332618823, 1332618834, 1332618828, 1332618839, 1332618850, 1332618844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31902360916138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:40:32.855943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/38/image_29012025_11_38_16_10333.jpg', '/home/pi/Desktop/images/29012025/11/38/image_29012025_11_38_27_10407.jpg', '/home/pi/Desktop/images/29012025/11/38/image_29012025_11_38_36_9427.jpg', '/home/pi/Desktop/images/29012025/11/38/image_29012025_11_38_46_10424.jpg', '/home/pi/Desktop/images/29012025/11/38/image_29012025_11_38_56_9361.jpg', '/home/pi/Desktop/images/29012025/11/38/image_29012025_11_39_06_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/38/image_29012025_11_38_16_10333.jpg
/home/pi/Desktop/images/29012025/11/38/image_29012025_11_38_27_10407.jpg
/home/pi/Desktop/images/29012025/11/38/image_29012025_11_38_36_9427.jpg
/home/pi/Desktop/images/29012025/11/38/image_29012025_11_38_46_10424.jpg
/home/pi/Desktop/images/29012025/11/38/image_29012025_11_38_56_9361.jpg
/home/pi/Desktop/images/29012025/11/38/image_29012025_11_39_06_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":["1332618897","1332618890","1332618932","1332618926","1332618875","1332618905"],"photo_ids_order":["1332618875","1332618890","1332618897","1332618905","1332618926","1332618932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/74986841faeca6cd325d0ee3afcd4e80.jpg","text":"TemporaryFile(/tmp/multipartBody5151782080874594521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147293751,"filename":"image_29012025_11_38_36_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/29/a749b79d8fdb8078894fdfe9c50230fd.jpg","text":"TemporaryFile(/tmp/multipartBody2344110224488403516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147293751,"filename":"image_29012025_11_38_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/29/b710329f795e39610323aaf3216ff9d9.jpg","text":"TemporaryFile(/tmp/multipartBody8253658806402613970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147293751,"filename":"image_29012025_11_39_06_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/29/26a6c4166e44e9d90efa6921904955b9.jpg","text":"TemporaryFile(/tmp/multipartBody2850331004530716700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147293751,"filename":"image_29012025_11_38_56_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/29/6829806b4c2c9c9cb93c3ca4b0fc5c7c.jpg","text":"TemporaryFile(/tmp/multipartBody8066410293534569622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147293751,"filename":"image_29012025_11_38_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/29/c4b788bcd3ffbaba09540f46c3baf40a.jpg","text":"TemporaryFile(/tmp/multipartBody6760630760160005787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147293751,"filename":"image_29012025_11_38_46_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332618897","file1":"1332618890","file0":"1332618875","file4":"1332618926","file5":"1332618932","file3":"1332618905"},"map_files_photo_id_array":[{"photo_id":"1332618932","filename":"file5"},{"photo_id":"1332618897","filename":"file2"},{"photo_id":"1332618926","filename":"file4"},{"photo_id":"1332618890","filename":"file1"},{"photo_id":"1332618875","filename":"file0"},{"photo_id":"1332618905","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332618897":["hashtag1","hashtag2"]},{"1332618890":["hashtag1","hashtag2"]},{"1332618932":["hashtag1","hashtag2"]},{"1332618926":["hashtag1","hashtag2"]},{"1332618875":["hashtag1","hashtag2"]},{"1332618905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332618897, 1332618890, 1332618932, 1332618926, 1332618875, 1332618905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11561918258667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:41:33.000714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_17_10341.jpg', '/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_26_9353.jpg', '/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_37_10585.jpg', '/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_46_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_17_10341.jpg
/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_26_9353.jpg
/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_37_10585.jpg
/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_46_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.49199914932250977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 11:41:43.164754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_17_10341.jpg', '/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_26_9353.jpg', '/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_37_10585.jpg', '/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_46_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_17_10341.jpg
/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_26_9353.jpg
/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_37_10585.jpg
/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_46_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":["1332619284","1332619136","1332619087","1332619024"],"photo_ids_order":["1332619024","1332619087","1332619136","1332619284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/20880962e6e4e2c04279cb79142ac710.jpg","text":"TemporaryFile(/tmp/multipartBody8379200817008484523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147364051,"filename":"image_29012025_11_39_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/29/f5fb593f73f1f4d3c3f601c87f6e7190.jpg","text":"TemporaryFile(/tmp/multipartBody4124330476477210163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147364051,"filename":"image_29012025_11_39_37_10585.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2d5de74ae3425fed4ca226fb5c9ef3fc.jpg","text":"TemporaryFile(/tmp/multipartBody4064688201828863135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147364051,"filename":"image_29012025_11_39_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/29/7024147688e567d24841ffece440628c.jpg","text":"TemporaryFile(/tmp/multipartBody853852963537442746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147364051,"filename":"image_29012025_11_39_17_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332619136","file1":"1332619087","file0":"1332619024","file3":"1332619284"},"map_files_photo_id_array":[{"photo_id":"1332619136","filename":"file2"},{"photo_id":"1332619087","filename":"file1"},{"photo_id":"1332619024","filename":"file0"},{"photo_id":"1332619284","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332619284":["hashtag1","hashtag2"]},{"1332619136":["hashtag1","hashtag2"]},{"1332619087":["hashtag1","hashtag2"]},{"1332619024":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332619284, 1332619136, 1332619087, 1332619024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.54026985168457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:42:32.318776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_25_9404.jpg', '/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_35_10348.jpg', '/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_46_10376.jpg', '/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_55_9412.jpg', '/home/pi/Desktop/images/24012025/20/30/image_24012025_20_31_05_10331.jpg', '/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_16_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_25_9404.jpg
/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_35_10348.jpg
/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_46_10376.jpg
/home/pi/Desktop/images/24012025/20/30/image_24012025_20_30_55_9412.jpg
/home/pi/Desktop/images/24012025/20/30/image_24012025_20_31_05_10331.jpg
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_16_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":["1332619431","1332619434","1332619413","1332619407","1332619426","1332619420"],"photo_ids_order":["1332619407","1332619413","1332619420","1332619426","1332619431","1332619434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/96e2e163adebc0603cde2434fd69f4b4.jpg","text":"TemporaryFile(/tmp/multipartBody5565185920741336319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147414391,"filename":"image_24012025_20_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/29/8eefdf586e7f6a9c8dec554c1ca7d25f.jpg","text":"TemporaryFile(/tmp/multipartBody2225804986682687614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147414391,"filename":"image_24012025_20_31_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/29/8062a72a7e78e306703c0422bce61759.jpg","text":"TemporaryFile(/tmp/multipartBody2731529243592080933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147414391,"filename":"image_24012025_20_30_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/29/8f07dcf07d04e6e86e7c3c92126f10f3.jpg","text":"TemporaryFile(/tmp/multipartBody8503844719846508399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147414391,"filename":"image_24012025_20_30_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/29/f8815376fbdb70e4f987b7090e206d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7024644448575196457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147414391,"filename":"image_24012025_20_30_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/29/b6b5e107a37f54a1a9810f4f2d0f975d.jpg","text":"TemporaryFile(/tmp/multipartBody6185133443747052283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147414391,"filename":"image_24012025_20_30_46_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332619420","file1":"1332619413","file0":"1332619407","file4":"1332619431","file5":"1332619434","file3":"1332619426"},"map_files_photo_id_array":[{"photo_id":"1332619434","filename":"file5"},{"photo_id":"1332619420","filename":"file2"},{"photo_id":"1332619431","filename":"file4"},{"photo_id":"1332619413","filename":"file1"},{"photo_id":"1332619407","filename":"file0"},{"photo_id":"1332619426","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332619431":["hashtag1","hashtag2"]},{"1332619434":["hashtag1","hashtag2"]},{"1332619413":["hashtag1","hashtag2"]},{"1332619407":["hashtag1","hashtag2"]},{"1332619426":["hashtag1","hashtag2"]},{"1332619420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332619431, 1332619434, 1332619413, 1332619407, 1332619426, 1332619420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20189905166626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:43:32.459932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_25_9463.jpg', '/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_36_10398.jpg', '/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_45_9395.jpg', '/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_56_10423.jpg', '/home/pi/Desktop/images/24012025/20/31/image_24012025_20_32_06_10352.jpg', '/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_15_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_25_9463.jpg
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_36_10398.jpg
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_45_9395.jpg
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_31_56_10423.jpg
/home/pi/Desktop/images/24012025/20/31/image_24012025_20_32_06_10352.jpg
/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_15_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":["1332619490","1332619517","1332619502","1332619495","1332619498","1332619510"],"photo_ids_order":["1332619490","1332619495","1332619498","1332619502","1332619510","1332619517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2249807d1083a46cabef1b1982fc4199.jpg","text":"TemporaryFile(/tmp/multipartBody1347543794113597448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147474549,"filename":"image_24012025_20_31_25_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/29/62f9f7add5d1cd989942f641fc8075ca.jpg","text":"TemporaryFile(/tmp/multipartBody459060263687348227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147474549,"filename":"image_24012025_20_32_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/29/52b82e234d8724897f1354c448dd7691.jpg","text":"TemporaryFile(/tmp/multipartBody1935872845851033497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147474549,"filename":"image_24012025_20_31_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/29/42f5e68a4b1a4df32feabe4dd4fcbd04.jpg","text":"TemporaryFile(/tmp/multipartBody8776920038043182068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147474549,"filename":"image_24012025_20_31_36_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/29/30615936924910f32dc83f9a277cc53c.jpg","text":"TemporaryFile(/tmp/multipartBody3285776468333682095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147474549,"filename":"image_24012025_20_31_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/29/bfd0a416061a78a1e32457db48c90d84.jpg","text":"TemporaryFile(/tmp/multipartBody8606820062781730406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147474549,"filename":"image_24012025_20_32_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332619498","file1":"1332619495","file0":"1332619490","file4":"1332619510","file5":"1332619517","file3":"1332619502"},"map_files_photo_id_array":[{"photo_id":"1332619517","filename":"file5"},{"photo_id":"1332619498","filename":"file2"},{"photo_id":"1332619510","filename":"file4"},{"photo_id":"1332619495","filename":"file1"},{"photo_id":"1332619490","filename":"file0"},{"photo_id":"1332619502","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332619490":["hashtag1","hashtag2"]},{"1332619517":["hashtag1","hashtag2"]},{"1332619502":["hashtag1","hashtag2"]},{"1332619495":["hashtag1","hashtag2"]},{"1332619498":["hashtag1","hashtag2"]},{"1332619510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332619490, 1332619517, 1332619502, 1332619495, 1332619498, 1332619510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.957716941833496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:44:32.690504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_26_10380.jpg', '/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_35_9333.jpg', '/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_45_10336.jpg', '/home/pi/Desktop/images/24012025/20/32/image_24012025_20_33_05_9422.jpg', '/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_15_10380.jpg', '/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_26_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_26_10380.jpg
/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_35_9333.jpg
/home/pi/Desktop/images/24012025/20/32/image_24012025_20_32_45_10336.jpg
/home/pi/Desktop/images/24012025/20/32/image_24012025_20_33_05_9422.jpg
/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_15_10380.jpg
/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_26_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332619581","1332619563","1332619577","1332619559","1332619574","1332619568"],"photo_ids_order":["1332619559","1332619563","1332619568","1332619574","1332619577","1332619581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/84ccbddf977b34cd816aa1ce51bba0dc.jpg","text":"TemporaryFile(/tmp/multipartBody1574914891825027378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147534787,"filename":"image_24012025_20_33_26_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/29/ae5706de6b2279543de2b3a2e65c1c84.jpg","text":"TemporaryFile(/tmp/multipartBody7850687778383918159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147534787,"filename":"image_24012025_20_32_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/29/4195df52372bbec8575c81806073c3f4.jpg","text":"TemporaryFile(/tmp/multipartBody4547316057690442076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147534787,"filename":"image_24012025_20_33_15_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/29/63168776e75a37702fc87c9e209b0bc6.jpg","text":"TemporaryFile(/tmp/multipartBody7433311008942868389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147534787,"filename":"image_24012025_20_32_26_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/29/a27e5770441cdae1023bd2ecc2ca158c.jpg","text":"TemporaryFile(/tmp/multipartBody6705615979078511425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147534787,"filename":"image_24012025_20_33_05_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/29/43cb94404b3c772d53fb713c2a0091e2.jpg","text":"TemporaryFile(/tmp/multipartBody271258715568179825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147534787,"filename":"image_24012025_20_32_45_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332619568","file1":"1332619563","file0":"1332619559","file4":"1332619577","file5":"1332619581","file3":"1332619574"},"map_files_photo_id_array":[{"photo_id":"1332619581","filename":"file5"},{"photo_id":"1332619568","filename":"file2"},{"photo_id":"1332619577","filename":"file4"},{"photo_id":"1332619563","filename":"file1"},{"photo_id":"1332619559","filename":"file0"},{"photo_id":"1332619574","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332619581":["hashtag1","hashtag2"]},{"1332619563":["hashtag1","hashtag2"]},{"1332619577":["hashtag1","hashtag2"]},{"1332619559":["hashtag1","hashtag2"]},{"1332619574":["hashtag1","hashtag2"]},{"1332619568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332619581, 1332619563, 1332619577, 1332619559, 1332619574, 1332619568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.790191411972046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:45:32.918653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_35_9365.jpg', '/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_46_10361.jpg', '/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_55_9361.jpg', '/home/pi/Desktop/images/24012025/20/33/image_24012025_20_34_05_10355.jpg', '/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_16_10370.jpg', '/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_35_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_35_9365.jpg
/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_46_10361.jpg
/home/pi/Desktop/images/24012025/20/33/image_24012025_20_33_55_9361.jpg
/home/pi/Desktop/images/24012025/20/33/image_24012025_20_34_05_10355.jpg
/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_16_10370.jpg
/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_35_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":["1332619851","1332619842","1332619778","1332619925","1332619858","1332619863"],"photo_ids_order":["1332619778","1332619842","1332619851","1332619858","1332619863","1332619925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c3752f317ac36517bed93b5eba1b2be6.jpg","text":"TemporaryFile(/tmp/multipartBody7296752386561539092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147595017,"filename":"image_24012025_20_33_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/29/165ff7c9aa423cf966e74a860d42d662.jpg","text":"TemporaryFile(/tmp/multipartBody8593862476441056162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147595017,"filename":"image_24012025_20_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/29/9a62838ad5dbd644216a264d2b85ee0f.jpg","text":"TemporaryFile(/tmp/multipartBody9190842522812627051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147595017,"filename":"image_24012025_20_33_35_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/29/1f15bd2a8fd77b90f466bbba1f90be9d.jpg","text":"TemporaryFile(/tmp/multipartBody3142754283529031921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147595017,"filename":"image_24012025_20_34_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/29/87f1a209146ca28cd9e2d5ba59525ac3.jpg","text":"TemporaryFile(/tmp/multipartBody1666893329184341120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147595017,"filename":"image_24012025_20_34_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/29/865d5bc4cda24ab7ef30883bacf605bb.jpg","text":"TemporaryFile(/tmp/multipartBody7503460712360993559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147595017,"filename":"image_24012025_20_34_16_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332619851","file1":"1332619842","file0":"1332619778","file4":"1332619863","file5":"1332619925","file3":"1332619858"},"map_files_photo_id_array":[{"photo_id":"1332619925","filename":"file5"},{"photo_id":"1332619851","filename":"file2"},{"photo_id":"1332619863","filename":"file4"},{"photo_id":"1332619842","filename":"file1"},{"photo_id":"1332619778","filename":"file0"},{"photo_id":"1332619858","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332619851":["hashtag1","hashtag2"]},{"1332619842":["hashtag1","hashtag2"]},{"1332619778":["hashtag1","hashtag2"]},{"1332619925":["hashtag1","hashtag2"]},{"1332619858":["hashtag1","hashtag2"]},{"1332619863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332619851, 1332619842, 1332619778, 1332619925, 1332619858, 1332619863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.750535011291504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:46:33.121310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_46_10398.jpg', '/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_55_9351.jpg', '/home/pi/Desktop/images/24012025/20/34/image_24012025_20_35_06_10359.jpg', '/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_15_9412.jpg', '/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_25_10400.jpg', '/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_36_10469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_46_10398.jpg
/home/pi/Desktop/images/24012025/20/34/image_24012025_20_34_55_9351.jpg
/home/pi/Desktop/images/24012025/20/34/image_24012025_20_35_06_10359.jpg
/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_15_9412.jpg
/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_25_10400.jpg
/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_36_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":["1332620028","1332620013","1332619979","1332620036","1332619990","1332619984"],"photo_ids_order":["1332619979","1332619984","1332619990","1332620013","1332620028","1332620036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7e21f728eb816391314e216318a870cf.jpg","text":"TemporaryFile(/tmp/multipartBody2058644246872984477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147655234,"filename":"image_24012025_20_35_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/29/5299a830536728c0cc750b5a7f6cbce4.jpg","text":"TemporaryFile(/tmp/multipartBody3641062577230789896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147655234,"filename":"image_24012025_20_35_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/29/548c4775ce714ef6d0971a5953106e8a.jpg","text":"TemporaryFile(/tmp/multipartBody7583474632815943247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147655234,"filename":"image_24012025_20_34_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/29/e03959d85cf645752a6a8ef91b439861.jpg","text":"TemporaryFile(/tmp/multipartBody46527423536571454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147655234,"filename":"image_24012025_20_35_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/29/1799ccbba992dfcfd42cf4fbe3da0138.jpg","text":"TemporaryFile(/tmp/multipartBody578613611512990109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147655234,"filename":"image_24012025_20_35_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/29/5ce24a415928a9d3b70fe65f0a483614.jpg","text":"TemporaryFile(/tmp/multipartBody493751259809648876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147655234,"filename":"image_24012025_20_34_55_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332619990","file1":"1332619984","file0":"1332619979","file4":"1332620028","file5":"1332620036","file3":"1332620013"},"map_files_photo_id_array":[{"photo_id":"1332620036","filename":"file5"},{"photo_id":"1332619990","filename":"file2"},{"photo_id":"1332620028","filename":"file4"},{"photo_id":"1332619984","filename":"file1"},{"photo_id":"1332619979","filename":"file0"},{"photo_id":"1332620013","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332620028":["hashtag1","hashtag2"]},{"1332620013":["hashtag1","hashtag2"]},{"1332619979":["hashtag1","hashtag2"]},{"1332620036":["hashtag1","hashtag2"]},{"1332619990":["hashtag1","hashtag2"]},{"1332619984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332620028, 1332620013, 1332619979, 1332620036, 1332619990, 1332619984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61724090576172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:47:32.428040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_45_9329.jpg', '/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_56_10339.jpg', '/home/pi/Desktop/images/24012025/20/35/image_24012025_20_36_05_9355.jpg', '/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_15_10367.jpg', '/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_26_10351.jpg', '/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_35_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_45_9329.jpg
/home/pi/Desktop/images/24012025/20/35/image_24012025_20_35_56_10339.jpg
/home/pi/Desktop/images/24012025/20/35/image_24012025_20_36_05_9355.jpg
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_15_10367.jpg
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_26_10351.jpg
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_35_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":["1332620107","1332620154","1332620198","1332620189","1332620123","1332620128"],"photo_ids_order":["1332620107","1332620123","1332620128","1332620154","1332620189","1332620198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b3de5d28d52a6b94edc4f0c05a18cc92.jpg","text":"TemporaryFile(/tmp/multipartBody6261020094233451342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147714516,"filename":"image_24012025_20_35_45_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/29/99074088b26e16200be28e4b20213649.jpg","text":"TemporaryFile(/tmp/multipartBody2684762645650999527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147714516,"filename":"image_24012025_20_36_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/29/285a9ed13bca7c3c0513638b6383ab24.jpg","text":"TemporaryFile(/tmp/multipartBody4497372852259266313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147714516,"filename":"image_24012025_20_36_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/29/90de43c2fdc66966a5a14f6cf61aff91.jpg","text":"TemporaryFile(/tmp/multipartBody6318078444463184541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147714516,"filename":"image_24012025_20_36_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/29/49b2d1d31bd2b33f9c614efa8936c3e7.jpg","text":"TemporaryFile(/tmp/multipartBody3990650223512695834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147714516,"filename":"image_24012025_20_35_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/29/1066730b23c02d9287508a6061e9a926.jpg","text":"TemporaryFile(/tmp/multipartBody5024466013188302216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147714516,"filename":"image_24012025_20_36_05_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332620128","file1":"1332620123","file0":"1332620107","file4":"1332620189","file5":"1332620198","file3":"1332620154"},"map_files_photo_id_array":[{"photo_id":"1332620198","filename":"file5"},{"photo_id":"1332620128","filename":"file2"},{"photo_id":"1332620189","filename":"file4"},{"photo_id":"1332620123","filename":"file1"},{"photo_id":"1332620107","filename":"file0"},{"photo_id":"1332620154","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332620107":["hashtag1","hashtag2"]},{"1332620154":["hashtag1","hashtag2"]},{"1332620198":["hashtag1","hashtag2"]},{"1332620189":["hashtag1","hashtag2"]},{"1332620123":["hashtag1","hashtag2"]},{"1332620128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332620107, 1332620154, 1332620198, 1332620189, 1332620123, 1332620128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.97997212409973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:48:32.679541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_45_10330.jpg', '/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_56_10511.jpg', '/home/pi/Desktop/images/24012025/20/36/image_24012025_20_37_05_9356.jpg', '/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_16_10328.jpg', '/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_25_9438.jpg', '/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_45_10330.jpg
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_36_56_10511.jpg
/home/pi/Desktop/images/24012025/20/36/image_24012025_20_37_05_9356.jpg
/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_16_10328.jpg
/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_25_9438.jpg
/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_46_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":["1332620241","1332620214","1332620237","1332620231","1332620225","1332620219"],"photo_ids_order":["1332620214","1332620219","1332620225","1332620231","1332620237","1332620241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/168950611991ef9a22170bb09ce25b8b.jpg","text":"TemporaryFile(/tmp/multipartBody1488292394168681006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147774757,"filename":"image_24012025_20_37_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/29/f81b863fe8efc5966eac975a7ca9be7c.jpg","text":"TemporaryFile(/tmp/multipartBody4409018315014731290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147774757,"filename":"image_24012025_20_36_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/29/85491f5d2bc88956fee334154c11b2e0.jpg","text":"TemporaryFile(/tmp/multipartBody1734843270760307820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147774757,"filename":"image_24012025_20_37_25_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/29/72926497d6265a308982d892056a2ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4464087371984186613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147774757,"filename":"image_24012025_20_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/29/8a741295a5d593a338bdc676cf411187.jpg","text":"TemporaryFile(/tmp/multipartBody7276750884141066883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147774757,"filename":"image_24012025_20_37_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/29/0043f55195e34abc898a180917e0ced6.jpg","text":"TemporaryFile(/tmp/multipartBody1927162293970972367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147774757,"filename":"image_24012025_20_36_56_10511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332620225","file1":"1332620219","file0":"1332620214","file4":"1332620237","file5":"1332620241","file3":"1332620231"},"map_files_photo_id_array":[{"photo_id":"1332620241","filename":"file5"},{"photo_id":"1332620225","filename":"file2"},{"photo_id":"1332620237","filename":"file4"},{"photo_id":"1332620219","filename":"file1"},{"photo_id":"1332620214","filename":"file0"},{"photo_id":"1332620231","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332620241":["hashtag1","hashtag2"]},{"1332620214":["hashtag1","hashtag2"]},{"1332620237":["hashtag1","hashtag2"]},{"1332620231":["hashtag1","hashtag2"]},{"1332620225":["hashtag1","hashtag2"]},{"1332620219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332620241, 1332620214, 1332620237, 1332620231, 1332620225, 1332620219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85649108886719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:49:32.909671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_55_9364.jpg', '/home/pi/Desktop/images/24012025/20/37/image_24012025_20_38_05_10350.jpg', '/home/pi/Desktop/images/24012025/20/38/image_24012025_20_38_36_10369.jpg', '/home/pi/Desktop/images/24012025/20/38/image_24012025_20_38_45_9354.jpg', '/home/pi/Desktop/images/24012025/20/38/image_24012025_20_39_06_10352.jpg', '/home/pi/Desktop/images/24012025/20/39/image_24012025_20_39_25_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/37/image_24012025_20_37_55_9364.jpg
/home/pi/Desktop/images/24012025/20/37/image_24012025_20_38_05_10350.jpg
/home/pi/Desktop/images/24012025/20/38/image_24012025_20_38_36_10369.jpg
/home/pi/Desktop/images/24012025/20/38/image_24012025_20_38_45_9354.jpg
/home/pi/Desktop/images/24012025/20/38/image_24012025_20_39_06_10352.jpg
/home/pi/Desktop/images/24012025/20/39/image_24012025_20_39_25_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":["1332620308","1332620317","1332620370","1332620330","1332620272","1332620326"],"photo_ids_order":["1332620272","1332620308","1332620317","1332620326","1332620330","1332620370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8f5f6d6ea5d9756e54b7e8a0f77c926c.jpg","text":"TemporaryFile(/tmp/multipartBody3752657263918315642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147834981,"filename":"image_24012025_20_38_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/29/cf918d855c0290fed2cf1c0ee7059460.jpg","text":"TemporaryFile(/tmp/multipartBody1237000194107512214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147834981,"filename":"image_24012025_20_38_36_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/29/c9f1d08bfab036028780940ccfd52458.jpg","text":"TemporaryFile(/tmp/multipartBody3747037519931159796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147834981,"filename":"image_24012025_20_39_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/29/422b18c7bea6e9d9015ec098c5835cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7161242469296826696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147834981,"filename":"image_24012025_20_39_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/29/d4293ddd5db6a678c304d24efc61c9a5.jpg","text":"TemporaryFile(/tmp/multipartBody4324770597414131891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147834981,"filename":"image_24012025_20_37_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/29/241b45405cd4a450869d88ac77e9b2e9.jpg","text":"TemporaryFile(/tmp/multipartBody1489561819901230906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147834981,"filename":"image_24012025_20_38_45_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332620317","file1":"1332620308","file0":"1332620272","file4":"1332620330","file5":"1332620370","file3":"1332620326"},"map_files_photo_id_array":[{"photo_id":"1332620370","filename":"file5"},{"photo_id":"1332620317","filename":"file2"},{"photo_id":"1332620330","filename":"file4"},{"photo_id":"1332620308","filename":"file1"},{"photo_id":"1332620272","filename":"file0"},{"photo_id":"1332620326","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332620308":["hashtag1","hashtag2"]},{"1332620317":["hashtag1","hashtag2"]},{"1332620370":["hashtag1","hashtag2"]},{"1332620330":["hashtag1","hashtag2"]},{"1332620272":["hashtag1","hashtag2"]},{"1332620326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332620308, 1332620317, 1332620370, 1332620330, 1332620272, 1332620326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.973122358322144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:50:33.305329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/39/image_24012025_20_39_36_10431.jpg', '/home/pi/Desktop/images/24012025/20/39/image_24012025_20_40_05_9433.jpg', '/home/pi/Desktop/images/24012025/20/40/image_24012025_20_40_56_10389.jpg', '/home/pi/Desktop/images/24012025/20/41/image_24012025_20_41_16_10351.jpg', '/home/pi/Desktop/images/24012025/20/41/image_24012025_20_41_25_9427.jpg', '/home/pi/Desktop/images/24012025/20/41/image_24012025_20_42_05_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/39/image_24012025_20_39_36_10431.jpg
/home/pi/Desktop/images/24012025/20/39/image_24012025_20_40_05_9433.jpg
/home/pi/Desktop/images/24012025/20/40/image_24012025_20_40_56_10389.jpg
/home/pi/Desktop/images/24012025/20/41/image_24012025_20_41_16_10351.jpg
/home/pi/Desktop/images/24012025/20/41/image_24012025_20_41_25_9427.jpg
/home/pi/Desktop/images/24012025/20/41/image_24012025_20_42_05_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":["1332620391","1332620404","1332620397","1332620433","1332620427","1332620417"],"photo_ids_order":["1332620391","1332620397","1332620404","1332620417","1332620427","1332620433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f034026d809e89a5a3c869f6b0df5b97.jpg","text":"TemporaryFile(/tmp/multipartBody2616623088075666716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147896099,"filename":"image_24012025_20_39_36_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/29/eebee8d7a17313478313df6175972a7a.jpg","text":"TemporaryFile(/tmp/multipartBody8608587694476215872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147896099,"filename":"image_24012025_20_40_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/29/4ff4ead4526bf67ddab572972db07ce9.jpg","text":"TemporaryFile(/tmp/multipartBody1500581718200089668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147896099,"filename":"image_24012025_20_40_05_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/29/1ab85bfe935744b01536bdb21af3e24b.jpg","text":"TemporaryFile(/tmp/multipartBody2821862507296401015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147896099,"filename":"image_24012025_20_42_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/29/8fbac98a2ece90c2b59afde9ffa8e7df.jpg","text":"TemporaryFile(/tmp/multipartBody7004590884881588239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147896099,"filename":"image_24012025_20_41_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/29/163afd003f401b6b367ada66b534b070.jpg","text":"TemporaryFile(/tmp/multipartBody8777049481208534031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147896099,"filename":"image_24012025_20_41_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332620404","file1":"1332620397","file0":"1332620391","file4":"1332620427","file5":"1332620433","file3":"1332620417"},"map_files_photo_id_array":[{"photo_id":"1332620433","filename":"file5"},{"photo_id":"1332620404","filename":"file2"},{"photo_id":"1332620427","filename":"file4"},{"photo_id":"1332620397","filename":"file1"},{"photo_id":"1332620391","filename":"file0"},{"photo_id":"1332620417","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332620391":["hashtag1","hashtag2"]},{"1332620404":["hashtag1","hashtag2"]},{"1332620397":["hashtag1","hashtag2"]},{"1332620433":["hashtag1","hashtag2"]},{"1332620427":["hashtag1","hashtag2"]},{"1332620417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332620391, 1332620404, 1332620397, 1332620433, 1332620427, 1332620417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.50546050071716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:51:32.434748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/42/image_24012025_20_42_15_9531.jpg', '/home/pi/Desktop/images/24012025/20/42/image_24012025_20_42_25_10340.jpg', '/home/pi/Desktop/images/24012025/20/42/image_24012025_20_42_45_9346.jpg', '/home/pi/Desktop/images/24012025/20/42/image_24012025_20_42_55_10332.jpg', '/home/pi/Desktop/images/24012025/20/42/image_24012025_20_43_06_10404.jpg', '/home/pi/Desktop/images/24012025/20/43/image_24012025_20_43_15_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/42/image_24012025_20_42_15_9531.jpg
/home/pi/Desktop/images/24012025/20/42/image_24012025_20_42_25_10340.jpg
/home/pi/Desktop/images/24012025/20/42/image_24012025_20_42_45_9346.jpg
/home/pi/Desktop/images/24012025/20/42/image_24012025_20_42_55_10332.jpg
/home/pi/Desktop/images/24012025/20/42/image_24012025_20_43_06_10404.jpg
/home/pi/Desktop/images/24012025/20/43/image_24012025_20_43_15_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":["1332620481","1332620469","1332620478","1332620463","1332620450","1332620456"],"photo_ids_order":["1332620450","1332620456","1332620463","1332620469","1332620478","1332620481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0d29e222b722bd0f326d42a486e4de9e.jpg","text":"TemporaryFile(/tmp/multipartBody6604721060011082764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147954527,"filename":"image_24012025_20_43_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/29/3b7a566c56edc1368f2918ab69df5944.jpg","text":"TemporaryFile(/tmp/multipartBody2904525139093552136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147954527,"filename":"image_24012025_20_42_55_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/29/d62191988a71ce80913fb83dc60e7275.jpg","text":"TemporaryFile(/tmp/multipartBody9183586303750578834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147954527,"filename":"image_24012025_20_43_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/29/6d11db909af5befbcf0adfe81744c2a3.jpg","text":"TemporaryFile(/tmp/multipartBody3601936727576565565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147954527,"filename":"image_24012025_20_42_45_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/29/54c1c42fbddc45794ad4ec7d2a2edc65.jpg","text":"TemporaryFile(/tmp/multipartBody870138280144923984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147954527,"filename":"image_24012025_20_42_15_9531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9670e50be7b13441c9229a11d1655f8d.jpg","text":"TemporaryFile(/tmp/multipartBody2461280281639256015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738147954527,"filename":"image_24012025_20_42_25_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332620463","file1":"1332620456","file0":"1332620450","file4":"1332620478","file5":"1332620481","file3":"1332620469"},"map_files_photo_id_array":[{"photo_id":"1332620481","filename":"file5"},{"photo_id":"1332620463","filename":"file2"},{"photo_id":"1332620478","filename":"file4"},{"photo_id":"1332620456","filename":"file1"},{"photo_id":"1332620450","filename":"file0"},{"photo_id":"1332620469","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332620481":["hashtag1","hashtag2"]},{"1332620469":["hashtag1","hashtag2"]},{"1332620478":["hashtag1","hashtag2"]},{"1332620463":["hashtag1","hashtag2"]},{"1332620450":["hashtag1","hashtag2"]},{"1332620456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332620481, 1332620469, 1332620478, 1332620463, 1332620450, 1332620456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45226526260376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:52:32.635769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/43/image_24012025_20_43_26_10403.jpg', '/home/pi/Desktop/images/24012025/20/43/image_24012025_20_43_35_9347.jpg', '/home/pi/Desktop/images/24012025/20/43/image_24012025_20_43_56_10332.jpg', '/home/pi/Desktop/images/24012025/20/43/image_24012025_20_44_05_9412.jpg', '/home/pi/Desktop/images/24012025/20/44/image_24012025_20_44_15_10335.jpg', '/home/pi/Desktop/images/24012025/20/44/image_24012025_20_44_26_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/43/image_24012025_20_43_26_10403.jpg
/home/pi/Desktop/images/24012025/20/43/image_24012025_20_43_35_9347.jpg
/home/pi/Desktop/images/24012025/20/43/image_24012025_20_43_56_10332.jpg
/home/pi/Desktop/images/24012025/20/43/image_24012025_20_44_05_9412.jpg
/home/pi/Desktop/images/24012025/20/44/image_24012025_20_44_15_10335.jpg
/home/pi/Desktop/images/24012025/20/44/image_24012025_20_44_26_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":["1332620533","1332620527","1332620538","1332620543","1332620530","1332620524"],"photo_ids_order":["1332620524","1332620527","1332620530","1332620533","1332620538","1332620543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9a1bd748e9556d02e80fa632ac3c639d.jpg","text":"TemporaryFile(/tmp/multipartBody2212856258218696668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148014719,"filename":"image_24012025_20_44_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/29/caf01fcd1e68994352cde16cb6712502.jpg","text":"TemporaryFile(/tmp/multipartBody1627768981508807714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148014719,"filename":"image_24012025_20_43_35_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/29/a0307a4e36a648b8b2a32cb9d4b9a319.jpg","text":"TemporaryFile(/tmp/multipartBody8771533503484088163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148014719,"filename":"image_24012025_20_44_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/29/4c4f33926f95f3e2b40216b52083df0f.jpg","text":"TemporaryFile(/tmp/multipartBody2630005345998707392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148014719,"filename":"image_24012025_20_44_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/29/94617b451f823f69077decc1b0a7d1bf.jpg","text":"TemporaryFile(/tmp/multipartBody8457254264507985962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148014719,"filename":"image_24012025_20_43_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/29/3b51dd3c2a01075d6898b53fcc8706b5.jpg","text":"TemporaryFile(/tmp/multipartBody3531252408833649010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148014719,"filename":"image_24012025_20_43_26_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332620530","file1":"1332620527","file0":"1332620524","file4":"1332620538","file5":"1332620543","file3":"1332620533"},"map_files_photo_id_array":[{"photo_id":"1332620543","filename":"file5"},{"photo_id":"1332620530","filename":"file2"},{"photo_id":"1332620538","filename":"file4"},{"photo_id":"1332620527","filename":"file1"},{"photo_id":"1332620524","filename":"file0"},{"photo_id":"1332620533","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332620533":["hashtag1","hashtag2"]},{"1332620527":["hashtag1","hashtag2"]},{"1332620538":["hashtag1","hashtag2"]},{"1332620543":["hashtag1","hashtag2"]},{"1332620530":["hashtag1","hashtag2"]},{"1332620524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332620533, 1332620527, 1332620538, 1332620543, 1332620530, 1332620524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04666876792908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:53:32.866135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/44/image_24012025_20_44_35_9446.jpg', '/home/pi/Desktop/images/24012025/20/44/image_24012025_20_44_55_9423.jpg', '/home/pi/Desktop/images/24012025/20/44/image_24012025_20_45_05_9975.jpg', '/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_16_10397.jpg', '/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_25_9416.jpg', '/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_35_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/44/image_24012025_20_44_35_9446.jpg
/home/pi/Desktop/images/24012025/20/44/image_24012025_20_44_55_9423.jpg
/home/pi/Desktop/images/24012025/20/44/image_24012025_20_45_05_9975.jpg
/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_16_10397.jpg
/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_25_9416.jpg
/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_35_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":["1332620595","1332620577","1332620597","1332620591","1332620585","1332620569"],"photo_ids_order":["1332620569","1332620577","1332620585","1332620591","1332620595","1332620597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b9e8aeab55156289143f59b9d04f1814.jpg","text":"TemporaryFile(/tmp/multipartBody4295509004610687435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148075386,"filename":"image_24012025_20_45_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/29/865f6b576004c143dcb89f4b8c59ac31.jpg","text":"TemporaryFile(/tmp/multipartBody7334386928828040528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148075386,"filename":"image_24012025_20_44_55_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/29/2a5df75dcb021e992f135693ec70a72c.jpg","text":"TemporaryFile(/tmp/multipartBody136436822445117777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148075386,"filename":"image_24012025_20_45_35_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/29/2c9b602c1317945b00308419652cc8cc.jpg","text":"TemporaryFile(/tmp/multipartBody7521474828931309911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148075386,"filename":"image_24012025_20_45_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/29/7016789c5776b7e5e885f1d25528e1ac.jpg","text":"TemporaryFile(/tmp/multipartBody6904063571569212333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148075386,"filename":"image_24012025_20_45_05_9975.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9b81d7da75de39418bc0b457e9dbb993.jpg","text":"TemporaryFile(/tmp/multipartBody7257693459135662560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148075386,"filename":"image_24012025_20_44_35_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332620585","file1":"1332620577","file0":"1332620569","file4":"1332620595","file5":"1332620597","file3":"1332620591"},"map_files_photo_id_array":[{"photo_id":"1332620597","filename":"file5"},{"photo_id":"1332620585","filename":"file2"},{"photo_id":"1332620595","filename":"file4"},{"photo_id":"1332620577","filename":"file1"},{"photo_id":"1332620569","filename":"file0"},{"photo_id":"1332620591","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332620595":["hashtag1","hashtag2"]},{"1332620577":["hashtag1","hashtag2"]},{"1332620597":["hashtag1","hashtag2"]},{"1332620591":["hashtag1","hashtag2"]},{"1332620585":["hashtag1","hashtag2"]},{"1332620569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332620595, 1332620577, 1332620597, 1332620591, 1332620585, 1332620569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.167548179626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:54:33.038211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_46_10443.jpg', '/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_55_9348.jpg', '/home/pi/Desktop/images/24012025/20/45/image_24012025_20_46_06_10350.jpg', '/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_15_9329.jpg', '/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_25_10352.jpg', '/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_36_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_46_10443.jpg
/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_55_9348.jpg
/home/pi/Desktop/images/24012025/20/45/image_24012025_20_46_06_10350.jpg
/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_15_9329.jpg
/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_25_10352.jpg
/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_36_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: 1.678417682647705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 11:54:43.040451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_46_10443.jpg', '/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_55_9348.jpg', '/home/pi/Desktop/images/24012025/20/45/image_24012025_20_46_06_10350.jpg', '/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_15_9329.jpg', '/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_25_10352.jpg', '/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_36_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_46_10443.jpg
/home/pi/Desktop/images/24012025/20/45/image_24012025_20_45_55_9348.jpg
/home/pi/Desktop/images/24012025/20/45/image_24012025_20_46_06_10350.jpg
/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_15_9329.jpg
/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_25_10352.jpg
/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_36_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":["1332620682","1332620685","1332620673","1332620667","1332620660","1332620680"],"photo_ids_order":["1332620660","1332620667","1332620673","1332620680","1332620682","1332620685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f469e1b8c648b9bf42212411ca7132e6.jpg","text":"TemporaryFile(/tmp/multipartBody1131273315192490055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148144217,"filename":"image_24012025_20_46_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/29/43a6b0fa85c31533520e187b29d20566.jpg","text":"TemporaryFile(/tmp/multipartBody5639436568053844499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148144217,"filename":"image_24012025_20_46_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/29/bb8caa5a9e03287ea8188a83912646fd.jpg","text":"TemporaryFile(/tmp/multipartBody803467298674379226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148144217,"filename":"image_24012025_20_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/29/b154c6d7a21667fdc5bd03bd2f5f001c.jpg","text":"TemporaryFile(/tmp/multipartBody7003748198071103394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148144217,"filename":"image_24012025_20_45_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/29/5311bbca73ecf7b021af8783391265d4.jpg","text":"TemporaryFile(/tmp/multipartBody2486753591495394433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148144217,"filename":"image_24012025_20_45_46_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/29/c75b21716c71ce50902644c60d0c6f04.jpg","text":"TemporaryFile(/tmp/multipartBody556828109827558999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148144217,"filename":"image_24012025_20_46_15_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332620673","file1":"1332620667","file0":"1332620660","file4":"1332620682","file5":"1332620685","file3":"1332620680"},"map_files_photo_id_array":[{"photo_id":"1332620685","filename":"file5"},{"photo_id":"1332620673","filename":"file2"},{"photo_id":"1332620682","filename":"file4"},{"photo_id":"1332620667","filename":"file1"},{"photo_id":"1332620660","filename":"file0"},{"photo_id":"1332620680","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332620682":["hashtag1","hashtag2"]},{"1332620685":["hashtag1","hashtag2"]},{"1332620673":["hashtag1","hashtag2"]},{"1332620667":["hashtag1","hashtag2"]},{"1332620660":["hashtag1","hashtag2"]},{"1332620680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332620682, 1332620685, 1332620673, 1332620667, 1332620660, 1332620680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.055288553237915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:55:32.259912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_45_9358.jpg', '/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_55_10359.jpg', '/home/pi/Desktop/images/24012025/20/46/image_24012025_20_47_06_10408.jpg', '/home/pi/Desktop/images/24012025/20/47/image_24012025_20_47_15_9458.jpg', '/home/pi/Desktop/images/24012025/20/47/image_24012025_20_47_26_10350.jpg', '/home/pi/Desktop/images/24012025/20/47/image_24012025_20_47_35_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_45_9358.jpg
/home/pi/Desktop/images/24012025/20/46/image_24012025_20_46_55_10359.jpg
/home/pi/Desktop/images/24012025/20/46/image_24012025_20_47_06_10408.jpg
/home/pi/Desktop/images/24012025/20/47/image_24012025_20_47_15_9458.jpg
/home/pi/Desktop/images/24012025/20/47/image_24012025_20_47_26_10350.jpg
/home/pi/Desktop/images/24012025/20/47/image_24012025_20_47_35_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":["1332620721","1332620715","1332620729","1332620708","1332620698","1332620702"],"photo_ids_order":["1332620698","1332620702","1332620708","1332620715","1332620721","1332620729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/da897cb9e56ae2063eacbbb5f348127f.jpg","text":"TemporaryFile(/tmp/multipartBody6040119373691656861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148194352,"filename":"image_24012025_20_47_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/29/e2dffe1518ae391c27a0b29cd228692e.jpg","text":"TemporaryFile(/tmp/multipartBody6485817363960243155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148194352,"filename":"image_24012025_20_47_15_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/29/eddba9c7f6db05f19d157ea4d0717618.jpg","text":"TemporaryFile(/tmp/multipartBody8503596533566031493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148194352,"filename":"image_24012025_20_47_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/29/4ceab1361ff7240df0219c42d8444996.jpg","text":"TemporaryFile(/tmp/multipartBody4360862652640785099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148194352,"filename":"image_24012025_20_47_06_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/29/095e7dce2155ed26f845bc9903d9166e.jpg","text":"TemporaryFile(/tmp/multipartBody2179819722310099551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148194352,"filename":"image_24012025_20_46_45_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/29/e03bb0b377875e038bfe46b69110f6c7.jpg","text":"TemporaryFile(/tmp/multipartBody1905904894161562566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148194352,"filename":"image_24012025_20_46_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332620708","file1":"1332620702","file0":"1332620698","file4":"1332620721","file5":"1332620729","file3":"1332620715"},"map_files_photo_id_array":[{"photo_id":"1332620729","filename":"file5"},{"photo_id":"1332620708","filename":"file2"},{"photo_id":"1332620721","filename":"file4"},{"photo_id":"1332620702","filename":"file1"},{"photo_id":"1332620698","filename":"file0"},{"photo_id":"1332620715","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332620721":["hashtag1","hashtag2"]},{"1332620715":["hashtag1","hashtag2"]},{"1332620729":["hashtag1","hashtag2"]},{"1332620708":["hashtag1","hashtag2"]},{"1332620698":["hashtag1","hashtag2"]},{"1332620702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332620721, 1332620715, 1332620729, 1332620708, 1332620698, 1332620702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.7343807220459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:56:32.593466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/47/image_24012025_20_47_45_10370.jpg', '/home/pi/Desktop/images/24012025/20/47/image_24012025_20_47_56_10397.jpg', '/home/pi/Desktop/images/24012025/20/47/image_24012025_20_48_05_9419.jpg', '/home/pi/Desktop/images/24012025/20/48/image_24012025_20_48_26_10456.jpg', '/home/pi/Desktop/images/24012025/20/48/image_24012025_20_48_46_10363.jpg', '/home/pi/Desktop/images/24012025/20/48/image_24012025_20_48_55_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/47/image_24012025_20_47_45_10370.jpg
/home/pi/Desktop/images/24012025/20/47/image_24012025_20_47_56_10397.jpg
/home/pi/Desktop/images/24012025/20/47/image_24012025_20_48_05_9419.jpg
/home/pi/Desktop/images/24012025/20/48/image_24012025_20_48_26_10456.jpg
/home/pi/Desktop/images/24012025/20/48/image_24012025_20_48_46_10363.jpg
/home/pi/Desktop/images/24012025/20/48/image_24012025_20_48_55_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":["1332620763","1332620787","1332620940","1332620804","1332620807","1332620758"],"photo_ids_order":["1332620758","1332620763","1332620787","1332620804","1332620807","1332620940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4c2385667eaa313483e33d49dd95f019.jpg","text":"TemporaryFile(/tmp/multipartBody3661536617698976461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148254679,"filename":"image_24012025_20_47_56_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/29/62930fe525d9ea370fff12c08fdcb666.jpg","text":"TemporaryFile(/tmp/multipartBody5321453522686496503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148254679,"filename":"image_24012025_20_48_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/29/661e983dcd5e6e4c987b55524d1661e5.jpg","text":"TemporaryFile(/tmp/multipartBody8356227989118857661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148254679,"filename":"image_24012025_20_48_55_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/29/24e59e2f32048c96e7520ff35e5a795c.jpg","text":"TemporaryFile(/tmp/multipartBody731819855640819584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148254679,"filename":"image_24012025_20_48_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/29/05007506958b6825a70a75814302a3cc.jpg","text":"TemporaryFile(/tmp/multipartBody3357924905970250647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148254679,"filename":"image_24012025_20_48_46_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/29/97d05731802f283e44aa3b9ee39aef69.jpg","text":"TemporaryFile(/tmp/multipartBody5251093329478595382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148254679,"filename":"image_24012025_20_47_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332620787","file1":"1332620763","file0":"1332620758","file4":"1332620807","file5":"1332620940","file3":"1332620804"},"map_files_photo_id_array":[{"photo_id":"1332620940","filename":"file5"},{"photo_id":"1332620787","filename":"file2"},{"photo_id":"1332620807","filename":"file4"},{"photo_id":"1332620763","filename":"file1"},{"photo_id":"1332620758","filename":"file0"},{"photo_id":"1332620804","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332620763":["hashtag1","hashtag2"]},{"1332620787":["hashtag1","hashtag2"]},{"1332620940":["hashtag1","hashtag2"]},{"1332620804":["hashtag1","hashtag2"]},{"1332620807":["hashtag1","hashtag2"]},{"1332620758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332620763, 1332620787, 1332620940, 1332620804, 1332620807, 1332620758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.668574810028076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 11:57:32.910470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/48/image_24012025_20_49_05_10354.jpg', '/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_16_10346.jpg', '/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_25_9362.jpg', '/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_35_10370.jpg', '/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_46_10426.jpg', '/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_55_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/48/image_24012025_20_49_05_10354.jpg
/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_16_10346.jpg
/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_25_9362.jpg
/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_35_10370.jpg
/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_46_10426.jpg
/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_55_9447.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-29 11:59:02.955510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/48/image_24012025_20_49_05_10354.jpg', '/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_16_10346.jpg', '/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_25_9362.jpg', '/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_35_10370.jpg', '/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_46_10426.jpg', '/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_55_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/48/image_24012025_20_49_05_10354.jpg
/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_16_10346.jpg
/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_25_9362.jpg
/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_35_10370.jpg
/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_46_10426.jpg
/home/pi/Desktop/images/24012025/20/49/image_24012025_20_49_55_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":["1332621761","1332621784","1332621745","1332621604","1332621789","1332621774"],"photo_ids_order":["1332621604","1332621745","1332621761","1332621774","1332621784","1332621789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e6a2c1ef2b3b2848a97194072336ef39.jpg","text":"TemporaryFile(/tmp/multipartBody1852624935601186427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148404233,"filename":"image_24012025_20_49_25_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/29/6e74272f67c0cc0ed8000582a86d9607.jpg","text":"TemporaryFile(/tmp/multipartBody6870537925252312869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148404233,"filename":"image_24012025_20_49_46_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/29/a5cca74a2de4fd045e1bba2d556f05d2.jpg","text":"TemporaryFile(/tmp/multipartBody6627279788543963318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148404233,"filename":"image_24012025_20_49_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/29/027d2f871822c5d1121dc83734fa4c3b.jpg","text":"TemporaryFile(/tmp/multipartBody2601405856692609350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148404233,"filename":"image_24012025_20_49_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/29/fa6b91682820ff24f92315299af53421.jpg","text":"TemporaryFile(/tmp/multipartBody4247227441816822861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148404233,"filename":"image_24012025_20_49_55_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/29/e31eaf09cbe495ec2b76b0e1874799d6.jpg","text":"TemporaryFile(/tmp/multipartBody7792305988968247128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148404233,"filename":"image_24012025_20_49_35_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332621761","file1":"1332621745","file0":"1332621604","file4":"1332621784","file5":"1332621789","file3":"1332621774"},"map_files_photo_id_array":[{"photo_id":"1332621789","filename":"file5"},{"photo_id":"1332621761","filename":"file2"},{"photo_id":"1332621784","filename":"file4"},{"photo_id":"1332621745","filename":"file1"},{"photo_id":"1332621604","filename":"file0"},{"photo_id":"1332621774","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332621761":["hashtag1","hashtag2"]},{"1332621784":["hashtag1","hashtag2"]},{"1332621745":["hashtag1","hashtag2"]},{"1332621604":["hashtag1","hashtag2"]},{"1332621789":["hashtag1","hashtag2"]},{"1332621774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332621761, 1332621784, 1332621745, 1332621604, 1332621789, 1332621774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86480736732483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 11:59:52.335029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/49/image_24012025_20_50_06_10354.jpg', '/home/pi/Desktop/images/24012025/20/50/image_24012025_20_50_15_9460.jpg', '/home/pi/Desktop/images/24012025/20/50/image_24012025_20_50_25_10370.jpg', '/home/pi/Desktop/images/24012025/20/50/image_24012025_20_50_45_10342.jpg', '/home/pi/Desktop/images/24012025/20/50/image_24012025_20_50_56_10357.jpg', '/home/pi/Desktop/images/24012025/20/51/image_24012025_20_51_15_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/49/image_24012025_20_50_06_10354.jpg
/home/pi/Desktop/images/24012025/20/50/image_24012025_20_50_15_9460.jpg
/home/pi/Desktop/images/24012025/20/50/image_24012025_20_50_25_10370.jpg
/home/pi/Desktop/images/24012025/20/50/image_24012025_20_50_45_10342.jpg
/home/pi/Desktop/images/24012025/20/50/image_24012025_20_50_56_10357.jpg
/home/pi/Desktop/images/24012025/20/51/image_24012025_20_51_15_10418.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332622002","1332622016","1332622010","1332622024","1332621976","1332622020"],"photo_ids_order":["1332621976","1332622002","1332622010","1332622016","1332622020","1332622024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f842199c167be166804eacfc647eecdb.jpg","text":"TemporaryFile(/tmp/multipartBody4028658985524998737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148454400,"filename":"image_24012025_20_50_15_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/29/bb2941b4d9326b86727c18d05bdb4cf0.jpg","text":"TemporaryFile(/tmp/multipartBody1375780224487727128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148454400,"filename":"image_24012025_20_50_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/29/eb24a984ff40ea81cc451e972c88ed6a.jpg","text":"TemporaryFile(/tmp/multipartBody903039951149885500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148454400,"filename":"image_24012025_20_50_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/29/183e29b4047b04e80b87dd7520b3a023.jpg","text":"TemporaryFile(/tmp/multipartBody3944268852182228774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148454400,"filename":"image_24012025_20_51_15_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/29/6a5ff8411731195604a2e141ad0ab66f.jpg","text":"TemporaryFile(/tmp/multipartBody1198407138454179369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148454400,"filename":"image_24012025_20_50_06_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/29/c06f96ff42403941a9426f83a593e2b4.jpg","text":"TemporaryFile(/tmp/multipartBody7941573272075941184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148454400,"filename":"image_24012025_20_50_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332622010","file1":"1332622002","file0":"1332621976","file4":"1332622020","file5":"1332622024","file3":"1332622016"},"map_files_photo_id_array":[{"photo_id":"1332622024","filename":"file5"},{"photo_id":"1332622010","filename":"file2"},{"photo_id":"1332622020","filename":"file4"},{"photo_id":"1332622002","filename":"file1"},{"photo_id":"1332621976","filename":"file0"},{"photo_id":"1332622016","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332622002":["hashtag1","hashtag2"]},{"1332622016":["hashtag1","hashtag2"]},{"1332622010":["hashtag1","hashtag2"]},{"1332622024":["hashtag1","hashtag2"]},{"1332621976":["hashtag1","hashtag2"]},{"1332622020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332622002, 1332622016, 1332622010, 1332622024, 1332621976, 1332622020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.855175733566284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:00:32.484984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/51/image_24012025_20_51_25_9450.jpg', '/home/pi/Desktop/images/24012025/20/51/image_24012025_20_51_35_10420.jpg', '/home/pi/Desktop/images/24012025/20/51/image_24012025_20_51_46_10396.jpg', '/home/pi/Desktop/images/24012025/20/51/image_24012025_20_51_55_9406.jpg', '/home/pi/Desktop/images/24012025/20/51/image_24012025_20_52_05_10358.jpg', '/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_15_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/51/image_24012025_20_51_25_9450.jpg
/home/pi/Desktop/images/24012025/20/51/image_24012025_20_51_35_10420.jpg
/home/pi/Desktop/images/24012025/20/51/image_24012025_20_51_46_10396.jpg
/home/pi/Desktop/images/24012025/20/51/image_24012025_20_51_55_9406.jpg
/home/pi/Desktop/images/24012025/20/51/image_24012025_20_52_05_10358.jpg
/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_15_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":["1332622070","1332622092","1332622086","1332622065","1332622080","1332622074"],"photo_ids_order":["1332622065","1332622070","1332622074","1332622080","1332622086","1332622092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cf127c3dac3cc0560d2eefbc66a10c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5871711857830277215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148494603,"filename":"image_24012025_20_51_35_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/29/879f6ac96e3bed5c7e56e71aef304a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1176491026655523686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148494603,"filename":"image_24012025_20_52_15_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/29/c0cd5c4fe329d64453f9766e29112d3c.jpg","text":"TemporaryFile(/tmp/multipartBody3570964263605505449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148494603,"filename":"image_24012025_20_52_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/29/d4f778e5749c4947d081c29fd7020607.jpg","text":"TemporaryFile(/tmp/multipartBody4937929040638110548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148494603,"filename":"image_24012025_20_51_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/29/56e19bf4a8b5f00ccf622f204d814b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7031705480236510083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148494603,"filename":"image_24012025_20_51_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/29/3843ab213480a94872895c37553d9108.jpg","text":"TemporaryFile(/tmp/multipartBody3794640870596591312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148494603,"filename":"image_24012025_20_51_46_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332622074","file1":"1332622070","file0":"1332622065","file4":"1332622086","file5":"1332622092","file3":"1332622080"},"map_files_photo_id_array":[{"photo_id":"1332622092","filename":"file5"},{"photo_id":"1332622074","filename":"file2"},{"photo_id":"1332622086","filename":"file4"},{"photo_id":"1332622070","filename":"file1"},{"photo_id":"1332622065","filename":"file0"},{"photo_id":"1332622080","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332622070":["hashtag1","hashtag2"]},{"1332622092":["hashtag1","hashtag2"]},{"1332622086":["hashtag1","hashtag2"]},{"1332622065":["hashtag1","hashtag2"]},{"1332622080":["hashtag1","hashtag2"]},{"1332622074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332622070, 1332622092, 1332622086, 1332622065, 1332622080, 1332622074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45450806617737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:01:32.792584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_25_10375.jpg', '/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_36_10368.jpg', '/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_45_9354.jpg', '/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_55_10346.jpg', '/home/pi/Desktop/images/24012025/20/52/image_24012025_20_53_06_10352.jpg', '/home/pi/Desktop/images/24012025/20/53/image_24012025_20_53_25_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_25_10375.jpg
/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_36_10368.jpg
/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_45_9354.jpg
/home/pi/Desktop/images/24012025/20/52/image_24012025_20_52_55_10346.jpg
/home/pi/Desktop/images/24012025/20/52/image_24012025_20_53_06_10352.jpg
/home/pi/Desktop/images/24012025/20/53/image_24012025_20_53_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":["1332622209","1332622206","1332622162","1332622159","1332622138","1332622126"],"photo_ids_order":["1332622126","1332622138","1332622159","1332622162","1332622206","1332622209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c6b803a1e0b4ce774610e1e65d6737d9.jpg","text":"TemporaryFile(/tmp/multipartBody8199762542039382454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148554889,"filename":"image_24012025_20_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/29/0536ed23036f90c456bb3855fbfa3630.jpg","text":"TemporaryFile(/tmp/multipartBody8594739656234858658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148554889,"filename":"image_24012025_20_53_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/29/3fbcc2101fc992a324c2ed1c53cc89c2.jpg","text":"TemporaryFile(/tmp/multipartBody4208795501537378195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148554889,"filename":"image_24012025_20_52_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/29/9b6641f6ce4a1863e58b90632c838ec9.jpg","text":"TemporaryFile(/tmp/multipartBody556956604766805407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148554889,"filename":"image_24012025_20_52_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/29/6756298bea54c647a5f843774e6bf62b.jpg","text":"TemporaryFile(/tmp/multipartBody1062418211685264305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148554889,"filename":"image_24012025_20_52_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/29/873edf9c8208b67d7214743d089fac43.jpg","text":"TemporaryFile(/tmp/multipartBody1618386887232553627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148554889,"filename":"image_24012025_20_52_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332622159","file1":"1332622138","file0":"1332622126","file4":"1332622206","file5":"1332622209","file3":"1332622162"},"map_files_photo_id_array":[{"photo_id":"1332622209","filename":"file5"},{"photo_id":"1332622159","filename":"file2"},{"photo_id":"1332622206","filename":"file4"},{"photo_id":"1332622138","filename":"file1"},{"photo_id":"1332622126","filename":"file0"},{"photo_id":"1332622162","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332622209":["hashtag1","hashtag2"]},{"1332622206":["hashtag1","hashtag2"]},{"1332622162":["hashtag1","hashtag2"]},{"1332622159":["hashtag1","hashtag2"]},{"1332622138":["hashtag1","hashtag2"]},{"1332622126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332622209, 1332622206, 1332622162, 1332622159, 1332622138, 1332622126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.050137996673584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:02:32.975857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/53/image_24012025_20_53_36_10437.jpg', '/home/pi/Desktop/images/24012025/20/53/image_24012025_20_53_45_9402.jpg', '/home/pi/Desktop/images/24012025/20/53/image_24012025_20_53_56_10388.jpg', '/home/pi/Desktop/images/24012025/20/53/image_24012025_20_54_05_9377.jpg', '/home/pi/Desktop/images/24012025/20/54/image_24012025_20_54_15_10337.jpg', '/home/pi/Desktop/images/24012025/20/54/image_24012025_20_54_26_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/53/image_24012025_20_53_36_10437.jpg
/home/pi/Desktop/images/24012025/20/53/image_24012025_20_53_45_9402.jpg
/home/pi/Desktop/images/24012025/20/53/image_24012025_20_53_56_10388.jpg
/home/pi/Desktop/images/24012025/20/53/image_24012025_20_54_05_9377.jpg
/home/pi/Desktop/images/24012025/20/54/image_24012025_20_54_15_10337.jpg
/home/pi/Desktop/images/24012025/20/54/image_24012025_20_54_26_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":["1332622373","1332622426","1332622429","1332622321","1332622380","1332622365"],"photo_ids_order":["1332622321","1332622365","1332622373","1332622380","1332622426","1332622429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d9d0402d828a3e01d52901f1a7e66679.jpg","text":"TemporaryFile(/tmp/multipartBody280437394205898959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148615040,"filename":"image_24012025_20_53_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/29/22c6e1cd2c950bf37ff0ee049ad222dc.jpg","text":"TemporaryFile(/tmp/multipartBody3957167349199514805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148615040,"filename":"image_24012025_20_54_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/29/976ded84a8ebd83d5897b72acc525611.jpg","text":"TemporaryFile(/tmp/multipartBody5321533122456185100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148615040,"filename":"image_24012025_20_54_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/29/39d9bbc76244df0723fafcf7843c8272.jpg","text":"TemporaryFile(/tmp/multipartBody435873457101814917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148615040,"filename":"image_24012025_20_53_36_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/29/1accb24aaebb69e913f48cb60a918d26.jpg","text":"TemporaryFile(/tmp/multipartBody5775923768131920397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148615040,"filename":"image_24012025_20_54_05_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/29/61614529468e14ff4870d6578f20d261.jpg","text":"TemporaryFile(/tmp/multipartBody1663359200100066138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148615040,"filename":"image_24012025_20_53_45_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332622373","file1":"1332622365","file0":"1332622321","file4":"1332622426","file5":"1332622429","file3":"1332622380"},"map_files_photo_id_array":[{"photo_id":"1332622429","filename":"file5"},{"photo_id":"1332622373","filename":"file2"},{"photo_id":"1332622426","filename":"file4"},{"photo_id":"1332622365","filename":"file1"},{"photo_id":"1332622321","filename":"file0"},{"photo_id":"1332622380","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332622373":["hashtag1","hashtag2"]},{"1332622426":["hashtag1","hashtag2"]},{"1332622429":["hashtag1","hashtag2"]},{"1332622321":["hashtag1","hashtag2"]},{"1332622380":["hashtag1","hashtag2"]},{"1332622365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332622373, 1332622426, 1332622429, 1332622321, 1332622380, 1332622365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50404691696167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:03:32.239641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/54/image_24012025_20_54_35_9367.jpg', '/home/pi/Desktop/images/24012025/20/54/image_24012025_20_54_45_10367.jpg', '/home/pi/Desktop/images/24012025/20/54/image_24012025_20_54_56_10432.jpg', '/home/pi/Desktop/images/24012025/20/54/image_24012025_20_55_05_9325.jpg', '/home/pi/Desktop/images/24012025/20/55/image_24012025_20_55_16_10340.jpg', '/home/pi/Desktop/images/24012025/20/55/image_24012025_20_55_25_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/54/image_24012025_20_54_35_9367.jpg
/home/pi/Desktop/images/24012025/20/54/image_24012025_20_54_45_10367.jpg
/home/pi/Desktop/images/24012025/20/54/image_24012025_20_54_56_10432.jpg
/home/pi/Desktop/images/24012025/20/54/image_24012025_20_55_05_9325.jpg
/home/pi/Desktop/images/24012025/20/55/image_24012025_20_55_16_10340.jpg
/home/pi/Desktop/images/24012025/20/55/image_24012025_20_55_25_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":["1332622489","1332622480","1332622465","1332622473","1332622485","1332622458"],"photo_ids_order":["1332622458","1332622465","1332622473","1332622480","1332622485","1332622489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cea2502e7f87144ae9006aae8371be12.jpg","text":"TemporaryFile(/tmp/multipartBody3790400276398426739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148674332,"filename":"image_24012025_20_55_25_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/29/564e45b2eed02fdc6b0a4cff942a8155.jpg","text":"TemporaryFile(/tmp/multipartBody3381472457638623569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148674332,"filename":"image_24012025_20_55_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/29/879e7bf54582880aec1ae4499616d9dd.jpg","text":"TemporaryFile(/tmp/multipartBody3799588274758237512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148674332,"filename":"image_24012025_20_54_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/29/1c9fd10bfa553ad93545478731fcb874.jpg","text":"TemporaryFile(/tmp/multipartBody7415557269320220840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148674332,"filename":"image_24012025_20_54_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/29/7cb39c5b619b79df7cf23cedc085ce2c.jpg","text":"TemporaryFile(/tmp/multipartBody7023709495641872654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148674332,"filename":"image_24012025_20_55_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/29/4692a59a2101a5127531ac8dfb6b1536.jpg","text":"TemporaryFile(/tmp/multipartBody6700257763631587452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148674332,"filename":"image_24012025_20_54_35_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332622473","file1":"1332622465","file0":"1332622458","file4":"1332622485","file5":"1332622489","file3":"1332622480"},"map_files_photo_id_array":[{"photo_id":"1332622489","filename":"file5"},{"photo_id":"1332622473","filename":"file2"},{"photo_id":"1332622485","filename":"file4"},{"photo_id":"1332622465","filename":"file1"},{"photo_id":"1332622458","filename":"file0"},{"photo_id":"1332622480","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332622489":["hashtag1","hashtag2"]},{"1332622480":["hashtag1","hashtag2"]},{"1332622465":["hashtag1","hashtag2"]},{"1332622473":["hashtag1","hashtag2"]},{"1332622485":["hashtag1","hashtag2"]},{"1332622458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332622489, 1332622480, 1332622465, 1332622473, 1332622485, 1332622458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99850845336914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:04:32.442964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/55/image_24012025_20_55_35_10367.jpg', '/home/pi/Desktop/images/24012025/20/55/image_24012025_20_55_55_9425.jpg', '/home/pi/Desktop/images/24012025/20/55/image_24012025_20_56_05_10367.jpg', '/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_15_9470.jpg', '/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_25_10370.jpg', '/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_36_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/55/image_24012025_20_55_35_10367.jpg
/home/pi/Desktop/images/24012025/20/55/image_24012025_20_55_55_9425.jpg
/home/pi/Desktop/images/24012025/20/55/image_24012025_20_56_05_10367.jpg
/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_15_9470.jpg
/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_25_10370.jpg
/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_36_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":["1332622559","1332622576","1332622564","1332622567","1332622572","1332622554"],"photo_ids_order":["1332622554","1332622559","1332622564","1332622567","1332622572","1332622576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/341ffda652e9841855f055436d24806b.jpg","text":"TemporaryFile(/tmp/multipartBody2372549556335885557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148734524,"filename":"image_24012025_20_55_55_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/29/b35537c262da41a1925b9799871ea42b.jpg","text":"TemporaryFile(/tmp/multipartBody4296238549875097168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148734524,"filename":"image_24012025_20_56_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/29/d618bae8f5186caf1b075552a1697766.jpg","text":"TemporaryFile(/tmp/multipartBody5332495119930515656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148734524,"filename":"image_24012025_20_56_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/29/6430ad328d8bd53845089942b333a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody5126946795415907991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148734524,"filename":"image_24012025_20_56_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/29/4601a346d5760c97f74d393d2a2266c3.jpg","text":"TemporaryFile(/tmp/multipartBody4712243959366950692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148734524,"filename":"image_24012025_20_56_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/29/173c9c3495d1271b50a3562ada6818bc.jpg","text":"TemporaryFile(/tmp/multipartBody1861920719836132804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148734524,"filename":"image_24012025_20_55_35_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332622564","file1":"1332622559","file0":"1332622554","file4":"1332622572","file5":"1332622576","file3":"1332622567"},"map_files_photo_id_array":[{"photo_id":"1332622576","filename":"file5"},{"photo_id":"1332622564","filename":"file2"},{"photo_id":"1332622572","filename":"file4"},{"photo_id":"1332622559","filename":"file1"},{"photo_id":"1332622554","filename":"file0"},{"photo_id":"1332622567","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332622559":["hashtag1","hashtag2"]},{"1332622576":["hashtag1","hashtag2"]},{"1332622564":["hashtag1","hashtag2"]},{"1332622567":["hashtag1","hashtag2"]},{"1332622572":["hashtag1","hashtag2"]},{"1332622554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332622559, 1332622576, 1332622564, 1332622567, 1332622572, 1332622554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63104319572449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:05:32.709396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_46_9896.jpg', '/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_55_9368.jpg', '/home/pi/Desktop/images/24012025/20/56/image_24012025_20_57_05_10416.jpg', '/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_16_10339.jpg', '/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_25_9337.jpg', '/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_35_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_46_9896.jpg
/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_55_9368.jpg
/home/pi/Desktop/images/24012025/20/56/image_24012025_20_57_05_10416.jpg
/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_16_10339.jpg
/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_25_9337.jpg
/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_35_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: 1.698038101196289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 12:05:42.687611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_46_9896.jpg', '/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_55_9368.jpg', '/home/pi/Desktop/images/24012025/20/56/image_24012025_20_57_05_10416.jpg', '/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_16_10339.jpg', '/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_25_9337.jpg', '/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_35_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_46_9896.jpg
/home/pi/Desktop/images/24012025/20/56/image_24012025_20_56_55_9368.jpg
/home/pi/Desktop/images/24012025/20/56/image_24012025_20_57_05_10416.jpg
/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_16_10339.jpg
/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_25_9337.jpg
/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_35_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":["1332622611","1332622631","1332622637","1332622616","1332622625","1332622621"],"photo_ids_order":["1332622611","1332622616","1332622621","1332622625","1332622631","1332622637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1a0f2b54e357982520295e154a0305fc.jpg","text":"TemporaryFile(/tmp/multipartBody4261548446480271265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148803890,"filename":"image_24012025_20_56_46_9896.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/46849966fa7f6639766108e2a3054a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4700402051646128046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148803890,"filename":"image_24012025_20_57_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/29/89be7e2ec2672db5a2cec82dbb7f9d67.jpg","text":"TemporaryFile(/tmp/multipartBody2178610035210703113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148803890,"filename":"image_24012025_20_57_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/29/f8ef59b7288b195f4993b34c86f08bfb.jpg","text":"TemporaryFile(/tmp/multipartBody780424703575794977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148803890,"filename":"image_24012025_20_56_55_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/29/d45462192751ab2c98dcdf481a1aad35.jpg","text":"TemporaryFile(/tmp/multipartBody2425501439238195935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148803890,"filename":"image_24012025_20_57_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/29/f016eaa52c8ab67eeee5b3a714eb7fab.jpg","text":"TemporaryFile(/tmp/multipartBody5630315783009744509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148803890,"filename":"image_24012025_20_57_05_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332622621","file1":"1332622616","file0":"1332622611","file4":"1332622631","file5":"1332622637","file3":"1332622625"},"map_files_photo_id_array":[{"photo_id":"1332622637","filename":"file5"},{"photo_id":"1332622621","filename":"file2"},{"photo_id":"1332622631","filename":"file4"},{"photo_id":"1332622616","filename":"file1"},{"photo_id":"1332622611","filename":"file0"},{"photo_id":"1332622625","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332622611":["hashtag1","hashtag2"]},{"1332622631":["hashtag1","hashtag2"]},{"1332622637":["hashtag1","hashtag2"]},{"1332622616":["hashtag1","hashtag2"]},{"1332622625":["hashtag1","hashtag2"]},{"1332622621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332622611, 1332622631, 1332622637, 1332622616, 1332622625, 1332622621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45925450325012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:06:32.826263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_46_10355.jpg', '/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_55_9355.jpg', '/home/pi/Desktop/images/24012025/20/57/image_24012025_20_58_05_10364.jpg', '/home/pi/Desktop/images/24012025/20/58/image_24012025_20_58_15_9487.jpg', '/home/pi/Desktop/images/24012025/20/58/image_24012025_20_58_25_10335.jpg', '/home/pi/Desktop/images/24012025/20/58/image_24012025_20_58_36_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_46_10355.jpg
/home/pi/Desktop/images/24012025/20/57/image_24012025_20_57_55_9355.jpg
/home/pi/Desktop/images/24012025/20/57/image_24012025_20_58_05_10364.jpg
/home/pi/Desktop/images/24012025/20/58/image_24012025_20_58_15_9487.jpg
/home/pi/Desktop/images/24012025/20/58/image_24012025_20_58_25_10335.jpg
/home/pi/Desktop/images/24012025/20/58/image_24012025_20_58_36_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":["1332622688","1332622652","1332622681","1332622684","1332622657","1332622662"],"photo_ids_order":["1332622652","1332622657","1332622662","1332622681","1332622684","1332622688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/59d530b9c0795f079580fbed482bdb09.jpg","text":"TemporaryFile(/tmp/multipartBody3997814667790422005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148854910,"filename":"image_24012025_20_58_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/29/c0ed8b75b9c9f39d8d8da48059807b54.jpg","text":"TemporaryFile(/tmp/multipartBody6309849217056934318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148854910,"filename":"image_24012025_20_57_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/29/d8fe60f0119c9bdfb575e5134192ac3e.jpg","text":"TemporaryFile(/tmp/multipartBody8474813077038112470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148854910,"filename":"image_24012025_20_58_15_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/29/49e39972a3fbd08572337409c0a9587c.jpg","text":"TemporaryFile(/tmp/multipartBody7857691306642159959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148854910,"filename":"image_24012025_20_58_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/29/202beab5ffac8e8adb8c9af52f71ed37.jpg","text":"TemporaryFile(/tmp/multipartBody1233019683305751816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148854910,"filename":"image_24012025_20_57_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/29/886ae413dd084cb3c91f773ca7233fca.jpg","text":"TemporaryFile(/tmp/multipartBody5960624666770628296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148854910,"filename":"image_24012025_20_58_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332622662","file1":"1332622657","file0":"1332622652","file4":"1332622684","file5":"1332622688","file3":"1332622681"},"map_files_photo_id_array":[{"photo_id":"1332622688","filename":"file5"},{"photo_id":"1332622662","filename":"file2"},{"photo_id":"1332622684","filename":"file4"},{"photo_id":"1332622657","filename":"file1"},{"photo_id":"1332622652","filename":"file0"},{"photo_id":"1332622681","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332622688":["hashtag1","hashtag2"]},{"1332622652":["hashtag1","hashtag2"]},{"1332622681":["hashtag1","hashtag2"]},{"1332622684":["hashtag1","hashtag2"]},{"1332622657":["hashtag1","hashtag2"]},{"1332622662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332622688, 1332622652, 1332622681, 1332622684, 1332622657, 1332622662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69237923622131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:07:33.023265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/58/image_24012025_20_58_45_9450.jpg', '/home/pi/Desktop/images/24012025/20/58/image_24012025_20_58_55_10348.jpg', '/home/pi/Desktop/images/24012025/20/58/image_24012025_20_59_05_9484.jpg', '/home/pi/Desktop/images/24012025/20/59/image_24012025_20_59_15_10387.jpg', '/home/pi/Desktop/images/24012025/20/59/image_24012025_20_59_26_10338.jpg', '/home/pi/Desktop/images/24012025/20/59/image_24012025_20_59_35_9475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/58/image_24012025_20_58_45_9450.jpg
/home/pi/Desktop/images/24012025/20/58/image_24012025_20_58_55_10348.jpg
/home/pi/Desktop/images/24012025/20/58/image_24012025_20_59_05_9484.jpg
/home/pi/Desktop/images/24012025/20/59/image_24012025_20_59_15_10387.jpg
/home/pi/Desktop/images/24012025/20/59/image_24012025_20_59_26_10338.jpg
/home/pi/Desktop/images/24012025/20/59/image_24012025_20_59_35_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":["1332623525","1332623658","1332623205","1332623792","1332623588","1332623334"],"photo_ids_order":["1332623205","1332623334","1332623525","1332623588","1332623658","1332623792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/be5d914a5230b0974bb332b6c008f398.jpg","text":"TemporaryFile(/tmp/multipartBody3692207374075033153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148915089,"filename":"image_24012025_20_59_05_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/29/7f9d6fc886411993bdae430388584ae7.jpg","text":"TemporaryFile(/tmp/multipartBody2609434369807547223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148915089,"filename":"image_24012025_20_59_26_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/29/12e169e8f95db2a1a4f2afc12443faa0.jpg","text":"TemporaryFile(/tmp/multipartBody6527562163979187409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148915089,"filename":"image_24012025_20_58_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/29/fbac53d9fd3c5f80fc7e04aa11a8a3f3.jpg","text":"TemporaryFile(/tmp/multipartBody4819908318924491485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148915089,"filename":"image_24012025_20_59_35_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/29/ba4425b9ae203720bd7313f6f1436db1.jpg","text":"TemporaryFile(/tmp/multipartBody4387815763893971287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148915089,"filename":"image_24012025_20_59_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/29/d6df404ddd7c4dc3816c1b7041397a99.jpg","text":"TemporaryFile(/tmp/multipartBody7702426688536546713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148915089,"filename":"image_24012025_20_58_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332623525","file1":"1332623334","file0":"1332623205","file4":"1332623658","file5":"1332623792","file3":"1332623588"},"map_files_photo_id_array":[{"photo_id":"1332623792","filename":"file5"},{"photo_id":"1332623525","filename":"file2"},{"photo_id":"1332623658","filename":"file4"},{"photo_id":"1332623334","filename":"file1"},{"photo_id":"1332623205","filename":"file0"},{"photo_id":"1332623588","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332623525":["hashtag1","hashtag2"]},{"1332623658":["hashtag1","hashtag2"]},{"1332623205":["hashtag1","hashtag2"]},{"1332623792":["hashtag1","hashtag2"]},{"1332623588":["hashtag1","hashtag2"]},{"1332623334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332623525, 1332623658, 1332623205, 1332623792, 1332623588, 1332623334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.29529690742493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:08:32.152241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/20/59/image_24012025_20_59_45_10358.jpg', '/home/pi/Desktop/images/24012025/20/59/image_24012025_20_59_55_9464.jpg', '/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_15_10072.jpg', '/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_35_10340.jpg', '/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_45_9419.jpg', '/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_55_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/20/59/image_24012025_20_59_45_10358.jpg
/home/pi/Desktop/images/24012025/20/59/image_24012025_20_59_55_9464.jpg
/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_15_10072.jpg
/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_35_10340.jpg
/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_45_9419.jpg
/home/pi/Desktop/images/24012025/21/01/image_24012025_21_01_55_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":["1332623983","1332623988","1332623976","1332624000","1332623996","1332623993"],"photo_ids_order":["1332623976","1332623983","1332623988","1332623993","1332623996","1332624000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2c688c327b6313eed80605a8a02b14c2.jpg","text":"TemporaryFile(/tmp/multipartBody6874416766851199935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148974229,"filename":"image_24012025_20_59_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/29/2aad598e8781c707c65bf2336462dc5a.jpg","text":"TemporaryFile(/tmp/multipartBody896263388938443263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148974229,"filename":"image_24012025_21_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/29/5359adc6a6bcab8073206f5f8257711b.jpg","text":"TemporaryFile(/tmp/multipartBody2599515084130182011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148974229,"filename":"image_24012025_20_59_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/29/29cc4ced302da3b7c5cb46755c860437.jpg","text":"TemporaryFile(/tmp/multipartBody509090383581683164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148974229,"filename":"image_24012025_21_01_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/29/6140d78724989f1c504f74d52ce15d50.jpg","text":"TemporaryFile(/tmp/multipartBody6029955335712796935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148974229,"filename":"image_24012025_21_01_45_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/29/59c29fba16dbdd81d112994a06e2b429.jpg","text":"TemporaryFile(/tmp/multipartBody7166782963814625914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738148974229,"filename":"image_24012025_21_01_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332623988","file1":"1332623983","file0":"1332623976","file4":"1332623996","file5":"1332624000","file3":"1332623993"},"map_files_photo_id_array":[{"photo_id":"1332624000","filename":"file5"},{"photo_id":"1332623988","filename":"file2"},{"photo_id":"1332623996","filename":"file4"},{"photo_id":"1332623983","filename":"file1"},{"photo_id":"1332623976","filename":"file0"},{"photo_id":"1332623993","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332623983":["hashtag1","hashtag2"]},{"1332623988":["hashtag1","hashtag2"]},{"1332623976":["hashtag1","hashtag2"]},{"1332624000":["hashtag1","hashtag2"]},{"1332623996":["hashtag1","hashtag2"]},{"1332623993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332623983, 1332623988, 1332623976, 1332624000, 1332623996, 1332623993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.072887897491455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:09:32.481686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/01/image_24012025_21_02_05_9360.jpg', '/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_15_10409.jpg', '/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_25_10345.jpg', '/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_35_9361.jpg', '/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_45_10404.jpg', '/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_55_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/01/image_24012025_21_02_05_9360.jpg
/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_15_10409.jpg
/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_25_10345.jpg
/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_35_9361.jpg
/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_45_10404.jpg
/home/pi/Desktop/images/24012025/21/02/image_24012025_21_02_55_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":["1332624309","1332624051","1332624098","1332624077","1332624047","1332624551"],"photo_ids_order":["1332624047","1332624051","1332624077","1332624098","1332624309","1332624551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/062e380330badfe7a4635844cbc937db.jpg","text":"TemporaryFile(/tmp/multipartBody2203010227619730211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149034588,"filename":"image_24012025_21_02_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/29/f38d70258d51fd76608663c526c7cc12.jpg","text":"TemporaryFile(/tmp/multipartBody1478956613056739014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149034588,"filename":"image_24012025_21_02_15_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/29/e754555c3b9b7be066d5a9acee558d29.jpg","text":"TemporaryFile(/tmp/multipartBody4658017210169050964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149034588,"filename":"image_24012025_21_02_35_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/29/8aa4b3cc21448f2efaa414dfca941976.jpg","text":"TemporaryFile(/tmp/multipartBody4934714528400810210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149034588,"filename":"image_24012025_21_02_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/29/a532470da9b96370ebbbdf4f0164178c.jpg","text":"TemporaryFile(/tmp/multipartBody3306864724216440496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149034588,"filename":"image_24012025_21_02_05_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/29/1490591b50a9ece77f2ef9fdbdcd3a5d.jpg","text":"TemporaryFile(/tmp/multipartBody5539377361166986881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149034588,"filename":"image_24012025_21_02_55_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332624077","file1":"1332624051","file0":"1332624047","file4":"1332624309","file5":"1332624551","file3":"1332624098"},"map_files_photo_id_array":[{"photo_id":"1332624551","filename":"file5"},{"photo_id":"1332624077","filename":"file2"},{"photo_id":"1332624309","filename":"file4"},{"photo_id":"1332624051","filename":"file1"},{"photo_id":"1332624047","filename":"file0"},{"photo_id":"1332624098","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332624309":["hashtag1","hashtag2"]},{"1332624051":["hashtag1","hashtag2"]},{"1332624098":["hashtag1","hashtag2"]},{"1332624077":["hashtag1","hashtag2"]},{"1332624047":["hashtag1","hashtag2"]},{"1332624551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332624309, 1332624051, 1332624098, 1332624077, 1332624047, 1332624551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13845086097717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:10:32.648547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/02/image_24012025_21_03_05_10416.jpg', '/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_15_10332.jpg', '/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_45_10339.jpg', '/home/pi/Desktop/images/24012025/21/03/image_24012025_21_04_05_10357.jpg', '/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_25_10351.jpg', '/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_35_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/02/image_24012025_21_03_05_10416.jpg
/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_15_10332.jpg
/home/pi/Desktop/images/24012025/21/03/image_24012025_21_03_45_10339.jpg
/home/pi/Desktop/images/24012025/21/03/image_24012025_21_04_05_10357.jpg
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_25_10351.jpg
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_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":["1332624806","1332624679","1332624811","1332624672","1332624765","1332624653"],"photo_ids_order":["1332624653","1332624672","1332624679","1332624765","1332624806","1332624811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f103e0c4e8c1a40010132e7665340927.jpg","text":"TemporaryFile(/tmp/multipartBody4747030446046906265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149094735,"filename":"image_24012025_21_04_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/29/af6a01d8ef738706f9643c46fd29124f.jpg","text":"TemporaryFile(/tmp/multipartBody5921155287587559970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149094735,"filename":"image_24012025_21_03_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/29/a16f5beab281ebe0e4bb91090ad95b48.jpg","text":"TemporaryFile(/tmp/multipartBody1020466169759246204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149094735,"filename":"image_24012025_21_04_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/29/e433cf4edbd9fcd87335e6fb708425ad.jpg","text":"TemporaryFile(/tmp/multipartBody1626150846945052912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149094735,"filename":"image_24012025_21_03_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/29/a6e736806893964d3d919aad8f8e0edd.jpg","text":"TemporaryFile(/tmp/multipartBody8280849460143003916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149094735,"filename":"image_24012025_21_04_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/29/0e5c39b908615c77f01dd74f9634a402.jpg","text":"TemporaryFile(/tmp/multipartBody4408024080119183766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149094735,"filename":"image_24012025_21_03_05_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332624679","file1":"1332624672","file0":"1332624653","file4":"1332624806","file5":"1332624811","file3":"1332624765"},"map_files_photo_id_array":[{"photo_id":"1332624811","filename":"file5"},{"photo_id":"1332624679","filename":"file2"},{"photo_id":"1332624806","filename":"file4"},{"photo_id":"1332624672","filename":"file1"},{"photo_id":"1332624653","filename":"file0"},{"photo_id":"1332624765","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332624806":["hashtag1","hashtag2"]},{"1332624679":["hashtag1","hashtag2"]},{"1332624811":["hashtag1","hashtag2"]},{"1332624672":["hashtag1","hashtag2"]},{"1332624765":["hashtag1","hashtag2"]},{"1332624653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332624806, 1332624679, 1332624811, 1332624672, 1332624765, 1332624653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.08969330787659 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:11:32.912853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_45_9435.jpg', '/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_55_10442.jpg', '/home/pi/Desktop/images/24012025/21/04/image_24012025_21_05_05_10340.jpg', '/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_25_10344.jpg', '/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_35_9322.jpg', '/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_45_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_45_9435.jpg
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_55_10442.jpg
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_05_05_10340.jpg
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_25_10344.jpg
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_35_9322.jpg
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_45_10335.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.7040290832519531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 12:11:42.971153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_45_9435.jpg', '/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_55_10442.jpg', '/home/pi/Desktop/images/24012025/21/04/image_24012025_21_05_05_10340.jpg', '/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_25_10344.jpg', '/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_35_9322.jpg', '/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_45_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_45_9435.jpg
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_04_55_10442.jpg
/home/pi/Desktop/images/24012025/21/04/image_24012025_21_05_05_10340.jpg
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_25_10344.jpg
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_35_9322.jpg
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_45_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":["1332625120","1332625128","1332625125","1332625107","1332625130","1332625112"],"photo_ids_order":["1332625107","1332625112","1332625120","1332625125","1332625128","1332625130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/426d38176b071f1a3eb6b701cd8a9ead.jpg","text":"TemporaryFile(/tmp/multipartBody4900087409121296678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149164166,"filename":"image_24012025_21_05_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/29/4e7afd6e01efbd91ecdcb2428e73d527.jpg","text":"TemporaryFile(/tmp/multipartBody2569688605030294589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149164166,"filename":"image_24012025_21_05_35_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/29/1734fc2480b6027dfe3fda4d9cb2f1a7.jpg","text":"TemporaryFile(/tmp/multipartBody8617208195569545789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149164166,"filename":"image_24012025_21_05_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/29/218cb47ae9f1f8fc01de463cb2eeb136.jpg","text":"TemporaryFile(/tmp/multipartBody6481369839625691295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149164166,"filename":"image_24012025_21_04_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/29/74e1b64f8ab02d447df6bdd6a059b864.jpg","text":"TemporaryFile(/tmp/multipartBody8967798620322631897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149164166,"filename":"image_24012025_21_05_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/29/c55d1781e6ce3f177c15c5656808df43.jpg","text":"TemporaryFile(/tmp/multipartBody1503020084362809953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149164166,"filename":"image_24012025_21_04_55_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332625120","file1":"1332625112","file0":"1332625107","file4":"1332625128","file5":"1332625130","file3":"1332625125"},"map_files_photo_id_array":[{"photo_id":"1332625130","filename":"file5"},{"photo_id":"1332625120","filename":"file2"},{"photo_id":"1332625128","filename":"file4"},{"photo_id":"1332625112","filename":"file1"},{"photo_id":"1332625107","filename":"file0"},{"photo_id":"1332625125","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332625120":["hashtag1","hashtag2"]},{"1332625128":["hashtag1","hashtag2"]},{"1332625125":["hashtag1","hashtag2"]},{"1332625107":["hashtag1","hashtag2"]},{"1332625130":["hashtag1","hashtag2"]},{"1332625112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332625120, 1332625128, 1332625125, 1332625107, 1332625130, 1332625112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.354432344436646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:12:33.169573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_55_10385.jpg', '/home/pi/Desktop/images/24012025/21/05/image_24012025_21_06_05_9358.jpg', '/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_15_10355.jpg', '/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_25_10342.jpg', '/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_45_10352.jpg', '/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_55_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_05_55_10385.jpg
/home/pi/Desktop/images/24012025/21/05/image_24012025_21_06_05_9358.jpg
/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_15_10355.jpg
/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_25_10342.jpg
/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_45_10352.jpg
/home/pi/Desktop/images/24012025/21/06/image_24012025_21_06_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":["1332625296","1332625272","1332625298","1332625218","1332625280","1332625291"],"photo_ids_order":["1332625218","1332625272","1332625280","1332625291","1332625296","1332625298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d6380fcf6a84a408edf59d711a6c814b.jpg","text":"TemporaryFile(/tmp/multipartBody3707739507891190042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149215261,"filename":"image_24012025_21_06_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/29/b122c2b6ad20e0bb2a7db571f1e7c6fc.jpg","text":"TemporaryFile(/tmp/multipartBody3615213786756863460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149215261,"filename":"image_24012025_21_06_05_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/29/94b4550bde27b40e981d56246bb170be.jpg","text":"TemporaryFile(/tmp/multipartBody1522575650493918623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149215261,"filename":"image_24012025_21_06_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/29/d29f4045c781ab77af92907243db497a.jpg","text":"TemporaryFile(/tmp/multipartBody4332359619045582653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149215261,"filename":"image_24012025_21_05_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/29/147ebc14049fe49de9291f9b536e5595.jpg","text":"TemporaryFile(/tmp/multipartBody4871041185683907503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149215261,"filename":"image_24012025_21_06_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/29/4abfb255af9bb6b43df05bb704e84004.jpg","text":"TemporaryFile(/tmp/multipartBody7967999637122399263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149215261,"filename":"image_24012025_21_06_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332625280","file1":"1332625272","file0":"1332625218","file4":"1332625296","file5":"1332625298","file3":"1332625291"},"map_files_photo_id_array":[{"photo_id":"1332625298","filename":"file5"},{"photo_id":"1332625280","filename":"file2"},{"photo_id":"1332625296","filename":"file4"},{"photo_id":"1332625272","filename":"file1"},{"photo_id":"1332625218","filename":"file0"},{"photo_id":"1332625291","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332625296":["hashtag1","hashtag2"]},{"1332625272":["hashtag1","hashtag2"]},{"1332625298":["hashtag1","hashtag2"]},{"1332625218":["hashtag1","hashtag2"]},{"1332625280":["hashtag1","hashtag2"]},{"1332625291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332625296, 1332625272, 1332625298, 1332625218, 1332625280, 1332625291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74664115905762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:13:32.366515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/06/image_24012025_21_07_05_9437.jpg', '/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_15_10425.jpg', '/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_25_9338.jpg', '/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_35_10423.jpg', '/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_45_9437.jpg', '/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_55_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/06/image_24012025_21_07_05_9437.jpg
/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_15_10425.jpg
/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_25_9338.jpg
/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_35_10423.jpg
/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_45_9437.jpg
/home/pi/Desktop/images/24012025/21/07/image_24012025_21_07_55_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":["1332625393","1332625414","1332625419","1332625407","1332625436","1332625400"],"photo_ids_order":["1332625393","1332625400","1332625407","1332625414","1332625419","1332625436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/14df6222de894194eb27e7b68249789f.jpg","text":"TemporaryFile(/tmp/multipartBody8216743687153149483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149274466,"filename":"image_24012025_21_07_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/29/105a4f9e0a633d8d6911653ee603af4b.jpg","text":"TemporaryFile(/tmp/multipartBody1221357979825753246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149274466,"filename":"image_24012025_21_07_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/29/45e10587f8476d205f082c1b8379ed22.jpg","text":"TemporaryFile(/tmp/multipartBody2787984343079708745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149274466,"filename":"image_24012025_21_07_45_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/29/9dea05db58d72bf084e61a7210681909.jpg","text":"TemporaryFile(/tmp/multipartBody862666175497464008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149274466,"filename":"image_24012025_21_07_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/29/13d9d0d2407b5c6f517cbce0c9886269.jpg","text":"TemporaryFile(/tmp/multipartBody3428425553133347117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149274466,"filename":"image_24012025_21_07_55_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/29/ed631418e2dabc452900d2e788c46972.jpg","text":"TemporaryFile(/tmp/multipartBody3677577394612930488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149274466,"filename":"image_24012025_21_07_15_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332625407","file1":"1332625400","file0":"1332625393","file4":"1332625419","file5":"1332625436","file3":"1332625414"},"map_files_photo_id_array":[{"photo_id":"1332625436","filename":"file5"},{"photo_id":"1332625407","filename":"file2"},{"photo_id":"1332625419","filename":"file4"},{"photo_id":"1332625400","filename":"file1"},{"photo_id":"1332625393","filename":"file0"},{"photo_id":"1332625414","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332625393":["hashtag1","hashtag2"]},{"1332625414":["hashtag1","hashtag2"]},{"1332625419":["hashtag1","hashtag2"]},{"1332625407":["hashtag1","hashtag2"]},{"1332625436":["hashtag1","hashtag2"]},{"1332625400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332625393, 1332625414, 1332625419, 1332625407, 1332625436, 1332625400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.87083125114441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:14:32.720600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/07/image_24012025_21_08_05_10341.jpg', '/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_15_9333.jpg', '/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_25_10408.jpg', '/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_35_10369.jpg', '/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_45_9497.jpg', '/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_55_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/07/image_24012025_21_08_05_10341.jpg
/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_15_9333.jpg
/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_25_10408.jpg
/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_35_10369.jpg
/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_45_9497.jpg
/home/pi/Desktop/images/24012025/21/08/image_24012025_21_08_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":["1332625678","1332625683","1332625671","1332625665","1332625694","1332625652"],"photo_ids_order":["1332625652","1332625665","1332625671","1332625678","1332625683","1332625694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bd3c19074a160fb132766bd6bec81e46.jpg","text":"TemporaryFile(/tmp/multipartBody2095533634609016704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149334801,"filename":"image_24012025_21_08_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/29/ec0d879a9bd2018fb96e42d78a5feffe.jpg","text":"TemporaryFile(/tmp/multipartBody4910014390243813042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149334801,"filename":"image_24012025_21_08_45_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f8c6e48782206aaf17b17e440af0634b.jpg","text":"TemporaryFile(/tmp/multipartBody6902641120611258856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149334801,"filename":"image_24012025_21_08_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/29/8dcafd8759e8c7b8ca6b6f8a6ca6b1e2.jpg","text":"TemporaryFile(/tmp/multipartBody1394953591105889355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149334801,"filename":"image_24012025_21_08_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/29/3d714065d0eb3bae1d2df049bc748b57.jpg","text":"TemporaryFile(/tmp/multipartBody3163641718669539598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149334801,"filename":"image_24012025_21_08_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/29/2ab857e5be503128c27dfdae64aae9f4.jpg","text":"TemporaryFile(/tmp/multipartBody6167067560799865383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149334801,"filename":"image_24012025_21_08_05_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332625671","file1":"1332625665","file0":"1332625652","file4":"1332625683","file5":"1332625694","file3":"1332625678"},"map_files_photo_id_array":[{"photo_id":"1332625694","filename":"file5"},{"photo_id":"1332625671","filename":"file2"},{"photo_id":"1332625683","filename":"file4"},{"photo_id":"1332625665","filename":"file1"},{"photo_id":"1332625652","filename":"file0"},{"photo_id":"1332625678","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332625678":["hashtag1","hashtag2"]},{"1332625683":["hashtag1","hashtag2"]},{"1332625671":["hashtag1","hashtag2"]},{"1332625665":["hashtag1","hashtag2"]},{"1332625694":["hashtag1","hashtag2"]},{"1332625652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332625678, 1332625683, 1332625671, 1332625665, 1332625694, 1332625652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.927053689956665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:15:32.822633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/08/image_24012025_21_09_05_9366.jpg', '/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_15_10413.jpg', '/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_25_10362.jpg', '/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_35_9501.jpg', '/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_45_10341.jpg', '/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_55_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/08/image_24012025_21_09_05_9366.jpg
/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_15_10413.jpg
/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_25_10362.jpg
/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_35_9501.jpg
/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_45_10341.jpg
/home/pi/Desktop/images/24012025/21/09/image_24012025_21_09_55_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":["1332625861","1332625866","1332625848","1332625874","1332625879","1332625870"],"photo_ids_order":["1332625848","1332625861","1332625866","1332625870","1332625874","1332625879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/130484c737d23838f78968dd2541a538.jpg","text":"TemporaryFile(/tmp/multipartBody5142727751512901524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149394917,"filename":"image_24012025_21_09_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/29/c34b8e50adbacd0fc738d1167256c4cb.jpg","text":"TemporaryFile(/tmp/multipartBody8311391797598854056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149394917,"filename":"image_24012025_21_09_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/29/ea6f913689c54ae7a5685e6867ba8627.jpg","text":"TemporaryFile(/tmp/multipartBody7294025916474340707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149394917,"filename":"image_24012025_21_09_05_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/29/09b91df360e72444d77ba52fc8ffa03b.jpg","text":"TemporaryFile(/tmp/multipartBody4664278811917618134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149394917,"filename":"image_24012025_21_09_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/29/84cfa995a7206680e3afd4024d431a6d.jpg","text":"TemporaryFile(/tmp/multipartBody2209911883150262587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149394917,"filename":"image_24012025_21_09_55_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/29/808338d643b81aff7f111f4e1ca03580.jpg","text":"TemporaryFile(/tmp/multipartBody8130205829671407331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149394917,"filename":"image_24012025_21_09_35_9501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332625866","file1":"1332625861","file0":"1332625848","file4":"1332625874","file5":"1332625879","file3":"1332625870"},"map_files_photo_id_array":[{"photo_id":"1332625879","filename":"file5"},{"photo_id":"1332625866","filename":"file2"},{"photo_id":"1332625874","filename":"file4"},{"photo_id":"1332625861","filename":"file1"},{"photo_id":"1332625848","filename":"file0"},{"photo_id":"1332625870","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332625861":["hashtag1","hashtag2"]},{"1332625866":["hashtag1","hashtag2"]},{"1332625848":["hashtag1","hashtag2"]},{"1332625874":["hashtag1","hashtag2"]},{"1332625879":["hashtag1","hashtag2"]},{"1332625870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332625861, 1332625866, 1332625848, 1332625874, 1332625879, 1332625870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.649816036224365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:16:33.051852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/09/image_24012025_21_10_05_10411.jpg', '/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_15_10358.jpg', '/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_25_9404.jpg', '/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_35_10375.jpg', '/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_45_9455.jpg', '/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_55_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/09/image_24012025_21_10_05_10411.jpg
/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_15_10358.jpg
/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_25_9404.jpg
/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_35_10375.jpg
/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_45_9455.jpg
/home/pi/Desktop/images/24012025/21/10/image_24012025_21_10_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":["1332625960","1332625950","1332625967","1332625931","1332625919","1332625972"],"photo_ids_order":["1332625919","1332625931","1332625950","1332625960","1332625967","1332625972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a75ea815f63a588eb78962192612d34c.jpg","text":"TemporaryFile(/tmp/multipartBody3392806037883677474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149455154,"filename":"image_24012025_21_10_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/29/e278f47dcea509fde8b82e004eee7b1a.jpg","text":"TemporaryFile(/tmp/multipartBody2812183832506484795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149455154,"filename":"image_24012025_21_10_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/29/779209447481d68e644beefa3260a3ad.jpg","text":"TemporaryFile(/tmp/multipartBody5269302959488674156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149455154,"filename":"image_24012025_21_10_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/29/f81d0675b62eece652bf52ffc98a1bdb.jpg","text":"TemporaryFile(/tmp/multipartBody1467690848792653148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149455154,"filename":"image_24012025_21_10_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/29/6c4b0856a3562edea92c4b57a42140c9.jpg","text":"TemporaryFile(/tmp/multipartBody2805225552547179342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149455154,"filename":"image_24012025_21_10_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/29/2d78fba1a8c4ffe7bbc6dea536924fa2.jpg","text":"TemporaryFile(/tmp/multipartBody7880163481318647028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149455154,"filename":"image_24012025_21_10_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332625950","file1":"1332625931","file0":"1332625919","file4":"1332625967","file5":"1332625972","file3":"1332625960"},"map_files_photo_id_array":[{"photo_id":"1332625972","filename":"file5"},{"photo_id":"1332625950","filename":"file2"},{"photo_id":"1332625967","filename":"file4"},{"photo_id":"1332625931","filename":"file1"},{"photo_id":"1332625919","filename":"file0"},{"photo_id":"1332625960","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332625960":["hashtag1","hashtag2"]},{"1332625950":["hashtag1","hashtag2"]},{"1332625967":["hashtag1","hashtag2"]},{"1332625931":["hashtag1","hashtag2"]},{"1332625919":["hashtag1","hashtag2"]},{"1332625972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332625960, 1332625950, 1332625967, 1332625931, 1332625919, 1332625972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.15822124481201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:17:32.407860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/10/image_24012025_21_11_05_10357.jpg', '/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_15_9355.jpg', '/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_25_10411.jpg', '/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_36_10377.jpg', '/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_45_9381.jpg', '/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_55_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/10/image_24012025_21_11_05_10357.jpg
/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_15_9355.jpg
/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_25_10411.jpg
/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_36_10377.jpg
/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_45_9381.jpg
/home/pi/Desktop/images/24012025/21/11/image_24012025_21_11_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":["1332626038","1332626042","1332626030","1332626024","1332626035","1332626020"],"photo_ids_order":["1332626020","1332626024","1332626030","1332626035","1332626038","1332626042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ae3f106520998c683f23fabae4043fcb.jpg","text":"TemporaryFile(/tmp/multipartBody9057199147926959812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149514523,"filename":"image_24012025_21_11_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/29/ccc3fbe9bb1c3eb4a09bd0e5888fbf98.jpg","text":"TemporaryFile(/tmp/multipartBody2669864795658782770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149514523,"filename":"image_24012025_21_11_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/29/15b3dc6eaf4286aa9c55779f9871b917.jpg","text":"TemporaryFile(/tmp/multipartBody3705628860963005943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149514523,"filename":"image_24012025_21_11_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/29/1e93ee7950382aea40a8720d438117c2.jpg","text":"TemporaryFile(/tmp/multipartBody3414778569095295680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149514523,"filename":"image_24012025_21_11_15_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/29/5246e9d83fd590e0202fe8118dbbb663.jpg","text":"TemporaryFile(/tmp/multipartBody3600603534292935147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149514523,"filename":"image_24012025_21_11_36_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/29/6041d8dfbc950860e95f85d07949b229.jpg","text":"TemporaryFile(/tmp/multipartBody3470788397095103473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149514523,"filename":"image_24012025_21_11_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332626030","file1":"1332626024","file0":"1332626020","file4":"1332626038","file5":"1332626042","file3":"1332626035"},"map_files_photo_id_array":[{"photo_id":"1332626042","filename":"file5"},{"photo_id":"1332626030","filename":"file2"},{"photo_id":"1332626038","filename":"file4"},{"photo_id":"1332626024","filename":"file1"},{"photo_id":"1332626020","filename":"file0"},{"photo_id":"1332626035","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332626038":["hashtag1","hashtag2"]},{"1332626042":["hashtag1","hashtag2"]},{"1332626030":["hashtag1","hashtag2"]},{"1332626024":["hashtag1","hashtag2"]},{"1332626035":["hashtag1","hashtag2"]},{"1332626020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332626038, 1332626042, 1332626030, 1332626024, 1332626035, 1332626020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.99621057510376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:18:32.496543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/11/image_24012025_21_12_05_9426.jpg', '/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_15_10408.jpg', '/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_25_10366.jpg', '/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_35_9431.jpg', '/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_45_10371.jpg', '/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_55_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/11/image_24012025_21_12_05_9426.jpg
/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_15_10408.jpg
/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_25_10366.jpg
/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_35_9431.jpg
/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_45_10371.jpg
/home/pi/Desktop/images/24012025/21/12/image_24012025_21_12_55_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":["1332626335","1332626314","1332626244","1332626238","1332626214","1332626261"],"photo_ids_order":["1332626214","1332626238","1332626244","1332626261","1332626314","1332626335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5cc8f73a43c10f6a717c7e17f380ae9e.jpg","text":"TemporaryFile(/tmp/multipartBody4767861601174169435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149574579,"filename":"image_24012025_21_12_55_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/29/08876f4a8c91c0b62008e395a88a1bcd.jpg","text":"TemporaryFile(/tmp/multipartBody644991696960430514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149574579,"filename":"image_24012025_21_12_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/29/9dda78c253d0eb12236f6392a2bedb88.jpg","text":"TemporaryFile(/tmp/multipartBody701817208395668905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149574579,"filename":"image_24012025_21_12_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/29/69ab6775473f5ce4227b7fecf9b2ce83.jpg","text":"TemporaryFile(/tmp/multipartBody4887196669790335084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149574579,"filename":"image_24012025_21_12_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/29/1a5af717f9c9705633ac7b7ea3436de6.jpg","text":"TemporaryFile(/tmp/multipartBody6981873862146165761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149574579,"filename":"image_24012025_21_12_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/29/191cc6978e873c79d1005fd9fad66834.jpg","text":"TemporaryFile(/tmp/multipartBody9141595299721674933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149574579,"filename":"image_24012025_21_12_35_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332626244","file1":"1332626238","file0":"1332626214","file4":"1332626314","file5":"1332626335","file3":"1332626261"},"map_files_photo_id_array":[{"photo_id":"1332626335","filename":"file5"},{"photo_id":"1332626244","filename":"file2"},{"photo_id":"1332626314","filename":"file4"},{"photo_id":"1332626238","filename":"file1"},{"photo_id":"1332626214","filename":"file0"},{"photo_id":"1332626261","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332626335":["hashtag1","hashtag2"]},{"1332626314":["hashtag1","hashtag2"]},{"1332626244":["hashtag1","hashtag2"]},{"1332626238":["hashtag1","hashtag2"]},{"1332626214":["hashtag1","hashtag2"]},{"1332626261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332626335, 1332626314, 1332626244, 1332626238, 1332626214, 1332626261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.9767804145813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:19:32.827692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/12/image_24012025_21_13_05_10401.jpg', '/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_15_10343.jpg', '/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_25_9621.jpg', '/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_35_9882.jpg', '/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_45_10341.jpg', '/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_56_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/12/image_24012025_21_13_05_10401.jpg
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_15_10343.jpg
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_25_9621.jpg
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_35_9882.jpg
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_45_10341.jpg
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_13_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":["1332626451","1332626447","1332626441","1332626435","1332626429","1332626461"],"photo_ids_order":["1332626429","1332626435","1332626441","1332626447","1332626451","1332626461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/302ef607cd221dff2a4aea80840ecb8d.jpg","text":"TemporaryFile(/tmp/multipartBody282326527703468823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149634930,"filename":"image_24012025_21_13_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/29/d8de45b969e05ec213308ebba9c5be81.jpg","text":"TemporaryFile(/tmp/multipartBody888691058659840436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149634930,"filename":"image_24012025_21_13_35_9882.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/22a5f0007b40f561f3cf0582d2328165.jpg","text":"TemporaryFile(/tmp/multipartBody3020944893440565045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149634930,"filename":"image_24012025_21_13_25_9621.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2689d6a763e86a6bc1f24b03cc5e4c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4964654300493685842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149634930,"filename":"image_24012025_21_13_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/29/c8cc845f66153909dda9fd742bb86075.jpg","text":"TemporaryFile(/tmp/multipartBody6404778266883307388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149634930,"filename":"image_24012025_21_13_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/29/7b49c0c68d20bd29e7719ed7766a4d92.jpg","text":"TemporaryFile(/tmp/multipartBody5011313695266065356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149634930,"filename":"image_24012025_21_13_56_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332626441","file1":"1332626435","file0":"1332626429","file4":"1332626451","file5":"1332626461","file3":"1332626447"},"map_files_photo_id_array":[{"photo_id":"1332626461","filename":"file5"},{"photo_id":"1332626441","filename":"file2"},{"photo_id":"1332626451","filename":"file4"},{"photo_id":"1332626435","filename":"file1"},{"photo_id":"1332626429","filename":"file0"},{"photo_id":"1332626447","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332626451":["hashtag1","hashtag2"]},{"1332626447":["hashtag1","hashtag2"]},{"1332626441":["hashtag1","hashtag2"]},{"1332626435":["hashtag1","hashtag2"]},{"1332626429":["hashtag1","hashtag2"]},{"1332626461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332626451, 1332626447, 1332626441, 1332626435, 1332626429, 1332626461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.457146883010864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:20:33.152334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/13/image_24012025_21_14_05_9357.jpg', '/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_15_10381.jpg', '/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_25_9356.jpg', '/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_35_10336.jpg', '/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_45_10348.jpg', '/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_55_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/13/image_24012025_21_14_05_9357.jpg
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_15_10381.jpg
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_25_9356.jpg
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_35_10336.jpg
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_45_10348.jpg
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_14_55_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":["1332626496","1332626562","1332626574","1332626568","1332626480","1332626557"],"photo_ids_order":["1332626480","1332626496","1332626557","1332626562","1332626568","1332626574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/59c0c0ffeefb60aef288828462ca28b0.jpg","text":"TemporaryFile(/tmp/multipartBody6427691387396084307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149695218,"filename":"image_24012025_21_14_15_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/29/cf3afecac22188c02bc166de5d7676a4.jpg","text":"TemporaryFile(/tmp/multipartBody6722691854605350115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149695218,"filename":"image_24012025_21_14_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/29/bdebd90bfeff2e2e4bb3fd4592be4b8e.jpg","text":"TemporaryFile(/tmp/multipartBody8975475233588917799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149695218,"filename":"image_24012025_21_14_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/29/686de8857a569822255cb1cdfd8e308c.jpg","text":"TemporaryFile(/tmp/multipartBody5588860050698931140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149695218,"filename":"image_24012025_21_14_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/29/091d35df032532ff8590b445a8ebe0ed.jpg","text":"TemporaryFile(/tmp/multipartBody5249857752039720420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149695218,"filename":"image_24012025_21_14_05_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/29/ad25f3ecc7cd36b43e47afd9f581efe0.jpg","text":"TemporaryFile(/tmp/multipartBody2807771130366471596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149695218,"filename":"image_24012025_21_14_25_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332626557","file1":"1332626496","file0":"1332626480","file4":"1332626568","file5":"1332626574","file3":"1332626562"},"map_files_photo_id_array":[{"photo_id":"1332626574","filename":"file5"},{"photo_id":"1332626557","filename":"file2"},{"photo_id":"1332626568","filename":"file4"},{"photo_id":"1332626496","filename":"file1"},{"photo_id":"1332626480","filename":"file0"},{"photo_id":"1332626562","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332626496":["hashtag1","hashtag2"]},{"1332626562":["hashtag1","hashtag2"]},{"1332626574":["hashtag1","hashtag2"]},{"1332626568":["hashtag1","hashtag2"]},{"1332626480":["hashtag1","hashtag2"]},{"1332626557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332626496, 1332626562, 1332626574, 1332626568, 1332626480, 1332626557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95379972457886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:21:32.370141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/14/image_24012025_21_15_05_10442.jpg', '/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_25_9445.jpg', '/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_35_10444.jpg', '/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_45_9350.jpg', '/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_55_10419.jpg', '/home/pi/Desktop/images/24012025/21/15/image_24012025_21_16_05_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/14/image_24012025_21_15_05_10442.jpg
/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_25_9445.jpg
/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_35_10444.jpg
/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_45_9350.jpg
/home/pi/Desktop/images/24012025/21/15/image_24012025_21_15_55_10419.jpg
/home/pi/Desktop/images/24012025/21/15/image_24012025_21_16_05_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":["1332626679","1332626664","1332626675","1332626669","1332626683","1332626686"],"photo_ids_order":["1332626664","1332626669","1332626675","1332626679","1332626683","1332626686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/19c3331abf9f667ccf66c2a7415b3477.jpg","text":"TemporaryFile(/tmp/multipartBody7299873544349760126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149754462,"filename":"image_24012025_21_15_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/29/65e4fbad8b3ec55cdc427c182fbb837a.jpg","text":"TemporaryFile(/tmp/multipartBody7437973363954271191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149754462,"filename":"image_24012025_21_15_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/29/5bd488f483e3ef8f76f0bc738b0a3cd5.jpg","text":"TemporaryFile(/tmp/multipartBody1983424504268168260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149754462,"filename":"image_24012025_21_15_35_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/29/201468e62ada4d28e5aed0c0be22470c.jpg","text":"TemporaryFile(/tmp/multipartBody6707466846869726539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149754462,"filename":"image_24012025_21_15_25_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/29/795bdfe274a79c8ed7897e9ec0109ddb.jpg","text":"TemporaryFile(/tmp/multipartBody8026254937380076502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149754462,"filename":"image_24012025_21_15_55_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/29/cf6e60a776c55aa2e7db3bd0937e71ce.jpg","text":"TemporaryFile(/tmp/multipartBody2311489579186139464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149754462,"filename":"image_24012025_21_16_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332626675","file1":"1332626669","file0":"1332626664","file4":"1332626683","file5":"1332626686","file3":"1332626679"},"map_files_photo_id_array":[{"photo_id":"1332626686","filename":"file5"},{"photo_id":"1332626675","filename":"file2"},{"photo_id":"1332626683","filename":"file4"},{"photo_id":"1332626669","filename":"file1"},{"photo_id":"1332626664","filename":"file0"},{"photo_id":"1332626679","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332626679":["hashtag1","hashtag2"]},{"1332626664":["hashtag1","hashtag2"]},{"1332626675":["hashtag1","hashtag2"]},{"1332626669":["hashtag1","hashtag2"]},{"1332626683":["hashtag1","hashtag2"]},{"1332626686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332626679, 1332626664, 1332626675, 1332626669, 1332626683, 1332626686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.297213554382324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:22:32.598401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_15_9379.jpg', '/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_25_10345.jpg', '/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_36_10360.jpg', '/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_45_9353.jpg', '/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_55_10352.jpg', '/home/pi/Desktop/images/24012025/21/16/image_24012025_21_17_05_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_15_9379.jpg
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_25_10345.jpg
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_36_10360.jpg
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_45_9353.jpg
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_16_55_10352.jpg
/home/pi/Desktop/images/24012025/21/16/image_24012025_21_17_05_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":["1332626847","1332626852","1332626858","1332626863","1332626869","1332626842"],"photo_ids_order":["1332626842","1332626847","1332626852","1332626858","1332626863","1332626869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/877cddbb32e8624e0a50c0f969d554c2.jpg","text":"TemporaryFile(/tmp/multipartBody887499389683617455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149814660,"filename":"image_24012025_21_16_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/29/65e649c9df135d3ce42b14ce53a92c31.jpg","text":"TemporaryFile(/tmp/multipartBody5124375451646746118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149814660,"filename":"image_24012025_21_16_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/29/1de7981a99bd7359a122262ed87ee5f3.jpg","text":"TemporaryFile(/tmp/multipartBody5145437779714885135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149814660,"filename":"image_24012025_21_16_45_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/29/1ca504cfba9d449cad0d05e4aa6b04c4.jpg","text":"TemporaryFile(/tmp/multipartBody8763231027089799094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149814660,"filename":"image_24012025_21_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/29/715ca1438a1c6234caf02450621a4cac.jpg","text":"TemporaryFile(/tmp/multipartBody4333780541128580052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149814660,"filename":"image_24012025_21_17_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/29/4682396a525e438f073d6714dca282b4.jpg","text":"TemporaryFile(/tmp/multipartBody588266347493317604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149814660,"filename":"image_24012025_21_16_15_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332626852","file1":"1332626847","file0":"1332626842","file4":"1332626863","file5":"1332626869","file3":"1332626858"},"map_files_photo_id_array":[{"photo_id":"1332626869","filename":"file5"},{"photo_id":"1332626852","filename":"file2"},{"photo_id":"1332626863","filename":"file4"},{"photo_id":"1332626847","filename":"file1"},{"photo_id":"1332626842","filename":"file0"},{"photo_id":"1332626858","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332626847":["hashtag1","hashtag2"]},{"1332626852":["hashtag1","hashtag2"]},{"1332626858":["hashtag1","hashtag2"]},{"1332626863":["hashtag1","hashtag2"]},{"1332626869":["hashtag1","hashtag2"]},{"1332626842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332626847, 1332626852, 1332626858, 1332626863, 1332626869, 1332626842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.497016191482544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:23:32.795443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_15_10336.jpg', '/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_25_10463.jpg', '/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_35_9462.jpg', '/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_45_10353.jpg', '/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_55_9340.jpg', '/home/pi/Desktop/images/24012025/21/17/image_24012025_21_18_05_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_15_10336.jpg
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_25_10463.jpg
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_35_9462.jpg
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_45_10353.jpg
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_17_55_9340.jpg
/home/pi/Desktop/images/24012025/21/17/image_24012025_21_18_05_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":["1332626973","1332626978","1332626987","1332626969","1332626983","1332626938"],"photo_ids_order":["1332626938","1332626969","1332626973","1332626978","1332626983","1332626987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3f342e2207b03ab1c470fe7ced4add46.jpg","text":"TemporaryFile(/tmp/multipartBody4965427293048833059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149875576,"filename":"image_24012025_21_17_35_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/29/120c60dd01c28e20514f8b3a2b9f5f2b.jpg","text":"TemporaryFile(/tmp/multipartBody1645290706107777209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149875576,"filename":"image_24012025_21_17_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/29/49ddfd04944c83b99c0d9952feafe590.jpg","text":"TemporaryFile(/tmp/multipartBody3465908773450855034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149875576,"filename":"image_24012025_21_18_05_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/29/74c5fe4929c1404ddd18e0511c260d95.jpg","text":"TemporaryFile(/tmp/multipartBody221243432881601508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149875576,"filename":"image_24012025_21_17_25_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/29/fc4ccd998d3c8f8c795f64e9630106a2.jpg","text":"TemporaryFile(/tmp/multipartBody1362483853805413842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149875576,"filename":"image_24012025_21_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/29/d4207fa3378f86d23f5216c3e1054661.jpg","text":"TemporaryFile(/tmp/multipartBody6114454713884012121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149875576,"filename":"image_24012025_21_17_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332626973","file1":"1332626969","file0":"1332626938","file4":"1332626983","file5":"1332626987","file3":"1332626978"},"map_files_photo_id_array":[{"photo_id":"1332626987","filename":"file5"},{"photo_id":"1332626973","filename":"file2"},{"photo_id":"1332626983","filename":"file4"},{"photo_id":"1332626969","filename":"file1"},{"photo_id":"1332626938","filename":"file0"},{"photo_id":"1332626978","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332626973":["hashtag1","hashtag2"]},{"1332626978":["hashtag1","hashtag2"]},{"1332626987":["hashtag1","hashtag2"]},{"1332626969":["hashtag1","hashtag2"]},{"1332626983":["hashtag1","hashtag2"]},{"1332626938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332626973, 1332626978, 1332626987, 1332626969, 1332626983, 1332626938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.645029067993164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:24:33.078743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_15_10350.jpg', '/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_25_9357.jpg', '/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_35_10412.jpg', '/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_45_10355.jpg', '/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_55_9399.jpg', '/home/pi/Desktop/images/24012025/21/18/image_24012025_21_19_05_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_15_10350.jpg
/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_25_9357.jpg
/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_35_10412.jpg
/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_45_10355.jpg
/home/pi/Desktop/images/24012025/21/18/image_24012025_21_18_55_9399.jpg
/home/pi/Desktop/images/24012025/21/18/image_24012025_21_19_05_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":["1332627039","1332627047","1332627041","1332627005","1332627043","1332627019"],"photo_ids_order":["1332627005","1332627019","1332627039","1332627041","1332627043","1332627047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9dc37b81e34e342458ae2c1b438ae595.jpg","text":"TemporaryFile(/tmp/multipartBody7139859424791285553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149935165,"filename":"image_24012025_21_18_35_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/29/88e0d001b140edf83a74a5636ff71a2e.jpg","text":"TemporaryFile(/tmp/multipartBody1480557775707831115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149935165,"filename":"image_24012025_21_19_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/29/9899ca412503e906260036c569b95cf2.jpg","text":"TemporaryFile(/tmp/multipartBody1076791705761022267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149935165,"filename":"image_24012025_21_18_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/29/5a1f9b83c1e4f559898913360ad3887b.jpg","text":"TemporaryFile(/tmp/multipartBody8877779276461950246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149935165,"filename":"image_24012025_21_18_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/29/2c94c16d698f6102a6df79dec110fa9b.jpg","text":"TemporaryFile(/tmp/multipartBody2809155216101574821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149935165,"filename":"image_24012025_21_18_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/29/85ad5e881f7a99e056a5f3f289a3ff64.jpg","text":"TemporaryFile(/tmp/multipartBody6118132634355130853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149935165,"filename":"image_24012025_21_18_25_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332627039","file1":"1332627019","file0":"1332627005","file4":"1332627043","file5":"1332627047","file3":"1332627041"},"map_files_photo_id_array":[{"photo_id":"1332627047","filename":"file5"},{"photo_id":"1332627039","filename":"file2"},{"photo_id":"1332627043","filename":"file4"},{"photo_id":"1332627019","filename":"file1"},{"photo_id":"1332627005","filename":"file0"},{"photo_id":"1332627041","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332627039":["hashtag1","hashtag2"]},{"1332627047":["hashtag1","hashtag2"]},{"1332627041":["hashtag1","hashtag2"]},{"1332627005":["hashtag1","hashtag2"]},{"1332627043":["hashtag1","hashtag2"]},{"1332627019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332627039, 1332627047, 1332627041, 1332627005, 1332627043, 1332627019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.996769428253174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:25:32.380367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_15_9405.jpg', '/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_25_10466.jpg', '/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_35_10382.jpg', '/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_45_9376.jpg', '/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_55_10346.jpg', '/home/pi/Desktop/images/24012025/21/19/image_24012025_21_20_06_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_15_9405.jpg
/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_25_10466.jpg
/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_35_10382.jpg
/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_45_9376.jpg
/home/pi/Desktop/images/24012025/21/19/image_24012025_21_19_55_10346.jpg
/home/pi/Desktop/images/24012025/21/19/image_24012025_21_20_06_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":["1332627095","1332627092","1332627073","1332627099","1332627084","1332627078"],"photo_ids_order":["1332627073","1332627078","1332627084","1332627092","1332627095","1332627099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/364c163f24fbe770f1bb978fd2db1e87.jpg","text":"TemporaryFile(/tmp/multipartBody6631506705391236200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149994490,"filename":"image_24012025_21_19_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/29/ecd5ecf50724aa570427029af74ba355.jpg","text":"TemporaryFile(/tmp/multipartBody6428602991305777150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149994490,"filename":"image_24012025_21_19_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/29/d6b1aaacfc3d3283b433d788d90c9502.jpg","text":"TemporaryFile(/tmp/multipartBody6326828796682502027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149994490,"filename":"image_24012025_21_19_15_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/29/130903a1d95e88a85fae137fbed1de8d.jpg","text":"TemporaryFile(/tmp/multipartBody1493693558451644724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149994490,"filename":"image_24012025_21_20_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/29/6abd0820e7e485736af5a673e1fce5ea.jpg","text":"TemporaryFile(/tmp/multipartBody620661611550619776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149994490,"filename":"image_24012025_21_19_35_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/29/028b0d2d2104a0f094ab40e933a43b39.jpg","text":"TemporaryFile(/tmp/multipartBody8587289499222559284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738149994490,"filename":"image_24012025_21_19_25_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332627084","file1":"1332627078","file0":"1332627073","file4":"1332627095","file5":"1332627099","file3":"1332627092"},"map_files_photo_id_array":[{"photo_id":"1332627099","filename":"file5"},{"photo_id":"1332627084","filename":"file2"},{"photo_id":"1332627095","filename":"file4"},{"photo_id":"1332627078","filename":"file1"},{"photo_id":"1332627073","filename":"file0"},{"photo_id":"1332627092","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332627095":["hashtag1","hashtag2"]},{"1332627092":["hashtag1","hashtag2"]},{"1332627073":["hashtag1","hashtag2"]},{"1332627099":["hashtag1","hashtag2"]},{"1332627084":["hashtag1","hashtag2"]},{"1332627078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332627095, 1332627092, 1332627073, 1332627099, 1332627084, 1332627078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.522685289382935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:26:32.577538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_15_9426.jpg', '/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_25_10448.jpg', '/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_35_9396.jpg', '/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_45_10438.jpg', '/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_55_9337.jpg', '/home/pi/Desktop/images/24012025/21/20/image_24012025_21_21_05_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_15_9426.jpg
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_25_10448.jpg
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_35_9396.jpg
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_45_10438.jpg
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_20_55_9337.jpg
/home/pi/Desktop/images/24012025/21/20/image_24012025_21_21_05_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332627144","1332627199","1332627226","1332627205","1332627220","1332627208"],"photo_ids_order":["1332627144","1332627199","1332627205","1332627208","1332627220","1332627226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f079a535c6e7ae9f8b283010231aa7fa.jpg","text":"TemporaryFile(/tmp/multipartBody8379088535418025595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150054657,"filename":"image_24012025_21_20_15_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/29/84ae8bf93186cffa8b109e80c8448a99.jpg","text":"TemporaryFile(/tmp/multipartBody2466412534986374483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150054657,"filename":"image_24012025_21_20_25_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/29/ad63bdc8d5316afd65903afee9db070f.jpg","text":"TemporaryFile(/tmp/multipartBody3103708983259403401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150054657,"filename":"image_24012025_21_21_05_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/29/a2c61f87deb84bc6e0edb0a76b9e6452.jpg","text":"TemporaryFile(/tmp/multipartBody852157338485980756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150054657,"filename":"image_24012025_21_20_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/29/3332016ef8fecc9f1fc605db4204857e.jpg","text":"TemporaryFile(/tmp/multipartBody8671580475492686441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150054657,"filename":"image_24012025_21_20_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/29/6f3034b6b582a21ff957d8cc89e38f89.jpg","text":"TemporaryFile(/tmp/multipartBody6859190253450430888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150054657,"filename":"image_24012025_21_20_45_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332627205","file1":"1332627199","file0":"1332627144","file4":"1332627220","file5":"1332627226","file3":"1332627208"},"map_files_photo_id_array":[{"photo_id":"1332627226","filename":"file5"},{"photo_id":"1332627205","filename":"file2"},{"photo_id":"1332627220","filename":"file4"},{"photo_id":"1332627199","filename":"file1"},{"photo_id":"1332627144","filename":"file0"},{"photo_id":"1332627208","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332627144":["hashtag1","hashtag2"]},{"1332627199":["hashtag1","hashtag2"]},{"1332627226":["hashtag1","hashtag2"]},{"1332627205":["hashtag1","hashtag2"]},{"1332627220":["hashtag1","hashtag2"]},{"1332627208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332627144, 1332627199, 1332627226, 1332627205, 1332627220, 1332627208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68776774406433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:27:32.890777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_15_10349.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_25_9380.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_35_10411.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_45_10345.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_55_9455.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_22_05_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_15_10349.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_25_9380.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_35_10411.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_45_10345.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_55_9455.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_22_05_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: 1.7200593948364258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 12:27:42.899468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_15_10349.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_25_9380.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_35_10411.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_45_10345.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_55_9455.jpg', '/home/pi/Desktop/images/24012025/21/21/image_24012025_21_22_05_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_15_10349.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_25_9380.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_35_10411.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_45_10345.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_21_55_9455.jpg
/home/pi/Desktop/images/24012025/21/21/image_24012025_21_22_05_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":["1332627333","1332627342","1332627321","1332627315","1332627328","1332627337"],"photo_ids_order":["1332627315","1332627321","1332627328","1332627333","1332627337","1332627342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5a4d548a2c21b9950bb3cee11d7459a2.jpg","text":"TemporaryFile(/tmp/multipartBody3213474486797360786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150124072,"filename":"image_24012025_21_21_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/29/45cdc5fe49e28c393bf834d8c16ee80a.jpg","text":"TemporaryFile(/tmp/multipartBody4416876454688455396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150124072,"filename":"image_24012025_21_22_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/29/7721c13a77244c5a51fb48c8ca5fd09a.jpg","text":"TemporaryFile(/tmp/multipartBody1910616206676273244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150124072,"filename":"image_24012025_21_21_25_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/29/0983ab83f0f3b98eb32458f240dd1c44.jpg","text":"TemporaryFile(/tmp/multipartBody1364790931986977780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150124072,"filename":"image_24012025_21_21_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/29/216352a2c1ad71858e73a9bfd42fae67.jpg","text":"TemporaryFile(/tmp/multipartBody9090276647300341844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150124072,"filename":"image_24012025_21_21_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/29/8dfc060109c3358dc0136e4366836dca.jpg","text":"TemporaryFile(/tmp/multipartBody7876239894884471144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150124072,"filename":"image_24012025_21_21_55_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332627328","file1":"1332627321","file0":"1332627315","file4":"1332627337","file5":"1332627342","file3":"1332627333"},"map_files_photo_id_array":[{"photo_id":"1332627342","filename":"file5"},{"photo_id":"1332627328","filename":"file2"},{"photo_id":"1332627337","filename":"file4"},{"photo_id":"1332627321","filename":"file1"},{"photo_id":"1332627315","filename":"file0"},{"photo_id":"1332627333","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332627333":["hashtag1","hashtag2"]},{"1332627342":["hashtag1","hashtag2"]},{"1332627321":["hashtag1","hashtag2"]},{"1332627315":["hashtag1","hashtag2"]},{"1332627328":["hashtag1","hashtag2"]},{"1332627337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332627333, 1332627342, 1332627321, 1332627315, 1332627328, 1332627337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57208299636841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:28:33.042348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_15_9380.jpg', '/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_25_10386.jpg', '/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_35_10386.jpg', '/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_45_9436.jpg', '/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_55_10367.jpg', '/home/pi/Desktop/images/24012025/21/22/image_24012025_21_23_05_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_15_9380.jpg
/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_25_10386.jpg
/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_35_10386.jpg
/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_45_9436.jpg
/home/pi/Desktop/images/24012025/21/22/image_24012025_21_22_55_10367.jpg
/home/pi/Desktop/images/24012025/21/22/image_24012025_21_23_05_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":["1332627372","1332627392","1332627395","1332627365","1332627418","1332627390"],"photo_ids_order":["1332627365","1332627372","1332627390","1332627392","1332627395","1332627418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/319e58507c4cb8c4bc117381eb67ec68.jpg","text":"TemporaryFile(/tmp/multipartBody7968271415257442370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150175112,"filename":"image_24012025_21_22_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/29/d83a5376c6ce26ee35462cff07d951c0.jpg","text":"TemporaryFile(/tmp/multipartBody82401911247984424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150175112,"filename":"image_24012025_21_22_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/29/acd3e61f20fcdf7b14a33f16a30fa5c5.jpg","text":"TemporaryFile(/tmp/multipartBody6048096075877574871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150175112,"filename":"image_24012025_21_22_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/29/50c459b5e16453dca1947c92a5425824.jpg","text":"TemporaryFile(/tmp/multipartBody5942277698769528136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150175112,"filename":"image_24012025_21_22_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/29/e8cd55d020e180364a060c9b7872be6d.jpg","text":"TemporaryFile(/tmp/multipartBody8442225737547418761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150175112,"filename":"image_24012025_21_23_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/29/453e8850eed4873d82f810cf0dc3cd8f.jpg","text":"TemporaryFile(/tmp/multipartBody3192159408079059455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150175112,"filename":"image_24012025_21_22_35_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332627390","file1":"1332627372","file0":"1332627365","file4":"1332627395","file5":"1332627418","file3":"1332627392"},"map_files_photo_id_array":[{"photo_id":"1332627418","filename":"file5"},{"photo_id":"1332627390","filename":"file2"},{"photo_id":"1332627395","filename":"file4"},{"photo_id":"1332627372","filename":"file1"},{"photo_id":"1332627365","filename":"file0"},{"photo_id":"1332627392","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332627372":["hashtag1","hashtag2"]},{"1332627392":["hashtag1","hashtag2"]},{"1332627395":["hashtag1","hashtag2"]},{"1332627365":["hashtag1","hashtag2"]},{"1332627418":["hashtag1","hashtag2"]},{"1332627390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332627372, 1332627392, 1332627395, 1332627365, 1332627418, 1332627390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38783502578735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:29:32.430482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_15_10335.jpg', '/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_25_10345.jpg', '/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_35_9350.jpg', '/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_45_10475.jpg', '/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_55_10361.jpg', '/home/pi/Desktop/images/24012025/21/23/image_24012025_21_24_05_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_15_10335.jpg
/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_25_10345.jpg
/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_35_9350.jpg
/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_45_10475.jpg
/home/pi/Desktop/images/24012025/21/23/image_24012025_21_23_55_10361.jpg
/home/pi/Desktop/images/24012025/21/23/image_24012025_21_24_05_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":["1332627459","1332627468","1332627453","1332627473","1332627463","1332627456"],"photo_ids_order":["1332627453","1332627456","1332627459","1332627463","1332627468","1332627473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fb13acd5b8af08a76d353f5f960feedf.jpg","text":"TemporaryFile(/tmp/multipartBody7530189894049074084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150234519,"filename":"image_24012025_21_23_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/29/789b248f35c33cab6a63613f7d9a1f0a.jpg","text":"TemporaryFile(/tmp/multipartBody1779835242138542913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150234519,"filename":"image_24012025_21_23_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/29/943ad98cb900bca0e9356b89806abddb.jpg","text":"TemporaryFile(/tmp/multipartBody771801594840532395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150234519,"filename":"image_24012025_21_23_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/29/80d7e41dee59dd38a710182fecaea261.jpg","text":"TemporaryFile(/tmp/multipartBody6558547990773832451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150234519,"filename":"image_24012025_21_24_05_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/29/6f7da47d419e72f4d68558eb344a9528.jpg","text":"TemporaryFile(/tmp/multipartBody2869414826517477927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150234519,"filename":"image_24012025_21_23_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/29/b95fe18d6efda0b17306564953ed4ff7.jpg","text":"TemporaryFile(/tmp/multipartBody5455891775676387350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150234519,"filename":"image_24012025_21_23_25_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332627459","file1":"1332627456","file0":"1332627453","file4":"1332627468","file5":"1332627473","file3":"1332627463"},"map_files_photo_id_array":[{"photo_id":"1332627473","filename":"file5"},{"photo_id":"1332627459","filename":"file2"},{"photo_id":"1332627468","filename":"file4"},{"photo_id":"1332627456","filename":"file1"},{"photo_id":"1332627453","filename":"file0"},{"photo_id":"1332627463","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332627459":["hashtag1","hashtag2"]},{"1332627468":["hashtag1","hashtag2"]},{"1332627453":["hashtag1","hashtag2"]},{"1332627473":["hashtag1","hashtag2"]},{"1332627463":["hashtag1","hashtag2"]},{"1332627456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332627459, 1332627468, 1332627453, 1332627473, 1332627463, 1332627456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04119849205017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:30:32.612713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_15_10341.jpg', '/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_25_9344.jpg', '/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_35_10436.jpg', '/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_45_10371.jpg', '/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_55_9391.jpg', '/home/pi/Desktop/images/24012025/21/24/image_24012025_21_25_05_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_15_10341.jpg
/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_25_9344.jpg
/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_35_10436.jpg
/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_45_10371.jpg
/home/pi/Desktop/images/24012025/21/24/image_24012025_21_24_55_9391.jpg
/home/pi/Desktop/images/24012025/21/24/image_24012025_21_25_05_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":["1332627516","1332627512","1332627509","1332627500","1332627505","1332627495"],"photo_ids_order":["1332627495","1332627500","1332627505","1332627509","1332627512","1332627516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f1a914d9691c0bc1419bdbce91e1b97a.jpg","text":"TemporaryFile(/tmp/multipartBody7400449710870059854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150294690,"filename":"image_24012025_21_25_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/29/4d05e7dc155c98e823cbf3cde3ce35ca.jpg","text":"TemporaryFile(/tmp/multipartBody4266028670842793583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150294690,"filename":"image_24012025_21_24_55_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/29/d2262c128259bdfcd5622c17d1e88c2f.jpg","text":"TemporaryFile(/tmp/multipartBody1723141723117723731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150294690,"filename":"image_24012025_21_24_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/29/55348cd3e25207a981dc660f221102cc.jpg","text":"TemporaryFile(/tmp/multipartBody1490804597579486522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150294690,"filename":"image_24012025_21_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/29/6ec47dc6b32dc1fd0ab0435f080662c1.jpg","text":"TemporaryFile(/tmp/multipartBody3556611697321546786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150294690,"filename":"image_24012025_21_24_35_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/29/6fc9dc5444d14417c7b26fb01a292982.jpg","text":"TemporaryFile(/tmp/multipartBody1736908030260480393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150294690,"filename":"image_24012025_21_24_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332627505","file1":"1332627500","file0":"1332627495","file4":"1332627512","file5":"1332627516","file3":"1332627509"},"map_files_photo_id_array":[{"photo_id":"1332627516","filename":"file5"},{"photo_id":"1332627505","filename":"file2"},{"photo_id":"1332627512","filename":"file4"},{"photo_id":"1332627500","filename":"file1"},{"photo_id":"1332627495","filename":"file0"},{"photo_id":"1332627509","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332627516":["hashtag1","hashtag2"]},{"1332627512":["hashtag1","hashtag2"]},{"1332627509":["hashtag1","hashtag2"]},{"1332627500":["hashtag1","hashtag2"]},{"1332627505":["hashtag1","hashtag2"]},{"1332627495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332627516, 1332627512, 1332627509, 1332627500, 1332627505, 1332627495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31499433517456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:31:32.861299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_16_10409.jpg', '/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_25_9391.jpg', '/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_35_10366.jpg', '/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_45_9348.jpg', '/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_35_9361.jpg', '/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_16_10409.jpg
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_25_9391.jpg
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_35_10366.jpg
/home/pi/Desktop/images/24012025/21/25/image_24012025_21_25_45_9348.jpg
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_35_9361.jpg
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_45_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":["1332627552","1332627650","1332627653","1332627646","1332627655","1332627640"],"photo_ids_order":["1332627552","1332627640","1332627646","1332627650","1332627653","1332627655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1970f909fa1f3490fb9518e02e7c7425.jpg","text":"TemporaryFile(/tmp/multipartBody8722683896796266647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150354943,"filename":"image_24012025_21_25_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/29/332753a083c2307bb2a2ff4c7f2f3cee.jpg","text":"TemporaryFile(/tmp/multipartBody45454650587650528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150354943,"filename":"image_24012025_21_25_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/29/03975f69704473fb9445e8825f79d2df.jpg","text":"TemporaryFile(/tmp/multipartBody965233641802377644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150354943,"filename":"image_24012025_21_26_35_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/29/01baedc99e8f8d605651850a5fb5ceab.jpg","text":"TemporaryFile(/tmp/multipartBody4215711155748638194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150354943,"filename":"image_24012025_21_25_35_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/29/ced1010ecce2d8e807c4c703534bd5dd.jpg","text":"TemporaryFile(/tmp/multipartBody2475524755664249112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150354943,"filename":"image_24012025_21_26_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/29/b0f6933ea31a2ad9fe041db5d5c3d02a.jpg","text":"TemporaryFile(/tmp/multipartBody2291971564641550910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150354943,"filename":"image_24012025_21_25_25_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332627646","file1":"1332627640","file0":"1332627552","file4":"1332627653","file5":"1332627655","file3":"1332627650"},"map_files_photo_id_array":[{"photo_id":"1332627655","filename":"file5"},{"photo_id":"1332627646","filename":"file2"},{"photo_id":"1332627653","filename":"file4"},{"photo_id":"1332627640","filename":"file1"},{"photo_id":"1332627552","filename":"file0"},{"photo_id":"1332627650","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332627552":["hashtag1","hashtag2"]},{"1332627650":["hashtag1","hashtag2"]},{"1332627653":["hashtag1","hashtag2"]},{"1332627646":["hashtag1","hashtag2"]},{"1332627655":["hashtag1","hashtag2"]},{"1332627640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332627552, 1332627650, 1332627653, 1332627646, 1332627655, 1332627640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80707406997681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:32:32.972418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_55_10449.jpg', '/home/pi/Desktop/images/24012025/21/26/image_24012025_21_27_05_9351.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_15_10405.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_25_10366.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_35_9402.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_45_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_26_55_10449.jpg
/home/pi/Desktop/images/24012025/21/26/image_24012025_21_27_05_9351.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_15_10405.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_25_10366.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_35_9402.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_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":["1332627744","1332627758","1332627737","1332627760","1332627754","1332627748"],"photo_ids_order":["1332627737","1332627744","1332627748","1332627754","1332627758","1332627760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4ae439ed31dcbc3d76d737070d6635de.jpg","text":"TemporaryFile(/tmp/multipartBody1900617146313930776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150415056,"filename":"image_24012025_21_27_05_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/29/caf1682974e6a7ecc7b4a6a62011bec5.jpg","text":"TemporaryFile(/tmp/multipartBody3583921637222714117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150415056,"filename":"image_24012025_21_27_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/29/23d8a0ca434c3a071bceaf1c138e26a7.jpg","text":"TemporaryFile(/tmp/multipartBody3968441252925823058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150415056,"filename":"image_24012025_21_26_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/29/921daefd503842721b27dcb3bb4c6707.jpg","text":"TemporaryFile(/tmp/multipartBody5619269587327921840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150415056,"filename":"image_24012025_21_27_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/29/fa87ca5a24466946ba8fde3634c9ff20.jpg","text":"TemporaryFile(/tmp/multipartBody5140174727372418011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150415056,"filename":"image_24012025_21_27_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/29/d1f9fc5e3293263dd0f4db2a4ddb84e5.jpg","text":"TemporaryFile(/tmp/multipartBody6075461982663664208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150415056,"filename":"image_24012025_21_27_15_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332627748","file1":"1332627744","file0":"1332627737","file4":"1332627758","file5":"1332627760","file3":"1332627754"},"map_files_photo_id_array":[{"photo_id":"1332627760","filename":"file5"},{"photo_id":"1332627748","filename":"file2"},{"photo_id":"1332627758","filename":"file4"},{"photo_id":"1332627744","filename":"file1"},{"photo_id":"1332627737","filename":"file0"},{"photo_id":"1332627754","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332627744":["hashtag1","hashtag2"]},{"1332627758":["hashtag1","hashtag2"]},{"1332627737":["hashtag1","hashtag2"]},{"1332627760":["hashtag1","hashtag2"]},{"1332627754":["hashtag1","hashtag2"]},{"1332627748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332627744, 1332627758, 1332627737, 1332627760, 1332627754, 1332627748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88056707382202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:33:32.161280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_55_9350.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_28_05_10463.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_15_10342.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_25_9496.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_35_10436.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_45_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_55_9350.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_28_05_10463.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_15_10342.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_25_9496.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_35_10436.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_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: 1.7101154327392578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 12:33:42.260326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_55_9350.jpg', '/home/pi/Desktop/images/24012025/21/27/image_24012025_21_28_05_10463.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_15_10342.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_25_9496.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_35_10436.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_45_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_27_55_9350.jpg
/home/pi/Desktop/images/24012025/21/27/image_24012025_21_28_05_10463.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_15_10342.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_25_9496.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_35_10436.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_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":["1332627915","1332627909","1332627831","1332627959","1332627917","1332627904"],"photo_ids_order":["1332627831","1332627904","1332627909","1332627915","1332627917","1332627959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3ced205e387aa5c52dae8ae624b3e309.jpg","text":"TemporaryFile(/tmp/multipartBody2284011849502814420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150483434,"filename":"image_24012025_21_28_25_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/29/00ead00a47946489325da910b1c60702.jpg","text":"TemporaryFile(/tmp/multipartBody1677303562745040184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150483434,"filename":"image_24012025_21_28_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/29/d21f99349cecf6aa0df5f175597906a4.jpg","text":"TemporaryFile(/tmp/multipartBody4048875425565010712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150483434,"filename":"image_24012025_21_27_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/29/1b57cb9d7a00302cad973aec732444f4.jpg","text":"TemporaryFile(/tmp/multipartBody9219978764940132955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150483434,"filename":"image_24012025_21_28_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/29/a16d15533d20c53b7483194f0014a781.jpg","text":"TemporaryFile(/tmp/multipartBody4010251225511869418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150483434,"filename":"image_24012025_21_28_35_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/29/c46a6894ed466202d696136a8e3f3f7c.jpg","text":"TemporaryFile(/tmp/multipartBody2122067619568266433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150483434,"filename":"image_24012025_21_28_05_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332627909","file1":"1332627904","file0":"1332627831","file4":"1332627917","file5":"1332627959","file3":"1332627915"},"map_files_photo_id_array":[{"photo_id":"1332627959","filename":"file5"},{"photo_id":"1332627909","filename":"file2"},{"photo_id":"1332627917","filename":"file4"},{"photo_id":"1332627904","filename":"file1"},{"photo_id":"1332627831","filename":"file0"},{"photo_id":"1332627915","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332627915":["hashtag1","hashtag2"]},{"1332627909":["hashtag1","hashtag2"]},{"1332627831":["hashtag1","hashtag2"]},{"1332627959":["hashtag1","hashtag2"]},{"1332627917":["hashtag1","hashtag2"]},{"1332627904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332627915, 1332627909, 1332627831, 1332627959, 1332627917, 1332627904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71692109107971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:34:32.379754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_55_10432.jpg', '/home/pi/Desktop/images/24012025/21/28/image_24012025_21_29_05_10343.jpg', '/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_15_9456.jpg', '/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_25_10349.jpg', '/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_35_9353.jpg', '/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_45_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_28_55_10432.jpg
/home/pi/Desktop/images/24012025/21/28/image_24012025_21_29_05_10343.jpg
/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_15_9456.jpg
/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_25_10349.jpg
/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_35_9353.jpg
/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_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":["1332628005","1332627995","1332627979","1332628000","1332627990","1332627984"],"photo_ids_order":["1332627979","1332627984","1332627990","1332627995","1332628000","1332628005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7d680955d1659c2e4b2340d48522232a.jpg","text":"TemporaryFile(/tmp/multipartBody7679363661181758917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150534470,"filename":"image_24012025_21_29_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/29/066c61971aa79f69b68aa9074d1aac2b.jpg","text":"TemporaryFile(/tmp/multipartBody3771941349856599747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150534470,"filename":"image_24012025_21_29_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/29/605e542306fda8cd174ede2df9c300bd.jpg","text":"TemporaryFile(/tmp/multipartBody2516157088172814330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150534470,"filename":"image_24012025_21_28_55_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/29/e6a62e8c933a73ae27bae770e2842b0b.jpg","text":"TemporaryFile(/tmp/multipartBody338464001491639118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150534470,"filename":"image_24012025_21_29_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/29/83ba5c10b47ac054d0311a85d7af38f3.jpg","text":"TemporaryFile(/tmp/multipartBody1436372070919257785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150534470,"filename":"image_24012025_21_29_15_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/29/73fef01a6e7354813fd55f3b0bb1fa7e.jpg","text":"TemporaryFile(/tmp/multipartBody7134520386353235317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150534470,"filename":"image_24012025_21_29_05_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332627990","file1":"1332627984","file0":"1332627979","file4":"1332628000","file5":"1332628005","file3":"1332627995"},"map_files_photo_id_array":[{"photo_id":"1332628005","filename":"file5"},{"photo_id":"1332627990","filename":"file2"},{"photo_id":"1332628000","filename":"file4"},{"photo_id":"1332627984","filename":"file1"},{"photo_id":"1332627979","filename":"file0"},{"photo_id":"1332627995","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332628005":["hashtag1","hashtag2"]},{"1332627995":["hashtag1","hashtag2"]},{"1332627979":["hashtag1","hashtag2"]},{"1332628000":["hashtag1","hashtag2"]},{"1332627990":["hashtag1","hashtag2"]},{"1332627984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332628005, 1332627995, 1332627979, 1332628000, 1332627990, 1332627984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82629108428955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:35:32.572968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_55_10332.jpg', '/home/pi/Desktop/images/24012025/21/29/image_24012025_21_30_05_9472.jpg', '/home/pi/Desktop/images/24012025/21/30/image_24012025_21_30_15_10364.jpg', '/home/pi/Desktop/images/24012025/21/30/image_24012025_21_30_25_9354.jpg', '/home/pi/Desktop/images/24012025/21/30/image_24012025_21_30_35_10390.jpg', '/home/pi/Desktop/images/24012025/21/30/image_24012025_21_30_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/29/image_24012025_21_29_55_10332.jpg
/home/pi/Desktop/images/24012025/21/29/image_24012025_21_30_05_9472.jpg
/home/pi/Desktop/images/24012025/21/30/image_24012025_21_30_15_10364.jpg
/home/pi/Desktop/images/24012025/21/30/image_24012025_21_30_25_9354.jpg
/home/pi/Desktop/images/24012025/21/30/image_24012025_21_30_35_10390.jpg
/home/pi/Desktop/images/24012025/21/30/image_24012025_21_30_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":["1332628754","1332628535","1332628273","1332628750","1332628077","1332628746"],"photo_ids_order":["1332628077","1332628273","1332628535","1332628746","1332628750","1332628754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/39fb970c68a6e4788b50ff95d3c61cd0.jpg","text":"TemporaryFile(/tmp/multipartBody4894495318703074719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150594660,"filename":"image_24012025_21_30_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/29/0fdb1d4c5daa3e0c98efb482a2ece38f.jpg","text":"TemporaryFile(/tmp/multipartBody7991680575077582133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150594660,"filename":"image_24012025_21_30_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/29/69ae2932ca9b3a3e8810aae411f940e6.jpg","text":"TemporaryFile(/tmp/multipartBody401462166566044706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150594660,"filename":"image_24012025_21_30_05_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/29/38b739ed8bce151c906c45748db86571.jpg","text":"TemporaryFile(/tmp/multipartBody1228262591611399215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150594660,"filename":"image_24012025_21_30_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/29/24303120b7a7ac6ecf700b5bba3233c4.jpg","text":"TemporaryFile(/tmp/multipartBody6191213412780269936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150594660,"filename":"image_24012025_21_29_55_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/29/57d08943643cd17c747ed4b5ae49e7ca.jpg","text":"TemporaryFile(/tmp/multipartBody2796701333200831975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150594660,"filename":"image_24012025_21_30_25_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332628535","file1":"1332628273","file0":"1332628077","file4":"1332628750","file5":"1332628754","file3":"1332628746"},"map_files_photo_id_array":[{"photo_id":"1332628754","filename":"file5"},{"photo_id":"1332628535","filename":"file2"},{"photo_id":"1332628750","filename":"file4"},{"photo_id":"1332628273","filename":"file1"},{"photo_id":"1332628077","filename":"file0"},{"photo_id":"1332628746","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332628754":["hashtag1","hashtag2"]},{"1332628535":["hashtag1","hashtag2"]},{"1332628273":["hashtag1","hashtag2"]},{"1332628750":["hashtag1","hashtag2"]},{"1332628077":["hashtag1","hashtag2"]},{"1332628746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332628754, 1332628535, 1332628273, 1332628750, 1332628077, 1332628746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57277321815491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:36:32.832362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/30/image_24012025_21_30_55_9404.jpg', '/home/pi/Desktop/images/24012025/21/30/image_24012025_21_31_05_10415.jpg', '/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_15_10352.jpg', '/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_25_9449.jpg', '/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_35_10356.jpg', '/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/30/image_24012025_21_30_55_9404.jpg
/home/pi/Desktop/images/24012025/21/30/image_24012025_21_31_05_10415.jpg
/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_15_10352.jpg
/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_25_9449.jpg
/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_35_10356.jpg
/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_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":["1332629048","1332628958","1332628951","1332628965","1332628944","1332628938"],"photo_ids_order":["1332628938","1332628944","1332628951","1332628958","1332628965","1332629048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/282b7d038e9957789a772c6e67b2a459.jpg","text":"TemporaryFile(/tmp/multipartBody2100392191746765425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150654923,"filename":"image_24012025_21_31_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/29/338e0531330562b81c2311a3b041e32b.jpg","text":"TemporaryFile(/tmp/multipartBody1222364740393606864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150654923,"filename":"image_24012025_21_31_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/29/209b306652e57b4a5e445212fa32fed9.jpg","text":"TemporaryFile(/tmp/multipartBody1898030760434193795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150654923,"filename":"image_24012025_21_31_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/29/d0c532f35f4f1163609e9da236330fc9.jpg","text":"TemporaryFile(/tmp/multipartBody7460153439372452475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150654923,"filename":"image_24012025_21_31_35_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/29/d6c419535bdfd0fa155cd3d8da29255d.jpg","text":"TemporaryFile(/tmp/multipartBody9142007041750027076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150654923,"filename":"image_24012025_21_31_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/29/a09cec531763c0e5e8f4a316a4104f41.jpg","text":"TemporaryFile(/tmp/multipartBody1443421915048743914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150654923,"filename":"image_24012025_21_30_55_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332628951","file1":"1332628944","file0":"1332628938","file4":"1332628965","file5":"1332629048","file3":"1332628958"},"map_files_photo_id_array":[{"photo_id":"1332629048","filename":"file5"},{"photo_id":"1332628951","filename":"file2"},{"photo_id":"1332628965","filename":"file4"},{"photo_id":"1332628944","filename":"file1"},{"photo_id":"1332628938","filename":"file0"},{"photo_id":"1332628958","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332629048":["hashtag1","hashtag2"]},{"1332628958":["hashtag1","hashtag2"]},{"1332628951":["hashtag1","hashtag2"]},{"1332628965":["hashtag1","hashtag2"]},{"1332628944":["hashtag1","hashtag2"]},{"1332628938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332629048, 1332628958, 1332628951, 1332628965, 1332628944, 1332628938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.332939863204956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:37:33.094647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_55_10361.jpg', '/home/pi/Desktop/images/24012025/21/31/image_24012025_21_32_05_10365.jpg', '/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_15_9416.jpg', '/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_25_10356.jpg', '/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_36_10341.jpg', '/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_45_9391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_55_10361.jpg
/home/pi/Desktop/images/24012025/21/31/image_24012025_21_32_05_10365.jpg
/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_15_9416.jpg
/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_25_10356.jpg
/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_36_10341.jpg
/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_45_9391.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.7141482830047607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 12:37:43.236378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_55_10361.jpg', '/home/pi/Desktop/images/24012025/21/31/image_24012025_21_32_05_10365.jpg', '/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_15_9416.jpg', '/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_25_10356.jpg', '/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_36_10341.jpg', '/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_45_9391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/31/image_24012025_21_31_55_10361.jpg
/home/pi/Desktop/images/24012025/21/31/image_24012025_21_32_05_10365.jpg
/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_15_9416.jpg
/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_25_10356.jpg
/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_36_10341.jpg
/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_45_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332629438","1332629447","1332629414","1332629446","1332629364","1332629442"],"photo_ids_order":["1332629364","1332629414","1332629438","1332629442","1332629446","1332629447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8e626f867e3f9822e63d4e31193b4810.jpg","text":"TemporaryFile(/tmp/multipartBody3280478627463901731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150724459,"filename":"image_24012025_21_32_15_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/29/eb1dadefc4a301bea45060d2505b22d0.jpg","text":"TemporaryFile(/tmp/multipartBody8689836185847874516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150724459,"filename":"image_24012025_21_32_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/29/89fb65b80c02791574e41ae90d4c0af5.jpg","text":"TemporaryFile(/tmp/multipartBody8670897711097971520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150724459,"filename":"image_24012025_21_32_05_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/29/74babfbba77ca7d67ab8093cabb6c98c.jpg","text":"TemporaryFile(/tmp/multipartBody7345152232334242421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150724459,"filename":"image_24012025_21_32_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/29/2a0a0c514cc3b6fb088a95fd18c6023f.jpg","text":"TemporaryFile(/tmp/multipartBody5730734892499486290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150724459,"filename":"image_24012025_21_31_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/29/01f50bda64b60370bd0284fe3949742e.jpg","text":"TemporaryFile(/tmp/multipartBody7533868433529423073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150724459,"filename":"image_24012025_21_32_25_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332629438","file1":"1332629414","file0":"1332629364","file4":"1332629446","file5":"1332629447","file3":"1332629442"},"map_files_photo_id_array":[{"photo_id":"1332629447","filename":"file5"},{"photo_id":"1332629438","filename":"file2"},{"photo_id":"1332629446","filename":"file4"},{"photo_id":"1332629414","filename":"file1"},{"photo_id":"1332629364","filename":"file0"},{"photo_id":"1332629442","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332629438":["hashtag1","hashtag2"]},{"1332629447":["hashtag1","hashtag2"]},{"1332629414":["hashtag1","hashtag2"]},{"1332629446":["hashtag1","hashtag2"]},{"1332629364":["hashtag1","hashtag2"]},{"1332629442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332629438, 1332629447, 1332629414, 1332629446, 1332629364, 1332629442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95265054702759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:38:32.370657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_55_10341.jpg', '/home/pi/Desktop/images/24012025/21/33/image_24012025_21_33_15_10356.jpg', '/home/pi/Desktop/images/24012025/21/33/image_24012025_21_33_25_10339.jpg', '/home/pi/Desktop/images/24012025/21/33/image_24012025_21_33_35_9350.jpg', '/home/pi/Desktop/images/24012025/21/33/image_24012025_21_33_45_10345.jpg', '/home/pi/Desktop/images/24012025/21/33/image_24012025_21_33_55_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/32/image_24012025_21_32_55_10341.jpg
/home/pi/Desktop/images/24012025/21/33/image_24012025_21_33_15_10356.jpg
/home/pi/Desktop/images/24012025/21/33/image_24012025_21_33_25_10339.jpg
/home/pi/Desktop/images/24012025/21/33/image_24012025_21_33_35_9350.jpg
/home/pi/Desktop/images/24012025/21/33/image_24012025_21_33_45_10345.jpg
/home/pi/Desktop/images/24012025/21/33/image_24012025_21_33_55_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":["1332629507","1332629475","1332629469","1332629495","1332629489","1332629480"],"photo_ids_order":["1332629469","1332629475","1332629480","1332629489","1332629495","1332629507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1f46b527cc2ff3923e8bb81fca70e7e9.jpg","text":"TemporaryFile(/tmp/multipartBody6976115319368237149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150774445,"filename":"image_24012025_21_33_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/29/f8a52f67e08cd8533f7bc2e5fdb03150.jpg","text":"TemporaryFile(/tmp/multipartBody721928392446205657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150774445,"filename":"image_24012025_21_33_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/29/169033c71699ba26305739511ad7b759.jpg","text":"TemporaryFile(/tmp/multipartBody121423971436743542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150774445,"filename":"image_24012025_21_32_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/29/49e0f2d186b61a8c805192b0ea9569fc.jpg","text":"TemporaryFile(/tmp/multipartBody3915493741485088591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150774445,"filename":"image_24012025_21_33_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/29/79411e44a73719a1aa8cae30ace78fab.jpg","text":"TemporaryFile(/tmp/multipartBody1247239091089144975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150774445,"filename":"image_24012025_21_33_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/29/54b011dec92498793d99c8d2b46514f6.jpg","text":"TemporaryFile(/tmp/multipartBody8025608675706904627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150774445,"filename":"image_24012025_21_33_25_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332629480","file1":"1332629475","file0":"1332629469","file4":"1332629495","file5":"1332629507","file3":"1332629489"},"map_files_photo_id_array":[{"photo_id":"1332629507","filename":"file5"},{"photo_id":"1332629480","filename":"file2"},{"photo_id":"1332629495","filename":"file4"},{"photo_id":"1332629475","filename":"file1"},{"photo_id":"1332629469","filename":"file0"},{"photo_id":"1332629489","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332629507":["hashtag1","hashtag2"]},{"1332629475":["hashtag1","hashtag2"]},{"1332629469":["hashtag1","hashtag2"]},{"1332629495":["hashtag1","hashtag2"]},{"1332629489":["hashtag1","hashtag2"]},{"1332629480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332629507, 1332629475, 1332629469, 1332629495, 1332629489, 1332629480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.925179958343506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:39:32.597975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/33/image_24012025_21_34_05_9345.jpg', '/home/pi/Desktop/images/24012025/21/34/image_24012025_21_34_15_10411.jpg', '/home/pi/Desktop/images/24012025/21/34/image_24012025_21_34_25_10357.jpg', '/home/pi/Desktop/images/24012025/21/34/image_24012025_21_34_35_9433.jpg', '/home/pi/Desktop/images/24012025/21/34/image_24012025_21_34_45_9732.jpg', '/home/pi/Desktop/images/24012025/21/34/image_24012025_21_34_55_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/33/image_24012025_21_34_05_9345.jpg
/home/pi/Desktop/images/24012025/21/34/image_24012025_21_34_15_10411.jpg
/home/pi/Desktop/images/24012025/21/34/image_24012025_21_34_25_10357.jpg
/home/pi/Desktop/images/24012025/21/34/image_24012025_21_34_35_9433.jpg
/home/pi/Desktop/images/24012025/21/34/image_24012025_21_34_45_9732.jpg
/home/pi/Desktop/images/24012025/21/34/image_24012025_21_34_55_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":["1332629599","1332629581","1332629595","1332629589","1332629529","1332629538"],"photo_ids_order":["1332629529","1332629538","1332629581","1332629589","1332629595","1332629599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/54fb06e10764c2e1600fb472693f2742.jpg","text":"TemporaryFile(/tmp/multipartBody4583892195672962804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150834719,"filename":"image_24012025_21_34_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/29/1d206aa58eff29492678c82c4b5b8ee7.jpg","text":"TemporaryFile(/tmp/multipartBody8167481878655555144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150834719,"filename":"image_24012025_21_34_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/29/ec2f55313a110175366e3499d33c34a6.jpg","text":"TemporaryFile(/tmp/multipartBody1483649346258241531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150834719,"filename":"image_24012025_21_34_45_9732.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/195d499c99a595c6a816c501bd84383a.jpg","text":"TemporaryFile(/tmp/multipartBody6709129340901131035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150834719,"filename":"image_24012025_21_34_35_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/29/3e029e0ef1f6c5dc8dae7eac95149783.jpg","text":"TemporaryFile(/tmp/multipartBody5992677386450080700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150834719,"filename":"image_24012025_21_34_05_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/29/4aae2796751c1882a01d6948c1e9457a.jpg","text":"TemporaryFile(/tmp/multipartBody7185290837794979485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150834719,"filename":"image_24012025_21_34_15_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332629581","file1":"1332629538","file0":"1332629529","file4":"1332629595","file5":"1332629599","file3":"1332629589"},"map_files_photo_id_array":[{"photo_id":"1332629599","filename":"file5"},{"photo_id":"1332629581","filename":"file2"},{"photo_id":"1332629595","filename":"file4"},{"photo_id":"1332629538","filename":"file1"},{"photo_id":"1332629529","filename":"file0"},{"photo_id":"1332629589","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332629599":["hashtag1","hashtag2"]},{"1332629581":["hashtag1","hashtag2"]},{"1332629595":["hashtag1","hashtag2"]},{"1332629589":["hashtag1","hashtag2"]},{"1332629529":["hashtag1","hashtag2"]},{"1332629538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332629599, 1332629581, 1332629595, 1332629589, 1332629529, 1332629538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04825043678284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:40:32.842447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/34/image_24012025_21_35_05_10356.jpg', '/home/pi/Desktop/images/24012025/21/35/image_24012025_21_35_15_9331.jpg', '/home/pi/Desktop/images/24012025/21/35/image_24012025_21_35_25_10405.jpg', '/home/pi/Desktop/images/24012025/21/35/image_24012025_21_35_35_10366.jpg', '/home/pi/Desktop/images/24012025/21/35/image_24012025_21_35_45_9383.jpg', '/home/pi/Desktop/images/24012025/21/35/image_24012025_21_35_55_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/34/image_24012025_21_35_05_10356.jpg
/home/pi/Desktop/images/24012025/21/35/image_24012025_21_35_15_9331.jpg
/home/pi/Desktop/images/24012025/21/35/image_24012025_21_35_25_10405.jpg
/home/pi/Desktop/images/24012025/21/35/image_24012025_21_35_35_10366.jpg
/home/pi/Desktop/images/24012025/21/35/image_24012025_21_35_45_9383.jpg
/home/pi/Desktop/images/24012025/21/35/image_24012025_21_35_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":["1332629702","1332629705","1332629692","1332629686","1332629680","1332629697"],"photo_ids_order":["1332629680","1332629686","1332629692","1332629697","1332629702","1332629705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/239fd3e593c551bc21c433d1da1eaa33.jpg","text":"TemporaryFile(/tmp/multipartBody1276653664609003564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150894937,"filename":"image_24012025_21_35_45_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/29/8d6e35b87b6aa9dbf1002bd2b0955645.jpg","text":"TemporaryFile(/tmp/multipartBody7146851196783811911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150894937,"filename":"image_24012025_21_35_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/29/9424bf01d9e33c8bb12b9f61e251a9d1.jpg","text":"TemporaryFile(/tmp/multipartBody7201917041387773845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150894937,"filename":"image_24012025_21_35_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/29/e37ee324f61bcbb761cdc8de747659ae.jpg","text":"TemporaryFile(/tmp/multipartBody6958727076706670374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150894937,"filename":"image_24012025_21_35_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/29/d632a318af565e5443287167c5ea0ff2.jpg","text":"TemporaryFile(/tmp/multipartBody7778100636460551825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150894937,"filename":"image_24012025_21_35_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/29/41b4dde0359bb247a126e10c7b93116d.jpg","text":"TemporaryFile(/tmp/multipartBody6737059633107509918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150894937,"filename":"image_24012025_21_35_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332629692","file1":"1332629686","file0":"1332629680","file4":"1332629702","file5":"1332629705","file3":"1332629697"},"map_files_photo_id_array":[{"photo_id":"1332629705","filename":"file5"},{"photo_id":"1332629692","filename":"file2"},{"photo_id":"1332629702","filename":"file4"},{"photo_id":"1332629686","filename":"file1"},{"photo_id":"1332629680","filename":"file0"},{"photo_id":"1332629697","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332629702":["hashtag1","hashtag2"]},{"1332629705":["hashtag1","hashtag2"]},{"1332629692":["hashtag1","hashtag2"]},{"1332629686":["hashtag1","hashtag2"]},{"1332629680":["hashtag1","hashtag2"]},{"1332629697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332629702, 1332629705, 1332629692, 1332629686, 1332629680, 1332629697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9187445640564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:41:33.035296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/35/image_24012025_21_36_06_10351.jpg', '/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_15_9432.jpg', '/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_25_10346.jpg', '/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_35_9354.jpg', '/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_45_10419.jpg', '/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_55_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/35/image_24012025_21_36_06_10351.jpg
/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_15_9432.jpg
/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_25_10346.jpg
/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_35_9354.jpg
/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_45_10419.jpg
/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_55_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: 1.688579797744751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 12:41:43.163637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/35/image_24012025_21_36_06_10351.jpg', '/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_15_9432.jpg', '/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_25_10346.jpg', '/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_35_9354.jpg', '/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_45_10419.jpg', '/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_55_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/35/image_24012025_21_36_06_10351.jpg
/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_15_9432.jpg
/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_25_10346.jpg
/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_35_9354.jpg
/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_45_10419.jpg
/home/pi/Desktop/images/24012025/21/36/image_24012025_21_36_55_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":["1332629776","1332629779","1332629743","1332629806","1332629769","1332629760"],"photo_ids_order":["1332629743","1332629760","1332629769","1332629776","1332629779","1332629806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/63c778767082afa0c6851e367f777499.jpg","text":"TemporaryFile(/tmp/multipartBody3226457917884128904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150964366,"filename":"image_24012025_21_36_35_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/29/e88097c94216cecba6883b374949c4e4.jpg","text":"TemporaryFile(/tmp/multipartBody1386032492078282105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150964366,"filename":"image_24012025_21_36_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/29/41e6623e2611584eb45b21570b3376b7.jpg","text":"TemporaryFile(/tmp/multipartBody3032357741023818551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150964366,"filename":"image_24012025_21_36_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/29/4d72ada97cb46584cefb643544c553b7.jpg","text":"TemporaryFile(/tmp/multipartBody8551192606882581253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150964366,"filename":"image_24012025_21_36_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/29/55652645ffdc302615c5e0a1172a8581.jpg","text":"TemporaryFile(/tmp/multipartBody4165747981703399479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150964366,"filename":"image_24012025_21_36_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/29/97e73f2d1c562b870b818627b504b3ae.jpg","text":"TemporaryFile(/tmp/multipartBody7414911688574172524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738150964366,"filename":"image_24012025_21_36_15_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332629769","file1":"1332629760","file0":"1332629743","file4":"1332629779","file5":"1332629806","file3":"1332629776"},"map_files_photo_id_array":[{"photo_id":"1332629806","filename":"file5"},{"photo_id":"1332629769","filename":"file2"},{"photo_id":"1332629779","filename":"file4"},{"photo_id":"1332629760","filename":"file1"},{"photo_id":"1332629743","filename":"file0"},{"photo_id":"1332629776","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332629776":["hashtag1","hashtag2"]},{"1332629779":["hashtag1","hashtag2"]},{"1332629743":["hashtag1","hashtag2"]},{"1332629806":["hashtag1","hashtag2"]},{"1332629769":["hashtag1","hashtag2"]},{"1332629760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332629776, 1332629779, 1332629743, 1332629806, 1332629769, 1332629760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83746576309204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:42:32.288861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/36/image_24012025_21_37_05_9461.jpg', '/home/pi/Desktop/images/24012025/21/37/image_24012025_21_37_15_10351.jpg', '/home/pi/Desktop/images/24012025/21/37/image_24012025_21_37_26_10336.jpg', '/home/pi/Desktop/images/24012025/21/37/image_24012025_21_37_35_9465.jpg', '/home/pi/Desktop/images/24012025/21/37/image_24012025_21_37_45_10334.jpg', '/home/pi/Desktop/images/24012025/21/37/image_24012025_21_37_55_9319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/36/image_24012025_21_37_05_9461.jpg
/home/pi/Desktop/images/24012025/21/37/image_24012025_21_37_15_10351.jpg
/home/pi/Desktop/images/24012025/21/37/image_24012025_21_37_26_10336.jpg
/home/pi/Desktop/images/24012025/21/37/image_24012025_21_37_35_9465.jpg
/home/pi/Desktop/images/24012025/21/37/image_24012025_21_37_45_10334.jpg
/home/pi/Desktop/images/24012025/21/37/image_24012025_21_37_55_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":["1332629849","1332629872","1332629860","1332629854","1332629868","1332629865"],"photo_ids_order":["1332629849","1332629854","1332629860","1332629865","1332629868","1332629872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/27f2ab2547e5bdce7b2253d7599a5f45.jpg","text":"TemporaryFile(/tmp/multipartBody3975689646318405393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151014355,"filename":"image_24012025_21_37_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/29/0cd4d02101e5d9ff4953d20ada1773f7.jpg","text":"TemporaryFile(/tmp/multipartBody3924130893892866333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151014355,"filename":"image_24012025_21_37_55_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/29/34da925d17451d553a9a4030ff0f5201.jpg","text":"TemporaryFile(/tmp/multipartBody3001504541454793892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151014355,"filename":"image_24012025_21_37_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/29/0a6ef6342931e9d868c0517227ce77f6.jpg","text":"TemporaryFile(/tmp/multipartBody9055501050332879848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151014355,"filename":"image_24012025_21_37_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/29/4ac116d3bf0c61e548a03631fd4c1222.jpg","text":"TemporaryFile(/tmp/multipartBody7369008780614952167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151014355,"filename":"image_24012025_21_37_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/29/dcfef0ca01e212b5159f1dfd9d70afe6.jpg","text":"TemporaryFile(/tmp/multipartBody7691569231179986993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151014355,"filename":"image_24012025_21_37_35_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332629860","file1":"1332629854","file0":"1332629849","file4":"1332629868","file5":"1332629872","file3":"1332629865"},"map_files_photo_id_array":[{"photo_id":"1332629872","filename":"file5"},{"photo_id":"1332629860","filename":"file2"},{"photo_id":"1332629868","filename":"file4"},{"photo_id":"1332629854","filename":"file1"},{"photo_id":"1332629849","filename":"file0"},{"photo_id":"1332629865","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332629849":["hashtag1","hashtag2"]},{"1332629872":["hashtag1","hashtag2"]},{"1332629860":["hashtag1","hashtag2"]},{"1332629854":["hashtag1","hashtag2"]},{"1332629868":["hashtag1","hashtag2"]},{"1332629865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332629849, 1332629872, 1332629860, 1332629854, 1332629868, 1332629865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47128224372864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:43:32.501552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/37/image_24012025_21_38_05_10357.jpg', '/home/pi/Desktop/images/24012025/21/38/image_24012025_21_38_15_10404.jpg', '/home/pi/Desktop/images/24012025/21/38/image_24012025_21_38_25_9440.jpg', '/home/pi/Desktop/images/24012025/21/38/image_24012025_21_38_35_10442.jpg', '/home/pi/Desktop/images/24012025/21/38/image_24012025_21_38_45_9343.jpg', '/home/pi/Desktop/images/24012025/21/38/image_24012025_21_38_55_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/37/image_24012025_21_38_05_10357.jpg
/home/pi/Desktop/images/24012025/21/38/image_24012025_21_38_15_10404.jpg
/home/pi/Desktop/images/24012025/21/38/image_24012025_21_38_25_9440.jpg
/home/pi/Desktop/images/24012025/21/38/image_24012025_21_38_35_10442.jpg
/home/pi/Desktop/images/24012025/21/38/image_24012025_21_38_45_9343.jpg
/home/pi/Desktop/images/24012025/21/38/image_24012025_21_38_55_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":["1332630032","1332630029","1332630023","1332630017","1332629938","1332629931"],"photo_ids_order":["1332629931","1332629938","1332630017","1332630023","1332630029","1332630032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2805d4004cfe9d8afa4906ca347547a6.jpg","text":"TemporaryFile(/tmp/multipartBody864331484550258304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151074577,"filename":"image_24012025_21_38_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/29/745a9d2bc474a72b9e8acd8f9892369d.jpg","text":"TemporaryFile(/tmp/multipartBody4592960222057193386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151074577,"filename":"image_24012025_21_38_45_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/29/c8f2079178311281bf4cb907ca08a6a8.jpg","text":"TemporaryFile(/tmp/multipartBody70795872656652953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151074577,"filename":"image_24012025_21_38_35_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/29/edd2a05f407a6686ce3a756f4c8e6853.jpg","text":"TemporaryFile(/tmp/multipartBody7888078929706870364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151074577,"filename":"image_24012025_21_38_25_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/29/8801b05abe22dae41c4552c555c4f4ef.jpg","text":"TemporaryFile(/tmp/multipartBody740384440445069084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151074577,"filename":"image_24012025_21_38_15_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/29/71715fbbab22aa2310f69b2314db2a44.jpg","text":"TemporaryFile(/tmp/multipartBody3235965186443866765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151074577,"filename":"image_24012025_21_38_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332630017","file1":"1332629938","file0":"1332629931","file4":"1332630029","file5":"1332630032","file3":"1332630023"},"map_files_photo_id_array":[{"photo_id":"1332630032","filename":"file5"},{"photo_id":"1332630017","filename":"file2"},{"photo_id":"1332630029","filename":"file4"},{"photo_id":"1332629938","filename":"file1"},{"photo_id":"1332629931","filename":"file0"},{"photo_id":"1332630023","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332630032":["hashtag1","hashtag2"]},{"1332630029":["hashtag1","hashtag2"]},{"1332630023":["hashtag1","hashtag2"]},{"1332630017":["hashtag1","hashtag2"]},{"1332629938":["hashtag1","hashtag2"]},{"1332629931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332630032, 1332630029, 1332630023, 1332630017, 1332629938, 1332629931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.285725355148315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:44:32.702537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/38/image_24012025_21_39_05_10345.jpg', '/home/pi/Desktop/images/24012025/21/39/image_24012025_21_39_15_9342.jpg', '/home/pi/Desktop/images/24012025/21/39/image_24012025_21_39_25_10384.jpg', '/home/pi/Desktop/images/24012025/21/39/image_24012025_21_39_35_10351.jpg', '/home/pi/Desktop/images/24012025/21/39/image_24012025_21_39_45_9250.jpg', '/home/pi/Desktop/images/24012025/21/39/image_24012025_21_39_55_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/38/image_24012025_21_39_05_10345.jpg
/home/pi/Desktop/images/24012025/21/39/image_24012025_21_39_15_9342.jpg
/home/pi/Desktop/images/24012025/21/39/image_24012025_21_39_25_10384.jpg
/home/pi/Desktop/images/24012025/21/39/image_24012025_21_39_35_10351.jpg
/home/pi/Desktop/images/24012025/21/39/image_24012025_21_39_45_9250.jpg
/home/pi/Desktop/images/24012025/21/39/image_24012025_21_39_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":["1332630089","1332630086","1332630073","1332630082","1332630079","1332630066"],"photo_ids_order":["1332630066","1332630073","1332630079","1332630082","1332630086","1332630089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a2cc85c36cac2fe2a74e58db5228fd57.jpg","text":"TemporaryFile(/tmp/multipartBody6947569746720094209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151134808,"filename":"image_24012025_21_39_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/29/8f5869d9a68b69323bb0af141a3d4f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8847244187473702556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151134808,"filename":"image_24012025_21_39_45_9250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/01e968e4a676eab2c410cba72d9fc981.jpg","text":"TemporaryFile(/tmp/multipartBody1243871125510751905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151134808,"filename":"image_24012025_21_39_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/29/07c59ecdf5a265a9171b92ec582acea6.jpg","text":"TemporaryFile(/tmp/multipartBody8655636297852050959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151134808,"filename":"image_24012025_21_39_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/29/feb52bfed2bf859019f63e21f78b6e19.jpg","text":"TemporaryFile(/tmp/multipartBody3906527746794066678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151134808,"filename":"image_24012025_21_39_25_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/29/534d6407937ec374009e8aaf062e8f75.jpg","text":"TemporaryFile(/tmp/multipartBody8979225066154339532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151134808,"filename":"image_24012025_21_39_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332630079","file1":"1332630073","file0":"1332630066","file4":"1332630086","file5":"1332630089","file3":"1332630082"},"map_files_photo_id_array":[{"photo_id":"1332630089","filename":"file5"},{"photo_id":"1332630079","filename":"file2"},{"photo_id":"1332630086","filename":"file4"},{"photo_id":"1332630073","filename":"file1"},{"photo_id":"1332630066","filename":"file0"},{"photo_id":"1332630082","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332630089":["hashtag1","hashtag2"]},{"1332630086":["hashtag1","hashtag2"]},{"1332630073":["hashtag1","hashtag2"]},{"1332630082":["hashtag1","hashtag2"]},{"1332630079":["hashtag1","hashtag2"]},{"1332630066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332630089, 1332630086, 1332630073, 1332630082, 1332630079, 1332630066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75638461112976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:45:32.934568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/39/image_24012025_21_40_05_10356.jpg', '/home/pi/Desktop/images/24012025/21/40/image_24012025_21_40_15_9399.jpg', '/home/pi/Desktop/images/24012025/21/40/image_24012025_21_40_25_10347.jpg', '/home/pi/Desktop/images/24012025/21/40/image_24012025_21_40_36_10365.jpg', '/home/pi/Desktop/images/24012025/21/40/image_24012025_21_40_45_9438.jpg', '/home/pi/Desktop/images/24012025/21/40/image_24012025_21_40_55_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/39/image_24012025_21_40_05_10356.jpg
/home/pi/Desktop/images/24012025/21/40/image_24012025_21_40_15_9399.jpg
/home/pi/Desktop/images/24012025/21/40/image_24012025_21_40_25_10347.jpg
/home/pi/Desktop/images/24012025/21/40/image_24012025_21_40_36_10365.jpg
/home/pi/Desktop/images/24012025/21/40/image_24012025_21_40_45_9438.jpg
/home/pi/Desktop/images/24012025/21/40/image_24012025_21_40_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":["1332630542","1332630463","1332630489","1332630537","1332630531","1332630525"],"photo_ids_order":["1332630463","1332630489","1332630525","1332630531","1332630537","1332630542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/af224a75aaf7f6dd06acb9a53aa1905b.jpg","text":"TemporaryFile(/tmp/multipartBody8708770808782182443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151195037,"filename":"image_24012025_21_40_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/29/6b8b7d31c820170fe38eed6bcbe14b96.jpg","text":"TemporaryFile(/tmp/multipartBody1210074727799358609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151195037,"filename":"image_24012025_21_40_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/29/9bfe88dca395a68017a530bc9525d510.jpg","text":"TemporaryFile(/tmp/multipartBody7035038192929061343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151195037,"filename":"image_24012025_21_40_15_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/29/c85b0880038ce44bed47ac0b0b9cc01b.jpg","text":"TemporaryFile(/tmp/multipartBody125230784033390292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151195037,"filename":"image_24012025_21_40_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/29/f2ba8e6d553f9d1cb1575cf013f1acee.jpg","text":"TemporaryFile(/tmp/multipartBody8058194020901473859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151195037,"filename":"image_24012025_21_40_36_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/29/ee63f6ce90c7993de20d909c4075145a.jpg","text":"TemporaryFile(/tmp/multipartBody1832765024579355866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151195037,"filename":"image_24012025_21_40_25_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332630525","file1":"1332630489","file0":"1332630463","file4":"1332630537","file5":"1332630542","file3":"1332630531"},"map_files_photo_id_array":[{"photo_id":"1332630542","filename":"file5"},{"photo_id":"1332630525","filename":"file2"},{"photo_id":"1332630537","filename":"file4"},{"photo_id":"1332630489","filename":"file1"},{"photo_id":"1332630463","filename":"file0"},{"photo_id":"1332630531","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332630542":["hashtag1","hashtag2"]},{"1332630463":["hashtag1","hashtag2"]},{"1332630489":["hashtag1","hashtag2"]},{"1332630537":["hashtag1","hashtag2"]},{"1332630531":["hashtag1","hashtag2"]},{"1332630525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332630542, 1332630463, 1332630489, 1332630537, 1332630531, 1332630525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.02884125709534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:46:32.293783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/40/image_24012025_21_41_05_9331.jpg', '/home/pi/Desktop/images/24012025/21/41/image_24012025_21_41_15_10448.jpg', '/home/pi/Desktop/images/24012025/21/41/image_24012025_21_41_25_10339.jpg', '/home/pi/Desktop/images/24012025/21/41/image_24012025_21_41_45_10444.jpg', '/home/pi/Desktop/images/24012025/21/41/image_24012025_21_41_55_9328.jpg', '/home/pi/Desktop/images/24012025/21/41/image_24012025_21_42_05_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/40/image_24012025_21_41_05_9331.jpg
/home/pi/Desktop/images/24012025/21/41/image_24012025_21_41_15_10448.jpg
/home/pi/Desktop/images/24012025/21/41/image_24012025_21_41_25_10339.jpg
/home/pi/Desktop/images/24012025/21/41/image_24012025_21_41_45_10444.jpg
/home/pi/Desktop/images/24012025/21/41/image_24012025_21_41_55_9328.jpg
/home/pi/Desktop/images/24012025/21/41/image_24012025_21_42_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":["1332630720","1332630714","1332630725","1332630691","1332630660","1332630666"],"photo_ids_order":["1332630660","1332630666","1332630691","1332630714","1332630720","1332630725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f931b1252ab35b6ec12c95b6926279f0.jpg","text":"TemporaryFile(/tmp/multipartBody120554388959475433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151254381,"filename":"image_24012025_21_41_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/29/b3d80a000a82a44cc08a247aac8537a8.jpg","text":"TemporaryFile(/tmp/multipartBody4349877282435002091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151254381,"filename":"image_24012025_21_41_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/29/7e2291a6337f4be12dce97107a47281e.jpg","text":"TemporaryFile(/tmp/multipartBody3802290594732580338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151254381,"filename":"image_24012025_21_42_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/29/e26102024da081bc2c7aa05238f25fc5.jpg","text":"TemporaryFile(/tmp/multipartBody8852055339879924156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151254381,"filename":"image_24012025_21_41_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/29/c0171ca4586f2cf8f4322a7dda1e0378.jpg","text":"TemporaryFile(/tmp/multipartBody6804595785381552995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151254381,"filename":"image_24012025_21_41_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/29/b30c4198a3b3c0a9bdd1b5ec25bd0008.jpg","text":"TemporaryFile(/tmp/multipartBody3753533788415834136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151254381,"filename":"image_24012025_21_41_15_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332630691","file1":"1332630666","file0":"1332630660","file4":"1332630720","file5":"1332630725","file3":"1332630714"},"map_files_photo_id_array":[{"photo_id":"1332630725","filename":"file5"},{"photo_id":"1332630691","filename":"file2"},{"photo_id":"1332630720","filename":"file4"},{"photo_id":"1332630666","filename":"file1"},{"photo_id":"1332630660","filename":"file0"},{"photo_id":"1332630714","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332630720":["hashtag1","hashtag2"]},{"1332630714":["hashtag1","hashtag2"]},{"1332630725":["hashtag1","hashtag2"]},{"1332630691":["hashtag1","hashtag2"]},{"1332630660":["hashtag1","hashtag2"]},{"1332630666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332630720, 1332630714, 1332630725, 1332630691, 1332630660, 1332630666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.499733209609985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:47:32.511357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/42/image_24012025_21_42_15_10344.jpg', '/home/pi/Desktop/images/24012025/21/42/image_24012025_21_42_25_9444.jpg', '/home/pi/Desktop/images/24012025/21/42/image_24012025_21_42_35_10367.jpg', '/home/pi/Desktop/images/24012025/21/42/image_24012025_21_42_45_9349.jpg', '/home/pi/Desktop/images/24012025/21/42/image_24012025_21_42_55_10327.jpg', '/home/pi/Desktop/images/24012025/21/42/image_24012025_21_43_05_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/42/image_24012025_21_42_15_10344.jpg
/home/pi/Desktop/images/24012025/21/42/image_24012025_21_42_25_9444.jpg
/home/pi/Desktop/images/24012025/21/42/image_24012025_21_42_35_10367.jpg
/home/pi/Desktop/images/24012025/21/42/image_24012025_21_42_45_9349.jpg
/home/pi/Desktop/images/24012025/21/42/image_24012025_21_42_55_10327.jpg
/home/pi/Desktop/images/24012025/21/42/image_24012025_21_43_05_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":["1332631013","1332631022","1332631072","1332631077","1332631026","1332631017"],"photo_ids_order":["1332631013","1332631017","1332631022","1332631026","1332631072","1332631077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a2590820daa60cec226ecfe1fdf4e53d.jpg","text":"TemporaryFile(/tmp/multipartBody1344836523375372928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151314599,"filename":"image_24012025_21_42_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/29/d0f34e2ac94f557137a6afa3dae3c1e5.jpg","text":"TemporaryFile(/tmp/multipartBody1490770996304630183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151314599,"filename":"image_24012025_21_42_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/29/4ce8dc072e0970e5ab3a4b4444e57fe5.jpg","text":"TemporaryFile(/tmp/multipartBody1921146714052154296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151314599,"filename":"image_24012025_21_42_55_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/29/50a12d99f1f2dd9bb813d10b303f250c.jpg","text":"TemporaryFile(/tmp/multipartBody80339551522238327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151314599,"filename":"image_24012025_21_43_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/29/1882bf58384ada1cfae4ebe4510d443f.jpg","text":"TemporaryFile(/tmp/multipartBody997071800044590611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151314599,"filename":"image_24012025_21_42_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/29/43c7b76f5419a1ec3ff186850118328c.jpg","text":"TemporaryFile(/tmp/multipartBody8147565245826543473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151314599,"filename":"image_24012025_21_42_25_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332631022","file1":"1332631017","file0":"1332631013","file4":"1332631072","file5":"1332631077","file3":"1332631026"},"map_files_photo_id_array":[{"photo_id":"1332631077","filename":"file5"},{"photo_id":"1332631022","filename":"file2"},{"photo_id":"1332631072","filename":"file4"},{"photo_id":"1332631017","filename":"file1"},{"photo_id":"1332631013","filename":"file0"},{"photo_id":"1332631026","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332631013":["hashtag1","hashtag2"]},{"1332631022":["hashtag1","hashtag2"]},{"1332631072":["hashtag1","hashtag2"]},{"1332631077":["hashtag1","hashtag2"]},{"1332631026":["hashtag1","hashtag2"]},{"1332631017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332631013, 1332631022, 1332631072, 1332631077, 1332631026, 1332631017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.636616706848145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:48:32.643532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/43/image_24012025_21_43_25_10353.jpg', '/home/pi/Desktop/images/24012025/21/43/image_24012025_21_43_35_10350.jpg', '/home/pi/Desktop/images/24012025/21/43/image_24012025_21_43_45_9501.jpg', '/home/pi/Desktop/images/24012025/21/43/image_24012025_21_43_55_10347.jpg', '/home/pi/Desktop/images/24012025/21/43/image_24012025_21_44_05_9422.jpg', '/home/pi/Desktop/images/24012025/21/44/image_24012025_21_44_15_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/43/image_24012025_21_43_25_10353.jpg
/home/pi/Desktop/images/24012025/21/43/image_24012025_21_43_35_10350.jpg
/home/pi/Desktop/images/24012025/21/43/image_24012025_21_43_45_9501.jpg
/home/pi/Desktop/images/24012025/21/43/image_24012025_21_43_55_10347.jpg
/home/pi/Desktop/images/24012025/21/43/image_24012025_21_44_05_9422.jpg
/home/pi/Desktop/images/24012025/21/44/image_24012025_21_44_15_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":["1332631151","1332631139","1332631112","1332631106","1332631147","1332631143"],"photo_ids_order":["1332631106","1332631112","1332631139","1332631143","1332631147","1332631151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a6a253b49fcdf4ce167c2792c81a1784.jpg","text":"TemporaryFile(/tmp/multipartBody2071489421452002618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151374720,"filename":"image_24012025_21_44_15_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/29/dbbfa332caeff69a0830b1772400460b.jpg","text":"TemporaryFile(/tmp/multipartBody4877968998156400399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151374720,"filename":"image_24012025_21_43_45_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/29/cb3fd99303142cc5749b1c6da5a798fe.jpg","text":"TemporaryFile(/tmp/multipartBody998599150527741644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151374720,"filename":"image_24012025_21_43_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/29/498e0efda5c2ab41b887db95caa6c62c.jpg","text":"TemporaryFile(/tmp/multipartBody3058414954367190650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151374720,"filename":"image_24012025_21_43_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/29/9f1c98a95db2064ac36fce6c7521525b.jpg","text":"TemporaryFile(/tmp/multipartBody904144124596740645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151374720,"filename":"image_24012025_21_44_05_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/29/ea14049306eb32c328d5ba97d5e88202.jpg","text":"TemporaryFile(/tmp/multipartBody4327667412727542603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151374720,"filename":"image_24012025_21_43_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332631139","file1":"1332631112","file0":"1332631106","file4":"1332631147","file5":"1332631151","file3":"1332631143"},"map_files_photo_id_array":[{"photo_id":"1332631151","filename":"file5"},{"photo_id":"1332631139","filename":"file2"},{"photo_id":"1332631147","filename":"file4"},{"photo_id":"1332631112","filename":"file1"},{"photo_id":"1332631106","filename":"file0"},{"photo_id":"1332631143","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332631151":["hashtag1","hashtag2"]},{"1332631139":["hashtag1","hashtag2"]},{"1332631112":["hashtag1","hashtag2"]},{"1332631106":["hashtag1","hashtag2"]},{"1332631147":["hashtag1","hashtag2"]},{"1332631143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332631151, 1332631139, 1332631112, 1332631106, 1332631147, 1332631143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.61622881889343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:49:33.082102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/44/image_24012025_21_44_35_9467.jpg', '/home/pi/Desktop/images/24012025/21/44/image_24012025_21_44_45_10442.jpg', '/home/pi/Desktop/images/24012025/21/44/image_24012025_21_44_55_9419.jpg', '/home/pi/Desktop/images/24012025/21/45/image_24012025_21_45_25_9362.jpg', '/home/pi/Desktop/images/24012025/21/45/image_24012025_21_45_35_10360.jpg', '/home/pi/Desktop/images/24012025/21/45/image_24012025_21_45_45_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/44/image_24012025_21_44_35_9467.jpg
/home/pi/Desktop/images/24012025/21/44/image_24012025_21_44_45_10442.jpg
/home/pi/Desktop/images/24012025/21/44/image_24012025_21_44_55_9419.jpg
/home/pi/Desktop/images/24012025/21/45/image_24012025_21_45_25_9362.jpg
/home/pi/Desktop/images/24012025/21/45/image_24012025_21_45_35_10360.jpg
/home/pi/Desktop/images/24012025/21/45/image_24012025_21_45_45_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":["1332631240","1332631216","1332631303","1332631260","1332631248","1332631253"],"photo_ids_order":["1332631216","1332631240","1332631248","1332631253","1332631260","1332631303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cfb314b8beed1ccc6c9af6c736a8e5bc.jpg","text":"TemporaryFile(/tmp/multipartBody5891043147066055215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151435153,"filename":"image_24012025_21_44_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/29/18a0c3f08a72624ad15cd22fba1beec9.jpg","text":"TemporaryFile(/tmp/multipartBody195726457982987204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151435153,"filename":"image_24012025_21_44_35_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/29/caa80ddfa06fd0dcd0a08b608ea5b5c9.jpg","text":"TemporaryFile(/tmp/multipartBody2028357140961895444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151435153,"filename":"image_24012025_21_45_45_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/29/c0d28c18000905719d89661ae123b231.jpg","text":"TemporaryFile(/tmp/multipartBody6906707981920886298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151435153,"filename":"image_24012025_21_45_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/29/a418de0076fc2462bf1941ef484f1c63.jpg","text":"TemporaryFile(/tmp/multipartBody3192259887155928745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151435153,"filename":"image_24012025_21_44_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/29/c92f1e06276ea0e39adb31ee18812e33.jpg","text":"TemporaryFile(/tmp/multipartBody998188026536776264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151435153,"filename":"image_24012025_21_45_25_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332631248","file1":"1332631240","file0":"1332631216","file4":"1332631260","file5":"1332631303","file3":"1332631253"},"map_files_photo_id_array":[{"photo_id":"1332631303","filename":"file5"},{"photo_id":"1332631248","filename":"file2"},{"photo_id":"1332631260","filename":"file4"},{"photo_id":"1332631240","filename":"file1"},{"photo_id":"1332631216","filename":"file0"},{"photo_id":"1332631253","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332631240":["hashtag1","hashtag2"]},{"1332631216":["hashtag1","hashtag2"]},{"1332631303":["hashtag1","hashtag2"]},{"1332631260":["hashtag1","hashtag2"]},{"1332631248":["hashtag1","hashtag2"]},{"1332631253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332631240, 1332631216, 1332631303, 1332631260, 1332631248, 1332631253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.84793519973755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:50:32.180255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/46/image_24012025_21_46_15_9397.jpg', '/home/pi/Desktop/images/24012025/21/46/image_24012025_21_46_25_10436.jpg', '/home/pi/Desktop/images/24012025/21/46/image_24012025_21_46_45_9447.jpg', '/home/pi/Desktop/images/24012025/21/46/image_24012025_21_47_05_9421.jpg', '/home/pi/Desktop/images/24012025/21/47/image_24012025_21_47_15_10344.jpg', '/home/pi/Desktop/images/24012025/21/47/image_24012025_21_47_25_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/46/image_24012025_21_46_15_9397.jpg
/home/pi/Desktop/images/24012025/21/46/image_24012025_21_46_25_10436.jpg
/home/pi/Desktop/images/24012025/21/46/image_24012025_21_46_45_9447.jpg
/home/pi/Desktop/images/24012025/21/46/image_24012025_21_47_05_9421.jpg
/home/pi/Desktop/images/24012025/21/47/image_24012025_21_47_15_10344.jpg
/home/pi/Desktop/images/24012025/21/47/image_24012025_21_47_25_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":["1332631369","1332631362","1332631365","1332631338","1332631347","1332631335"],"photo_ids_order":["1332631335","1332631338","1332631347","1332631362","1332631365","1332631369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/020ee42346ca1a493fef13067a91e53c.jpg","text":"TemporaryFile(/tmp/multipartBody1416771191936000028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151494271,"filename":"image_24012025_21_47_25_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/29/6a43dd23db716e5ac6ec827ed6f009e4.jpg","text":"TemporaryFile(/tmp/multipartBody8006999545247115905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151494271,"filename":"image_24012025_21_47_05_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/29/94b5e4ede8f2abdc22fbc97ce43cccff.jpg","text":"TemporaryFile(/tmp/multipartBody569105375785313893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151494271,"filename":"image_24012025_21_47_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/29/3be45fa28cdccde6b67223275859326d.jpg","text":"TemporaryFile(/tmp/multipartBody4220132831014045542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151494271,"filename":"image_24012025_21_46_25_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/29/8a16b3f600fd591f8641491a50cb742b.jpg","text":"TemporaryFile(/tmp/multipartBody4346201255276147751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151494271,"filename":"image_24012025_21_46_45_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/29/c586aadec417ec43b7a64b132ca6d4d5.jpg","text":"TemporaryFile(/tmp/multipartBody3275547226986361157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151494271,"filename":"image_24012025_21_46_15_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332631347","file1":"1332631338","file0":"1332631335","file4":"1332631365","file5":"1332631369","file3":"1332631362"},"map_files_photo_id_array":[{"photo_id":"1332631369","filename":"file5"},{"photo_id":"1332631347","filename":"file2"},{"photo_id":"1332631365","filename":"file4"},{"photo_id":"1332631338","filename":"file1"},{"photo_id":"1332631335","filename":"file0"},{"photo_id":"1332631362","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332631369":["hashtag1","hashtag2"]},{"1332631362":["hashtag1","hashtag2"]},{"1332631365":["hashtag1","hashtag2"]},{"1332631338":["hashtag1","hashtag2"]},{"1332631347":["hashtag1","hashtag2"]},{"1332631335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332631369, 1332631362, 1332631365, 1332631338, 1332631347, 1332631335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23861813545227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:51:32.536027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/47/image_24012025_21_47_35_10414.jpg', '/home/pi/Desktop/images/24012025/21/47/image_24012025_21_47_45_10332.jpg', '/home/pi/Desktop/images/24012025/21/47/image_24012025_21_47_55_9444.jpg', '/home/pi/Desktop/images/24012025/21/47/image_24012025_21_48_05_10360.jpg', '/home/pi/Desktop/images/24012025/21/48/image_24012025_21_48_16_10356.jpg', '/home/pi/Desktop/images/24012025/21/48/image_24012025_21_48_25_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/47/image_24012025_21_47_35_10414.jpg
/home/pi/Desktop/images/24012025/21/47/image_24012025_21_47_45_10332.jpg
/home/pi/Desktop/images/24012025/21/47/image_24012025_21_47_55_9444.jpg
/home/pi/Desktop/images/24012025/21/47/image_24012025_21_48_05_10360.jpg
/home/pi/Desktop/images/24012025/21/48/image_24012025_21_48_16_10356.jpg
/home/pi/Desktop/images/24012025/21/48/image_24012025_21_48_25_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":["1332631421","1332631424","1332631412","1332631417","1332631405","1332631422"],"photo_ids_order":["1332631405","1332631412","1332631417","1332631421","1332631422","1332631424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/33225fa19852fbb97ac2acf33f1593d0.jpg","text":"TemporaryFile(/tmp/multipartBody2977804172034279843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151554658,"filename":"image_24012025_21_48_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/29/4b0dfb8a77a49159292c3f91f0ddb890.jpg","text":"TemporaryFile(/tmp/multipartBody5305884061539448479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151554658,"filename":"image_24012025_21_48_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/29/47cf04be828b03cb6f31c601ab6052e0.jpg","text":"TemporaryFile(/tmp/multipartBody4161167376472154188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151554658,"filename":"image_24012025_21_47_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/29/ed3771bd8677371ab70717a2b1af6cb4.jpg","text":"TemporaryFile(/tmp/multipartBody6464011735706580505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151554658,"filename":"image_24012025_21_47_55_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/29/1f2a0f08ca80bba85efed6d801319b82.jpg","text":"TemporaryFile(/tmp/multipartBody6490591022708117188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151554658,"filename":"image_24012025_21_47_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/29/7e2c3ae141a7782be2fc905dd3cc2d9c.jpg","text":"TemporaryFile(/tmp/multipartBody5116121677864127298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151554658,"filename":"image_24012025_21_48_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332631417","file1":"1332631412","file0":"1332631405","file4":"1332631422","file5":"1332631424","file3":"1332631421"},"map_files_photo_id_array":[{"photo_id":"1332631424","filename":"file5"},{"photo_id":"1332631417","filename":"file2"},{"photo_id":"1332631422","filename":"file4"},{"photo_id":"1332631412","filename":"file1"},{"photo_id":"1332631405","filename":"file0"},{"photo_id":"1332631421","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332631421":["hashtag1","hashtag2"]},{"1332631424":["hashtag1","hashtag2"]},{"1332631412":["hashtag1","hashtag2"]},{"1332631417":["hashtag1","hashtag2"]},{"1332631405":["hashtag1","hashtag2"]},{"1332631422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332631421, 1332631424, 1332631412, 1332631417, 1332631405, 1332631422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62000775337219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:52:32.697068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/48/image_24012025_21_48_35_10347.jpg', '/home/pi/Desktop/images/24012025/21/48/image_24012025_21_48_45_9333.jpg', '/home/pi/Desktop/images/24012025/21/48/image_24012025_21_48_55_10334.jpg', '/home/pi/Desktop/images/24012025/21/48/image_24012025_21_49_05_10339.jpg', '/home/pi/Desktop/images/24012025/21/49/image_24012025_21_49_15_9364.jpg', '/home/pi/Desktop/images/24012025/21/49/image_24012025_21_49_25_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/48/image_24012025_21_48_35_10347.jpg
/home/pi/Desktop/images/24012025/21/48/image_24012025_21_48_45_9333.jpg
/home/pi/Desktop/images/24012025/21/48/image_24012025_21_48_55_10334.jpg
/home/pi/Desktop/images/24012025/21/48/image_24012025_21_49_05_10339.jpg
/home/pi/Desktop/images/24012025/21/49/image_24012025_21_49_15_9364.jpg
/home/pi/Desktop/images/24012025/21/49/image_24012025_21_49_25_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":["1332631553","1332631581","1332631560","1332631577","1332631499","1332631586"],"photo_ids_order":["1332631499","1332631553","1332631560","1332631577","1332631581","1332631586"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1cb208b8f167dacd26a9f34fb084d73a.jpg","text":"TemporaryFile(/tmp/multipartBody341436244673434223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151614773,"filename":"image_24012025_21_48_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/29/4fcaa191aa45e5e129e52b35429024e5.jpg","text":"TemporaryFile(/tmp/multipartBody1113998438217609251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151614773,"filename":"image_24012025_21_49_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/29/bc039fbd448e2e44ba03422c42019683.jpg","text":"TemporaryFile(/tmp/multipartBody1022842678747428874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151614773,"filename":"image_24012025_21_48_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/29/0ea595d29b1bd17fe1c464ab4f9f662f.jpg","text":"TemporaryFile(/tmp/multipartBody1522671063026486000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151614773,"filename":"image_24012025_21_49_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/29/aa1715a42f52e0baa605b9f85fb39ec4.jpg","text":"TemporaryFile(/tmp/multipartBody6488464135975386366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151614773,"filename":"image_24012025_21_48_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/29/39cdda151463f24595ab2f3b109d24bf.jpg","text":"TemporaryFile(/tmp/multipartBody6606897019154063860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151614773,"filename":"image_24012025_21_49_25_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332631560","file1":"1332631553","file0":"1332631499","file4":"1332631581","file5":"1332631586","file3":"1332631577"},"map_files_photo_id_array":[{"photo_id":"1332631586","filename":"file5"},{"photo_id":"1332631560","filename":"file2"},{"photo_id":"1332631581","filename":"file4"},{"photo_id":"1332631553","filename":"file1"},{"photo_id":"1332631499","filename":"file0"},{"photo_id":"1332631577","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332631553":["hashtag1","hashtag2"]},{"1332631581":["hashtag1","hashtag2"]},{"1332631560":["hashtag1","hashtag2"]},{"1332631577":["hashtag1","hashtag2"]},{"1332631499":["hashtag1","hashtag2"]},{"1332631586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332631553, 1332631581, 1332631560, 1332631577, 1332631499, 1332631586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.90909194946289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:53:32.990381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/49/image_24012025_21_49_35_10368.jpg', '/home/pi/Desktop/images/24012025/21/49/image_24012025_21_49_45_9380.jpg', '/home/pi/Desktop/images/24012025/21/49/image_24012025_21_49_55_10434.jpg', '/home/pi/Desktop/images/24012025/21/49/image_24012025_21_50_05_9364.jpg', '/home/pi/Desktop/images/24012025/21/50/image_24012025_21_50_15_10598.jpg', '/home/pi/Desktop/images/24012025/21/50/image_24012025_21_50_26_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/49/image_24012025_21_49_35_10368.jpg
/home/pi/Desktop/images/24012025/21/49/image_24012025_21_49_45_9380.jpg
/home/pi/Desktop/images/24012025/21/49/image_24012025_21_49_55_10434.jpg
/home/pi/Desktop/images/24012025/21/49/image_24012025_21_50_05_9364.jpg
/home/pi/Desktop/images/24012025/21/50/image_24012025_21_50_15_10598.jpg
/home/pi/Desktop/images/24012025/21/50/image_24012025_21_50_26_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":["1332631652","1332631649","1332631640","1332631636","1332631645","1332631632"],"photo_ids_order":["1332631632","1332631636","1332631640","1332631645","1332631649","1332631652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9f2723bcecfc7876a34f67d98778afc8.jpg","text":"TemporaryFile(/tmp/multipartBody958827272436338680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151675094,"filename":"image_24012025_21_50_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/29/d0d74ef459ec8c3b1b11e4c1b7c361c3.jpg","text":"TemporaryFile(/tmp/multipartBody4269450698032369248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151675094,"filename":"image_24012025_21_50_15_10598.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/343b5751a7eb267d7a527bd7fc25ea7c.jpg","text":"TemporaryFile(/tmp/multipartBody2880040763563714082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151675094,"filename":"image_24012025_21_49_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/29/62c1a5281ea6aa042277da8c9f327eda.jpg","text":"TemporaryFile(/tmp/multipartBody5737895260681248869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151675094,"filename":"image_24012025_21_49_45_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/29/088869876f91255c4b4b3c001b7fb016.jpg","text":"TemporaryFile(/tmp/multipartBody424405525680924946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151675094,"filename":"image_24012025_21_50_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/29/9b138bd9ec516e405f739804583721c7.jpg","text":"TemporaryFile(/tmp/multipartBody5948206773279022695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151675094,"filename":"image_24012025_21_49_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332631640","file1":"1332631636","file0":"1332631632","file4":"1332631649","file5":"1332631652","file3":"1332631645"},"map_files_photo_id_array":[{"photo_id":"1332631652","filename":"file5"},{"photo_id":"1332631640","filename":"file2"},{"photo_id":"1332631649","filename":"file4"},{"photo_id":"1332631636","filename":"file1"},{"photo_id":"1332631632","filename":"file0"},{"photo_id":"1332631645","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332631652":["hashtag1","hashtag2"]},{"1332631649":["hashtag1","hashtag2"]},{"1332631640":["hashtag1","hashtag2"]},{"1332631636":["hashtag1","hashtag2"]},{"1332631645":["hashtag1","hashtag2"]},{"1332631632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332631652, 1332631649, 1332631640, 1332631636, 1332631645, 1332631632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.015639543533325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:54:32.159510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/50/image_24012025_21_50_35_9432.jpg', '/home/pi/Desktop/images/24012025/21/50/image_24012025_21_50_45_10348.jpg', '/home/pi/Desktop/images/24012025/21/50/image_24012025_21_50_55_9334.jpg', '/home/pi/Desktop/images/24012025/21/50/image_24012025_21_51_05_10432.jpg', '/home/pi/Desktop/images/24012025/21/51/image_24012025_21_51_15_10341.jpg', '/home/pi/Desktop/images/24012025/21/51/image_24012025_21_51_25_9495.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/50/image_24012025_21_50_35_9432.jpg
/home/pi/Desktop/images/24012025/21/50/image_24012025_21_50_45_10348.jpg
/home/pi/Desktop/images/24012025/21/50/image_24012025_21_50_55_9334.jpg
/home/pi/Desktop/images/24012025/21/50/image_24012025_21_51_05_10432.jpg
/home/pi/Desktop/images/24012025/21/51/image_24012025_21_51_15_10341.jpg
/home/pi/Desktop/images/24012025/21/51/image_24012025_21_51_25_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":["1332631724","1332631721","1332631718","1332631720","1332631716","1332631710"],"photo_ids_order":["1332631710","1332631716","1332631718","1332631720","1332631721","1332631724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/716fdaa1bfdf56c7a812d510c61076f3.jpg","text":"TemporaryFile(/tmp/multipartBody8004595755532046407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151734245,"filename":"image_24012025_21_51_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/29/ef423df553f68399e239665a65883e29.jpg","text":"TemporaryFile(/tmp/multipartBody8834759407717895813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151734245,"filename":"image_24012025_21_51_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/29/7a142abeb8871f9b0d355093d806888c.jpg","text":"TemporaryFile(/tmp/multipartBody5607952785476777850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151734245,"filename":"image_24012025_21_50_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/29/4137e9aa28d32e4e3279a0e7136121d3.jpg","text":"TemporaryFile(/tmp/multipartBody2368500365382915166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151734245,"filename":"image_24012025_21_51_05_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/29/ae452d5cf03cdfc7b42fde3fec70cc9f.jpg","text":"TemporaryFile(/tmp/multipartBody6937775196722446247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151734245,"filename":"image_24012025_21_50_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/29/cb7dab3f30344226777183acf21465e1.jpg","text":"TemporaryFile(/tmp/multipartBody5819870178118855274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151734245,"filename":"image_24012025_21_50_35_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332631718","file1":"1332631716","file0":"1332631710","file4":"1332631721","file5":"1332631724","file3":"1332631720"},"map_files_photo_id_array":[{"photo_id":"1332631724","filename":"file5"},{"photo_id":"1332631718","filename":"file2"},{"photo_id":"1332631721","filename":"file4"},{"photo_id":"1332631716","filename":"file1"},{"photo_id":"1332631710","filename":"file0"},{"photo_id":"1332631720","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332631724":["hashtag1","hashtag2"]},{"1332631721":["hashtag1","hashtag2"]},{"1332631718":["hashtag1","hashtag2"]},{"1332631720":["hashtag1","hashtag2"]},{"1332631716":["hashtag1","hashtag2"]},{"1332631710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332631724, 1332631721, 1332631718, 1332631720, 1332631716, 1332631710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.387635707855225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:55:33.003323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/51/image_24012025_21_51_35_10450.jpg', '/home/pi/Desktop/images/24012025/21/51/image_24012025_21_51_45_9357.jpg', '/home/pi/Desktop/images/24012025/21/51/image_24012025_21_52_05_10342.jpg', '/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_15_9414.jpg', '/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_25_10343.jpg', '/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_36_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/51/image_24012025_21_51_35_10450.jpg
/home/pi/Desktop/images/24012025/21/51/image_24012025_21_51_45_9357.jpg
/home/pi/Desktop/images/24012025/21/51/image_24012025_21_52_05_10342.jpg
/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_15_9414.jpg
/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_25_10343.jpg
/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_36_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":["1332632006","1332631754","1332631768","1332631889","1332631781","1332631775"],"photo_ids_order":["1332631754","1332631768","1332631775","1332631781","1332631889","1332632006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8126dc93da275c9326fb1c64bb7867b3.jpg","text":"TemporaryFile(/tmp/multipartBody4633922341430161336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151795100,"filename":"image_24012025_21_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/29/5d1d4712a05192dcd896f54b8eca08c7.jpg","text":"TemporaryFile(/tmp/multipartBody6726339348987597232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151795100,"filename":"image_24012025_21_51_35_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/29/5772628540d07b9912338825d6e94aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2150033617640646478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151795100,"filename":"image_24012025_21_51_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/29/c1f4be00945ec4129ac53691ac3d3009.jpg","text":"TemporaryFile(/tmp/multipartBody6550460471050683945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151795100,"filename":"image_24012025_21_52_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/29/44624df1d7c11ac4b90cd97861f3fa44.jpg","text":"TemporaryFile(/tmp/multipartBody6476127586687882330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151795100,"filename":"image_24012025_21_52_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/29/508aa9740dd63ed8ee913902cefc19c6.jpg","text":"TemporaryFile(/tmp/multipartBody6155731770703938214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151795100,"filename":"image_24012025_21_52_05_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332631775","file1":"1332631768","file0":"1332631754","file4":"1332631889","file5":"1332632006","file3":"1332631781"},"map_files_photo_id_array":[{"photo_id":"1332632006","filename":"file5"},{"photo_id":"1332631775","filename":"file2"},{"photo_id":"1332631889","filename":"file4"},{"photo_id":"1332631768","filename":"file1"},{"photo_id":"1332631754","filename":"file0"},{"photo_id":"1332631781","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332632006":["hashtag1","hashtag2"]},{"1332631754":["hashtag1","hashtag2"]},{"1332631768":["hashtag1","hashtag2"]},{"1332631889":["hashtag1","hashtag2"]},{"1332631781":["hashtag1","hashtag2"]},{"1332631775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332632006, 1332631754, 1332631768, 1332631889, 1332631781, 1332631775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39958953857422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:56:32.073768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_45_9439.jpg', '/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_55_10354.jpg', '/home/pi/Desktop/images/24012025/21/52/image_24012025_21_53_05_9449.jpg', '/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_15_10397.jpg', '/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_25_9359.jpg', '/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_45_9439.jpg
/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_55_10354.jpg
/home/pi/Desktop/images/24012025/21/52/image_24012025_21_53_05_9449.jpg
/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_15_10397.jpg
/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_25_9359.jpg
/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_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: 1.6865887641906738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 12:56:42.188260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_45_9439.jpg', '/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_55_10354.jpg', '/home/pi/Desktop/images/24012025/21/52/image_24012025_21_53_05_9449.jpg', '/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_15_10397.jpg', '/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_25_9359.jpg', '/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_45_9439.jpg
/home/pi/Desktop/images/24012025/21/52/image_24012025_21_52_55_10354.jpg
/home/pi/Desktop/images/24012025/21/52/image_24012025_21_53_05_9449.jpg
/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_15_10397.jpg
/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_25_9359.jpg
/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_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":["1332632071","1332632076","1332632061","1332632085","1332632066","1332632081"],"photo_ids_order":["1332632061","1332632066","1332632071","1332632076","1332632081","1332632085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0b52b5a8ac7a2675bb47dcb8e2378e03.jpg","text":"TemporaryFile(/tmp/multipartBody4266137198073247012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151863381,"filename":"image_24012025_21_53_05_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/29/f33ce470e3245714d46bbbee04668b35.jpg","text":"TemporaryFile(/tmp/multipartBody6800951923158150055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151863381,"filename":"image_24012025_21_53_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/29/0601df5fd80eaf3f035cc94420861d91.jpg","text":"TemporaryFile(/tmp/multipartBody2633517704097404128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151863381,"filename":"image_24012025_21_52_45_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/29/6db637f53a770540cfb25dfa6231bd6c.jpg","text":"TemporaryFile(/tmp/multipartBody1440333341838258916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151863381,"filename":"image_24012025_21_53_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/29/c32edf78ae7c016515dbf83444c3041b.jpg","text":"TemporaryFile(/tmp/multipartBody5621307309062190642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151863381,"filename":"image_24012025_21_52_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/29/9cf19257ce2788067907cab0b2006731.jpg","text":"TemporaryFile(/tmp/multipartBody3452628174188666008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738151863381,"filename":"image_24012025_21_53_25_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332632071","file1":"1332632066","file0":"1332632061","file4":"1332632081","file5":"1332632085","file3":"1332632076"},"map_files_photo_id_array":[{"photo_id":"1332632085","filename":"file5"},{"photo_id":"1332632071","filename":"file2"},{"photo_id":"1332632081","filename":"file4"},{"photo_id":"1332632066","filename":"file1"},{"photo_id":"1332632061","filename":"file0"},{"photo_id":"1332632076","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332632071":["hashtag1","hashtag2"]},{"1332632076":["hashtag1","hashtag2"]},{"1332632061":["hashtag1","hashtag2"]},{"1332632085":["hashtag1","hashtag2"]},{"1332632066":["hashtag1","hashtag2"]},{"1332632081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332632071, 1332632076, 1332632061, 1332632085, 1332632066, 1332632081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73066306114197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 12:57:32.354781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_55_9337.jpg', '/home/pi/Desktop/images/24012025/21/53/image_24012025_21_54_05_10354.jpg', '/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_15_10350.jpg', '/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_25_9357.jpg', '/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_45_10345.jpg', '/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_55_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_55_9337.jpg
/home/pi/Desktop/images/24012025/21/53/image_24012025_21_54_05_10354.jpg
/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_15_10350.jpg
/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_25_9357.jpg
/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_45_10345.jpg
/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_55_9398.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-29 12:59:03.802268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_55_9337.jpg', '/home/pi/Desktop/images/24012025/21/53/image_24012025_21_54_05_10354.jpg', '/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_15_10350.jpg', '/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_25_9357.jpg', '/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_45_10345.jpg', '/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_55_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/53/image_24012025_21_53_55_9337.jpg
/home/pi/Desktop/images/24012025/21/53/image_24012025_21_54_05_10354.jpg
/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_15_10350.jpg
/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_25_9357.jpg
/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_45_10345.jpg
/home/pi/Desktop/images/24012025/21/54/image_24012025_21_54_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":["1332632219","1332632210","1332632224","1332632238","1332632231","1332632234"],"photo_ids_order":["1332632210","1332632219","1332632224","1332632231","1332632234","1332632238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2d3fd064f360ba20d845785233d7d42f.jpg","text":"TemporaryFile(/tmp/multipartBody7021814219463583881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152005094,"filename":"image_24012025_21_54_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/29/52323fc14fac31939452f9f80c4e66f8.jpg","text":"TemporaryFile(/tmp/multipartBody8183313203862402246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152005094,"filename":"image_24012025_21_53_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/29/a4eea016925e10e4ea0ac4307a4f1ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8616152981696711574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152005094,"filename":"image_24012025_21_54_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/29/bc05a657246dc0da4d7000fa52e29a00.jpg","text":"TemporaryFile(/tmp/multipartBody417251319467545327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152005094,"filename":"image_24012025_21_54_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/29/1616a2afbe977db237ed21c1df794546.jpg","text":"TemporaryFile(/tmp/multipartBody5116086900221504996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152005094,"filename":"image_24012025_21_54_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/29/3826a38688dd7a3734bff5d51abd7a0a.jpg","text":"TemporaryFile(/tmp/multipartBody918423722738835529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152005094,"filename":"image_24012025_21_54_45_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332632224","file1":"1332632219","file0":"1332632210","file4":"1332632234","file5":"1332632238","file3":"1332632231"},"map_files_photo_id_array":[{"photo_id":"1332632238","filename":"file5"},{"photo_id":"1332632224","filename":"file2"},{"photo_id":"1332632234","filename":"file4"},{"photo_id":"1332632219","filename":"file1"},{"photo_id":"1332632210","filename":"file0"},{"photo_id":"1332632231","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332632219":["hashtag1","hashtag2"]},{"1332632210":["hashtag1","hashtag2"]},{"1332632224":["hashtag1","hashtag2"]},{"1332632238":["hashtag1","hashtag2"]},{"1332632231":["hashtag1","hashtag2"]},{"1332632234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332632219, 1332632210, 1332632224, 1332632238, 1332632231, 1332632234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41639709472656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 12:59:52.779051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/55/image_24012025_21_55_25_10350.jpg', '/home/pi/Desktop/images/24012025/21/55/image_24012025_21_55_35_10353.jpg', '/home/pi/Desktop/images/24012025/21/55/image_24012025_21_55_55_10365.jpg', '/home/pi/Desktop/images/24012025/21/55/image_24012025_21_56_05_10347.jpg', '/home/pi/Desktop/images/24012025/21/56/image_24012025_21_56_15_9353.jpg', '/home/pi/Desktop/images/24012025/21/56/image_24012025_21_56_25_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/55/image_24012025_21_55_25_10350.jpg
/home/pi/Desktop/images/24012025/21/55/image_24012025_21_55_35_10353.jpg
/home/pi/Desktop/images/24012025/21/55/image_24012025_21_55_55_10365.jpg
/home/pi/Desktop/images/24012025/21/55/image_24012025_21_56_05_10347.jpg
/home/pi/Desktop/images/24012025/21/56/image_24012025_21_56_15_9353.jpg
/home/pi/Desktop/images/24012025/21/56/image_24012025_21_56_25_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":["1332632260","1332632280","1332632274","1332632268","1332632256","1332632264"],"photo_ids_order":["1332632256","1332632260","1332632264","1332632268","1332632274","1332632280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/edc62b0f6163bd3bfdc21a5ebab6d899.jpg","text":"TemporaryFile(/tmp/multipartBody3225389035290523779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152054884,"filename":"image_24012025_21_55_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/29/c53785d095634770b579de0812273b62.jpg","text":"TemporaryFile(/tmp/multipartBody2492507330538636176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152054884,"filename":"image_24012025_21_56_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/29/32f2fa7c3c10dfa6dbf9b53c1fd84a24.jpg","text":"TemporaryFile(/tmp/multipartBody3440655566100831741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152054884,"filename":"image_24012025_21_56_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/29/49aafb7d2eb9b9fd4130aa82cb7e173c.jpg","text":"TemporaryFile(/tmp/multipartBody3492368289575400720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152054884,"filename":"image_24012025_21_56_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/29/b5b1fa00288d58f86927a39b3d250b73.jpg","text":"TemporaryFile(/tmp/multipartBody7665671958107732091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152054884,"filename":"image_24012025_21_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/29/ae3b693bd5e0fbc4f11c7924cfcf1583.jpg","text":"TemporaryFile(/tmp/multipartBody331645853772532747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152054884,"filename":"image_24012025_21_55_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332632264","file1":"1332632260","file0":"1332632256","file4":"1332632274","file5":"1332632280","file3":"1332632268"},"map_files_photo_id_array":[{"photo_id":"1332632280","filename":"file5"},{"photo_id":"1332632264","filename":"file2"},{"photo_id":"1332632274","filename":"file4"},{"photo_id":"1332632260","filename":"file1"},{"photo_id":"1332632256","filename":"file0"},{"photo_id":"1332632268","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332632260":["hashtag1","hashtag2"]},{"1332632280":["hashtag1","hashtag2"]},{"1332632274":["hashtag1","hashtag2"]},{"1332632268":["hashtag1","hashtag2"]},{"1332632256":["hashtag1","hashtag2"]},{"1332632264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332632260, 1332632280, 1332632274, 1332632268, 1332632256, 1332632264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.014500856399536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 13:00:42.946540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/56/image_24012025_21_56_35_9454.jpg', '/home/pi/Desktop/images/24012025/21/56/image_24012025_21_56_45_10347.jpg', '/home/pi/Desktop/images/24012025/21/56/image_24012025_21_56_55_10352.jpg', '/home/pi/Desktop/images/24012025/21/56/image_24012025_21_57_05_9358.jpg', '/home/pi/Desktop/images/24012025/21/57/image_24012025_21_57_15_10395.jpg', '/home/pi/Desktop/images/24012025/21/57/image_24012025_21_57_25_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/56/image_24012025_21_56_35_9454.jpg
/home/pi/Desktop/images/24012025/21/56/image_24012025_21_56_45_10347.jpg
/home/pi/Desktop/images/24012025/21/56/image_24012025_21_56_55_10352.jpg
/home/pi/Desktop/images/24012025/21/56/image_24012025_21_57_05_9358.jpg
/home/pi/Desktop/images/24012025/21/57/image_24012025_21_57_15_10395.jpg
/home/pi/Desktop/images/24012025/21/57/image_24012025_21_57_25_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":["1332632326","1332632311","1332632305","1332632320","1332632331","1332632315"],"photo_ids_order":["1332632305","1332632311","1332632315","1332632320","1332632326","1332632331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c35aaf5cb66f78422efb446e6cebe1a0.jpg","text":"TemporaryFile(/tmp/multipartBody4588619751019651647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152104207,"filename":"image_24012025_21_57_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/29/9f989f0fd4cb7a50b172f519369ebef9.jpg","text":"TemporaryFile(/tmp/multipartBody984475099701440027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152104207,"filename":"image_24012025_21_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/29/1c30c274f6bff3dbfa8d02a5f7110f05.jpg","text":"TemporaryFile(/tmp/multipartBody3268262862497130871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152104207,"filename":"image_24012025_21_56_35_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/29/6cea0af3649dc1bb69b25531b9ba105f.jpg","text":"TemporaryFile(/tmp/multipartBody713155077033491735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152104207,"filename":"image_24012025_21_57_05_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/29/d8b8d484421b0d382a9377b632d1de39.jpg","text":"TemporaryFile(/tmp/multipartBody9060764194312912170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152104207,"filename":"image_24012025_21_57_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/29/ee222c9cd9f44f620bfc83e6126e0586.jpg","text":"TemporaryFile(/tmp/multipartBody180798579912127233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152104207,"filename":"image_24012025_21_56_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332632315","file1":"1332632311","file0":"1332632305","file4":"1332632326","file5":"1332632331","file3":"1332632320"},"map_files_photo_id_array":[{"photo_id":"1332632331","filename":"file5"},{"photo_id":"1332632315","filename":"file2"},{"photo_id":"1332632326","filename":"file4"},{"photo_id":"1332632311","filename":"file1"},{"photo_id":"1332632305","filename":"file0"},{"photo_id":"1332632320","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332632326":["hashtag1","hashtag2"]},{"1332632311":["hashtag1","hashtag2"]},{"1332632305":["hashtag1","hashtag2"]},{"1332632320":["hashtag1","hashtag2"]},{"1332632331":["hashtag1","hashtag2"]},{"1332632315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332632326, 1332632311, 1332632305, 1332632320, 1332632331, 1332632315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.88356590270996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:01:32.430598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/57/image_24012025_21_57_35_9445.jpg', '/home/pi/Desktop/images/24012025/21/57/image_24012025_21_57_45_10406.jpg', '/home/pi/Desktop/images/24012025/21/57/image_24012025_21_57_55_9434.jpg', '/home/pi/Desktop/images/24012025/21/57/image_24012025_21_58_05_10427.jpg', '/home/pi/Desktop/images/24012025/21/58/image_24012025_21_58_15_10340.jpg', '/home/pi/Desktop/images/24012025/21/58/image_24012025_21_58_25_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/57/image_24012025_21_57_35_9445.jpg
/home/pi/Desktop/images/24012025/21/57/image_24012025_21_57_45_10406.jpg
/home/pi/Desktop/images/24012025/21/57/image_24012025_21_57_55_9434.jpg
/home/pi/Desktop/images/24012025/21/57/image_24012025_21_58_05_10427.jpg
/home/pi/Desktop/images/24012025/21/58/image_24012025_21_58_15_10340.jpg
/home/pi/Desktop/images/24012025/21/58/image_24012025_21_58_25_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332632371","1332632550","1332632817","1332632376","1332632349","1332632357"],"photo_ids_order":["1332632349","1332632357","1332632371","1332632376","1332632550","1332632817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5caa06a601bf55a36837b24aa0a755fd.jpg","text":"TemporaryFile(/tmp/multipartBody7247455342337224368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152154512,"filename":"image_24012025_21_57_55_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/29/6fa1b150c525d71157e01ada661a7e30.jpg","text":"TemporaryFile(/tmp/multipartBody5093207788621197954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152154512,"filename":"image_24012025_21_58_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/29/f32108b276da982338cabaef31a44ee1.jpg","text":"TemporaryFile(/tmp/multipartBody7729774427427796916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152154512,"filename":"image_24012025_21_58_25_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/29/4e6c2c67db47a734fbb25903de1e123f.jpg","text":"TemporaryFile(/tmp/multipartBody8548963199600580244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152154512,"filename":"image_24012025_21_58_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/29/b09bce3c99c0108d5f2612b878f6cd96.jpg","text":"TemporaryFile(/tmp/multipartBody3657278570777343893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152154512,"filename":"image_24012025_21_57_35_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/29/f342a623e978ef7a0e6bb11337417866.jpg","text":"TemporaryFile(/tmp/multipartBody2947433520355116311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152154512,"filename":"image_24012025_21_57_45_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332632371","file1":"1332632357","file0":"1332632349","file4":"1332632550","file5":"1332632817","file3":"1332632376"},"map_files_photo_id_array":[{"photo_id":"1332632817","filename":"file5"},{"photo_id":"1332632371","filename":"file2"},{"photo_id":"1332632550","filename":"file4"},{"photo_id":"1332632357","filename":"file1"},{"photo_id":"1332632349","filename":"file0"},{"photo_id":"1332632376","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332632371":["hashtag1","hashtag2"]},{"1332632550":["hashtag1","hashtag2"]},{"1332632817":["hashtag1","hashtag2"]},{"1332632376":["hashtag1","hashtag2"]},{"1332632349":["hashtag1","hashtag2"]},{"1332632357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332632371, 1332632550, 1332632817, 1332632376, 1332632349, 1332632357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.92983961105347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:02:32.496405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/58/image_24012025_21_58_35_10351.jpg', '/home/pi/Desktop/images/24012025/21/58/image_24012025_21_58_45_9368.jpg', '/home/pi/Desktop/images/24012025/21/58/image_24012025_21_58_55_10407.jpg', '/home/pi/Desktop/images/24012025/21/58/image_24012025_21_59_05_10355.jpg', '/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_15_9447.jpg', '/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_25_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/58/image_24012025_21_58_35_10351.jpg
/home/pi/Desktop/images/24012025/21/58/image_24012025_21_58_45_9368.jpg
/home/pi/Desktop/images/24012025/21/58/image_24012025_21_58_55_10407.jpg
/home/pi/Desktop/images/24012025/21/58/image_24012025_21_59_05_10355.jpg
/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_15_9447.jpg
/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_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":["1332633594","1332633606","1332633599","1332633659","1332633589","1332633655"],"photo_ids_order":["1332633589","1332633594","1332633599","1332633606","1332633655","1332633659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d64b20515459d0441f45d1ad30f61d28.jpg","text":"TemporaryFile(/tmp/multipartBody1239450964042684885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152214568,"filename":"image_24012025_21_58_45_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/29/619c99545472a31537d4daebb65ed0cd.jpg","text":"TemporaryFile(/tmp/multipartBody7063304553114235536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152214568,"filename":"image_24012025_21_59_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/29/a440dccde3af56567fb235f7e0d849f3.jpg","text":"TemporaryFile(/tmp/multipartBody9195195454217460276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152214568,"filename":"image_24012025_21_58_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/29/e53a2587f588454771fddc4209edb04d.jpg","text":"TemporaryFile(/tmp/multipartBody3781086955149820462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152214568,"filename":"image_24012025_21_59_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/29/fb6a721dd18fbe3195da235ac87ace9d.jpg","text":"TemporaryFile(/tmp/multipartBody290827892371258868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152214568,"filename":"image_24012025_21_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/29/a2ac20a245a29248e4cdbddf1d3819ae.jpg","text":"TemporaryFile(/tmp/multipartBody225941207406075212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152214568,"filename":"image_24012025_21_59_15_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332633599","file1":"1332633594","file0":"1332633589","file4":"1332633655","file5":"1332633659","file3":"1332633606"},"map_files_photo_id_array":[{"photo_id":"1332633659","filename":"file5"},{"photo_id":"1332633599","filename":"file2"},{"photo_id":"1332633655","filename":"file4"},{"photo_id":"1332633594","filename":"file1"},{"photo_id":"1332633589","filename":"file0"},{"photo_id":"1332633606","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332633594":["hashtag1","hashtag2"]},{"1332633606":["hashtag1","hashtag2"]},{"1332633599":["hashtag1","hashtag2"]},{"1332633659":["hashtag1","hashtag2"]},{"1332633589":["hashtag1","hashtag2"]},{"1332633655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332633594, 1332633606, 1332633599, 1332633659, 1332633589, 1332633655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.917640686035156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:03:32.793174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_36_10367.jpg', '/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_45_9456.jpg', '/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_55_10333.jpg', '/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_15_10070.jpg', '/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_25_10368.jpg', '/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_36_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_36_10367.jpg
/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_45_9456.jpg
/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_55_10333.jpg
/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_15_10070.jpg
/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_25_10368.jpg
/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_36_10361.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.846250057220459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 13:03:42.919744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_36_10367.jpg', '/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_45_9456.jpg', '/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_55_10333.jpg', '/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_15_10070.jpg', '/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_25_10368.jpg', '/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_36_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_36_10367.jpg
/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_45_9456.jpg
/home/pi/Desktop/images/24012025/21/59/image_24012025_21_59_55_10333.jpg
/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_15_10070.jpg
/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_25_10368.jpg
/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_36_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332634632","1332634455","1332634730","1332634646","1332634619","1332634639"],"photo_ids_order":["1332634455","1332634619","1332634632","1332634639","1332634646","1332634730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/54545d6172a756d8498981ee27dd9ceb.jpg","text":"TemporaryFile(/tmp/multipartBody3035811065003795357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152284098,"filename":"image_24012025_21_59_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/29/bbb9e220183de5eaf3f756a038262fea.jpg","text":"TemporaryFile(/tmp/multipartBody43720669050675133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152284098,"filename":"image_24012025_21_59_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/29/38b54066bd1082cd316be5f3eb9b5984.jpg","text":"TemporaryFile(/tmp/multipartBody552731764651919862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152284098,"filename":"image_24012025_22_01_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/29/51da40cf6b2ca5d4935e19e3c45ac890.jpg","text":"TemporaryFile(/tmp/multipartBody6782489797120733878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152284098,"filename":"image_24012025_22_01_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/29/b847acda1ee09c197a55c224e95e1266.jpg","text":"TemporaryFile(/tmp/multipartBody5089407721518328896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152284098,"filename":"image_24012025_21_59_45_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/29/e17cd9d605d2640a7186150500f4be4e.jpg","text":"TemporaryFile(/tmp/multipartBody8741086712424759551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152284098,"filename":"image_24012025_22_01_15_10070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332634632","file1":"1332634619","file0":"1332634455","file4":"1332634646","file5":"1332634730","file3":"1332634639"},"map_files_photo_id_array":[{"photo_id":"1332634730","filename":"file5"},{"photo_id":"1332634632","filename":"file2"},{"photo_id":"1332634646","filename":"file4"},{"photo_id":"1332634619","filename":"file1"},{"photo_id":"1332634455","filename":"file0"},{"photo_id":"1332634639","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332634632":["hashtag1","hashtag2"]},{"1332634455":["hashtag1","hashtag2"]},{"1332634730":["hashtag1","hashtag2"]},{"1332634646":["hashtag1","hashtag2"]},{"1332634619":["hashtag1","hashtag2"]},{"1332634639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332634632, 1332634455, 1332634730, 1332634646, 1332634619, 1332634639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.21746325492859 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:04:33.006824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_45_9345.jpg', '/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_55_10330.jpg', '/home/pi/Desktop/images/24012025/22/01/image_24012025_22_02_06_10400.jpg', '/home/pi/Desktop/images/24012025/22/02/image_24012025_22_02_15_9356.jpg', '/home/pi/Desktop/images/24012025/22/02/image_24012025_22_02_25_10332.jpg', '/home/pi/Desktop/images/24012025/22/02/image_24012025_22_02_35_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_45_9345.jpg
/home/pi/Desktop/images/24012025/22/01/image_24012025_22_01_55_10330.jpg
/home/pi/Desktop/images/24012025/22/01/image_24012025_22_02_06_10400.jpg
/home/pi/Desktop/images/24012025/22/02/image_24012025_22_02_15_9356.jpg
/home/pi/Desktop/images/24012025/22/02/image_24012025_22_02_25_10332.jpg
/home/pi/Desktop/images/24012025/22/02/image_24012025_22_02_35_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332635195","1332635198","1332635192","1332635108","1332635173","1332635125"],"photo_ids_order":["1332635108","1332635125","1332635173","1332635192","1332635195","1332635198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4db4f2d1ed998fda7333e9460d7b0cf7.jpg","text":"TemporaryFile(/tmp/multipartBody5712618041634256673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152335090,"filename":"image_24012025_22_02_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/29/0e425e72dd61b4b9ab598d8f00f43d89.jpg","text":"TemporaryFile(/tmp/multipartBody448791756961088341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152335090,"filename":"image_24012025_22_02_35_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/29/d4213edc57ee7b39e4514b2ec6e6bb18.jpg","text":"TemporaryFile(/tmp/multipartBody8480352634951967602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152335090,"filename":"image_24012025_22_02_15_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/29/846e5e37684cf62c6959c9efdca2bf02.jpg","text":"TemporaryFile(/tmp/multipartBody382905124129950000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152335090,"filename":"image_24012025_22_01_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/29/a915ee8b3ef269dd23ef07869b173038.jpg","text":"TemporaryFile(/tmp/multipartBody6978963272689486479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152335090,"filename":"image_24012025_22_02_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/29/875bc3919090e63322795e1e87942e57.jpg","text":"TemporaryFile(/tmp/multipartBody7122623456298093808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152335090,"filename":"image_24012025_22_01_55_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332635173","file1":"1332635125","file0":"1332635108","file4":"1332635195","file5":"1332635198","file3":"1332635192"},"map_files_photo_id_array":[{"photo_id":"1332635198","filename":"file5"},{"photo_id":"1332635173","filename":"file2"},{"photo_id":"1332635195","filename":"file4"},{"photo_id":"1332635125","filename":"file1"},{"photo_id":"1332635108","filename":"file0"},{"photo_id":"1332635192","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332635195":["hashtag1","hashtag2"]},{"1332635198":["hashtag1","hashtag2"]},{"1332635192":["hashtag1","hashtag2"]},{"1332635108":["hashtag1","hashtag2"]},{"1332635173":["hashtag1","hashtag2"]},{"1332635125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332635195, 1332635198, 1332635192, 1332635108, 1332635173, 1332635125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57893133163452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:05:32.346128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/02/image_24012025_22_02_45_10374.jpg', '/home/pi/Desktop/images/24012025/22/02/image_24012025_22_02_56_10364.jpg', '/home/pi/Desktop/images/24012025/22/02/image_24012025_22_03_05_9352.jpg', '/home/pi/Desktop/images/24012025/22/03/image_24012025_22_03_15_10333.jpg', '/home/pi/Desktop/images/24012025/22/03/image_24012025_22_03_26_10407.jpg', '/home/pi/Desktop/images/24012025/22/03/image_24012025_22_03_35_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/02/image_24012025_22_02_45_10374.jpg
/home/pi/Desktop/images/24012025/22/02/image_24012025_22_02_56_10364.jpg
/home/pi/Desktop/images/24012025/22/02/image_24012025_22_03_05_9352.jpg
/home/pi/Desktop/images/24012025/22/03/image_24012025_22_03_15_10333.jpg
/home/pi/Desktop/images/24012025/22/03/image_24012025_22_03_26_10407.jpg
/home/pi/Desktop/images/24012025/22/03/image_24012025_22_03_35_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":["1332635226","1332635240","1332635234","1332635242","1332635230","1332635221"],"photo_ids_order":["1332635221","1332635226","1332635230","1332635234","1332635240","1332635242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c13ece7e302d5a166c367497cdec206a.jpg","text":"TemporaryFile(/tmp/multipartBody1313642112174086728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152394431,"filename":"image_24012025_22_02_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/29/905a7bbe408e108c3da4f26d4121ab56.jpg","text":"TemporaryFile(/tmp/multipartBody4247737801139960548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152394431,"filename":"image_24012025_22_03_26_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/29/42ea12de0086eb259f7fdd5231bb6270.jpg","text":"TemporaryFile(/tmp/multipartBody247372798835038520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152394431,"filename":"image_24012025_22_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/29/5d1d91738f7e0e97fb63cfb71491c56a.jpg","text":"TemporaryFile(/tmp/multipartBody8631568010647832987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152394431,"filename":"image_24012025_22_03_35_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/29/b56c68a96dfda703cba898382bbdd770.jpg","text":"TemporaryFile(/tmp/multipartBody5170178307310847338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152394431,"filename":"image_24012025_22_03_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/29/9a8fb1b1bd9a644e53433871476f0ebb.jpg","text":"TemporaryFile(/tmp/multipartBody8188284618444500729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152394431,"filename":"image_24012025_22_02_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332635230","file1":"1332635226","file0":"1332635221","file4":"1332635240","file5":"1332635242","file3":"1332635234"},"map_files_photo_id_array":[{"photo_id":"1332635242","filename":"file5"},{"photo_id":"1332635230","filename":"file2"},{"photo_id":"1332635240","filename":"file4"},{"photo_id":"1332635226","filename":"file1"},{"photo_id":"1332635221","filename":"file0"},{"photo_id":"1332635234","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332635226":["hashtag1","hashtag2"]},{"1332635240":["hashtag1","hashtag2"]},{"1332635234":["hashtag1","hashtag2"]},{"1332635242":["hashtag1","hashtag2"]},{"1332635230":["hashtag1","hashtag2"]},{"1332635221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332635226, 1332635240, 1332635234, 1332635242, 1332635230, 1332635221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79823160171509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:06:32.464040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/03/image_24012025_22_03_46_10419.jpg', '/home/pi/Desktop/images/24012025/22/03/image_24012025_22_03_55_9424.jpg', '/home/pi/Desktop/images/24012025/22/03/image_24012025_22_04_05_10352.jpg', '/home/pi/Desktop/images/24012025/22/04/image_24012025_22_04_16_10371.jpg', '/home/pi/Desktop/images/24012025/22/04/image_24012025_22_04_25_9447.jpg', '/home/pi/Desktop/images/24012025/22/04/image_24012025_22_04_36_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/03/image_24012025_22_03_46_10419.jpg
/home/pi/Desktop/images/24012025/22/03/image_24012025_22_03_55_9424.jpg
/home/pi/Desktop/images/24012025/22/03/image_24012025_22_04_05_10352.jpg
/home/pi/Desktop/images/24012025/22/04/image_24012025_22_04_16_10371.jpg
/home/pi/Desktop/images/24012025/22/04/image_24012025_22_04_25_9447.jpg
/home/pi/Desktop/images/24012025/22/04/image_24012025_22_04_36_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":["1332635288","1332635291","1332635270","1332635275","1332635284","1332635280"],"photo_ids_order":["1332635270","1332635275","1332635280","1332635284","1332635288","1332635291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bb2152d46b01c1235c4d7195942f2de5.jpg","text":"TemporaryFile(/tmp/multipartBody4803418112685027433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152454547,"filename":"image_24012025_22_04_25_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/29/3f99d261d17bf4be115397459f37e67b.jpg","text":"TemporaryFile(/tmp/multipartBody8923161764938926768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152454547,"filename":"image_24012025_22_04_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/29/6a068e7723180c794b67573814b65a9a.jpg","text":"TemporaryFile(/tmp/multipartBody922093801281723277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152454547,"filename":"image_24012025_22_03_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/29/5ba97c75e0e6e73598941b82f2e65c43.jpg","text":"TemporaryFile(/tmp/multipartBody8985764445007590343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152454547,"filename":"image_24012025_22_03_55_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/29/73213109eca8e70101ee7c04a51045f3.jpg","text":"TemporaryFile(/tmp/multipartBody4653655445269198817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152454547,"filename":"image_24012025_22_04_16_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/29/8a30f92ffb1c8b08be29e7b6f8ca55ab.jpg","text":"TemporaryFile(/tmp/multipartBody4621289305369521526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152454547,"filename":"image_24012025_22_04_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332635280","file1":"1332635275","file0":"1332635270","file4":"1332635288","file5":"1332635291","file3":"1332635284"},"map_files_photo_id_array":[{"photo_id":"1332635291","filename":"file5"},{"photo_id":"1332635280","filename":"file2"},{"photo_id":"1332635288","filename":"file4"},{"photo_id":"1332635275","filename":"file1"},{"photo_id":"1332635270","filename":"file0"},{"photo_id":"1332635284","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332635288":["hashtag1","hashtag2"]},{"1332635291":["hashtag1","hashtag2"]},{"1332635270":["hashtag1","hashtag2"]},{"1332635275":["hashtag1","hashtag2"]},{"1332635284":["hashtag1","hashtag2"]},{"1332635280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332635288, 1332635291, 1332635270, 1332635275, 1332635284, 1332635280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72472906112671 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:07:32.704517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/04/image_24012025_22_04_45_9402.jpg', '/home/pi/Desktop/images/24012025/22/04/image_24012025_22_05_06_10371.jpg', '/home/pi/Desktop/images/24012025/22/05/image_24012025_22_05_15_9389.jpg', '/home/pi/Desktop/images/24012025/22/05/image_24012025_22_05_25_10343.jpg', '/home/pi/Desktop/images/24012025/22/05/image_24012025_22_05_36_10453.jpg', '/home/pi/Desktop/images/24012025/22/05/image_24012025_22_05_45_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/04/image_24012025_22_04_45_9402.jpg
/home/pi/Desktop/images/24012025/22/04/image_24012025_22_05_06_10371.jpg
/home/pi/Desktop/images/24012025/22/05/image_24012025_22_05_15_9389.jpg
/home/pi/Desktop/images/24012025/22/05/image_24012025_22_05_25_10343.jpg
/home/pi/Desktop/images/24012025/22/05/image_24012025_22_05_36_10453.jpg
/home/pi/Desktop/images/24012025/22/05/image_24012025_22_05_45_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":["1332635328","1332635337","1332635348","1332635333","1332635315","1332635353"],"photo_ids_order":["1332635315","1332635328","1332635333","1332635337","1332635348","1332635353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dd99084fd0193c2ff7d4c03498a7b59b.jpg","text":"TemporaryFile(/tmp/multipartBody2866072000521472926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152514825,"filename":"image_24012025_22_05_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/29/dd0c44ca05bb3f96cd267ed7f03bf67f.jpg","text":"TemporaryFile(/tmp/multipartBody5778704365298277123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152514825,"filename":"image_24012025_22_05_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/29/0117239a8ba6fa84bda1b0b074a29a25.jpg","text":"TemporaryFile(/tmp/multipartBody5026444134119078545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152514825,"filename":"image_24012025_22_05_36_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/29/acdc0186139531554060608a2c6c279e.jpg","text":"TemporaryFile(/tmp/multipartBody1810118932681658459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152514825,"filename":"image_24012025_22_05_15_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/29/4e7dd6bdd6dded5acb7c97f57fa5bb3a.jpg","text":"TemporaryFile(/tmp/multipartBody4344933397526399969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152514825,"filename":"image_24012025_22_04_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/29/dd7f71dac08cc2e5db02e1065272847f.jpg","text":"TemporaryFile(/tmp/multipartBody3000552942883211911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152514825,"filename":"image_24012025_22_05_45_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332635333","file1":"1332635328","file0":"1332635315","file4":"1332635348","file5":"1332635353","file3":"1332635337"},"map_files_photo_id_array":[{"photo_id":"1332635353","filename":"file5"},{"photo_id":"1332635333","filename":"file2"},{"photo_id":"1332635348","filename":"file4"},{"photo_id":"1332635328","filename":"file1"},{"photo_id":"1332635315","filename":"file0"},{"photo_id":"1332635337","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332635328":["hashtag1","hashtag2"]},{"1332635337":["hashtag1","hashtag2"]},{"1332635348":["hashtag1","hashtag2"]},{"1332635333":["hashtag1","hashtag2"]},{"1332635315":["hashtag1","hashtag2"]},{"1332635353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332635328, 1332635337, 1332635348, 1332635333, 1332635315, 1332635353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14728355407715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:08:32.899702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/05/image_24012025_22_06_05_9412.jpg', '/home/pi/Desktop/images/24012025/22/06/image_24012025_22_06_15_10329.jpg', '/home/pi/Desktop/images/24012025/22/06/image_24012025_22_07_05_9345.jpg', '/home/pi/Desktop/images/24012025/22/07/image_24012025_22_07_16_10330.jpg', '/home/pi/Desktop/images/24012025/22/07/image_24012025_22_07_25_9447.jpg', '/home/pi/Desktop/images/24012025/22/07/image_24012025_22_07_35_10468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/05/image_24012025_22_06_05_9412.jpg
/home/pi/Desktop/images/24012025/22/06/image_24012025_22_06_15_10329.jpg
/home/pi/Desktop/images/24012025/22/06/image_24012025_22_07_05_9345.jpg
/home/pi/Desktop/images/24012025/22/07/image_24012025_22_07_16_10330.jpg
/home/pi/Desktop/images/24012025/22/07/image_24012025_22_07_25_9447.jpg
/home/pi/Desktop/images/24012025/22/07/image_24012025_22_07_35_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332635568","1332635607","1332635672","1332635564","1332635618","1332635595"],"photo_ids_order":["1332635564","1332635568","1332635595","1332635607","1332635618","1332635672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aecfc12b7cb8f3b6e311e88f71e1d7c3.jpg","text":"TemporaryFile(/tmp/multipartBody6072098065621480415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152574994,"filename":"image_24012025_22_06_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/29/5f9331130dc351a51873ab83a1e6d497.jpg","text":"TemporaryFile(/tmp/multipartBody857938287705996504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152574994,"filename":"image_24012025_22_07_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/29/dd77d7fd8c70ad082823b8d704430067.jpg","text":"TemporaryFile(/tmp/multipartBody7009272028026527791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152574994,"filename":"image_24012025_22_07_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/29/a30e6b0d0f85014b352e00ca71f0c81f.jpg","text":"TemporaryFile(/tmp/multipartBody7749407546998506402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152574994,"filename":"image_24012025_22_06_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/29/109d2f97c1e8d534e53d079ca19ea3da.jpg","text":"TemporaryFile(/tmp/multipartBody7762600306622732822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152574994,"filename":"image_24012025_22_07_25_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/29/b4a23d54f5e2cdcf75e9334fb3668f1c.jpg","text":"TemporaryFile(/tmp/multipartBody224049410878975927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152574994,"filename":"image_24012025_22_07_05_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332635595","file1":"1332635568","file0":"1332635564","file4":"1332635618","file5":"1332635672","file3":"1332635607"},"map_files_photo_id_array":[{"photo_id":"1332635672","filename":"file5"},{"photo_id":"1332635595","filename":"file2"},{"photo_id":"1332635618","filename":"file4"},{"photo_id":"1332635568","filename":"file1"},{"photo_id":"1332635564","filename":"file0"},{"photo_id":"1332635607","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332635568":["hashtag1","hashtag2"]},{"1332635607":["hashtag1","hashtag2"]},{"1332635672":["hashtag1","hashtag2"]},{"1332635564":["hashtag1","hashtag2"]},{"1332635618":["hashtag1","hashtag2"]},{"1332635595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332635568, 1332635607, 1332635672, 1332635564, 1332635618, 1332635595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67624831199646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:09:33.158945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/07/image_24012025_22_07_55_9357.jpg', '/home/pi/Desktop/images/24012025/22/08/image_24012025_22_08_15_9315.jpg', '/home/pi/Desktop/images/24012025/22/08/image_24012025_22_08_25_10337.jpg', '/home/pi/Desktop/images/24012025/22/08/image_24012025_22_08_36_10350.jpg', '/home/pi/Desktop/images/24012025/22/08/image_24012025_22_08_45_9423.jpg', '/home/pi/Desktop/images/24012025/22/08/image_24012025_22_08_55_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/07/image_24012025_22_07_55_9357.jpg
/home/pi/Desktop/images/24012025/22/08/image_24012025_22_08_15_9315.jpg
/home/pi/Desktop/images/24012025/22/08/image_24012025_22_08_25_10337.jpg
/home/pi/Desktop/images/24012025/22/08/image_24012025_22_08_36_10350.jpg
/home/pi/Desktop/images/24012025/22/08/image_24012025_22_08_45_9423.jpg
/home/pi/Desktop/images/24012025/22/08/image_24012025_22_08_55_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":["1332635801","1332635743","1332635731","1332635749","1332635799","1332635736"],"photo_ids_order":["1332635731","1332635736","1332635743","1332635749","1332635799","1332635801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4c56e373f0b5e12d556dd32cde30212a.jpg","text":"TemporaryFile(/tmp/multipartBody2534406316898836394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152635259,"filename":"image_24012025_22_08_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/29/27c5395056fc0b7e1772b580dbfd8430.jpg","text":"TemporaryFile(/tmp/multipartBody1881786551928253874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152635259,"filename":"image_24012025_22_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/29/e527e15ce54c4fc19dc1c339ecb48acb.jpg","text":"TemporaryFile(/tmp/multipartBody5926095587628886744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152635259,"filename":"image_24012025_22_07_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/29/324f46ba2f8d9c228425b141f02f8f57.jpg","text":"TemporaryFile(/tmp/multipartBody3045755285093806627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152635259,"filename":"image_24012025_22_08_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/29/99a78ca0b99845fbd5b25954ca218817.jpg","text":"TemporaryFile(/tmp/multipartBody7382021017923678845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152635259,"filename":"image_24012025_22_08_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/29/8a4e2cd4616f9ce4810a09d73c2bffe9.jpg","text":"TemporaryFile(/tmp/multipartBody8521449944153984561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152635259,"filename":"image_24012025_22_08_15_9315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332635743","file1":"1332635736","file0":"1332635731","file4":"1332635799","file5":"1332635801","file3":"1332635749"},"map_files_photo_id_array":[{"photo_id":"1332635801","filename":"file5"},{"photo_id":"1332635743","filename":"file2"},{"photo_id":"1332635799","filename":"file4"},{"photo_id":"1332635736","filename":"file1"},{"photo_id":"1332635731","filename":"file0"},{"photo_id":"1332635749","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332635801":["hashtag1","hashtag2"]},{"1332635743":["hashtag1","hashtag2"]},{"1332635731":["hashtag1","hashtag2"]},{"1332635749":["hashtag1","hashtag2"]},{"1332635799":["hashtag1","hashtag2"]},{"1332635736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332635801, 1332635743, 1332635731, 1332635749, 1332635799, 1332635736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70798659324646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:10:32.328162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/08/image_24012025_22_09_06_10444.jpg', '/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_15_9357.jpg', '/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_26_10446.jpg', '/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_35_9352.jpg', '/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_45_10355.jpg', '/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_56_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/08/image_24012025_22_09_06_10444.jpg
/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_15_9357.jpg
/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_26_10446.jpg
/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_35_9352.jpg
/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_45_10355.jpg
/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_56_10458.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.6946356296539307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 13:10:42.351654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/08/image_24012025_22_09_06_10444.jpg', '/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_15_9357.jpg', '/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_26_10446.jpg', '/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_35_9352.jpg', '/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_45_10355.jpg', '/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_56_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/08/image_24012025_22_09_06_10444.jpg
/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_15_9357.jpg
/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_26_10446.jpg
/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_35_9352.jpg
/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_45_10355.jpg
/home/pi/Desktop/images/24012025/22/09/image_24012025_22_09_56_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332635838","1332635894","1332635896","1332635845","1332635917","1332635865"],"photo_ids_order":["1332635838","1332635845","1332635865","1332635894","1332635896","1332635917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/92d114581860c3395a06f559bc5aa021.jpg","text":"TemporaryFile(/tmp/multipartBody5797428779289368638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152703539,"filename":"image_24012025_22_09_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/29/034892d1a725d60708b66a72d7dadc32.jpg","text":"TemporaryFile(/tmp/multipartBody4445068162817348405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152703539,"filename":"image_24012025_22_09_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/29/bc5893e88e5ddda22817be5d7f247d52.jpg","text":"TemporaryFile(/tmp/multipartBody2427436598891566661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152703539,"filename":"image_24012025_22_09_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/29/10dff74a07ccaaec400e46704dd180f0.jpg","text":"TemporaryFile(/tmp/multipartBody7095404187549639154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152703539,"filename":"image_24012025_22_09_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/29/49621f2f00a912697e0b11542d377660.jpg","text":"TemporaryFile(/tmp/multipartBody427911088178275448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152703539,"filename":"image_24012025_22_09_56_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/29/0a7224a0303aa9922c32d6da39a18abd.jpg","text":"TemporaryFile(/tmp/multipartBody1774879544970473382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152703539,"filename":"image_24012025_22_09_26_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332635865","file1":"1332635845","file0":"1332635838","file4":"1332635896","file5":"1332635917","file3":"1332635894"},"map_files_photo_id_array":[{"photo_id":"1332635917","filename":"file5"},{"photo_id":"1332635865","filename":"file2"},{"photo_id":"1332635896","filename":"file4"},{"photo_id":"1332635845","filename":"file1"},{"photo_id":"1332635838","filename":"file0"},{"photo_id":"1332635894","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332635838":["hashtag1","hashtag2"]},{"1332635894":["hashtag1","hashtag2"]},{"1332635896":["hashtag1","hashtag2"]},{"1332635845":["hashtag1","hashtag2"]},{"1332635917":["hashtag1","hashtag2"]},{"1332635865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332635838, 1332635894, 1332635896, 1332635845, 1332635917, 1332635865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93095111846924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:11:32.535415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/09/image_24012025_22_10_05_9368.jpg', '/home/pi/Desktop/images/24012025/22/10/image_24012025_22_10_16_10340.jpg', '/home/pi/Desktop/images/24012025/22/10/image_24012025_22_10_25_9396.jpg', '/home/pi/Desktop/images/24012025/22/10/image_24012025_22_10_35_10356.jpg', '/home/pi/Desktop/images/24012025/22/10/image_24012025_22_10_46_10367.jpg', '/home/pi/Desktop/images/24012025/22/10/image_24012025_22_10_55_9401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/09/image_24012025_22_10_05_9368.jpg
/home/pi/Desktop/images/24012025/22/10/image_24012025_22_10_16_10340.jpg
/home/pi/Desktop/images/24012025/22/10/image_24012025_22_10_25_9396.jpg
/home/pi/Desktop/images/24012025/22/10/image_24012025_22_10_35_10356.jpg
/home/pi/Desktop/images/24012025/22/10/image_24012025_22_10_46_10367.jpg
/home/pi/Desktop/images/24012025/22/10/image_24012025_22_10_55_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":["1332636105","1332636080","1332636071","1332636088","1332636076","1332636114"],"photo_ids_order":["1332636071","1332636076","1332636080","1332636088","1332636105","1332636114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1061bec9408a3e74f9142d17bed9f64d.jpg","text":"TemporaryFile(/tmp/multipartBody5263934689232330805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152754635,"filename":"image_24012025_22_10_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/29/17ca1944de2ae7694a661b1260dd2719.jpg","text":"TemporaryFile(/tmp/multipartBody4307064528032638133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152754635,"filename":"image_24012025_22_10_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/29/4ffa6ca81b27d548b39c779548bf73e3.jpg","text":"TemporaryFile(/tmp/multipartBody8618340472874006062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152754635,"filename":"image_24012025_22_10_05_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/29/406d6a9151dc0a974bc33cf922ca1c49.jpg","text":"TemporaryFile(/tmp/multipartBody1043133015193221344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152754635,"filename":"image_24012025_22_10_35_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/29/c5de7d9f5556836e8f20cb604315d1d5.jpg","text":"TemporaryFile(/tmp/multipartBody4833563998096023272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152754635,"filename":"image_24012025_22_10_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/29/3154f979e861f5edb1c333e08c59fa4a.jpg","text":"TemporaryFile(/tmp/multipartBody511203643836005076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152754635,"filename":"image_24012025_22_10_55_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332636080","file1":"1332636076","file0":"1332636071","file4":"1332636105","file5":"1332636114","file3":"1332636088"},"map_files_photo_id_array":[{"photo_id":"1332636114","filename":"file5"},{"photo_id":"1332636080","filename":"file2"},{"photo_id":"1332636105","filename":"file4"},{"photo_id":"1332636076","filename":"file1"},{"photo_id":"1332636071","filename":"file0"},{"photo_id":"1332636088","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332636105":["hashtag1","hashtag2"]},{"1332636080":["hashtag1","hashtag2"]},{"1332636071":["hashtag1","hashtag2"]},{"1332636088":["hashtag1","hashtag2"]},{"1332636076":["hashtag1","hashtag2"]},{"1332636114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332636105, 1332636080, 1332636071, 1332636088, 1332636076, 1332636114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.731701374053955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:12:32.758991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/10/image_24012025_22_11_05_10356.jpg', '/home/pi/Desktop/images/24012025/22/11/image_24012025_22_11_16_10410.jpg', '/home/pi/Desktop/images/24012025/22/11/image_24012025_22_11_25_9363.jpg', '/home/pi/Desktop/images/24012025/22/11/image_24012025_22_11_36_10356.jpg', '/home/pi/Desktop/images/24012025/22/11/image_24012025_22_11_46_10355.jpg', '/home/pi/Desktop/images/24012025/22/11/image_24012025_22_11_55_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/10/image_24012025_22_11_05_10356.jpg
/home/pi/Desktop/images/24012025/22/11/image_24012025_22_11_16_10410.jpg
/home/pi/Desktop/images/24012025/22/11/image_24012025_22_11_25_9363.jpg
/home/pi/Desktop/images/24012025/22/11/image_24012025_22_11_36_10356.jpg
/home/pi/Desktop/images/24012025/22/11/image_24012025_22_11_46_10355.jpg
/home/pi/Desktop/images/24012025/22/11/image_24012025_22_11_55_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":["1332636179","1332636187","1332636169","1332636163","1332636183","1332636174"],"photo_ids_order":["1332636163","1332636169","1332636174","1332636179","1332636183","1332636187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0ed0f1c8ae505a9f338d002974ffb8e1.jpg","text":"TemporaryFile(/tmp/multipartBody3733211662569641872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152814866,"filename":"image_24012025_22_11_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/29/a3eecb59a13945bb204b46d6a819f9a3.jpg","text":"TemporaryFile(/tmp/multipartBody8038748737963222250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152814866,"filename":"image_24012025_22_11_55_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/29/e7ab37ed23767957b8a6a1f2a8e90557.jpg","text":"TemporaryFile(/tmp/multipartBody5103110042151331152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152814866,"filename":"image_24012025_22_11_16_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/29/710e7b99f4d79704af05cde76ac65a5a.jpg","text":"TemporaryFile(/tmp/multipartBody1189616409885535309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152814866,"filename":"image_24012025_22_11_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/29/69becfa54fa04948eea7b68704912c78.jpg","text":"TemporaryFile(/tmp/multipartBody8461843804055837101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152814866,"filename":"image_24012025_22_11_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/29/64e4d9d67986330a0ddc6378c27080d9.jpg","text":"TemporaryFile(/tmp/multipartBody3463959237874370059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152814866,"filename":"image_24012025_22_11_25_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332636174","file1":"1332636169","file0":"1332636163","file4":"1332636183","file5":"1332636187","file3":"1332636179"},"map_files_photo_id_array":[{"photo_id":"1332636187","filename":"file5"},{"photo_id":"1332636174","filename":"file2"},{"photo_id":"1332636183","filename":"file4"},{"photo_id":"1332636169","filename":"file1"},{"photo_id":"1332636163","filename":"file0"},{"photo_id":"1332636179","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332636179":["hashtag1","hashtag2"]},{"1332636187":["hashtag1","hashtag2"]},{"1332636169":["hashtag1","hashtag2"]},{"1332636163":["hashtag1","hashtag2"]},{"1332636183":["hashtag1","hashtag2"]},{"1332636174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332636179, 1332636187, 1332636169, 1332636163, 1332636183, 1332636174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10288739204407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:13:33.141571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/11/image_24012025_22_12_06_10351.jpg', '/home/pi/Desktop/images/24012025/22/12/image_24012025_22_12_15_9424.jpg', '/home/pi/Desktop/images/24012025/22/12/image_24012025_22_12_25_10447.jpg', '/home/pi/Desktop/images/24012025/22/12/image_24012025_22_12_35_9469.jpg', '/home/pi/Desktop/images/24012025/22/12/image_24012025_22_12_45_10359.jpg', '/home/pi/Desktop/images/24012025/22/12/image_24012025_22_12_56_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/11/image_24012025_22_12_06_10351.jpg
/home/pi/Desktop/images/24012025/22/12/image_24012025_22_12_15_9424.jpg
/home/pi/Desktop/images/24012025/22/12/image_24012025_22_12_25_10447.jpg
/home/pi/Desktop/images/24012025/22/12/image_24012025_22_12_35_9469.jpg
/home/pi/Desktop/images/24012025/22/12/image_24012025_22_12_45_10359.jpg
/home/pi/Desktop/images/24012025/22/12/image_24012025_22_12_56_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":["1332636239","1332636230","1332636224","1332636235","1332636214","1332636207"],"photo_ids_order":["1332636207","1332636214","1332636224","1332636230","1332636235","1332636239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cfe21f208d1ef6fe1f458c9237986492.jpg","text":"TemporaryFile(/tmp/multipartBody7065468254605893166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152875253,"filename":"image_24012025_22_12_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/29/4c188683a8dc765baeaf35052c3a1095.jpg","text":"TemporaryFile(/tmp/multipartBody5998745707142237398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152875253,"filename":"image_24012025_22_12_35_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/29/133ee53e09508afeee7364aa1fcf5d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2671477002796079772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152875253,"filename":"image_24012025_22_12_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/29/7b0a92d062a9f12479694c9810d54c86.jpg","text":"TemporaryFile(/tmp/multipartBody630539807007631974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152875253,"filename":"image_24012025_22_12_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/29/7539c47cb112982d15fc3cc45b964ae8.jpg","text":"TemporaryFile(/tmp/multipartBody174449639455235982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152875253,"filename":"image_24012025_22_12_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/29/14c493edf6ed4f14716c1a7d807d0c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1006147382183834725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152875253,"filename":"image_24012025_22_12_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332636224","file1":"1332636214","file0":"1332636207","file4":"1332636235","file5":"1332636239","file3":"1332636230"},"map_files_photo_id_array":[{"photo_id":"1332636239","filename":"file5"},{"photo_id":"1332636224","filename":"file2"},{"photo_id":"1332636235","filename":"file4"},{"photo_id":"1332636214","filename":"file1"},{"photo_id":"1332636207","filename":"file0"},{"photo_id":"1332636230","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332636239":["hashtag1","hashtag2"]},{"1332636230":["hashtag1","hashtag2"]},{"1332636224":["hashtag1","hashtag2"]},{"1332636235":["hashtag1","hashtag2"]},{"1332636214":["hashtag1","hashtag2"]},{"1332636207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332636239, 1332636230, 1332636224, 1332636235, 1332636214, 1332636207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34819674491882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:14:32.221408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/12/image_24012025_22_13_05_9433.jpg', '/home/pi/Desktop/images/24012025/22/13/image_24012025_22_13_15_10332.jpg', '/home/pi/Desktop/images/24012025/22/13/image_24012025_22_13_26_10408.jpg', '/home/pi/Desktop/images/24012025/22/13/image_24012025_22_13_35_9354.jpg', '/home/pi/Desktop/images/24012025/22/13/image_24012025_22_13_46_10359.jpg', '/home/pi/Desktop/images/24012025/22/13/image_24012025_22_13_56_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/12/image_24012025_22_13_05_9433.jpg
/home/pi/Desktop/images/24012025/22/13/image_24012025_22_13_15_10332.jpg
/home/pi/Desktop/images/24012025/22/13/image_24012025_22_13_26_10408.jpg
/home/pi/Desktop/images/24012025/22/13/image_24012025_22_13_35_9354.jpg
/home/pi/Desktop/images/24012025/22/13/image_24012025_22_13_46_10359.jpg
/home/pi/Desktop/images/24012025/22/13/image_24012025_22_13_56_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":["1332636303","1332636284","1332636298","1332636277","1332636292","1332636288"],"photo_ids_order":["1332636277","1332636284","1332636288","1332636292","1332636298","1332636303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f405de065c26d1faa61cc558cbe9cee4.jpg","text":"TemporaryFile(/tmp/multipartBody7774814728302838685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152934286,"filename":"image_24012025_22_13_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/29/dca0d6a4b20ff0629cc19072b4b53297.jpg","text":"TemporaryFile(/tmp/multipartBody4012571286260313737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152934286,"filename":"image_24012025_22_13_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/29/cce6c689fdd8639892b1a1dca5873aa4.jpg","text":"TemporaryFile(/tmp/multipartBody5339835093612918695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152934286,"filename":"image_24012025_22_13_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/29/c05a2dba6f0564b98b91846ad03a1b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4768074148634319165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152934286,"filename":"image_24012025_22_13_05_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/29/09d6d399ec54afe2178ef89399646fc2.jpg","text":"TemporaryFile(/tmp/multipartBody1327267199852613731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152934286,"filename":"image_24012025_22_13_35_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/29/a72ac26a45b907ba3aa7e8f940657ab4.jpg","text":"TemporaryFile(/tmp/multipartBody1870323593750521433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152934286,"filename":"image_24012025_22_13_26_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332636288","file1":"1332636284","file0":"1332636277","file4":"1332636298","file5":"1332636303","file3":"1332636292"},"map_files_photo_id_array":[{"photo_id":"1332636303","filename":"file5"},{"photo_id":"1332636288","filename":"file2"},{"photo_id":"1332636298","filename":"file4"},{"photo_id":"1332636284","filename":"file1"},{"photo_id":"1332636277","filename":"file0"},{"photo_id":"1332636292","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332636303":["hashtag1","hashtag2"]},{"1332636284":["hashtag1","hashtag2"]},{"1332636298":["hashtag1","hashtag2"]},{"1332636277":["hashtag1","hashtag2"]},{"1332636292":["hashtag1","hashtag2"]},{"1332636288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332636303, 1332636284, 1332636298, 1332636277, 1332636292, 1332636288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.599162578582764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:15:32.424524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/13/image_24012025_22_14_05_9329.jpg', '/home/pi/Desktop/images/24012025/22/14/image_24012025_22_14_16_10342.jpg', '/home/pi/Desktop/images/24012025/22/14/image_24012025_22_14_25_9351.jpg', '/home/pi/Desktop/images/24012025/22/14/image_24012025_22_14_35_10355.jpg', '/home/pi/Desktop/images/24012025/22/14/image_24012025_22_14_46_10420.jpg', '/home/pi/Desktop/images/24012025/22/14/image_24012025_22_14_55_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/13/image_24012025_22_14_05_9329.jpg
/home/pi/Desktop/images/24012025/22/14/image_24012025_22_14_16_10342.jpg
/home/pi/Desktop/images/24012025/22/14/image_24012025_22_14_25_9351.jpg
/home/pi/Desktop/images/24012025/22/14/image_24012025_22_14_35_10355.jpg
/home/pi/Desktop/images/24012025/22/14/image_24012025_22_14_46_10420.jpg
/home/pi/Desktop/images/24012025/22/14/image_24012025_22_14_55_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":["1332636382","1332636401","1332636403","1332636393","1332636375","1332636398"],"photo_ids_order":["1332636375","1332636382","1332636393","1332636398","1332636401","1332636403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/50e26cc2f74af3bfdc8dc633d07089cd.jpg","text":"TemporaryFile(/tmp/multipartBody9208849958327311151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152994536,"filename":"image_24012025_22_14_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/29/063cc589d5b42a3316230affb47e26a4.jpg","text":"TemporaryFile(/tmp/multipartBody7430623778110308564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152994536,"filename":"image_24012025_22_14_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/29/d6445354c0dc7c8defdf9389838852f2.jpg","text":"TemporaryFile(/tmp/multipartBody5534074558464659370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152994536,"filename":"image_24012025_22_14_55_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/29/68c290c95dd905fbd90cd6c6d658a451.jpg","text":"TemporaryFile(/tmp/multipartBody4911364522856093960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152994536,"filename":"image_24012025_22_14_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/29/0b52b3040175a096c93fb3c9c3f2d72c.jpg","text":"TemporaryFile(/tmp/multipartBody2250458241062359103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152994536,"filename":"image_24012025_22_14_05_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/29/594aef25a2c58b8d8ebcd19bff6e490b.jpg","text":"TemporaryFile(/tmp/multipartBody4384454778180335881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738152994536,"filename":"image_24012025_22_14_35_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332636393","file1":"1332636382","file0":"1332636375","file4":"1332636401","file5":"1332636403","file3":"1332636398"},"map_files_photo_id_array":[{"photo_id":"1332636403","filename":"file5"},{"photo_id":"1332636393","filename":"file2"},{"photo_id":"1332636401","filename":"file4"},{"photo_id":"1332636382","filename":"file1"},{"photo_id":"1332636375","filename":"file0"},{"photo_id":"1332636398","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332636382":["hashtag1","hashtag2"]},{"1332636401":["hashtag1","hashtag2"]},{"1332636403":["hashtag1","hashtag2"]},{"1332636393":["hashtag1","hashtag2"]},{"1332636375":["hashtag1","hashtag2"]},{"1332636398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332636382, 1332636401, 1332636403, 1332636393, 1332636375, 1332636398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57622981071472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:16:32.650337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/14/image_24012025_22_15_06_10355.jpg', '/home/pi/Desktop/images/24012025/22/15/image_24012025_22_15_16_10421.jpg', '/home/pi/Desktop/images/24012025/22/15/image_24012025_22_15_25_9362.jpg', '/home/pi/Desktop/images/24012025/22/15/image_24012025_22_15_36_10384.jpg', '/home/pi/Desktop/images/24012025/22/15/image_24012025_22_15_45_9345.jpg', '/home/pi/Desktop/images/24012025/22/15/image_24012025_22_15_55_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/14/image_24012025_22_15_06_10355.jpg
/home/pi/Desktop/images/24012025/22/15/image_24012025_22_15_16_10421.jpg
/home/pi/Desktop/images/24012025/22/15/image_24012025_22_15_25_9362.jpg
/home/pi/Desktop/images/24012025/22/15/image_24012025_22_15_36_10384.jpg
/home/pi/Desktop/images/24012025/22/15/image_24012025_22_15_45_9345.jpg
/home/pi/Desktop/images/24012025/22/15/image_24012025_22_15_55_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":["1332636560","1332636550","1332636532","1332636555","1332636564","1332636546"],"photo_ids_order":["1332636532","1332636546","1332636550","1332636555","1332636560","1332636564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fbfc2e33db9557e9800d6141582d8ead.jpg","text":"TemporaryFile(/tmp/multipartBody7073136377431428346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153054725,"filename":"image_24012025_22_15_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/29/6f3e0fce4181f1c766f868e636207689.jpg","text":"TemporaryFile(/tmp/multipartBody5787039156345960357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153054725,"filename":"image_24012025_22_15_25_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/29/25242c3783d8be19a91e9083364b3fdb.jpg","text":"TemporaryFile(/tmp/multipartBody6268422748798703242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153054725,"filename":"image_24012025_22_15_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/29/2d23d4bfea90c091ce5de6b646fe3f18.jpg","text":"TemporaryFile(/tmp/multipartBody7675754336985463327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153054725,"filename":"image_24012025_22_15_36_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/29/5dcd9954235eb1f74bdbe24fae912882.jpg","text":"TemporaryFile(/tmp/multipartBody8995285262299229546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153054725,"filename":"image_24012025_22_15_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/29/e1dbf28481a0bc47393fada4ec45927a.jpg","text":"TemporaryFile(/tmp/multipartBody1760703857949631160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153054725,"filename":"image_24012025_22_15_16_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332636550","file1":"1332636546","file0":"1332636532","file4":"1332636560","file5":"1332636564","file3":"1332636555"},"map_files_photo_id_array":[{"photo_id":"1332636564","filename":"file5"},{"photo_id":"1332636550","filename":"file2"},{"photo_id":"1332636560","filename":"file4"},{"photo_id":"1332636546","filename":"file1"},{"photo_id":"1332636532","filename":"file0"},{"photo_id":"1332636555","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332636560":["hashtag1","hashtag2"]},{"1332636550":["hashtag1","hashtag2"]},{"1332636532":["hashtag1","hashtag2"]},{"1332636555":["hashtag1","hashtag2"]},{"1332636564":["hashtag1","hashtag2"]},{"1332636546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332636560, 1332636550, 1332636532, 1332636555, 1332636564, 1332636546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.315592527389526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:17:32.984692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/15/image_24012025_22_16_06_10365.jpg', '/home/pi/Desktop/images/24012025/22/16/image_24012025_22_16_15_9387.jpg', '/home/pi/Desktop/images/24012025/22/16/image_24012025_22_16_25_10337.jpg', '/home/pi/Desktop/images/24012025/22/16/image_24012025_22_16_36_10477.jpg', '/home/pi/Desktop/images/24012025/22/16/image_24012025_22_16_45_9343.jpg', '/home/pi/Desktop/images/24012025/22/16/image_24012025_22_16_56_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/15/image_24012025_22_16_06_10365.jpg
/home/pi/Desktop/images/24012025/22/16/image_24012025_22_16_15_9387.jpg
/home/pi/Desktop/images/24012025/22/16/image_24012025_22_16_25_10337.jpg
/home/pi/Desktop/images/24012025/22/16/image_24012025_22_16_36_10477.jpg
/home/pi/Desktop/images/24012025/22/16/image_24012025_22_16_45_9343.jpg
/home/pi/Desktop/images/24012025/22/16/image_24012025_22_16_56_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":["1332637322","1332637307","1332637312","1332637254","1332636861","1332636801"],"photo_ids_order":["1332636801","1332636861","1332637254","1332637307","1332637312","1332637322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4d9fff2c1ef7a24e7b2514f15522b477.jpg","text":"TemporaryFile(/tmp/multipartBody3239002527995467979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153115091,"filename":"image_24012025_22_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/29/0ff399f64a9ffa29df018b3f9c2f8f87.jpg","text":"TemporaryFile(/tmp/multipartBody5090150230605021579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153115091,"filename":"image_24012025_22_16_36_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/29/6917258c97c1998e612fcff604f079d7.jpg","text":"TemporaryFile(/tmp/multipartBody6187330506137807967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153115091,"filename":"image_24012025_22_16_45_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/29/31cf68c90f199263b2a63fc3f61caa71.jpg","text":"TemporaryFile(/tmp/multipartBody3487439084832114088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153115091,"filename":"image_24012025_22_16_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/29/baf321642804b5338d408568963953fa.jpg","text":"TemporaryFile(/tmp/multipartBody5575719015650407204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153115091,"filename":"image_24012025_22_16_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/29/5c94e6fe6d8bae9a114921664ea82dee.jpg","text":"TemporaryFile(/tmp/multipartBody2667207984573244239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153115091,"filename":"image_24012025_22_16_06_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332637254","file1":"1332636861","file0":"1332636801","file4":"1332637312","file5":"1332637322","file3":"1332637307"},"map_files_photo_id_array":[{"photo_id":"1332637322","filename":"file5"},{"photo_id":"1332637254","filename":"file2"},{"photo_id":"1332637312","filename":"file4"},{"photo_id":"1332636861","filename":"file1"},{"photo_id":"1332636801","filename":"file0"},{"photo_id":"1332637307","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332637322":["hashtag1","hashtag2"]},{"1332637307":["hashtag1","hashtag2"]},{"1332637312":["hashtag1","hashtag2"]},{"1332637254":["hashtag1","hashtag2"]},{"1332636861":["hashtag1","hashtag2"]},{"1332636801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332637322, 1332637307, 1332637312, 1332637254, 1332636861, 1332636801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43301486968994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:18:33.126660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/16/image_24012025_22_17_05_9373.jpg', '/home/pi/Desktop/images/24012025/22/17/image_24012025_22_17_15_10346.jpg', '/home/pi/Desktop/images/24012025/22/17/image_24012025_22_17_26_10489.jpg', '/home/pi/Desktop/images/24012025/22/17/image_24012025_22_17_45_10336.jpg', '/home/pi/Desktop/images/24012025/22/17/image_24012025_22_17_55_9500.jpg', '/home/pi/Desktop/images/24012025/22/17/image_24012025_22_18_05_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/16/image_24012025_22_17_05_9373.jpg
/home/pi/Desktop/images/24012025/22/17/image_24012025_22_17_15_10346.jpg
/home/pi/Desktop/images/24012025/22/17/image_24012025_22_17_26_10489.jpg
/home/pi/Desktop/images/24012025/22/17/image_24012025_22_17_45_10336.jpg
/home/pi/Desktop/images/24012025/22/17/image_24012025_22_17_55_9500.jpg
/home/pi/Desktop/images/24012025/22/17/image_24012025_22_18_05_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":["1332637747","1332637560","1332637749","1332637734","1332637694","1332637679"],"photo_ids_order":["1332637560","1332637679","1332637694","1332637734","1332637747","1332637749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cc0ec4862e8f4b9668550e7f9374d87a.jpg","text":"TemporaryFile(/tmp/multipartBody4296161009896628017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153175252,"filename":"image_24012025_22_17_55_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dadb1061f09376254efa25ed3e0bd73a.jpg","text":"TemporaryFile(/tmp/multipartBody4046195654884475596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153175252,"filename":"image_24012025_22_17_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/29/3a588a2a6aaf6464d50d5d056204ee3d.jpg","text":"TemporaryFile(/tmp/multipartBody1379334212343568831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153175252,"filename":"image_24012025_22_18_05_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/29/1c9876828db2fa2c886194aba1105d6d.jpg","text":"TemporaryFile(/tmp/multipartBody682373145000803846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153175252,"filename":"image_24012025_22_17_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/29/7bad0d574f11915f2609ded767e760b6.jpg","text":"TemporaryFile(/tmp/multipartBody4029519936169379700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153175252,"filename":"image_24012025_22_17_26_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/29/268e714b6ce76e5902c2fc1856587846.jpg","text":"TemporaryFile(/tmp/multipartBody6463377712041248765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153175252,"filename":"image_24012025_22_17_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332637694","file1":"1332637679","file0":"1332637560","file4":"1332637747","file5":"1332637749","file3":"1332637734"},"map_files_photo_id_array":[{"photo_id":"1332637749","filename":"file5"},{"photo_id":"1332637694","filename":"file2"},{"photo_id":"1332637747","filename":"file4"},{"photo_id":"1332637679","filename":"file1"},{"photo_id":"1332637560","filename":"file0"},{"photo_id":"1332637734","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332637747":["hashtag1","hashtag2"]},{"1332637560":["hashtag1","hashtag2"]},{"1332637749":["hashtag1","hashtag2"]},{"1332637734":["hashtag1","hashtag2"]},{"1332637694":["hashtag1","hashtag2"]},{"1332637679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332637747, 1332637560, 1332637749, 1332637734, 1332637694, 1332637679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43337678909302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:19:32.311812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/18/image_24012025_22_18_16_10481.jpg', '/home/pi/Desktop/images/24012025/22/18/image_24012025_22_18_25_9430.jpg', '/home/pi/Desktop/images/24012025/22/18/image_24012025_22_18_36_10369.jpg', '/home/pi/Desktop/images/24012025/22/18/image_24012025_22_18_45_9419.jpg', '/home/pi/Desktop/images/24012025/22/18/image_24012025_22_18_55_10342.jpg', '/home/pi/Desktop/images/24012025/22/18/image_24012025_22_19_06_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/18/image_24012025_22_18_16_10481.jpg
/home/pi/Desktop/images/24012025/22/18/image_24012025_22_18_25_9430.jpg
/home/pi/Desktop/images/24012025/22/18/image_24012025_22_18_36_10369.jpg
/home/pi/Desktop/images/24012025/22/18/image_24012025_22_18_45_9419.jpg
/home/pi/Desktop/images/24012025/22/18/image_24012025_22_18_55_10342.jpg
/home/pi/Desktop/images/24012025/22/18/image_24012025_22_19_06_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":["1332637808","1332637840","1332637804","1332637797","1332637836","1332637800"],"photo_ids_order":["1332637797","1332637800","1332637804","1332637808","1332637836","1332637840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/670115ae0c8d18ecb8363c871a21a293.jpg","text":"TemporaryFile(/tmp/multipartBody2515784965432584594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153234402,"filename":"image_24012025_22_18_45_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/29/4a42d03745cfeb89d1161df30c9e4261.jpg","text":"TemporaryFile(/tmp/multipartBody6083883362202492916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153234402,"filename":"image_24012025_22_19_06_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/29/a65ee5b3879193fb8f8ad73bfbf584ac.jpg","text":"TemporaryFile(/tmp/multipartBody2544757987783601688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153234402,"filename":"image_24012025_22_18_36_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/29/8e7c532913b9eb0b27c3a77cc8dd7741.jpg","text":"TemporaryFile(/tmp/multipartBody4633410101655984246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153234402,"filename":"image_24012025_22_18_16_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/29/98b059dc244340af9aadd02cd0ae6162.jpg","text":"TemporaryFile(/tmp/multipartBody487277267912392489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153234402,"filename":"image_24012025_22_18_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/29/5ac780eb9168f9b88c0e3d5fe4e5f87d.jpg","text":"TemporaryFile(/tmp/multipartBody1766018881341124234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153234402,"filename":"image_24012025_22_18_25_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332637804","file1":"1332637800","file0":"1332637797","file4":"1332637836","file5":"1332637840","file3":"1332637808"},"map_files_photo_id_array":[{"photo_id":"1332637840","filename":"file5"},{"photo_id":"1332637804","filename":"file2"},{"photo_id":"1332637836","filename":"file4"},{"photo_id":"1332637800","filename":"file1"},{"photo_id":"1332637797","filename":"file0"},{"photo_id":"1332637808","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332637808":["hashtag1","hashtag2"]},{"1332637840":["hashtag1","hashtag2"]},{"1332637804":["hashtag1","hashtag2"]},{"1332637797":["hashtag1","hashtag2"]},{"1332637836":["hashtag1","hashtag2"]},{"1332637800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332637808, 1332637840, 1332637804, 1332637797, 1332637836, 1332637800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24869918823242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:20:32.562358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/19/image_24012025_22_19_15_9359.jpg', '/home/pi/Desktop/images/24012025/22/19/image_24012025_22_19_26_10347.jpg', '/home/pi/Desktop/images/24012025/22/19/image_24012025_22_19_35_9459.jpg', '/home/pi/Desktop/images/24012025/22/19/image_24012025_22_19_45_10382.jpg', '/home/pi/Desktop/images/24012025/22/19/image_24012025_22_19_56_10326.jpg', '/home/pi/Desktop/images/24012025/22/19/image_24012025_22_20_05_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/19/image_24012025_22_19_15_9359.jpg
/home/pi/Desktop/images/24012025/22/19/image_24012025_22_19_26_10347.jpg
/home/pi/Desktop/images/24012025/22/19/image_24012025_22_19_35_9459.jpg
/home/pi/Desktop/images/24012025/22/19/image_24012025_22_19_45_10382.jpg
/home/pi/Desktop/images/24012025/22/19/image_24012025_22_19_56_10326.jpg
/home/pi/Desktop/images/24012025/22/19/image_24012025_22_20_05_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":["1332637897","1332637879","1332637867","1332637861","1332637872","1332637902"],"photo_ids_order":["1332637861","1332637867","1332637872","1332637879","1332637897","1332637902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f6d67a372711f7af69baee0b5d50995b.jpg","text":"TemporaryFile(/tmp/multipartBody6878368482003852325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153294649,"filename":"image_24012025_22_19_56_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/29/bdc273b24141d64036211a0bcc0776d5.jpg","text":"TemporaryFile(/tmp/multipartBody8526436059912534653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153294649,"filename":"image_24012025_22_19_45_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/29/d2a32dc427c039e140f779fbeaeb518e.jpg","text":"TemporaryFile(/tmp/multipartBody419686844941318883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153294649,"filename":"image_24012025_22_19_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/29/cdc7f52fca35fe7d4146431eadbf812a.jpg","text":"TemporaryFile(/tmp/multipartBody5435316183381342966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153294649,"filename":"image_24012025_22_19_15_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/29/a229a806189e2278642de265c23519df.jpg","text":"TemporaryFile(/tmp/multipartBody5686866034453596195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153294649,"filename":"image_24012025_22_19_35_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/29/89551e4f4c7b3daf8b5928c2b53bd85f.jpg","text":"TemporaryFile(/tmp/multipartBody6594849015934915503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153294649,"filename":"image_24012025_22_20_05_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332637872","file1":"1332637867","file0":"1332637861","file4":"1332637897","file5":"1332637902","file3":"1332637879"},"map_files_photo_id_array":[{"photo_id":"1332637902","filename":"file5"},{"photo_id":"1332637872","filename":"file2"},{"photo_id":"1332637897","filename":"file4"},{"photo_id":"1332637867","filename":"file1"},{"photo_id":"1332637861","filename":"file0"},{"photo_id":"1332637879","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332637897":["hashtag1","hashtag2"]},{"1332637879":["hashtag1","hashtag2"]},{"1332637867":["hashtag1","hashtag2"]},{"1332637861":["hashtag1","hashtag2"]},{"1332637872":["hashtag1","hashtag2"]},{"1332637902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332637897, 1332637879, 1332637867, 1332637861, 1332637872, 1332637902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55913329124451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:21:32.782181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_16_10410.jpg', '/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_25_9431.jpg', '/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_35_10373.jpg', '/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_46_10465.jpg', '/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_55_9330.jpg', '/home/pi/Desktop/images/24012025/22/20/image_24012025_22_21_06_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_16_10410.jpg
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_25_9431.jpg
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_35_10373.jpg
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_46_10465.jpg
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_55_9330.jpg
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_21_06_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: 1.7063684463500977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 13:21:42.830055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_16_10410.jpg', '/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_25_9431.jpg', '/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_35_10373.jpg', '/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_46_10465.jpg', '/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_55_9330.jpg', '/home/pi/Desktop/images/24012025/22/20/image_24012025_22_21_06_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_16_10410.jpg
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_25_9431.jpg
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_35_10373.jpg
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_46_10465.jpg
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_20_55_9330.jpg
/home/pi/Desktop/images/24012025/22/20/image_24012025_22_21_06_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":["1332637975","1332637990","1332638002","1332637986","1332638010","1332638015"],"photo_ids_order":["1332637975","1332637986","1332637990","1332638002","1332638010","1332638015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a16035f1a24e2d7c3f1e6b304df1796c.jpg","text":"TemporaryFile(/tmp/multipartBody2598825361631196094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153364026,"filename":"image_24012025_22_20_16_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/29/04723d5dc7afe99060389e09c18058f8.jpg","text":"TemporaryFile(/tmp/multipartBody23056998269181802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153364026,"filename":"image_24012025_22_20_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/29/c30fca5c1b4df58c23ccdd7e44706491.jpg","text":"TemporaryFile(/tmp/multipartBody8087697840510013134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153364026,"filename":"image_24012025_22_20_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/29/a8aab5257a0d1a1bdd94d01568da5384.jpg","text":"TemporaryFile(/tmp/multipartBody1553092153515315324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153364026,"filename":"image_24012025_22_20_25_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/29/ac39fba6034a81b45bb0d8f42a1a70b6.jpg","text":"TemporaryFile(/tmp/multipartBody1783621088929220620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153364026,"filename":"image_24012025_22_20_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/29/18311fb19ced5a2b7e6c1a3525224c67.jpg","text":"TemporaryFile(/tmp/multipartBody6852053786556315837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153364026,"filename":"image_24012025_22_21_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332637990","file1":"1332637986","file0":"1332637975","file4":"1332638010","file5":"1332638015","file3":"1332638002"},"map_files_photo_id_array":[{"photo_id":"1332638015","filename":"file5"},{"photo_id":"1332637990","filename":"file2"},{"photo_id":"1332638010","filename":"file4"},{"photo_id":"1332637986","filename":"file1"},{"photo_id":"1332637975","filename":"file0"},{"photo_id":"1332638002","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332637975":["hashtag1","hashtag2"]},{"1332637990":["hashtag1","hashtag2"]},{"1332638002":["hashtag1","hashtag2"]},{"1332637986":["hashtag1","hashtag2"]},{"1332638010":["hashtag1","hashtag2"]},{"1332638015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332637975, 1332637990, 1332638002, 1332637986, 1332638010, 1332638015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1903555393219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:22:32.877908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/21/image_24012025_22_21_16_10380.jpg', '/home/pi/Desktop/images/24012025/22/21/image_24012025_22_21_25_9341.jpg', '/home/pi/Desktop/images/24012025/22/21/image_24012025_22_21_36_10359.jpg', '/home/pi/Desktop/images/24012025/22/21/image_24012025_22_21_55_10357.jpg', '/home/pi/Desktop/images/24012025/22/21/image_24012025_22_22_06_10449.jpg', '/home/pi/Desktop/images/24012025/22/22/image_24012025_22_22_15_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/21/image_24012025_22_21_16_10380.jpg
/home/pi/Desktop/images/24012025/22/21/image_24012025_22_21_25_9341.jpg
/home/pi/Desktop/images/24012025/22/21/image_24012025_22_21_36_10359.jpg
/home/pi/Desktop/images/24012025/22/21/image_24012025_22_21_55_10357.jpg
/home/pi/Desktop/images/24012025/22/21/image_24012025_22_22_06_10449.jpg
/home/pi/Desktop/images/24012025/22/22/image_24012025_22_22_15_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":["1332638074","1332638068","1332638076","1332638049","1332638037","1332638072"],"photo_ids_order":["1332638037","1332638049","1332638068","1332638072","1332638074","1332638076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/72cf54f801d6cfc6fe59167e1f8ca149.jpg","text":"TemporaryFile(/tmp/multipartBody5019712884695405758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153414954,"filename":"image_24012025_22_22_06_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/29/5f8aa66a0c3ea4788011816df6bf7701.jpg","text":"TemporaryFile(/tmp/multipartBody6166387916141530269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153414954,"filename":"image_24012025_22_21_36_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/29/73696be04a2e9260fcbbc047a421d361.jpg","text":"TemporaryFile(/tmp/multipartBody7462402468010828624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153414954,"filename":"image_24012025_22_22_15_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/29/1097f7420834c28abd8f2f2422e291f1.jpg","text":"TemporaryFile(/tmp/multipartBody130877505970257038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153414954,"filename":"image_24012025_22_21_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/29/b06df5efcd2feeaa72c36edfe1916f35.jpg","text":"TemporaryFile(/tmp/multipartBody6201987834971173435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153414954,"filename":"image_24012025_22_21_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/29/5509703ffc2edbae610b0ff0964b74b2.jpg","text":"TemporaryFile(/tmp/multipartBody3084931566739752077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153414954,"filename":"image_24012025_22_21_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332638068","file1":"1332638049","file0":"1332638037","file4":"1332638074","file5":"1332638076","file3":"1332638072"},"map_files_photo_id_array":[{"photo_id":"1332638076","filename":"file5"},{"photo_id":"1332638068","filename":"file2"},{"photo_id":"1332638074","filename":"file4"},{"photo_id":"1332638049","filename":"file1"},{"photo_id":"1332638037","filename":"file0"},{"photo_id":"1332638072","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332638074":["hashtag1","hashtag2"]},{"1332638068":["hashtag1","hashtag2"]},{"1332638076":["hashtag1","hashtag2"]},{"1332638049":["hashtag1","hashtag2"]},{"1332638037":["hashtag1","hashtag2"]},{"1332638072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332638074, 1332638068, 1332638076, 1332638049, 1332638037, 1332638072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2073335647583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:23:33.209863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/22/image_24012025_22_22_26_10345.jpg', '/home/pi/Desktop/images/24012025/22/22/image_24012025_22_22_35_9465.jpg', '/home/pi/Desktop/images/24012025/22/22/image_24012025_22_22_45_10346.jpg', '/home/pi/Desktop/images/24012025/22/22/image_24012025_22_22_56_10342.jpg', '/home/pi/Desktop/images/24012025/22/22/image_24012025_22_23_05_9342.jpg', '/home/pi/Desktop/images/24012025/22/23/image_24012025_22_23_15_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/22/image_24012025_22_22_26_10345.jpg
/home/pi/Desktop/images/24012025/22/22/image_24012025_22_22_35_9465.jpg
/home/pi/Desktop/images/24012025/22/22/image_24012025_22_22_45_10346.jpg
/home/pi/Desktop/images/24012025/22/22/image_24012025_22_22_56_10342.jpg
/home/pi/Desktop/images/24012025/22/22/image_24012025_22_23_05_9342.jpg
/home/pi/Desktop/images/24012025/22/23/image_24012025_22_23_15_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":["1332638149","1332638136","1332638145","1332638153","1332638132","1332638141"],"photo_ids_order":["1332638132","1332638136","1332638141","1332638145","1332638149","1332638153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a482367a000fe06857b56390b2ce0f10.jpg","text":"TemporaryFile(/tmp/multipartBody8631162581016051493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153475294,"filename":"image_24012025_22_23_05_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/29/d7a698e43d6a8ae897addb6e6ad65fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6871589699549809690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153475294,"filename":"image_24012025_22_22_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/29/e74cc983b39c104ede49d20e16843f81.jpg","text":"TemporaryFile(/tmp/multipartBody1922744926128518733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153475294,"filename":"image_24012025_22_22_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/29/3dc3833dd308b1679b563fb8debdf6d5.jpg","text":"TemporaryFile(/tmp/multipartBody1641794190628669676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153475294,"filename":"image_24012025_22_23_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/29/6353d5def327208b50daabea881b2961.jpg","text":"TemporaryFile(/tmp/multipartBody7673657909174400082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153475294,"filename":"image_24012025_22_22_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/29/dd2b41702698873e0e73b73a1dad0683.jpg","text":"TemporaryFile(/tmp/multipartBody7853129945930562700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153475294,"filename":"image_24012025_22_22_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332638141","file1":"1332638136","file0":"1332638132","file4":"1332638149","file5":"1332638153","file3":"1332638145"},"map_files_photo_id_array":[{"photo_id":"1332638153","filename":"file5"},{"photo_id":"1332638141","filename":"file2"},{"photo_id":"1332638149","filename":"file4"},{"photo_id":"1332638136","filename":"file1"},{"photo_id":"1332638132","filename":"file0"},{"photo_id":"1332638145","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332638149":["hashtag1","hashtag2"]},{"1332638136":["hashtag1","hashtag2"]},{"1332638145":["hashtag1","hashtag2"]},{"1332638153":["hashtag1","hashtag2"]},{"1332638132":["hashtag1","hashtag2"]},{"1332638141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332638149, 1332638136, 1332638145, 1332638153, 1332638132, 1332638141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00963377952576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:24:32.373035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/23/image_24012025_22_23_35_9355.jpg', '/home/pi/Desktop/images/24012025/22/23/image_24012025_22_23_46_10348.jpg', '/home/pi/Desktop/images/24012025/22/23/image_24012025_22_23_56_10359.jpg', '/home/pi/Desktop/images/24012025/22/23/image_24012025_22_24_05_9447.jpg', '/home/pi/Desktop/images/24012025/22/24/image_24012025_22_24_16_10359.jpg', '/home/pi/Desktop/images/24012025/22/24/image_24012025_22_24_25_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/23/image_24012025_22_23_35_9355.jpg
/home/pi/Desktop/images/24012025/22/23/image_24012025_22_23_46_10348.jpg
/home/pi/Desktop/images/24012025/22/23/image_24012025_22_23_56_10359.jpg
/home/pi/Desktop/images/24012025/22/23/image_24012025_22_24_05_9447.jpg
/home/pi/Desktop/images/24012025/22/24/image_24012025_22_24_16_10359.jpg
/home/pi/Desktop/images/24012025/22/24/image_24012025_22_24_25_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":["1332638194","1332638200","1332638190","1332638184","1332638205","1332638180"],"photo_ids_order":["1332638180","1332638184","1332638190","1332638194","1332638200","1332638205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0320c46663ac092e4a1efe1342f0a4d1.jpg","text":"TemporaryFile(/tmp/multipartBody4362316027024148184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153534466,"filename":"image_24012025_22_24_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/29/9b4fa528d2e34e8f215f64e09ca49b56.jpg","text":"TemporaryFile(/tmp/multipartBody2191451732905575148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153534466,"filename":"image_24012025_22_24_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/29/ab24785decb993054e1c88ae5f18006d.jpg","text":"TemporaryFile(/tmp/multipartBody19940941443395167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153534466,"filename":"image_24012025_22_23_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/29/e793190f2d40a5bb92ce4d74675be1e9.jpg","text":"TemporaryFile(/tmp/multipartBody1556682663639780550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153534466,"filename":"image_24012025_22_23_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/29/20f3ff439a56bb15eb27c804ffe3c592.jpg","text":"TemporaryFile(/tmp/multipartBody2930282506534138707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153534466,"filename":"image_24012025_22_24_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/29/43445efe69d52e0ca9b2574e05b5523c.jpg","text":"TemporaryFile(/tmp/multipartBody550192663586326341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153534466,"filename":"image_24012025_22_23_35_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332638190","file1":"1332638184","file0":"1332638180","file4":"1332638200","file5":"1332638205","file3":"1332638194"},"map_files_photo_id_array":[{"photo_id":"1332638205","filename":"file5"},{"photo_id":"1332638190","filename":"file2"},{"photo_id":"1332638200","filename":"file4"},{"photo_id":"1332638184","filename":"file1"},{"photo_id":"1332638180","filename":"file0"},{"photo_id":"1332638194","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332638194":["hashtag1","hashtag2"]},{"1332638200":["hashtag1","hashtag2"]},{"1332638190":["hashtag1","hashtag2"]},{"1332638184":["hashtag1","hashtag2"]},{"1332638205":["hashtag1","hashtag2"]},{"1332638180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332638194, 1332638200, 1332638190, 1332638184, 1332638205, 1332638180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.45122051239014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:25:32.531884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/24/image_24012025_22_24_35_10366.jpg', '/home/pi/Desktop/images/24012025/22/24/image_24012025_22_24_46_10429.jpg', '/home/pi/Desktop/images/24012025/22/24/image_24012025_22_24_55_9355.jpg', '/home/pi/Desktop/images/24012025/22/24/image_24012025_22_25_06_10416.jpg', '/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_15_9350.jpg', '/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_25_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/24/image_24012025_22_24_35_10366.jpg
/home/pi/Desktop/images/24012025/22/24/image_24012025_22_24_46_10429.jpg
/home/pi/Desktop/images/24012025/22/24/image_24012025_22_24_55_9355.jpg
/home/pi/Desktop/images/24012025/22/24/image_24012025_22_25_06_10416.jpg
/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_15_9350.jpg
/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_25_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":["1332638263","1332638257","1332638224","1332638229","1332638267","1332638234"],"photo_ids_order":["1332638224","1332638229","1332638234","1332638257","1332638263","1332638267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/592d4741831e511f8d5d3bd6e8f6055f.jpg","text":"TemporaryFile(/tmp/multipartBody3023909860717099722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153594636,"filename":"image_24012025_22_25_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/29/1da1d303d15b4d6c4fbf5f376cd257d9.jpg","text":"TemporaryFile(/tmp/multipartBody8419302371902061649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153594636,"filename":"image_24012025_22_25_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/29/a597306226ff2d05bd64e9470c6c3b96.jpg","text":"TemporaryFile(/tmp/multipartBody452559577396576249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153594636,"filename":"image_24012025_22_24_35_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/29/de8b0138b567f91f3a0dfa156146bbdf.jpg","text":"TemporaryFile(/tmp/multipartBody210705848973672966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153594636,"filename":"image_24012025_22_24_46_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/29/8dcc471585b5129c29446975531f4073.jpg","text":"TemporaryFile(/tmp/multipartBody1422643203032632041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153594636,"filename":"image_24012025_22_25_25_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/29/64f749c39fa02a3534751d5ce4bcd1d8.jpg","text":"TemporaryFile(/tmp/multipartBody4546635249240079933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153594636,"filename":"image_24012025_22_24_55_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332638234","file1":"1332638229","file0":"1332638224","file4":"1332638263","file5":"1332638267","file3":"1332638257"},"map_files_photo_id_array":[{"photo_id":"1332638267","filename":"file5"},{"photo_id":"1332638234","filename":"file2"},{"photo_id":"1332638263","filename":"file4"},{"photo_id":"1332638229","filename":"file1"},{"photo_id":"1332638224","filename":"file0"},{"photo_id":"1332638257","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332638263":["hashtag1","hashtag2"]},{"1332638257":["hashtag1","hashtag2"]},{"1332638224":["hashtag1","hashtag2"]},{"1332638229":["hashtag1","hashtag2"]},{"1332638267":["hashtag1","hashtag2"]},{"1332638234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332638263, 1332638257, 1332638224, 1332638229, 1332638267, 1332638234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.97507929801941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:26:32.746520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_36_10399.jpg', '/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_45_9345.jpg', '/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_56_10367.jpg', '/home/pi/Desktop/images/24012025/22/25/image_24012025_22_26_06_10361.jpg', '/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_15_9324.jpg', '/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_35_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_36_10399.jpg
/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_45_9345.jpg
/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_56_10367.jpg
/home/pi/Desktop/images/24012025/22/25/image_24012025_22_26_06_10361.jpg
/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_15_9324.jpg
/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_35_9422.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.7111780643463135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 13:26:42.737455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_36_10399.jpg', '/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_45_9345.jpg', '/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_56_10367.jpg', '/home/pi/Desktop/images/24012025/22/25/image_24012025_22_26_06_10361.jpg', '/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_15_9324.jpg', '/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_35_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_36_10399.jpg
/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_45_9345.jpg
/home/pi/Desktop/images/24012025/22/25/image_24012025_22_25_56_10367.jpg
/home/pi/Desktop/images/24012025/22/25/image_24012025_22_26_06_10361.jpg
/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_15_9324.jpg
/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_35_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332638443","1332638437","1332638431","1332638583","1332638448","1332638453"],"photo_ids_order":["1332638431","1332638437","1332638443","1332638448","1332638453","1332638583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b8420ab19f16afd2359bc8b8239104f7.jpg","text":"TemporaryFile(/tmp/multipartBody8466337567697081429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153663943,"filename":"image_24012025_22_25_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/29/1c9af9dec126c274230e08b2193836de.jpg","text":"TemporaryFile(/tmp/multipartBody1553038675340515854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153663943,"filename":"image_24012025_22_25_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/29/e7246bd065e4cdb6a7f2a990f44970eb.jpg","text":"TemporaryFile(/tmp/multipartBody8385117211155128886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153663943,"filename":"image_24012025_22_25_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/29/cc8df39007d9b11d43bddb8eddb8d0e8.jpg","text":"TemporaryFile(/tmp/multipartBody7985397102749800819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153663943,"filename":"image_24012025_22_26_35_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/29/1997c50ec307c7790821d23ce069fb4f.jpg","text":"TemporaryFile(/tmp/multipartBody4125865052544987024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153663943,"filename":"image_24012025_22_26_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/29/5a7d2a1bd6223c2d1d0e593134b8b63e.jpg","text":"TemporaryFile(/tmp/multipartBody8837074178120764575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153663943,"filename":"image_24012025_22_26_15_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332638443","file1":"1332638437","file0":"1332638431","file4":"1332638453","file5":"1332638583","file3":"1332638448"},"map_files_photo_id_array":[{"photo_id":"1332638583","filename":"file5"},{"photo_id":"1332638443","filename":"file2"},{"photo_id":"1332638453","filename":"file4"},{"photo_id":"1332638437","filename":"file1"},{"photo_id":"1332638431","filename":"file0"},{"photo_id":"1332638448","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332638443":["hashtag1","hashtag2"]},{"1332638437":["hashtag1","hashtag2"]},{"1332638431":["hashtag1","hashtag2"]},{"1332638583":["hashtag1","hashtag2"]},{"1332638448":["hashtag1","hashtag2"]},{"1332638453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332638443, 1332638437, 1332638431, 1332638583, 1332638448, 1332638453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.026623249053955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:27:32.929102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_45_10363.jpg', '/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_56_10441.jpg', '/home/pi/Desktop/images/24012025/22/26/image_24012025_22_27_05_9435.jpg', '/home/pi/Desktop/images/24012025/22/27/image_24012025_22_27_16_10373.jpg', '/home/pi/Desktop/images/24012025/22/27/image_24012025_22_27_25_9428.jpg', '/home/pi/Desktop/images/24012025/22/27/image_24012025_22_27_46_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_45_10363.jpg
/home/pi/Desktop/images/24012025/22/26/image_24012025_22_26_56_10441.jpg
/home/pi/Desktop/images/24012025/22/26/image_24012025_22_27_05_9435.jpg
/home/pi/Desktop/images/24012025/22/27/image_24012025_22_27_16_10373.jpg
/home/pi/Desktop/images/24012025/22/27/image_24012025_22_27_25_9428.jpg
/home/pi/Desktop/images/24012025/22/27/image_24012025_22_27_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":["1332638662","1332638737","1332638670","1332638733","1332638666","1332638741"],"photo_ids_order":["1332638662","1332638666","1332638670","1332638733","1332638737","1332638741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/281e66785023f5fd0cdb84c77bffce27.jpg","text":"TemporaryFile(/tmp/multipartBody2931015772303773197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153715007,"filename":"image_24012025_22_26_45_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/29/ab810697d92b386e671f2fa30526d575.jpg","text":"TemporaryFile(/tmp/multipartBody4737596581426430701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153715007,"filename":"image_24012025_22_27_25_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/29/0e7e93ce58f737d1603eb08c29f0c4a0.jpg","text":"TemporaryFile(/tmp/multipartBody5936729847713496794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153715007,"filename":"image_24012025_22_27_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/29/1f6386a2d6c6a77f58cd1c2e52798f42.jpg","text":"TemporaryFile(/tmp/multipartBody2166741811513687239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153715007,"filename":"image_24012025_22_27_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/29/f33d137c7734ebe93ee089938e353e29.jpg","text":"TemporaryFile(/tmp/multipartBody8142724260404337372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153715007,"filename":"image_24012025_22_26_56_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/29/cee2ca47f31a3daddf1fbf74f7b9b4c9.jpg","text":"TemporaryFile(/tmp/multipartBody488542053467492802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153715007,"filename":"image_24012025_22_27_46_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332638670","file1":"1332638666","file0":"1332638662","file4":"1332638737","file5":"1332638741","file3":"1332638733"},"map_files_photo_id_array":[{"photo_id":"1332638741","filename":"file5"},{"photo_id":"1332638670","filename":"file2"},{"photo_id":"1332638737","filename":"file4"},{"photo_id":"1332638666","filename":"file1"},{"photo_id":"1332638662","filename":"file0"},{"photo_id":"1332638733","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332638662":["hashtag1","hashtag2"]},{"1332638737":["hashtag1","hashtag2"]},{"1332638670":["hashtag1","hashtag2"]},{"1332638733":["hashtag1","hashtag2"]},{"1332638666":["hashtag1","hashtag2"]},{"1332638741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332638662, 1332638737, 1332638670, 1332638733, 1332638666, 1332638741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93070578575134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:28:33.173977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/27/image_24012025_22_27_55_9367.jpg', '/home/pi/Desktop/images/24012025/22/27/image_24012025_22_28_06_10349.jpg', '/home/pi/Desktop/images/24012025/22/28/image_24012025_22_28_15_9433.jpg', '/home/pi/Desktop/images/24012025/22/28/image_24012025_22_28_25_10356.jpg', '/home/pi/Desktop/images/24012025/22/28/image_24012025_22_28_36_10402.jpg', '/home/pi/Desktop/images/24012025/22/29/image_24012025_22_29_15_9392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/27/image_24012025_22_27_55_9367.jpg
/home/pi/Desktop/images/24012025/22/27/image_24012025_22_28_06_10349.jpg
/home/pi/Desktop/images/24012025/22/28/image_24012025_22_28_15_9433.jpg
/home/pi/Desktop/images/24012025/22/28/image_24012025_22_28_25_10356.jpg
/home/pi/Desktop/images/24012025/22/28/image_24012025_22_28_36_10402.jpg
/home/pi/Desktop/images/24012025/22/29/image_24012025_22_29_15_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":["1332638854","1332638805","1332638867","1332638816","1332638819","1332638810"],"photo_ids_order":["1332638805","1332638810","1332638816","1332638819","1332638854","1332638867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2f17479cfc5b5b571a9480bdfc3c109a.jpg","text":"TemporaryFile(/tmp/multipartBody8377200788035138302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153775292,"filename":"image_24012025_22_28_36_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/29/3704f31288236d87669a2bbc3072d45c.jpg","text":"TemporaryFile(/tmp/multipartBody8701151901483038100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153775292,"filename":"image_24012025_22_27_55_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/29/683aeb3e4831bf7e4ac1871c809bb985.jpg","text":"TemporaryFile(/tmp/multipartBody4115871903940779464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153775292,"filename":"image_24012025_22_29_15_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/29/8ade4189125adbb3755516146eba5374.jpg","text":"TemporaryFile(/tmp/multipartBody3953115318230792685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153775292,"filename":"image_24012025_22_28_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/29/d11f3e9e6b8bcffe7c9c74abc1643920.jpg","text":"TemporaryFile(/tmp/multipartBody4233741636014792356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153775292,"filename":"image_24012025_22_28_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/29/2326e3a641fc825e1728a2aabfc4a2e6.jpg","text":"TemporaryFile(/tmp/multipartBody1527787596455503918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153775292,"filename":"image_24012025_22_28_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332638816","file1":"1332638810","file0":"1332638805","file4":"1332638854","file5":"1332638867","file3":"1332638819"},"map_files_photo_id_array":[{"photo_id":"1332638867","filename":"file5"},{"photo_id":"1332638816","filename":"file2"},{"photo_id":"1332638854","filename":"file4"},{"photo_id":"1332638810","filename":"file1"},{"photo_id":"1332638805","filename":"file0"},{"photo_id":"1332638819","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332638854":["hashtag1","hashtag2"]},{"1332638805":["hashtag1","hashtag2"]},{"1332638867":["hashtag1","hashtag2"]},{"1332638816":["hashtag1","hashtag2"]},{"1332638819":["hashtag1","hashtag2"]},{"1332638810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332638854, 1332638805, 1332638867, 1332638816, 1332638819, 1332638810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.83256506919861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:29:32.623551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/29/image_24012025_22_29_26_10358.jpg', '/home/pi/Desktop/images/24012025/22/29/image_24012025_22_29_35_9420.jpg', '/home/pi/Desktop/images/24012025/22/29/image_24012025_22_29_45_10404.jpg', '/home/pi/Desktop/images/24012025/22/29/image_24012025_22_29_56_10454.jpg', '/home/pi/Desktop/images/24012025/22/29/image_24012025_22_30_05_9357.jpg', '/home/pi/Desktop/images/24012025/22/30/image_24012025_22_30_16_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/29/image_24012025_22_29_26_10358.jpg
/home/pi/Desktop/images/24012025/22/29/image_24012025_22_29_35_9420.jpg
/home/pi/Desktop/images/24012025/22/29/image_24012025_22_29_45_10404.jpg
/home/pi/Desktop/images/24012025/22/29/image_24012025_22_29_56_10454.jpg
/home/pi/Desktop/images/24012025/22/29/image_24012025_22_30_05_9357.jpg
/home/pi/Desktop/images/24012025/22/30/image_24012025_22_30_16_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":["1332638944","1332638940","1332638933","1332638927","1332638912","1332638921"],"photo_ids_order":["1332638912","1332638921","1332638927","1332638933","1332638940","1332638944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/270f9fcf2eceb2d9267d3a949b2b881f.jpg","text":"TemporaryFile(/tmp/multipartBody3437019601671839573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153834748,"filename":"image_24012025_22_30_16_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/29/f34e53a8e1ea4352b84110dd2a57db8e.jpg","text":"TemporaryFile(/tmp/multipartBody8176684616449509087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153834748,"filename":"image_24012025_22_30_05_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/29/c5d234e4a9714c96697b7c9a5917f967.jpg","text":"TemporaryFile(/tmp/multipartBody8526829982658352551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153834748,"filename":"image_24012025_22_29_56_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/29/46d88ade32dfdbc9509397ac4ba575e3.jpg","text":"TemporaryFile(/tmp/multipartBody3690635825732913363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153834748,"filename":"image_24012025_22_29_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/29/ef392a3a0013e6bd3369d23ce4dfa019.jpg","text":"TemporaryFile(/tmp/multipartBody5825749461396672346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153834748,"filename":"image_24012025_22_29_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/29/efd61c82891eeace1af034d7f54acd5f.jpg","text":"TemporaryFile(/tmp/multipartBody9005683353941843930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153834748,"filename":"image_24012025_22_29_35_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332638927","file1":"1332638921","file0":"1332638912","file4":"1332638940","file5":"1332638944","file3":"1332638933"},"map_files_photo_id_array":[{"photo_id":"1332638944","filename":"file5"},{"photo_id":"1332638927","filename":"file2"},{"photo_id":"1332638940","filename":"file4"},{"photo_id":"1332638921","filename":"file1"},{"photo_id":"1332638912","filename":"file0"},{"photo_id":"1332638933","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332638944":["hashtag1","hashtag2"]},{"1332638940":["hashtag1","hashtag2"]},{"1332638933":["hashtag1","hashtag2"]},{"1332638927":["hashtag1","hashtag2"]},{"1332638912":["hashtag1","hashtag2"]},{"1332638921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332638944, 1332638940, 1332638933, 1332638927, 1332638912, 1332638921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34070062637329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:30:32.877043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/30/image_24012025_22_30_25_9448.jpg', '/home/pi/Desktop/images/24012025/22/30/image_24012025_22_30_35_10236.jpg', '/home/pi/Desktop/images/24012025/22/30/image_24012025_22_30_46_10489.jpg', '/home/pi/Desktop/images/24012025/22/30/image_24012025_22_30_55_9340.jpg', '/home/pi/Desktop/images/24012025/22/30/image_24012025_22_31_06_10356.jpg', '/home/pi/Desktop/images/24012025/22/31/image_24012025_22_31_16_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/30/image_24012025_22_30_25_9448.jpg
/home/pi/Desktop/images/24012025/22/30/image_24012025_22_30_35_10236.jpg
/home/pi/Desktop/images/24012025/22/30/image_24012025_22_30_46_10489.jpg
/home/pi/Desktop/images/24012025/22/30/image_24012025_22_30_55_9340.jpg
/home/pi/Desktop/images/24012025/22/30/image_24012025_22_31_06_10356.jpg
/home/pi/Desktop/images/24012025/22/31/image_24012025_22_31_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":["1332639028","1332639018","1332639023","1332639011","1332639005","1332638999"],"photo_ids_order":["1332638999","1332639005","1332639011","1332639018","1332639023","1332639028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/610cc3181e2f14d435ea3c79835994aa.jpg","text":"TemporaryFile(/tmp/multipartBody3517230806369991996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153894969,"filename":"image_24012025_22_31_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/29/3cf30e65b50466e7224886ec3de68491.jpg","text":"TemporaryFile(/tmp/multipartBody1144296938246925411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153894969,"filename":"image_24012025_22_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/29/ac2655cca843afdd81e9ba66d79ec205.jpg","text":"TemporaryFile(/tmp/multipartBody8724036292109569197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153894969,"filename":"image_24012025_22_31_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/29/ebb1606c3676634399989775ff354612.jpg","text":"TemporaryFile(/tmp/multipartBody5535869024113605146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153894969,"filename":"image_24012025_22_30_46_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/29/70024295880bcd462f89eb7bc37566e2.jpg","text":"TemporaryFile(/tmp/multipartBody8310587879486946483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153894969,"filename":"image_24012025_22_30_35_10236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a6546a4dc45547dbf545f552a5b75cdb.jpg","text":"TemporaryFile(/tmp/multipartBody7336477989953790686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153894969,"filename":"image_24012025_22_30_25_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332639011","file1":"1332639005","file0":"1332638999","file4":"1332639023","file5":"1332639028","file3":"1332639018"},"map_files_photo_id_array":[{"photo_id":"1332639028","filename":"file5"},{"photo_id":"1332639011","filename":"file2"},{"photo_id":"1332639023","filename":"file4"},{"photo_id":"1332639005","filename":"file1"},{"photo_id":"1332638999","filename":"file0"},{"photo_id":"1332639018","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332639028":["hashtag1","hashtag2"]},{"1332639018":["hashtag1","hashtag2"]},{"1332639023":["hashtag1","hashtag2"]},{"1332639011":["hashtag1","hashtag2"]},{"1332639005":["hashtag1","hashtag2"]},{"1332638999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332639028, 1332639018, 1332639023, 1332639011, 1332639005, 1332638999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.34852194786072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:31:33.153335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/31/image_24012025_22_31_25_9353.jpg', '/home/pi/Desktop/images/24012025/22/31/image_24012025_22_31_36_10365.jpg', '/home/pi/Desktop/images/24012025/22/31/image_24012025_22_31_45_9346.jpg', '/home/pi/Desktop/images/24012025/22/31/image_24012025_22_31_55_10342.jpg', '/home/pi/Desktop/images/24012025/22/31/image_24012025_22_32_06_10354.jpg', '/home/pi/Desktop/images/24012025/22/32/image_24012025_22_32_15_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/31/image_24012025_22_31_25_9353.jpg
/home/pi/Desktop/images/24012025/22/31/image_24012025_22_31_36_10365.jpg
/home/pi/Desktop/images/24012025/22/31/image_24012025_22_31_45_9346.jpg
/home/pi/Desktop/images/24012025/22/31/image_24012025_22_31_55_10342.jpg
/home/pi/Desktop/images/24012025/22/31/image_24012025_22_32_06_10354.jpg
/home/pi/Desktop/images/24012025/22/32/image_24012025_22_32_15_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":["1332639084","1332639168","1332639068","1332639077","1332639062","1332639088"],"photo_ids_order":["1332639062","1332639068","1332639077","1332639084","1332639088","1332639168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/95b998e60b171d2c0ad5f81c72c29f22.jpg","text":"TemporaryFile(/tmp/multipartBody799287254721412180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153955267,"filename":"image_24012025_22_31_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/29/2fb8d071e4561881649394b39648209c.jpg","text":"TemporaryFile(/tmp/multipartBody2653061294245006165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153955267,"filename":"image_24012025_22_32_15_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/29/86138b802a77b5e0bb99f88cc0806b44.jpg","text":"TemporaryFile(/tmp/multipartBody4950267703004733099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153955267,"filename":"image_24012025_22_31_36_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/29/1b8284a265e38089e230fff910b0715a.jpg","text":"TemporaryFile(/tmp/multipartBody5938027351621286532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153955267,"filename":"image_24012025_22_31_45_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/29/dd9f3df7e72cafc268fc300ce2eb84d6.jpg","text":"TemporaryFile(/tmp/multipartBody2692095591581153054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153955267,"filename":"image_24012025_22_31_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/29/3dd25a3a9ce23587dbd1eece54336e1f.jpg","text":"TemporaryFile(/tmp/multipartBody5630661497974522704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738153955267,"filename":"image_24012025_22_32_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332639077","file1":"1332639068","file0":"1332639062","file4":"1332639088","file5":"1332639168","file3":"1332639084"},"map_files_photo_id_array":[{"photo_id":"1332639168","filename":"file5"},{"photo_id":"1332639077","filename":"file2"},{"photo_id":"1332639088","filename":"file4"},{"photo_id":"1332639068","filename":"file1"},{"photo_id":"1332639062","filename":"file0"},{"photo_id":"1332639084","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332639084":["hashtag1","hashtag2"]},{"1332639168":["hashtag1","hashtag2"]},{"1332639068":["hashtag1","hashtag2"]},{"1332639077":["hashtag1","hashtag2"]},{"1332639062":["hashtag1","hashtag2"]},{"1332639088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332639084, 1332639168, 1332639068, 1332639077, 1332639062, 1332639088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.89950394630432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:32:32.362173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/32/image_24012025_22_32_36_10402.jpg', '/home/pi/Desktop/images/24012025/22/32/image_24012025_22_32_45_9399.jpg', '/home/pi/Desktop/images/24012025/22/32/image_24012025_22_32_56_10382.jpg', '/home/pi/Desktop/images/24012025/22/32/image_24012025_22_33_05_9459.jpg', '/home/pi/Desktop/images/24012025/22/33/image_24012025_22_33_15_10404.jpg', '/home/pi/Desktop/images/24012025/22/34/image_24012025_22_34_25_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/32/image_24012025_22_32_36_10402.jpg
/home/pi/Desktop/images/24012025/22/32/image_24012025_22_32_45_9399.jpg
/home/pi/Desktop/images/24012025/22/32/image_24012025_22_32_56_10382.jpg
/home/pi/Desktop/images/24012025/22/32/image_24012025_22_33_05_9459.jpg
/home/pi/Desktop/images/24012025/22/33/image_24012025_22_33_15_10404.jpg
/home/pi/Desktop/images/24012025/22/34/image_24012025_22_34_25_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":["1332639355","1332639349","1332639374","1332639377","1332639385","1332639370"],"photo_ids_order":["1332639349","1332639355","1332639370","1332639374","1332639377","1332639385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/547aaa5eb2c9318a0dc6dddd771f80a4.jpg","text":"TemporaryFile(/tmp/multipartBody1332032807655544515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154014477,"filename":"image_24012025_22_32_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/29/7bb68cc38f97703a1b1f748c2176853c.jpg","text":"TemporaryFile(/tmp/multipartBody4281524343491782505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154014477,"filename":"image_24012025_22_32_36_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/29/120a2baf23863295a5a05a1dca7b4653.jpg","text":"TemporaryFile(/tmp/multipartBody4730062820056662733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154014477,"filename":"image_24012025_22_33_05_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/29/0b641a100a699e47411a7cf5992bdc9d.jpg","text":"TemporaryFile(/tmp/multipartBody8770276145096876110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154014477,"filename":"image_24012025_22_33_15_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/29/20da7298c8db45f3b07b96b3489f5e6c.jpg","text":"TemporaryFile(/tmp/multipartBody19442430665753270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154014477,"filename":"image_24012025_22_34_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/29/8a5c3c0d4d8b987b125eb07d29d89d42.jpg","text":"TemporaryFile(/tmp/multipartBody1258946460840586021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154014477,"filename":"image_24012025_22_32_56_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332639370","file1":"1332639355","file0":"1332639349","file4":"1332639377","file5":"1332639385","file3":"1332639374"},"map_files_photo_id_array":[{"photo_id":"1332639385","filename":"file5"},{"photo_id":"1332639370","filename":"file2"},{"photo_id":"1332639377","filename":"file4"},{"photo_id":"1332639355","filename":"file1"},{"photo_id":"1332639349","filename":"file0"},{"photo_id":"1332639374","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332639355":["hashtag1","hashtag2"]},{"1332639349":["hashtag1","hashtag2"]},{"1332639374":["hashtag1","hashtag2"]},{"1332639377":["hashtag1","hashtag2"]},{"1332639385":["hashtag1","hashtag2"]},{"1332639370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332639355, 1332639349, 1332639374, 1332639377, 1332639385, 1332639370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.54851245880127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:33:32.630719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/34/image_24012025_22_34_46_10468.jpg', '/home/pi/Desktop/images/24012025/22/34/image_24012025_22_34_55_9367.jpg', '/home/pi/Desktop/images/24012025/22/34/image_24012025_22_35_06_10337.jpg', '/home/pi/Desktop/images/24012025/22/35/image_24012025_22_36_05_10377.jpg', '/home/pi/Desktop/images/24012025/22/36/image_24012025_22_37_06_10349.jpg', '/home/pi/Desktop/images/24012025/22/37/image_24012025_22_37_55_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/34/image_24012025_22_34_46_10468.jpg
/home/pi/Desktop/images/24012025/22/34/image_24012025_22_34_55_9367.jpg
/home/pi/Desktop/images/24012025/22/34/image_24012025_22_35_06_10337.jpg
/home/pi/Desktop/images/24012025/22/35/image_24012025_22_36_05_10377.jpg
/home/pi/Desktop/images/24012025/22/36/image_24012025_22_37_06_10349.jpg
/home/pi/Desktop/images/24012025/22/37/image_24012025_22_37_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":["1332639505","1332639486","1332639495","1332639458","1332639499","1332639478"],"photo_ids_order":["1332639458","1332639478","1332639486","1332639495","1332639499","1332639505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9a1eab3dea8d05b0470772e396289d09.jpg","text":"TemporaryFile(/tmp/multipartBody7661015621247637574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154074708,"filename":"image_24012025_22_37_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/29/c7485f6298fe16c43bda52e424c81429.jpg","text":"TemporaryFile(/tmp/multipartBody3328673122038258998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154074708,"filename":"image_24012025_22_35_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/29/71e822398c9dbae8d61c9e6e2bff0274.jpg","text":"TemporaryFile(/tmp/multipartBody3557591251549757023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154074708,"filename":"image_24012025_22_36_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/29/e013692a2f14ff76caeca745c7113380.jpg","text":"TemporaryFile(/tmp/multipartBody4426902832599304851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154074708,"filename":"image_24012025_22_34_46_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/29/4caf502c470eb31d6205c553ce052e36.jpg","text":"TemporaryFile(/tmp/multipartBody1280977588289706060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154074708,"filename":"image_24012025_22_37_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/29/35ae67961e0d967e9a97646d0844282c.jpg","text":"TemporaryFile(/tmp/multipartBody6487903283287731609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154074708,"filename":"image_24012025_22_34_55_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332639486","file1":"1332639478","file0":"1332639458","file4":"1332639499","file5":"1332639505","file3":"1332639495"},"map_files_photo_id_array":[{"photo_id":"1332639505","filename":"file5"},{"photo_id":"1332639486","filename":"file2"},{"photo_id":"1332639499","filename":"file4"},{"photo_id":"1332639478","filename":"file1"},{"photo_id":"1332639458","filename":"file0"},{"photo_id":"1332639495","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332639505":["hashtag1","hashtag2"]},{"1332639486":["hashtag1","hashtag2"]},{"1332639495":["hashtag1","hashtag2"]},{"1332639458":["hashtag1","hashtag2"]},{"1332639499":["hashtag1","hashtag2"]},{"1332639478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332639505, 1332639486, 1332639495, 1332639458, 1332639499, 1332639478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.897756576538086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:34:32.787125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/37/image_24012025_22_38_06_10410.jpg', '/home/pi/Desktop/images/24012025/22/38/image_24012025_22_38_35_9437.jpg', '/home/pi/Desktop/images/24012025/22/38/image_24012025_22_38_56_10389.jpg', '/home/pi/Desktop/images/24012025/22/38/image_24012025_22_39_05_9350.jpg', '/home/pi/Desktop/images/24012025/22/40/image_24012025_22_40_25_9362.jpg', '/home/pi/Desktop/images/24012025/22/40/image_24012025_22_40_55_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/37/image_24012025_22_38_06_10410.jpg
/home/pi/Desktop/images/24012025/22/38/image_24012025_22_38_35_9437.jpg
/home/pi/Desktop/images/24012025/22/38/image_24012025_22_38_56_10389.jpg
/home/pi/Desktop/images/24012025/22/38/image_24012025_22_39_05_9350.jpg
/home/pi/Desktop/images/24012025/22/40/image_24012025_22_40_25_9362.jpg
/home/pi/Desktop/images/24012025/22/40/image_24012025_22_40_55_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":["1332639578","1332639563","1332639533","1332639527","1332639521","1332639559"],"photo_ids_order":["1332639521","1332639527","1332639533","1332639559","1332639563","1332639578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5ce78c302a3533cd0b4ce84c456b8fdd.jpg","text":"TemporaryFile(/tmp/multipartBody2489944270765348551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154134883,"filename":"image_24012025_22_40_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/29/c5c61347e93f91a138e8f0774442869b.jpg","text":"TemporaryFile(/tmp/multipartBody2188871200403280239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154134883,"filename":"image_24012025_22_40_25_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/29/ec67ccdb1e92b7f586b832d1c37ccf19.jpg","text":"TemporaryFile(/tmp/multipartBody42953217918756317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154134883,"filename":"image_24012025_22_38_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/29/fb8c088fc8cfdfc43add77f619d25e9c.jpg","text":"TemporaryFile(/tmp/multipartBody6994443710446888035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154134883,"filename":"image_24012025_22_38_35_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/29/3edd91fbe72978ff17c4f46b34240c2d.jpg","text":"TemporaryFile(/tmp/multipartBody259249183314374914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154134883,"filename":"image_24012025_22_38_06_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/29/07465d15c396aedaf14fe3b2ed83a7e0.jpg","text":"TemporaryFile(/tmp/multipartBody3154001748953146796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154134883,"filename":"image_24012025_22_39_05_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332639533","file1":"1332639527","file0":"1332639521","file4":"1332639563","file5":"1332639578","file3":"1332639559"},"map_files_photo_id_array":[{"photo_id":"1332639578","filename":"file5"},{"photo_id":"1332639533","filename":"file2"},{"photo_id":"1332639563","filename":"file4"},{"photo_id":"1332639527","filename":"file1"},{"photo_id":"1332639521","filename":"file0"},{"photo_id":"1332639559","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332639578":["hashtag1","hashtag2"]},{"1332639563":["hashtag1","hashtag2"]},{"1332639533":["hashtag1","hashtag2"]},{"1332639527":["hashtag1","hashtag2"]},{"1332639521":["hashtag1","hashtag2"]},{"1332639559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332639578, 1332639563, 1332639533, 1332639527, 1332639521, 1332639559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86144971847534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:35:32.989993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/40/image_24012025_22_41_06_10349.jpg', '/home/pi/Desktop/images/24012025/22/41/image_24012025_22_41_15_9351.jpg', '/home/pi/Desktop/images/24012025/22/41/image_24012025_22_41_25_10369.jpg', '/home/pi/Desktop/images/24012025/22/41/image_24012025_22_41_36_10355.jpg', '/home/pi/Desktop/images/24012025/22/41/image_24012025_22_41_45_9358.jpg', '/home/pi/Desktop/images/24012025/22/41/image_24012025_22_41_55_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/40/image_24012025_22_41_06_10349.jpg
/home/pi/Desktop/images/24012025/22/41/image_24012025_22_41_15_9351.jpg
/home/pi/Desktop/images/24012025/22/41/image_24012025_22_41_25_10369.jpg
/home/pi/Desktop/images/24012025/22/41/image_24012025_22_41_36_10355.jpg
/home/pi/Desktop/images/24012025/22/41/image_24012025_22_41_45_9358.jpg
/home/pi/Desktop/images/24012025/22/41/image_24012025_22_41_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":["1332639739","1332639733","1332639746","1332639728","1332639722","1332639742"],"photo_ids_order":["1332639722","1332639728","1332639733","1332639739","1332639742","1332639746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aa721704648c7132768fe6f6885f2a41.jpg","text":"TemporaryFile(/tmp/multipartBody2589790181944528546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154195064,"filename":"image_24012025_22_41_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/29/318f2e70cceb2420f7abdaca71884d36.jpg","text":"TemporaryFile(/tmp/multipartBody3704245475802539007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154195064,"filename":"image_24012025_22_41_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/29/a5e9ebabe8e3b6b5480b824e04da6132.jpg","text":"TemporaryFile(/tmp/multipartBody8805348382176301254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154195064,"filename":"image_24012025_22_41_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/29/ade615e6897ccb3fb74adc7a1bd608bd.jpg","text":"TemporaryFile(/tmp/multipartBody5965687892814619599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154195064,"filename":"image_24012025_22_41_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/29/39699d0865bedbf529fae2b23f1bf2e1.jpg","text":"TemporaryFile(/tmp/multipartBody5455844188319199284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154195064,"filename":"image_24012025_22_41_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/29/363b7878901e3935573b0bdcd040036b.jpg","text":"TemporaryFile(/tmp/multipartBody2698496286132702890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154195064,"filename":"image_24012025_22_41_45_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332639733","file1":"1332639728","file0":"1332639722","file4":"1332639742","file5":"1332639746","file3":"1332639739"},"map_files_photo_id_array":[{"photo_id":"1332639746","filename":"file5"},{"photo_id":"1332639733","filename":"file2"},{"photo_id":"1332639742","filename":"file4"},{"photo_id":"1332639728","filename":"file1"},{"photo_id":"1332639722","filename":"file0"},{"photo_id":"1332639739","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332639739":["hashtag1","hashtag2"]},{"1332639733":["hashtag1","hashtag2"]},{"1332639746":["hashtag1","hashtag2"]},{"1332639728":["hashtag1","hashtag2"]},{"1332639722":["hashtag1","hashtag2"]},{"1332639742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332639739, 1332639733, 1332639746, 1332639728, 1332639722, 1332639742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.540416955947876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:36:32.185202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/41/image_24012025_22_42_06_10446.jpg', '/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_15_9332.jpg', '/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_26_10407.jpg', '/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_35_9356.jpg', '/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_45_10340.jpg', '/home/pi/Desktop/images/24012025/22/42/image_24012025_22_43_05_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/41/image_24012025_22_42_06_10446.jpg
/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_15_9332.jpg
/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_26_10407.jpg
/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_35_9356.jpg
/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_45_10340.jpg
/home/pi/Desktop/images/24012025/22/42/image_24012025_22_43_05_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: 1.6907808780670166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 13:36:42.171139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/41/image_24012025_22_42_06_10446.jpg', '/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_15_9332.jpg', '/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_26_10407.jpg', '/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_35_9356.jpg', '/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_45_10340.jpg', '/home/pi/Desktop/images/24012025/22/42/image_24012025_22_43_05_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/41/image_24012025_22_42_06_10446.jpg
/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_15_9332.jpg
/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_26_10407.jpg
/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_35_9356.jpg
/home/pi/Desktop/images/24012025/22/42/image_24012025_22_42_45_10340.jpg
/home/pi/Desktop/images/24012025/22/42/image_24012025_22_43_05_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":["1332640555","1332640563","1332640572","1332640443","1332640559","1332640550"],"photo_ids_order":["1332640443","1332640550","1332640555","1332640559","1332640563","1332640572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0c7217d997b3dc47d5fc3210d3042db5.jpg","text":"TemporaryFile(/tmp/multipartBody6720050533409558574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154263391,"filename":"image_24012025_22_42_26_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/29/fbb83d2a42212900e4b3b14635c0bebe.jpg","text":"TemporaryFile(/tmp/multipartBody8669962284376862233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154263391,"filename":"image_24012025_22_42_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/29/2c487bc69c1283d648d9db9191b33f5c.jpg","text":"TemporaryFile(/tmp/multipartBody450239404498229504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154263391,"filename":"image_24012025_22_43_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/29/a73262aad38ccc132e874021ec756b78.jpg","text":"TemporaryFile(/tmp/multipartBody4191485128003954528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154263391,"filename":"image_24012025_22_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/29/7c1ca1769165276ff329b4e670a3353d.jpg","text":"TemporaryFile(/tmp/multipartBody1452314961145134728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154263391,"filename":"image_24012025_22_42_35_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/29/c8e7ab17f65eddc412698564833682ea.jpg","text":"TemporaryFile(/tmp/multipartBody679548696552908359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154263391,"filename":"image_24012025_22_42_15_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332640555","file1":"1332640550","file0":"1332640443","file4":"1332640563","file5":"1332640572","file3":"1332640559"},"map_files_photo_id_array":[{"photo_id":"1332640572","filename":"file5"},{"photo_id":"1332640555","filename":"file2"},{"photo_id":"1332640563","filename":"file4"},{"photo_id":"1332640550","filename":"file1"},{"photo_id":"1332640443","filename":"file0"},{"photo_id":"1332640559","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332640555":["hashtag1","hashtag2"]},{"1332640563":["hashtag1","hashtag2"]},{"1332640572":["hashtag1","hashtag2"]},{"1332640443":["hashtag1","hashtag2"]},{"1332640559":["hashtag1","hashtag2"]},{"1332640550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332640555, 1332640563, 1332640572, 1332640443, 1332640559, 1332640550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56373882293701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:37:32.509928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/43/image_24012025_22_43_15_10443.jpg', '/home/pi/Desktop/images/24012025/22/43/image_24012025_22_43_25_9513.jpg', '/home/pi/Desktop/images/24012025/22/43/image_24012025_22_43_35_10351.jpg', '/home/pi/Desktop/images/24012025/22/43/image_24012025_22_43_46_10347.jpg', '/home/pi/Desktop/images/24012025/22/43/image_24012025_22_43_55_9339.jpg', '/home/pi/Desktop/images/24012025/22/43/image_24012025_22_44_05_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/43/image_24012025_22_43_15_10443.jpg
/home/pi/Desktop/images/24012025/22/43/image_24012025_22_43_25_9513.jpg
/home/pi/Desktop/images/24012025/22/43/image_24012025_22_43_35_10351.jpg
/home/pi/Desktop/images/24012025/22/43/image_24012025_22_43_46_10347.jpg
/home/pi/Desktop/images/24012025/22/43/image_24012025_22_43_55_9339.jpg
/home/pi/Desktop/images/24012025/22/43/image_24012025_22_44_05_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":["1332640864","1332640873","1332640851","1332640620","1332640868","1332640583"],"photo_ids_order":["1332640583","1332640620","1332640851","1332640864","1332640868","1332640873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a193de78d5634c47715250d891248b08.jpg","text":"TemporaryFile(/tmp/multipartBody4186187202086512392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154314636,"filename":"image_24012025_22_43_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/29/f566a360e618f191b48354177781d062.jpg","text":"TemporaryFile(/tmp/multipartBody2382765237227326477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154314636,"filename":"image_24012025_22_44_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/29/5b26126bc301e2405e1d664438e44797.jpg","text":"TemporaryFile(/tmp/multipartBody490470063306635318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154314636,"filename":"image_24012025_22_43_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/29/46a8720a5b686555eeb71c2ddb9fd633.jpg","text":"TemporaryFile(/tmp/multipartBody2849038260849938054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154314636,"filename":"image_24012025_22_43_25_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/29/7809d85418bb2b69852ddbb03dc6f5a1.jpg","text":"TemporaryFile(/tmp/multipartBody6527126945532092044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154314636,"filename":"image_24012025_22_43_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/29/2b8aabe167736fe7c4fc5a4dd3d15bd5.jpg","text":"TemporaryFile(/tmp/multipartBody6458248683172764568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154314636,"filename":"image_24012025_22_43_15_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332640851","file1":"1332640620","file0":"1332640583","file4":"1332640868","file5":"1332640873","file3":"1332640864"},"map_files_photo_id_array":[{"photo_id":"1332640873","filename":"file5"},{"photo_id":"1332640851","filename":"file2"},{"photo_id":"1332640868","filename":"file4"},{"photo_id":"1332640620","filename":"file1"},{"photo_id":"1332640583","filename":"file0"},{"photo_id":"1332640864","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332640864":["hashtag1","hashtag2"]},{"1332640873":["hashtag1","hashtag2"]},{"1332640851":["hashtag1","hashtag2"]},{"1332640620":["hashtag1","hashtag2"]},{"1332640868":["hashtag1","hashtag2"]},{"1332640583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332640864, 1332640873, 1332640851, 1332640620, 1332640868, 1332640583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32040357589722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:38:32.868690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/44/image_24012025_22_44_16_10334.jpg', '/home/pi/Desktop/images/24012025/22/44/image_24012025_22_44_25_9356.jpg', '/home/pi/Desktop/images/24012025/22/44/image_24012025_22_44_35_10375.jpg', '/home/pi/Desktop/images/24012025/22/44/image_24012025_22_44_46_10485.jpg', '/home/pi/Desktop/images/24012025/22/44/image_24012025_22_44_55_9348.jpg', '/home/pi/Desktop/images/24012025/22/44/image_24012025_22_45_06_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/44/image_24012025_22_44_16_10334.jpg
/home/pi/Desktop/images/24012025/22/44/image_24012025_22_44_25_9356.jpg
/home/pi/Desktop/images/24012025/22/44/image_24012025_22_44_35_10375.jpg
/home/pi/Desktop/images/24012025/22/44/image_24012025_22_44_46_10485.jpg
/home/pi/Desktop/images/24012025/22/44/image_24012025_22_44_55_9348.jpg
/home/pi/Desktop/images/24012025/22/44/image_24012025_22_45_06_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":["1332641119","1332641115","1332641048","1332641108","1332641098","1332641059"],"photo_ids_order":["1332641048","1332641059","1332641098","1332641108","1332641115","1332641119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6c01fc36eef47ccc9b0c7c6a27e4d3db.jpg","text":"TemporaryFile(/tmp/multipartBody4493714844104266907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154375053,"filename":"image_24012025_22_45_06_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/29/6a293f0fc595eab1f7266945437183de.jpg","text":"TemporaryFile(/tmp/multipartBody1102022327056663655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154375053,"filename":"image_24012025_22_44_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/29/e9f6eb657db987512bb1790d0cd85fab.jpg","text":"TemporaryFile(/tmp/multipartBody4158660014827683961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154375053,"filename":"image_24012025_22_44_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/29/170a9c3efe7b7c1dd5b8d3404b36b118.jpg","text":"TemporaryFile(/tmp/multipartBody5428423245352778124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154375053,"filename":"image_24012025_22_44_46_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/29/b56bc5e6faa9eeae604cb177988f1831.jpg","text":"TemporaryFile(/tmp/multipartBody3731881164848154378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154375053,"filename":"image_24012025_22_44_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/29/f7fc3efbcb0962734bdcf11ce7568cda.jpg","text":"TemporaryFile(/tmp/multipartBody2297246039632129833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154375053,"filename":"image_24012025_22_44_25_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332641098","file1":"1332641059","file0":"1332641048","file4":"1332641115","file5":"1332641119","file3":"1332641108"},"map_files_photo_id_array":[{"photo_id":"1332641119","filename":"file5"},{"photo_id":"1332641098","filename":"file2"},{"photo_id":"1332641115","filename":"file4"},{"photo_id":"1332641059","filename":"file1"},{"photo_id":"1332641048","filename":"file0"},{"photo_id":"1332641108","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332641119":["hashtag1","hashtag2"]},{"1332641115":["hashtag1","hashtag2"]},{"1332641048":["hashtag1","hashtag2"]},{"1332641108":["hashtag1","hashtag2"]},{"1332641098":["hashtag1","hashtag2"]},{"1332641059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332641119, 1332641115, 1332641048, 1332641108, 1332641098, 1332641059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13405394554138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:39:32.294814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/45/image_24012025_22_45_15_9353.jpg', '/home/pi/Desktop/images/24012025/22/45/image_24012025_22_45_36_10369.jpg', '/home/pi/Desktop/images/24012025/22/45/image_24012025_22_45_55_10360.jpg', '/home/pi/Desktop/images/24012025/22/45/image_24012025_22_46_06_10422.jpg', '/home/pi/Desktop/images/24012025/22/46/image_24012025_22_46_15_9324.jpg', '/home/pi/Desktop/images/24012025/22/46/image_24012025_22_46_26_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/45/image_24012025_22_45_15_9353.jpg
/home/pi/Desktop/images/24012025/22/45/image_24012025_22_45_36_10369.jpg
/home/pi/Desktop/images/24012025/22/45/image_24012025_22_45_55_10360.jpg
/home/pi/Desktop/images/24012025/22/45/image_24012025_22_46_06_10422.jpg
/home/pi/Desktop/images/24012025/22/46/image_24012025_22_46_15_9324.jpg
/home/pi/Desktop/images/24012025/22/46/image_24012025_22_46_26_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":["1332641453","1332641462","1332641465","1332641459","1332641446","1332641440"],"photo_ids_order":["1332641440","1332641446","1332641453","1332641459","1332641462","1332641465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/689130360690ba961a8d02c969349881.jpg","text":"TemporaryFile(/tmp/multipartBody1495596378770711320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154434397,"filename":"image_24012025_22_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/29/a6e9fb1b977071c681bec57d540c0a4b.jpg","text":"TemporaryFile(/tmp/multipartBody6967669353261587115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154434397,"filename":"image_24012025_22_46_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/29/373b1737deaddc38c2fb9ef3b87ba738.jpg","text":"TemporaryFile(/tmp/multipartBody6856894568920648545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154434397,"filename":"image_24012025_22_46_26_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/29/cec7555e272e203375342459aa5e1efb.jpg","text":"TemporaryFile(/tmp/multipartBody7591686626697819201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154434397,"filename":"image_24012025_22_46_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/29/38098ea282cbf7fd5a879b95a1ab2251.jpg","text":"TemporaryFile(/tmp/multipartBody2685932808828483272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154434397,"filename":"image_24012025_22_45_36_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/29/443b51bafb4e0514aa4e1773bf043df4.jpg","text":"TemporaryFile(/tmp/multipartBody1755136436322387411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154434397,"filename":"image_24012025_22_45_15_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332641453","file1":"1332641446","file0":"1332641440","file4":"1332641462","file5":"1332641465","file3":"1332641459"},"map_files_photo_id_array":[{"photo_id":"1332641465","filename":"file5"},{"photo_id":"1332641453","filename":"file2"},{"photo_id":"1332641462","filename":"file4"},{"photo_id":"1332641446","filename":"file1"},{"photo_id":"1332641440","filename":"file0"},{"photo_id":"1332641459","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332641453":["hashtag1","hashtag2"]},{"1332641462":["hashtag1","hashtag2"]},{"1332641465":["hashtag1","hashtag2"]},{"1332641459":["hashtag1","hashtag2"]},{"1332641446":["hashtag1","hashtag2"]},{"1332641440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332641453, 1332641462, 1332641465, 1332641459, 1332641446, 1332641440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.306159257888794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:40:32.422978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/46/image_24012025_22_46_36_10366.jpg', '/home/pi/Desktop/images/24012025/22/46/image_24012025_22_46_45_9335.jpg', '/home/pi/Desktop/images/24012025/22/46/image_24012025_22_46_56_10342.jpg', '/home/pi/Desktop/images/24012025/22/46/image_24012025_22_47_06_10357.jpg', '/home/pi/Desktop/images/24012025/22/47/image_24012025_22_47_15_9352.jpg', '/home/pi/Desktop/images/24012025/22/47/image_24012025_22_47_26_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/46/image_24012025_22_46_36_10366.jpg
/home/pi/Desktop/images/24012025/22/46/image_24012025_22_46_45_9335.jpg
/home/pi/Desktop/images/24012025/22/46/image_24012025_22_46_56_10342.jpg
/home/pi/Desktop/images/24012025/22/46/image_24012025_22_47_06_10357.jpg
/home/pi/Desktop/images/24012025/22/47/image_24012025_22_47_15_9352.jpg
/home/pi/Desktop/images/24012025/22/47/image_24012025_22_47_26_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":["1332641509","1332641493","1332641487","1332641481","1332641499","1332641505"],"photo_ids_order":["1332641481","1332641487","1332641493","1332641499","1332641505","1332641509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/007c71329ca3b1b1922abc62bab3b795.jpg","text":"TemporaryFile(/tmp/multipartBody8589259324422256488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154494518,"filename":"image_24012025_22_47_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/29/105c5e180ddb8688ac54967680e533de.jpg","text":"TemporaryFile(/tmp/multipartBody7972873388310407686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154494518,"filename":"image_24012025_22_46_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/29/247e974b3e9f36ac7680ece2111a9065.jpg","text":"TemporaryFile(/tmp/multipartBody3862275131442408321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154494518,"filename":"image_24012025_22_46_45_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/29/ae59437b3e7484e1f347b16081352014.jpg","text":"TemporaryFile(/tmp/multipartBody8028729969035472737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154494518,"filename":"image_24012025_22_46_36_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/29/875cb5f18051c66e2456e1f26dbc0624.jpg","text":"TemporaryFile(/tmp/multipartBody7569755368240691119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154494518,"filename":"image_24012025_22_47_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/29/7043e7ba3718af1713cecb360a233d97.jpg","text":"TemporaryFile(/tmp/multipartBody2143266310346932206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154494518,"filename":"image_24012025_22_47_15_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332641493","file1":"1332641487","file0":"1332641481","file4":"1332641505","file5":"1332641509","file3":"1332641499"},"map_files_photo_id_array":[{"photo_id":"1332641509","filename":"file5"},{"photo_id":"1332641493","filename":"file2"},{"photo_id":"1332641505","filename":"file4"},{"photo_id":"1332641487","filename":"file1"},{"photo_id":"1332641481","filename":"file0"},{"photo_id":"1332641499","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332641509":["hashtag1","hashtag2"]},{"1332641493":["hashtag1","hashtag2"]},{"1332641487":["hashtag1","hashtag2"]},{"1332641481":["hashtag1","hashtag2"]},{"1332641499":["hashtag1","hashtag2"]},{"1332641505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332641509, 1332641493, 1332641487, 1332641481, 1332641499, 1332641505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89438724517822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:41:32.701934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/47/image_24012025_22_47_35_9358.jpg', '/home/pi/Desktop/images/24012025/22/47/image_24012025_22_47_45_10356.jpg', '/home/pi/Desktop/images/24012025/22/47/image_24012025_22_47_56_10329.jpg', '/home/pi/Desktop/images/24012025/22/47/image_24012025_22_48_05_9339.jpg', '/home/pi/Desktop/images/24012025/22/48/image_24012025_22_48_15_10341.jpg', '/home/pi/Desktop/images/24012025/22/48/image_24012025_22_48_26_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/47/image_24012025_22_47_35_9358.jpg
/home/pi/Desktop/images/24012025/22/47/image_24012025_22_47_45_10356.jpg
/home/pi/Desktop/images/24012025/22/47/image_24012025_22_47_56_10329.jpg
/home/pi/Desktop/images/24012025/22/47/image_24012025_22_48_05_9339.jpg
/home/pi/Desktop/images/24012025/22/48/image_24012025_22_48_15_10341.jpg
/home/pi/Desktop/images/24012025/22/48/image_24012025_22_48_26_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":["1332641577","1332641541","1332641529","1332641588","1332641567","1332641563"],"photo_ids_order":["1332641529","1332641541","1332641563","1332641567","1332641577","1332641588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bd2d64f49e38c3f61ef5f42298aed44e.jpg","text":"TemporaryFile(/tmp/multipartBody5593711908596279152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154554810,"filename":"image_24012025_22_48_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/29/bbd645174b135383a5a1cde010afc8a1.jpg","text":"TemporaryFile(/tmp/multipartBody3436616455557329515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154554810,"filename":"image_24012025_22_47_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/29/691dabd82e80eb8f32d8179bd7056726.jpg","text":"TemporaryFile(/tmp/multipartBody4118627149855706480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154554810,"filename":"image_24012025_22_47_35_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/29/be667f469eaa87e28cf67897c4ec9448.jpg","text":"TemporaryFile(/tmp/multipartBody6570077823578922435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154554810,"filename":"image_24012025_22_48_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/29/18dafbcc358d48443945fa7c7930548a.jpg","text":"TemporaryFile(/tmp/multipartBody2466882854754309414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154554810,"filename":"image_24012025_22_48_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/29/570c9e165026b1dac7e2257a0cfa4edf.jpg","text":"TemporaryFile(/tmp/multipartBody8367652463216500900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154554810,"filename":"image_24012025_22_47_56_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332641563","file1":"1332641541","file0":"1332641529","file4":"1332641577","file5":"1332641588","file3":"1332641567"},"map_files_photo_id_array":[{"photo_id":"1332641588","filename":"file5"},{"photo_id":"1332641563","filename":"file2"},{"photo_id":"1332641577","filename":"file4"},{"photo_id":"1332641541","filename":"file1"},{"photo_id":"1332641529","filename":"file0"},{"photo_id":"1332641567","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332641577":["hashtag1","hashtag2"]},{"1332641541":["hashtag1","hashtag2"]},{"1332641529":["hashtag1","hashtag2"]},{"1332641588":["hashtag1","hashtag2"]},{"1332641567":["hashtag1","hashtag2"]},{"1332641563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332641577, 1332641541, 1332641529, 1332641588, 1332641567, 1332641563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.067522287368774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:42:32.869194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/48/image_24012025_22_48_35_9392.jpg', '/home/pi/Desktop/images/24012025/22/48/image_24012025_22_48_45_10332.jpg', '/home/pi/Desktop/images/24012025/22/48/image_24012025_22_48_55_9480.jpg', '/home/pi/Desktop/images/24012025/22/48/image_24012025_22_49_05_10351.jpg', '/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_16_10343.jpg', '/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_25_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/48/image_24012025_22_48_35_9392.jpg
/home/pi/Desktop/images/24012025/22/48/image_24012025_22_48_45_10332.jpg
/home/pi/Desktop/images/24012025/22/48/image_24012025_22_48_55_9480.jpg
/home/pi/Desktop/images/24012025/22/48/image_24012025_22_49_05_10351.jpg
/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_16_10343.jpg
/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_25_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":["1332641643","1332641637","1332641652","1332641625","1332641648","1332641630"],"photo_ids_order":["1332641625","1332641630","1332641637","1332641643","1332641648","1332641652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/011170053759863ebb86a19020d2de27.jpg","text":"TemporaryFile(/tmp/multipartBody1316272821407329335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154614967,"filename":"image_24012025_22_49_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/29/b36e03480f083c39b2f78d2a04910983.jpg","text":"TemporaryFile(/tmp/multipartBody3343750486641198307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154614967,"filename":"image_24012025_22_48_55_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/29/944b31a4708849f042af550d855c02c1.jpg","text":"TemporaryFile(/tmp/multipartBody5174306163443886253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154614967,"filename":"image_24012025_22_49_25_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/29/0cd6d90057489fb9182bdfc0e7885dbe.jpg","text":"TemporaryFile(/tmp/multipartBody6658215051157532249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154614967,"filename":"image_24012025_22_48_35_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/29/1a7adce757dd9815f1d4a25cb49b90c0.jpg","text":"TemporaryFile(/tmp/multipartBody2027354851590015712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154614967,"filename":"image_24012025_22_49_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/29/389c47d10f0cf03bc49f5082a71b6d74.jpg","text":"TemporaryFile(/tmp/multipartBody6791695296011590397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154614967,"filename":"image_24012025_22_48_45_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332641637","file1":"1332641630","file0":"1332641625","file4":"1332641648","file5":"1332641652","file3":"1332641643"},"map_files_photo_id_array":[{"photo_id":"1332641652","filename":"file5"},{"photo_id":"1332641637","filename":"file2"},{"photo_id":"1332641648","filename":"file4"},{"photo_id":"1332641630","filename":"file1"},{"photo_id":"1332641625","filename":"file0"},{"photo_id":"1332641643","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332641643":["hashtag1","hashtag2"]},{"1332641637":["hashtag1","hashtag2"]},{"1332641652":["hashtag1","hashtag2"]},{"1332641625":["hashtag1","hashtag2"]},{"1332641648":["hashtag1","hashtag2"]},{"1332641630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332641643, 1332641637, 1332641652, 1332641625, 1332641648, 1332641630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.118695974349976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:43:33.097253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_36_10815.jpg', '/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_45_9351.jpg', '/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_56_10363.jpg', '/home/pi/Desktop/images/24012025/22/49/image_24012025_22_50_05_9495.jpg', '/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_16_10481.jpg', '/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_26_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_36_10815.jpg
/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_45_9351.jpg
/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_56_10363.jpg
/home/pi/Desktop/images/24012025/22/49/image_24012025_22_50_05_9495.jpg
/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_16_10481.jpg
/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_26_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: 1.7018389701843262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 13:43:43.240131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_36_10815.jpg', '/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_45_9351.jpg', '/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_56_10363.jpg', '/home/pi/Desktop/images/24012025/22/49/image_24012025_22_50_05_9495.jpg', '/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_16_10481.jpg', '/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_26_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_36_10815.jpg
/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_45_9351.jpg
/home/pi/Desktop/images/24012025/22/49/image_24012025_22_49_56_10363.jpg
/home/pi/Desktop/images/24012025/22/49/image_24012025_22_50_05_9495.jpg
/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_16_10481.jpg
/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_26_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332641734","1332641696","1332641699","1332641714","1332641731","1332641725"],"photo_ids_order":["1332641696","1332641699","1332641714","1332641725","1332641731","1332641734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/70c366b754eb24d1bb01213a2c48f064.jpg","text":"TemporaryFile(/tmp/multipartBody8283131250392458199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154684469,"filename":"image_24012025_22_50_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/29/2542cbe50d4d9df0a0ba75f8df09a32f.jpg","text":"TemporaryFile(/tmp/multipartBody3780825906201660189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154684469,"filename":"image_24012025_22_49_36_10815.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/772346f9d39610f17df687efc9bb4f2c.jpg","text":"TemporaryFile(/tmp/multipartBody6205648253479614725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154684469,"filename":"image_24012025_22_49_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/29/d73d8591fe6e591a6f5cf4ee2e20202f.jpg","text":"TemporaryFile(/tmp/multipartBody1805897503173766365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154684469,"filename":"image_24012025_22_49_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/29/4b5a516db8d7f63ca69a24dec125d61b.jpg","text":"TemporaryFile(/tmp/multipartBody136901312775028723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154684469,"filename":"image_24012025_22_50_16_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/29/e083af552337d86bb272e9ee77f20f18.jpg","text":"TemporaryFile(/tmp/multipartBody7845644760890508730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154684469,"filename":"image_24012025_22_50_05_9495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332641714","file1":"1332641699","file0":"1332641696","file4":"1332641731","file5":"1332641734","file3":"1332641725"},"map_files_photo_id_array":[{"photo_id":"1332641734","filename":"file5"},{"photo_id":"1332641714","filename":"file2"},{"photo_id":"1332641731","filename":"file4"},{"photo_id":"1332641699","filename":"file1"},{"photo_id":"1332641696","filename":"file0"},{"photo_id":"1332641725","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332641734":["hashtag1","hashtag2"]},{"1332641696":["hashtag1","hashtag2"]},{"1332641699":["hashtag1","hashtag2"]},{"1332641714":["hashtag1","hashtag2"]},{"1332641731":["hashtag1","hashtag2"]},{"1332641725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332641734, 1332641696, 1332641699, 1332641714, 1332641731, 1332641725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.49171710014343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:44:32.432494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_35_9350.jpg', '/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_46_10361.jpg', '/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_56_10340.jpg', '/home/pi/Desktop/images/24012025/22/50/image_24012025_22_51_05_9349.jpg', '/home/pi/Desktop/images/24012025/22/51/image_24012025_22_51_16_10333.jpg', '/home/pi/Desktop/images/24012025/22/51/image_24012025_22_51_25_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_35_9350.jpg
/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_46_10361.jpg
/home/pi/Desktop/images/24012025/22/50/image_24012025_22_50_56_10340.jpg
/home/pi/Desktop/images/24012025/22/50/image_24012025_22_51_05_9349.jpg
/home/pi/Desktop/images/24012025/22/51/image_24012025_22_51_16_10333.jpg
/home/pi/Desktop/images/24012025/22/51/image_24012025_22_51_25_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332641907","1332641939","1332641915","1332641935","1332641764","1332641923"],"photo_ids_order":["1332641764","1332641907","1332641915","1332641923","1332641935","1332641939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aa0e5bfe4153a65b95a7321271254709.jpg","text":"TemporaryFile(/tmp/multipartBody509456861633340045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154734549,"filename":"image_24012025_22_50_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/29/c434dc1c8c5978de337783e974315f1e.jpg","text":"TemporaryFile(/tmp/multipartBody8077809888511209981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154734549,"filename":"image_24012025_22_51_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/29/e27310783cb9e3f89b02c5995859d2bf.jpg","text":"TemporaryFile(/tmp/multipartBody3729609718939305010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154734549,"filename":"image_24012025_22_50_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/29/1c58940e5d2d083c319f2b6c342f4863.jpg","text":"TemporaryFile(/tmp/multipartBody1591625972762590715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154734549,"filename":"image_24012025_22_51_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/29/14c69d49a502022023823851f40e68b7.jpg","text":"TemporaryFile(/tmp/multipartBody4763765127738030559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154734549,"filename":"image_24012025_22_50_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/29/24fdea5fcae6c9736e32977a104f3251.jpg","text":"TemporaryFile(/tmp/multipartBody5005884728768078887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154734549,"filename":"image_24012025_22_51_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332641915","file1":"1332641907","file0":"1332641764","file4":"1332641935","file5":"1332641939","file3":"1332641923"},"map_files_photo_id_array":[{"photo_id":"1332641939","filename":"file5"},{"photo_id":"1332641915","filename":"file2"},{"photo_id":"1332641935","filename":"file4"},{"photo_id":"1332641907","filename":"file1"},{"photo_id":"1332641764","filename":"file0"},{"photo_id":"1332641923","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332641907":["hashtag1","hashtag2"]},{"1332641939":["hashtag1","hashtag2"]},{"1332641915":["hashtag1","hashtag2"]},{"1332641935":["hashtag1","hashtag2"]},{"1332641764":["hashtag1","hashtag2"]},{"1332641923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332641907, 1332641939, 1332641915, 1332641935, 1332641764, 1332641923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.586190938949585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:45:32.652330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/51/image_24012025_22_51_35_10367.jpg', '/home/pi/Desktop/images/24012025/22/51/image_24012025_22_51_46_10444.jpg', '/home/pi/Desktop/images/24012025/22/51/image_24012025_22_51_55_9324.jpg', '/home/pi/Desktop/images/24012025/22/51/image_24012025_22_52_06_10356.jpg', '/home/pi/Desktop/images/24012025/22/52/image_24012025_22_52_16_10357.jpg', '/home/pi/Desktop/images/24012025/22/52/image_24012025_22_52_25_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/51/image_24012025_22_51_35_10367.jpg
/home/pi/Desktop/images/24012025/22/51/image_24012025_22_51_46_10444.jpg
/home/pi/Desktop/images/24012025/22/51/image_24012025_22_51_55_9324.jpg
/home/pi/Desktop/images/24012025/22/51/image_24012025_22_52_06_10356.jpg
/home/pi/Desktop/images/24012025/22/52/image_24012025_22_52_16_10357.jpg
/home/pi/Desktop/images/24012025/22/52/image_24012025_22_52_25_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":["1332642099","1332642095","1332642097","1332642101","1332642091","1332642088"],"photo_ids_order":["1332642088","1332642091","1332642095","1332642097","1332642099","1332642101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fc77c4195bc6de3a26cddb1864bb527e.jpg","text":"TemporaryFile(/tmp/multipartBody1181094605662077304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154794732,"filename":"image_24012025_22_52_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/29/e1360b30cd639104da336b08ef282526.jpg","text":"TemporaryFile(/tmp/multipartBody3569896739726432913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154794732,"filename":"image_24012025_22_51_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/29/1c97bbdd698bc479f038d5f6a19d0038.jpg","text":"TemporaryFile(/tmp/multipartBody8482363065382199382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154794732,"filename":"image_24012025_22_52_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/29/0bf6f0b37d6d49a1634b9a84a62b37a9.jpg","text":"TemporaryFile(/tmp/multipartBody77149154368233068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154794732,"filename":"image_24012025_22_52_25_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/29/2fb18765ff9e4b9b61a7607054c7f490.jpg","text":"TemporaryFile(/tmp/multipartBody580605705260338004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154794732,"filename":"image_24012025_22_51_46_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/29/9e041de9f15a501f50e078b94f72b927.jpg","text":"TemporaryFile(/tmp/multipartBody1632607820901525392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154794732,"filename":"image_24012025_22_51_35_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332642095","file1":"1332642091","file0":"1332642088","file4":"1332642099","file5":"1332642101","file3":"1332642097"},"map_files_photo_id_array":[{"photo_id":"1332642101","filename":"file5"},{"photo_id":"1332642095","filename":"file2"},{"photo_id":"1332642099","filename":"file4"},{"photo_id":"1332642091","filename":"file1"},{"photo_id":"1332642088","filename":"file0"},{"photo_id":"1332642097","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332642099":["hashtag1","hashtag2"]},{"1332642095":["hashtag1","hashtag2"]},{"1332642097":["hashtag1","hashtag2"]},{"1332642101":["hashtag1","hashtag2"]},{"1332642091":["hashtag1","hashtag2"]},{"1332642088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332642099, 1332642095, 1332642097, 1332642101, 1332642091, 1332642088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15580987930298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:46:32.862597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/52/image_24012025_22_52_36_10354.jpg', '/home/pi/Desktop/images/24012025/22/52/image_24012025_22_52_45_9441.jpg', '/home/pi/Desktop/images/24012025/22/52/image_24012025_22_52_55_10427.jpg', '/home/pi/Desktop/images/24012025/22/52/image_24012025_22_53_05_9454.jpg', '/home/pi/Desktop/images/24012025/22/53/image_24012025_22_53_15_10325.jpg', '/home/pi/Desktop/images/24012025/22/53/image_24012025_22_53_26_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/52/image_24012025_22_52_36_10354.jpg
/home/pi/Desktop/images/24012025/22/52/image_24012025_22_52_45_9441.jpg
/home/pi/Desktop/images/24012025/22/52/image_24012025_22_52_55_10427.jpg
/home/pi/Desktop/images/24012025/22/52/image_24012025_22_53_05_9454.jpg
/home/pi/Desktop/images/24012025/22/53/image_24012025_22_53_15_10325.jpg
/home/pi/Desktop/images/24012025/22/53/image_24012025_22_53_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":["1332642144","1332642126","1332642146","1332642131","1332642124","1332642127"],"photo_ids_order":["1332642124","1332642126","1332642127","1332642131","1332642144","1332642146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/450647d960d96030cb09b32218a3c76e.jpg","text":"TemporaryFile(/tmp/multipartBody4227062977046766671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154854953,"filename":"image_24012025_22_53_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/29/266e1002a1eb2192f140d17f9accf234.jpg","text":"TemporaryFile(/tmp/multipartBody1699924168458066731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154854953,"filename":"image_24012025_22_52_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/29/11964bbe22c58396c4c72f84f078a115.jpg","text":"TemporaryFile(/tmp/multipartBody8713746964602786318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154854953,"filename":"image_24012025_22_53_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/29/f974c1d2d7f49e9a35817352d5cf65ec.jpg","text":"TemporaryFile(/tmp/multipartBody6349933482847001819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154854953,"filename":"image_24012025_22_53_05_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/29/a21ec8a2ed008223552b821e112385ec.jpg","text":"TemporaryFile(/tmp/multipartBody6869454133958195946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154854953,"filename":"image_24012025_22_52_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/29/386174047a9ca4b444d2f852f3aa9249.jpg","text":"TemporaryFile(/tmp/multipartBody7681107322347892196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154854953,"filename":"image_24012025_22_52_55_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332642127","file1":"1332642126","file0":"1332642124","file4":"1332642144","file5":"1332642146","file3":"1332642131"},"map_files_photo_id_array":[{"photo_id":"1332642146","filename":"file5"},{"photo_id":"1332642127","filename":"file2"},{"photo_id":"1332642144","filename":"file4"},{"photo_id":"1332642126","filename":"file1"},{"photo_id":"1332642124","filename":"file0"},{"photo_id":"1332642131","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332642144":["hashtag1","hashtag2"]},{"1332642126":["hashtag1","hashtag2"]},{"1332642146":["hashtag1","hashtag2"]},{"1332642131":["hashtag1","hashtag2"]},{"1332642124":["hashtag1","hashtag2"]},{"1332642127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332642144, 1332642126, 1332642146, 1332642131, 1332642124, 1332642127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64986300468445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:47:32.204084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/53/image_24012025_22_53_35_9422.jpg', '/home/pi/Desktop/images/24012025/22/53/image_24012025_22_53_45_10353.jpg', '/home/pi/Desktop/images/24012025/22/53/image_24012025_22_53_56_10413.jpg', '/home/pi/Desktop/images/24012025/22/53/image_24012025_22_54_05_9341.jpg', '/home/pi/Desktop/images/24012025/22/54/image_24012025_22_54_15_10349.jpg', '/home/pi/Desktop/images/24012025/22/54/image_24012025_22_54_26_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/53/image_24012025_22_53_35_9422.jpg
/home/pi/Desktop/images/24012025/22/53/image_24012025_22_53_45_10353.jpg
/home/pi/Desktop/images/24012025/22/53/image_24012025_22_53_56_10413.jpg
/home/pi/Desktop/images/24012025/22/53/image_24012025_22_54_05_9341.jpg
/home/pi/Desktop/images/24012025/22/54/image_24012025_22_54_15_10349.jpg
/home/pi/Desktop/images/24012025/22/54/image_24012025_22_54_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":["1332642750","1332642747","1332642804","1332642800","1332642595","1332642700"],"photo_ids_order":["1332642595","1332642700","1332642747","1332642750","1332642800","1332642804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/07a1352e8fbedfd1eb4fa1d48f8d4ef8.jpg","text":"TemporaryFile(/tmp/multipartBody1248938228866079934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154914720,"filename":"image_24012025_22_54_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/29/4f5316395e318d942fedbbeb44e996e9.jpg","text":"TemporaryFile(/tmp/multipartBody4774678034517798615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154914720,"filename":"image_24012025_22_53_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/29/cf0e21566846076e9b108a67542fe4fe.jpg","text":"TemporaryFile(/tmp/multipartBody8099667045866226606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154914720,"filename":"image_24012025_22_54_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/29/5c40e7838c538f7bd3f5ed8e3dc53990.jpg","text":"TemporaryFile(/tmp/multipartBody7514301360771893818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154914720,"filename":"image_24012025_22_54_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/29/936e55d0fc1036c165f2688b9ac0741a.jpg","text":"TemporaryFile(/tmp/multipartBody1665853214919664657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154914720,"filename":"image_24012025_22_53_35_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/29/e342e366260d1f8cd6d48cfe567b94bf.jpg","text":"TemporaryFile(/tmp/multipartBody6149424278459367836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154914720,"filename":"image_24012025_22_53_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332642747","file1":"1332642700","file0":"1332642595","file4":"1332642800","file5":"1332642804","file3":"1332642750"},"map_files_photo_id_array":[{"photo_id":"1332642804","filename":"file5"},{"photo_id":"1332642747","filename":"file2"},{"photo_id":"1332642800","filename":"file4"},{"photo_id":"1332642700","filename":"file1"},{"photo_id":"1332642595","filename":"file0"},{"photo_id":"1332642750","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332642750":["hashtag1","hashtag2"]},{"1332642747":["hashtag1","hashtag2"]},{"1332642804":["hashtag1","hashtag2"]},{"1332642800":["hashtag1","hashtag2"]},{"1332642595":["hashtag1","hashtag2"]},{"1332642700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332642750, 1332642747, 1332642804, 1332642800, 1332642595, 1332642700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.112022161483765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:48:32.410009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/54/image_24012025_22_54_35_9349.jpg', '/home/pi/Desktop/images/24012025/22/54/image_24012025_22_54_46_10448.jpg', '/home/pi/Desktop/images/24012025/22/54/image_24012025_22_54_55_9350.jpg', '/home/pi/Desktop/images/24012025/22/54/image_24012025_22_55_05_10354.jpg', '/home/pi/Desktop/images/24012025/22/55/image_24012025_22_55_16_10346.jpg', '/home/pi/Desktop/images/24012025/22/55/image_24012025_22_55_25_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/54/image_24012025_22_54_35_9349.jpg
/home/pi/Desktop/images/24012025/22/54/image_24012025_22_54_46_10448.jpg
/home/pi/Desktop/images/24012025/22/54/image_24012025_22_54_55_9350.jpg
/home/pi/Desktop/images/24012025/22/54/image_24012025_22_55_05_10354.jpg
/home/pi/Desktop/images/24012025/22/55/image_24012025_22_55_16_10346.jpg
/home/pi/Desktop/images/24012025/22/55/image_24012025_22_55_25_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":["1332642953","1332642976","1332642988","1332642967","1332643003","1332642993"],"photo_ids_order":["1332642953","1332642967","1332642976","1332642988","1332642993","1332643003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/43cbbf51826d9691bc557b72a2380f61.jpg","text":"TemporaryFile(/tmp/multipartBody3485965686465756043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154974501,"filename":"image_24012025_22_54_35_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/29/cce19dca51168f85e376b3fbd9c6a31b.jpg","text":"TemporaryFile(/tmp/multipartBody4731467804193528187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154974501,"filename":"image_24012025_22_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/29/421e0364fbeda1c2d3f7df4b92157df7.jpg","text":"TemporaryFile(/tmp/multipartBody4814379300754150691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154974501,"filename":"image_24012025_22_55_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/29/3d387d98406a7d9cee040ee8e75068ea.jpg","text":"TemporaryFile(/tmp/multipartBody4650404746548791736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154974501,"filename":"image_24012025_22_54_46_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/29/3e475599299c6276a1091ed1d2338c93.jpg","text":"TemporaryFile(/tmp/multipartBody3677388378744628273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154974501,"filename":"image_24012025_22_55_25_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/29/6887a9f6420decea8ef10ceed5a63a65.jpg","text":"TemporaryFile(/tmp/multipartBody4807348777611332443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738154974501,"filename":"image_24012025_22_55_16_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332642976","file1":"1332642967","file0":"1332642953","file4":"1332642993","file5":"1332643003","file3":"1332642988"},"map_files_photo_id_array":[{"photo_id":"1332643003","filename":"file5"},{"photo_id":"1332642976","filename":"file2"},{"photo_id":"1332642993","filename":"file4"},{"photo_id":"1332642967","filename":"file1"},{"photo_id":"1332642953","filename":"file0"},{"photo_id":"1332642988","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332642953":["hashtag1","hashtag2"]},{"1332642976":["hashtag1","hashtag2"]},{"1332642988":["hashtag1","hashtag2"]},{"1332642967":["hashtag1","hashtag2"]},{"1332643003":["hashtag1","hashtag2"]},{"1332642993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332642953, 1332642976, 1332642988, 1332642967, 1332643003, 1332642993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5291907787323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:49:32.561563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/55/image_24012025_22_55_35_10374.jpg', '/home/pi/Desktop/images/24012025/22/55/image_24012025_22_55_46_10468.jpg', '/home/pi/Desktop/images/24012025/22/55/image_24012025_22_55_55_9352.jpg', '/home/pi/Desktop/images/24012025/22/55/image_24012025_22_56_06_10365.jpg', '/home/pi/Desktop/images/24012025/22/56/image_24012025_22_56_15_9348.jpg', '/home/pi/Desktop/images/24012025/22/56/image_24012025_22_56_25_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/55/image_24012025_22_55_35_10374.jpg
/home/pi/Desktop/images/24012025/22/55/image_24012025_22_55_46_10468.jpg
/home/pi/Desktop/images/24012025/22/55/image_24012025_22_55_55_9352.jpg
/home/pi/Desktop/images/24012025/22/55/image_24012025_22_56_06_10365.jpg
/home/pi/Desktop/images/24012025/22/56/image_24012025_22_56_15_9348.jpg
/home/pi/Desktop/images/24012025/22/56/image_24012025_22_56_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":["1332643070","1332643076","1332643081","1332643060","1332643056","1332643065"],"photo_ids_order":["1332643056","1332643060","1332643065","1332643070","1332643076","1332643081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/188e3131e53ebc3fce13ba4afd25dbcc.jpg","text":"TemporaryFile(/tmp/multipartBody5898688044720838602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155034635,"filename":"image_24012025_22_56_06_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/29/c3d3011d6dbb8fe4e55c3db032ee673b.jpg","text":"TemporaryFile(/tmp/multipartBody8675634411014726989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155034635,"filename":"image_24012025_22_56_15_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/29/fe5185f60a8ef133e63308716033774f.jpg","text":"TemporaryFile(/tmp/multipartBody2558092872099232057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155034635,"filename":"image_24012025_22_56_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/29/3c21a4f6fbcbc7f054a94f5529f145cc.jpg","text":"TemporaryFile(/tmp/multipartBody3831293312268485747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155034635,"filename":"image_24012025_22_55_46_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/29/2b0ad845e8995e3edea70c064b2b81f2.jpg","text":"TemporaryFile(/tmp/multipartBody4239749124344795685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155034635,"filename":"image_24012025_22_55_35_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/29/74752a342cd75688ef7ffd2ef07ff6d7.jpg","text":"TemporaryFile(/tmp/multipartBody8727097650301559182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155034635,"filename":"image_24012025_22_55_55_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332643065","file1":"1332643060","file0":"1332643056","file4":"1332643076","file5":"1332643081","file3":"1332643070"},"map_files_photo_id_array":[{"photo_id":"1332643081","filename":"file5"},{"photo_id":"1332643065","filename":"file2"},{"photo_id":"1332643076","filename":"file4"},{"photo_id":"1332643060","filename":"file1"},{"photo_id":"1332643056","filename":"file0"},{"photo_id":"1332643070","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332643070":["hashtag1","hashtag2"]},{"1332643076":["hashtag1","hashtag2"]},{"1332643081":["hashtag1","hashtag2"]},{"1332643060":["hashtag1","hashtag2"]},{"1332643056":["hashtag1","hashtag2"]},{"1332643065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332643070, 1332643076, 1332643081, 1332643060, 1332643056, 1332643065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34544062614441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:50:32.913900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/56/image_24012025_22_56_36_10371.jpg', '/home/pi/Desktop/images/24012025/22/56/image_24012025_22_56_45_9407.jpg', '/home/pi/Desktop/images/24012025/22/56/image_24012025_22_56_55_10361.jpg', '/home/pi/Desktop/images/24012025/22/56/image_24012025_22_57_05_9493.jpg', '/home/pi/Desktop/images/24012025/22/57/image_24012025_22_57_15_10343.jpg', '/home/pi/Desktop/images/24012025/22/57/image_24012025_22_57_26_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/56/image_24012025_22_56_36_10371.jpg
/home/pi/Desktop/images/24012025/22/56/image_24012025_22_56_45_9407.jpg
/home/pi/Desktop/images/24012025/22/56/image_24012025_22_56_55_10361.jpg
/home/pi/Desktop/images/24012025/22/56/image_24012025_22_57_05_9493.jpg
/home/pi/Desktop/images/24012025/22/57/image_24012025_22_57_15_10343.jpg
/home/pi/Desktop/images/24012025/22/57/image_24012025_22_57_26_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":["1332643125","1332643110","1332643120","1332643114","1332643105","1332643098"],"photo_ids_order":["1332643098","1332643105","1332643110","1332643114","1332643120","1332643125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bc9e8d77a2a66d11ec720f316e1d8975.jpg","text":"TemporaryFile(/tmp/multipartBody305408363661667113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155095009,"filename":"image_24012025_22_57_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/29/9786d8ec5e55f307bc5c2248d159236c.jpg","text":"TemporaryFile(/tmp/multipartBody2226300171978794062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155095009,"filename":"image_24012025_22_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/29/51b45ab9661297dd906979adace2a422.jpg","text":"TemporaryFile(/tmp/multipartBody6356583474038014288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155095009,"filename":"image_24012025_22_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/29/b968be1cdf47255a2752a16264c8cf62.jpg","text":"TemporaryFile(/tmp/multipartBody4178871968166358883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155095009,"filename":"image_24012025_22_57_05_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/29/206ef8629c772cd8d3036278a9a415c7.jpg","text":"TemporaryFile(/tmp/multipartBody7043810796277367834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155095009,"filename":"image_24012025_22_56_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/29/eee082e4c27f9a1ce31a87fbb9902c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8498996265918800564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155095009,"filename":"image_24012025_22_56_36_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332643110","file1":"1332643105","file0":"1332643098","file4":"1332643120","file5":"1332643125","file3":"1332643114"},"map_files_photo_id_array":[{"photo_id":"1332643125","filename":"file5"},{"photo_id":"1332643110","filename":"file2"},{"photo_id":"1332643120","filename":"file4"},{"photo_id":"1332643105","filename":"file1"},{"photo_id":"1332643098","filename":"file0"},{"photo_id":"1332643114","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332643125":["hashtag1","hashtag2"]},{"1332643110":["hashtag1","hashtag2"]},{"1332643120":["hashtag1","hashtag2"]},{"1332643114":["hashtag1","hashtag2"]},{"1332643105":["hashtag1","hashtag2"]},{"1332643098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332643125, 1332643110, 1332643120, 1332643114, 1332643105, 1332643098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48018980026245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:51:33.148071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/57/image_24012025_22_57_35_9340.jpg', '/home/pi/Desktop/images/24012025/22/57/image_24012025_22_57_45_10447.jpg', '/home/pi/Desktop/images/24012025/22/57/image_24012025_22_57_56_10406.jpg', '/home/pi/Desktop/images/24012025/22/57/image_24012025_22_58_05_9377.jpg', '/home/pi/Desktop/images/24012025/22/58/image_24012025_22_58_16_10358.jpg', '/home/pi/Desktop/images/24012025/22/58/image_24012025_22_58_25_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/57/image_24012025_22_57_35_9340.jpg
/home/pi/Desktop/images/24012025/22/57/image_24012025_22_57_45_10447.jpg
/home/pi/Desktop/images/24012025/22/57/image_24012025_22_57_56_10406.jpg
/home/pi/Desktop/images/24012025/22/57/image_24012025_22_58_05_9377.jpg
/home/pi/Desktop/images/24012025/22/58/image_24012025_22_58_16_10358.jpg
/home/pi/Desktop/images/24012025/22/58/image_24012025_22_58_25_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":["1332643151","1332643163","1332643157","1332643171","1332643168","1332643143"],"photo_ids_order":["1332643143","1332643151","1332643157","1332643163","1332643168","1332643171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d6d9fe2d6355e5cfbfe1c544641eefd4.jpg","text":"TemporaryFile(/tmp/multipartBody2137862540126022682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155155255,"filename":"image_24012025_22_57_45_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/29/7ae92f35403df5833c07ff433be3bd5a.jpg","text":"TemporaryFile(/tmp/multipartBody5320222347695080636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155155255,"filename":"image_24012025_22_58_05_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/29/80c043778a79894af55353eb00bab1fe.jpg","text":"TemporaryFile(/tmp/multipartBody6920395939039508150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155155255,"filename":"image_24012025_22_57_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/29/bdebbfcb5d1152b617b2cd421a84fd39.jpg","text":"TemporaryFile(/tmp/multipartBody102718901363320015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155155255,"filename":"image_24012025_22_58_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/29/a739de9170323d3f76bc05e6e137e1b4.jpg","text":"TemporaryFile(/tmp/multipartBody8472285313465933770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155155255,"filename":"image_24012025_22_58_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/29/d411979271fe719210b2e7718755e795.jpg","text":"TemporaryFile(/tmp/multipartBody7220139780344276076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155155255,"filename":"image_24012025_22_57_35_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332643157","file1":"1332643151","file0":"1332643143","file4":"1332643168","file5":"1332643171","file3":"1332643163"},"map_files_photo_id_array":[{"photo_id":"1332643171","filename":"file5"},{"photo_id":"1332643157","filename":"file2"},{"photo_id":"1332643168","filename":"file4"},{"photo_id":"1332643151","filename":"file1"},{"photo_id":"1332643143","filename":"file0"},{"photo_id":"1332643163","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332643151":["hashtag1","hashtag2"]},{"1332643163":["hashtag1","hashtag2"]},{"1332643157":["hashtag1","hashtag2"]},{"1332643171":["hashtag1","hashtag2"]},{"1332643168":["hashtag1","hashtag2"]},{"1332643143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332643151, 1332643163, 1332643157, 1332643171, 1332643168, 1332643143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20188331604004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:52:32.382244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/58/image_24012025_22_58_35_10365.jpg', '/home/pi/Desktop/images/24012025/22/58/image_24012025_22_58_55_9391.jpg', '/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_16_10404.jpg', '/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_25_9346.jpg', '/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_36_10471.jpg', '/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_45_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/58/image_24012025_22_58_35_10365.jpg
/home/pi/Desktop/images/24012025/22/58/image_24012025_22_58_55_9391.jpg
/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_16_10404.jpg
/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_25_9346.jpg
/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_36_10471.jpg
/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_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":["1332643431","1332643423","1332643417","1332643402","1332643392","1332643446"],"photo_ids_order":["1332643392","1332643402","1332643417","1332643423","1332643431","1332643446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4778ef4bc523d5cdb518d54af9765805.jpg","text":"TemporaryFile(/tmp/multipartBody3396645803750210610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155214470,"filename":"image_24012025_22_59_36_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/29/93ffcb1c064258523741094e3f9ede76.jpg","text":"TemporaryFile(/tmp/multipartBody4436191696030472279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155214470,"filename":"image_24012025_22_59_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/29/543db7d7324521524e46f039e31d3367.jpg","text":"TemporaryFile(/tmp/multipartBody4071925156574429354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155214470,"filename":"image_24012025_22_59_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/29/bf4fb2571751e62be86fc5057a70de9f.jpg","text":"TemporaryFile(/tmp/multipartBody318870571628378320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155214470,"filename":"image_24012025_22_58_55_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/29/d8db93ad1e48afd6cf8da49062cd88aa.jpg","text":"TemporaryFile(/tmp/multipartBody1426397388657080485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155214470,"filename":"image_24012025_22_58_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/29/d7020c8dd017b8404ca17ca1e6d4280e.jpg","text":"TemporaryFile(/tmp/multipartBody4336836501030457402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155214470,"filename":"image_24012025_22_59_45_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332643417","file1":"1332643402","file0":"1332643392","file4":"1332643431","file5":"1332643446","file3":"1332643423"},"map_files_photo_id_array":[{"photo_id":"1332643446","filename":"file5"},{"photo_id":"1332643417","filename":"file2"},{"photo_id":"1332643431","filename":"file4"},{"photo_id":"1332643402","filename":"file1"},{"photo_id":"1332643392","filename":"file0"},{"photo_id":"1332643423","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332643431":["hashtag1","hashtag2"]},{"1332643423":["hashtag1","hashtag2"]},{"1332643417":["hashtag1","hashtag2"]},{"1332643402":["hashtag1","hashtag2"]},{"1332643392":["hashtag1","hashtag2"]},{"1332643446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332643431, 1332643423, 1332643417, 1332643402, 1332643392, 1332643446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19699835777283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:53:32.505433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_55_10346.jpg', '/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_16_10071.jpg', '/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_26_10384.jpg', '/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_36_10391.jpg', '/home/pi/Desktop/images/24012025/23/00/image_24012025_23_01_07_10355.jpg', '/home/pi/Desktop/images/24012025/23/01/image_24012025_23_01_16_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_55_10346.jpg
/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_16_10071.jpg
/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_26_10384.jpg
/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_36_10391.jpg
/home/pi/Desktop/images/24012025/23/00/image_24012025_23_01_07_10355.jpg
/home/pi/Desktop/images/24012025/23/01/image_24012025_23_01_16_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: 1.694772720336914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 13:53:42.635959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_55_10346.jpg', '/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_16_10071.jpg', '/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_26_10384.jpg', '/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_36_10391.jpg', '/home/pi/Desktop/images/24012025/23/00/image_24012025_23_01_07_10355.jpg', '/home/pi/Desktop/images/24012025/23/01/image_24012025_23_01_16_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/22/59/image_24012025_22_59_55_10346.jpg
/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_16_10071.jpg
/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_26_10384.jpg
/home/pi/Desktop/images/24012025/23/00/image_24012025_23_00_36_10391.jpg
/home/pi/Desktop/images/24012025/23/00/image_24012025_23_01_07_10355.jpg
/home/pi/Desktop/images/24012025/23/01/image_24012025_23_01_16_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":["1332643565","1332643570","1332643561","1332643555","1332643558","1332643575"],"photo_ids_order":["1332643555","1332643558","1332643561","1332643565","1332643570","1332643575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/031d3da9fd0a1ccc4e870604c209f837.jpg","text":"TemporaryFile(/tmp/multipartBody2445123436759181641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155283828,"filename":"image_24012025_23_00_36_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/29/d1a06afb97f76a1fe0d3fde74a483dfa.jpg","text":"TemporaryFile(/tmp/multipartBody7616859101805424973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155283828,"filename":"image_24012025_23_01_07_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/29/640de37ae50ccd36128a662418b8fd0d.jpg","text":"TemporaryFile(/tmp/multipartBody5799892436991400894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155283828,"filename":"image_24012025_23_00_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/29/a099eeabc6de53ad72166335ebde59d9.jpg","text":"TemporaryFile(/tmp/multipartBody2626276456407770584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155283828,"filename":"image_24012025_22_59_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/29/0b8e2f45cd2b1b8121fd60eb265793ce.jpg","text":"TemporaryFile(/tmp/multipartBody3937922234639630998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155283828,"filename":"image_24012025_23_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/29/a9c0f13ffd3998656963eb4984ac2206.jpg","text":"TemporaryFile(/tmp/multipartBody8397524226517721804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155283828,"filename":"image_24012025_23_01_16_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332643561","file1":"1332643558","file0":"1332643555","file4":"1332643570","file5":"1332643575","file3":"1332643565"},"map_files_photo_id_array":[{"photo_id":"1332643575","filename":"file5"},{"photo_id":"1332643561","filename":"file2"},{"photo_id":"1332643570","filename":"file4"},{"photo_id":"1332643558","filename":"file1"},{"photo_id":"1332643555","filename":"file0"},{"photo_id":"1332643565","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332643565":["hashtag1","hashtag2"]},{"1332643570":["hashtag1","hashtag2"]},{"1332643561":["hashtag1","hashtag2"]},{"1332643555":["hashtag1","hashtag2"]},{"1332643558":["hashtag1","hashtag2"]},{"1332643575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332643565, 1332643570, 1332643561, 1332643555, 1332643558, 1332643575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30849289894104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:54:32.762035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/01/image_24012025_23_01_26_10375.jpg', '/home/pi/Desktop/images/24012025/23/01/image_24012025_23_01_36_9471.jpg', '/home/pi/Desktop/images/24012025/23/01/image_24012025_23_01_57_10376.jpg', '/home/pi/Desktop/images/24012025/23/01/image_24012025_23_02_06_9447.jpg', '/home/pi/Desktop/images/24012025/23/02/image_24012025_23_02_26_9353.jpg', '/home/pi/Desktop/images/24012025/23/02/image_24012025_23_02_36_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/01/image_24012025_23_01_26_10375.jpg
/home/pi/Desktop/images/24012025/23/01/image_24012025_23_01_36_9471.jpg
/home/pi/Desktop/images/24012025/23/01/image_24012025_23_01_57_10376.jpg
/home/pi/Desktop/images/24012025/23/01/image_24012025_23_02_06_9447.jpg
/home/pi/Desktop/images/24012025/23/02/image_24012025_23_02_26_9353.jpg
/home/pi/Desktop/images/24012025/23/02/image_24012025_23_02_36_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":["1332643620","1332643622","1332643625","1332643601","1332643615","1332643609"],"photo_ids_order":["1332643601","1332643609","1332643615","1332643620","1332643622","1332643625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1f6dc943428d06416247a681b1644057.jpg","text":"TemporaryFile(/tmp/multipartBody1819735020889652655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155334861,"filename":"image_24012025_23_02_06_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/29/2e718b83a5104293ee968ffee1a41bd8.jpg","text":"TemporaryFile(/tmp/multipartBody1168238029768425235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155334861,"filename":"image_24012025_23_02_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/29/be0a8fba27e6bd21608cdf23bcac0369.jpg","text":"TemporaryFile(/tmp/multipartBody5450836526848973249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155334861,"filename":"image_24012025_23_02_36_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/29/1d7b0ec89cf4239d496a93f053fe685b.jpg","text":"TemporaryFile(/tmp/multipartBody4577867654043428536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155334861,"filename":"image_24012025_23_01_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/29/34b640cd7fbf235a47ce303caba78df2.jpg","text":"TemporaryFile(/tmp/multipartBody4380859651005261382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155334861,"filename":"image_24012025_23_01_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/29/da01e9bb334b48d0e3cedb51d5e6448d.jpg","text":"TemporaryFile(/tmp/multipartBody6031004558392798039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155334861,"filename":"image_24012025_23_01_36_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332643615","file1":"1332643609","file0":"1332643601","file4":"1332643622","file5":"1332643625","file3":"1332643620"},"map_files_photo_id_array":[{"photo_id":"1332643625","filename":"file5"},{"photo_id":"1332643615","filename":"file2"},{"photo_id":"1332643622","filename":"file4"},{"photo_id":"1332643609","filename":"file1"},{"photo_id":"1332643601","filename":"file0"},{"photo_id":"1332643620","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332643620":["hashtag1","hashtag2"]},{"1332643622":["hashtag1","hashtag2"]},{"1332643625":["hashtag1","hashtag2"]},{"1332643601":["hashtag1","hashtag2"]},{"1332643615":["hashtag1","hashtag2"]},{"1332643609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332643620, 1332643622, 1332643625, 1332643601, 1332643615, 1332643609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.266103982925415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:55:33.033508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/02/image_24012025_23_02_56_9477.jpg', '/home/pi/Desktop/images/24012025/23/03/image_24012025_23_03_16_9346.jpg', '/home/pi/Desktop/images/24012025/23/03/image_24012025_23_03_26_10413.jpg', '/home/pi/Desktop/images/24012025/23/03/image_24012025_23_03_36_10367.jpg', '/home/pi/Desktop/images/24012025/23/03/image_24012025_23_03_46_9430.jpg', '/home/pi/Desktop/images/24012025/23/03/image_24012025_23_03_56_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/02/image_24012025_23_02_56_9477.jpg
/home/pi/Desktop/images/24012025/23/03/image_24012025_23_03_16_9346.jpg
/home/pi/Desktop/images/24012025/23/03/image_24012025_23_03_26_10413.jpg
/home/pi/Desktop/images/24012025/23/03/image_24012025_23_03_36_10367.jpg
/home/pi/Desktop/images/24012025/23/03/image_24012025_23_03_46_9430.jpg
/home/pi/Desktop/images/24012025/23/03/image_24012025_23_03_56_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":["1332643667","1332643682","1332643721","1332643762","1332643674","1332643686"],"photo_ids_order":["1332643667","1332643674","1332643682","1332643686","1332643721","1332643762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/44c53754ecec305611f6a8736e58d53d.jpg","text":"TemporaryFile(/tmp/multipartBody2150137623317815681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155395105,"filename":"image_24012025_23_02_56_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/29/d6acbf1df10e0c1c848322caf53e955b.jpg","text":"TemporaryFile(/tmp/multipartBody8653014385426877865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155395105,"filename":"image_24012025_23_03_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/29/259bf432e0e44dd6bcb71e90bc41f3d6.jpg","text":"TemporaryFile(/tmp/multipartBody1043430667454227729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155395105,"filename":"image_24012025_23_03_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/29/35e2ec54df76e6b7ec3aa20b9bc70eff.jpg","text":"TemporaryFile(/tmp/multipartBody8208964752590420043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155395105,"filename":"image_24012025_23_03_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/29/ab7724a12e139109ab26da68dc290f19.jpg","text":"TemporaryFile(/tmp/multipartBody7142942634831587498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155395105,"filename":"image_24012025_23_03_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/29/68c6be6afa4c7191dee0c61d22d4f416.jpg","text":"TemporaryFile(/tmp/multipartBody1884583199083210565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155395105,"filename":"image_24012025_23_03_36_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332643682","file1":"1332643674","file0":"1332643667","file4":"1332643721","file5":"1332643762","file3":"1332643686"},"map_files_photo_id_array":[{"photo_id":"1332643762","filename":"file5"},{"photo_id":"1332643682","filename":"file2"},{"photo_id":"1332643721","filename":"file4"},{"photo_id":"1332643674","filename":"file1"},{"photo_id":"1332643667","filename":"file0"},{"photo_id":"1332643686","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332643667":["hashtag1","hashtag2"]},{"1332643682":["hashtag1","hashtag2"]},{"1332643721":["hashtag1","hashtag2"]},{"1332643762":["hashtag1","hashtag2"]},{"1332643674":["hashtag1","hashtag2"]},{"1332643686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332643667, 1332643682, 1332643721, 1332643762, 1332643674, 1332643686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.953240394592285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:56:32.201173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/03/image_24012025_23_04_07_10349.jpg', '/home/pi/Desktop/images/24012025/23/04/image_24012025_23_04_16_9403.jpg', '/home/pi/Desktop/images/24012025/23/04/image_24012025_23_04_26_10357.jpg', '/home/pi/Desktop/images/24012025/23/04/image_24012025_23_04_36_9354.jpg', '/home/pi/Desktop/images/24012025/23/04/image_24012025_23_04_46_10390.jpg', '/home/pi/Desktop/images/24012025/23/04/image_24012025_23_04_56_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/03/image_24012025_23_04_07_10349.jpg
/home/pi/Desktop/images/24012025/23/04/image_24012025_23_04_16_9403.jpg
/home/pi/Desktop/images/24012025/23/04/image_24012025_23_04_26_10357.jpg
/home/pi/Desktop/images/24012025/23/04/image_24012025_23_04_36_9354.jpg
/home/pi/Desktop/images/24012025/23/04/image_24012025_23_04_46_10390.jpg
/home/pi/Desktop/images/24012025/23/04/image_24012025_23_04_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":["1332643833","1332643799","1332643787","1332643792","1332643813","1332643807"],"photo_ids_order":["1332643787","1332643792","1332643799","1332643807","1332643813","1332643833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e58e4525a16dd82bdf7dce740d582819.jpg","text":"TemporaryFile(/tmp/multipartBody8618352314116968291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155454323,"filename":"image_24012025_23_04_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/29/0b855df1e3726ba9833989f83d74d884.jpg","text":"TemporaryFile(/tmp/multipartBody4145066265421838759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155454323,"filename":"image_24012025_23_04_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/29/22794f5cbf386c4f9a969d193ec07365.jpg","text":"TemporaryFile(/tmp/multipartBody3807534601947337867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155454323,"filename":"image_24012025_23_04_07_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/29/676ae4813ca346ab8e0fd512b5353c02.jpg","text":"TemporaryFile(/tmp/multipartBody4474463683938051435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155454323,"filename":"image_24012025_23_04_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/29/f9be0a5555a9a437b4f156ac3a94266f.jpg","text":"TemporaryFile(/tmp/multipartBody2173004550817011319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155454323,"filename":"image_24012025_23_04_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/29/b6c364860376f15dc9e491a5317ea9b8.jpg","text":"TemporaryFile(/tmp/multipartBody6747324782820952155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155454323,"filename":"image_24012025_23_04_36_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332643799","file1":"1332643792","file0":"1332643787","file4":"1332643813","file5":"1332643833","file3":"1332643807"},"map_files_photo_id_array":[{"photo_id":"1332643833","filename":"file5"},{"photo_id":"1332643799","filename":"file2"},{"photo_id":"1332643813","filename":"file4"},{"photo_id":"1332643792","filename":"file1"},{"photo_id":"1332643787","filename":"file0"},{"photo_id":"1332643807","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332643833":["hashtag1","hashtag2"]},{"1332643799":["hashtag1","hashtag2"]},{"1332643787":["hashtag1","hashtag2"]},{"1332643792":["hashtag1","hashtag2"]},{"1332643813":["hashtag1","hashtag2"]},{"1332643807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332643833, 1332643799, 1332643787, 1332643792, 1332643813, 1332643807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04955244064331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 13:57:32.565515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/04/image_24012025_23_05_06_9448.jpg', '/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_16_10333.jpg', '/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_27_10358.jpg', '/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_36_9432.jpg', '/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_46_10370.jpg', '/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_56_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/04/image_24012025_23_05_06_9448.jpg
/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_16_10333.jpg
/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_27_10358.jpg
/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_36_9432.jpg
/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_46_10370.jpg
/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_56_9329.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-29 13:59:03.921265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/04/image_24012025_23_05_06_9448.jpg', '/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_16_10333.jpg', '/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_27_10358.jpg', '/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_36_9432.jpg', '/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_46_10370.jpg', '/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_56_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/04/image_24012025_23_05_06_9448.jpg
/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_16_10333.jpg
/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_27_10358.jpg
/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_36_9432.jpg
/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_46_10370.jpg
/home/pi/Desktop/images/24012025/23/05/image_24012025_23_05_56_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":["1332644066","1332644098","1332644091","1332644082","1332644061","1332644075"],"photo_ids_order":["1332644061","1332644066","1332644075","1332644082","1332644091","1332644098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4518a258ff55e02d310373d569366449.jpg","text":"TemporaryFile(/tmp/multipartBody3623178820534988599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155605153,"filename":"image_24012025_23_05_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/29/d30702aedf24e857954961faaffb9ce0.jpg","text":"TemporaryFile(/tmp/multipartBody8424752307193500432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155605153,"filename":"image_24012025_23_05_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/29/34e99e0e67af59a4cf9a1e7af93d9cf9.jpg","text":"TemporaryFile(/tmp/multipartBody4748305602528158777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155605153,"filename":"image_24012025_23_05_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/29/0e16873cdcf5ae8275ca991539341e8f.jpg","text":"TemporaryFile(/tmp/multipartBody1469026297744175922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155605153,"filename":"image_24012025_23_05_36_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/29/6a1db4c632586b84edb13a35386865e2.jpg","text":"TemporaryFile(/tmp/multipartBody5844396040558148887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155605153,"filename":"image_24012025_23_05_06_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/29/491260fe845e51e83062f91caf30bdae.jpg","text":"TemporaryFile(/tmp/multipartBody1460654505812271075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155605153,"filename":"image_24012025_23_05_27_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332644075","file1":"1332644066","file0":"1332644061","file4":"1332644091","file5":"1332644098","file3":"1332644082"},"map_files_photo_id_array":[{"photo_id":"1332644098","filename":"file5"},{"photo_id":"1332644075","filename":"file2"},{"photo_id":"1332644091","filename":"file4"},{"photo_id":"1332644066","filename":"file1"},{"photo_id":"1332644061","filename":"file0"},{"photo_id":"1332644082","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332644066":["hashtag1","hashtag2"]},{"1332644098":["hashtag1","hashtag2"]},{"1332644091":["hashtag1","hashtag2"]},{"1332644082":["hashtag1","hashtag2"]},{"1332644061":["hashtag1","hashtag2"]},{"1332644075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332644066, 1332644098, 1332644091, 1332644082, 1332644061, 1332644075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6200008392334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 13:59:52.980118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/05/image_24012025_23_06_06_10360.jpg', '/home/pi/Desktop/images/24012025/23/06/image_24012025_23_06_16_10388.jpg', '/home/pi/Desktop/images/24012025/23/06/image_24012025_23_06_26_9401.jpg', '/home/pi/Desktop/images/24012025/23/06/image_24012025_23_06_36_10372.jpg', '/home/pi/Desktop/images/24012025/23/06/image_24012025_23_06_47_10339.jpg', '/home/pi/Desktop/images/24012025/23/06/image_24012025_23_06_56_9401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/05/image_24012025_23_06_06_10360.jpg
/home/pi/Desktop/images/24012025/23/06/image_24012025_23_06_16_10388.jpg
/home/pi/Desktop/images/24012025/23/06/image_24012025_23_06_26_9401.jpg
/home/pi/Desktop/images/24012025/23/06/image_24012025_23_06_36_10372.jpg
/home/pi/Desktop/images/24012025/23/06/image_24012025_23_06_47_10339.jpg
/home/pi/Desktop/images/24012025/23/06/image_24012025_23_06_56_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332644161","1332644149","1332644164","1332644137","1332644133","1332644142"],"photo_ids_order":["1332644133","1332644137","1332644142","1332644149","1332644161","1332644164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/112693083699199e13c772693e3c3bb4.jpg","text":"TemporaryFile(/tmp/multipartBody5567635498299854671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155655072,"filename":"image_24012025_23_06_47_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/29/c405d8d184c7bddd23975d64fb8f0cdd.jpg","text":"TemporaryFile(/tmp/multipartBody7684124585157623322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155655072,"filename":"image_24012025_23_06_36_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/29/e557648e42c1992a860099b579423e67.jpg","text":"TemporaryFile(/tmp/multipartBody835909685497587796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155655072,"filename":"image_24012025_23_06_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/29/caa088cfe00dcac3cd5fc7cc50e3ce31.jpg","text":"TemporaryFile(/tmp/multipartBody3191537097520652861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155655072,"filename":"image_24012025_23_06_16_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/29/b82ed2b2db944e843705f6653d225533.jpg","text":"TemporaryFile(/tmp/multipartBody8374464555892233978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155655072,"filename":"image_24012025_23_06_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/29/6405b93e14c9292db87e35ccf1fd4739.jpg","text":"TemporaryFile(/tmp/multipartBody6580895167452879603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155655072,"filename":"image_24012025_23_06_26_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332644142","file1":"1332644137","file0":"1332644133","file4":"1332644161","file5":"1332644164","file3":"1332644149"},"map_files_photo_id_array":[{"photo_id":"1332644164","filename":"file5"},{"photo_id":"1332644142","filename":"file2"},{"photo_id":"1332644161","filename":"file4"},{"photo_id":"1332644137","filename":"file1"},{"photo_id":"1332644133","filename":"file0"},{"photo_id":"1332644149","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332644161":["hashtag1","hashtag2"]},{"1332644149":["hashtag1","hashtag2"]},{"1332644164":["hashtag1","hashtag2"]},{"1332644137":["hashtag1","hashtag2"]},{"1332644133":["hashtag1","hashtag2"]},{"1332644142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332644161, 1332644149, 1332644164, 1332644137, 1332644133, 1332644142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36161494255066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 14:00:42.182645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/06/image_24012025_23_07_06_10361.jpg', '/home/pi/Desktop/images/24012025/23/07/image_24012025_23_07_16_9451.jpg', '/home/pi/Desktop/images/24012025/23/07/image_24012025_23_07_26_10361.jpg', '/home/pi/Desktop/images/24012025/23/07/image_24012025_23_07_37_10363.jpg', '/home/pi/Desktop/images/24012025/23/07/image_24012025_23_07_46_9430.jpg', '/home/pi/Desktop/images/24012025/23/07/image_24012025_23_07_56_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/06/image_24012025_23_07_06_10361.jpg
/home/pi/Desktop/images/24012025/23/07/image_24012025_23_07_16_9451.jpg
/home/pi/Desktop/images/24012025/23/07/image_24012025_23_07_26_10361.jpg
/home/pi/Desktop/images/24012025/23/07/image_24012025_23_07_37_10363.jpg
/home/pi/Desktop/images/24012025/23/07/image_24012025_23_07_46_9430.jpg
/home/pi/Desktop/images/24012025/23/07/image_24012025_23_07_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":["1332644216","1332644221","1332644212","1332644187","1332644226","1332644208"],"photo_ids_order":["1332644187","1332644208","1332644212","1332644216","1332644221","1332644226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ed78e565115305ca02bef096e0910a42.jpg","text":"TemporaryFile(/tmp/multipartBody5568182345500780834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155703462,"filename":"image_24012025_23_07_37_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/29/5fd63e72b28d21fd7ad46b067b78adff.jpg","text":"TemporaryFile(/tmp/multipartBody3376031582727910020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155703462,"filename":"image_24012025_23_07_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/29/f0946b6594a4f835f3dffa38b9eb8a57.jpg","text":"TemporaryFile(/tmp/multipartBody2012747966468692006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155703462,"filename":"image_24012025_23_07_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/29/ef7c489c8ad3bc1632f7bea67f6404fa.jpg","text":"TemporaryFile(/tmp/multipartBody6216172428517234198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155703462,"filename":"image_24012025_23_07_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/29/eed9b9e89b77630c8959e56fd122d940.jpg","text":"TemporaryFile(/tmp/multipartBody9191106501018092018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155703462,"filename":"image_24012025_23_07_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/29/fafec8a605a56d05b16c64c1e565082b.jpg","text":"TemporaryFile(/tmp/multipartBody67988975924771063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155703462,"filename":"image_24012025_23_07_16_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332644212","file1":"1332644208","file0":"1332644187","file4":"1332644221","file5":"1332644226","file3":"1332644216"},"map_files_photo_id_array":[{"photo_id":"1332644226","filename":"file5"},{"photo_id":"1332644212","filename":"file2"},{"photo_id":"1332644221","filename":"file4"},{"photo_id":"1332644208","filename":"file1"},{"photo_id":"1332644187","filename":"file0"},{"photo_id":"1332644216","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332644216":["hashtag1","hashtag2"]},{"1332644221":["hashtag1","hashtag2"]},{"1332644212":["hashtag1","hashtag2"]},{"1332644187":["hashtag1","hashtag2"]},{"1332644226":["hashtag1","hashtag2"]},{"1332644208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332644216, 1332644221, 1332644212, 1332644187, 1332644226, 1332644208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.203782081604004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:01:33.127476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/07/image_24012025_23_08_06_9356.jpg', '/home/pi/Desktop/images/24012025/23/08/image_24012025_23_08_16_10342.jpg', '/home/pi/Desktop/images/24012025/23/08/image_24012025_23_08_26_10350.jpg', '/home/pi/Desktop/images/24012025/23/08/image_24012025_23_08_36_9357.jpg', '/home/pi/Desktop/images/24012025/23/08/image_24012025_23_08_46_10336.jpg', '/home/pi/Desktop/images/24012025/23/08/image_24012025_23_08_56_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/07/image_24012025_23_08_06_9356.jpg
/home/pi/Desktop/images/24012025/23/08/image_24012025_23_08_16_10342.jpg
/home/pi/Desktop/images/24012025/23/08/image_24012025_23_08_26_10350.jpg
/home/pi/Desktop/images/24012025/23/08/image_24012025_23_08_36_9357.jpg
/home/pi/Desktop/images/24012025/23/08/image_24012025_23_08_46_10336.jpg
/home/pi/Desktop/images/24012025/23/08/image_24012025_23_08_56_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":["1332644297","1332644318","1332644327","1332644335","1332644344","1332644340"],"photo_ids_order":["1332644297","1332644318","1332644327","1332644335","1332644340","1332644344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d2ad6e5684c277f66918e73941887205.jpg","text":"TemporaryFile(/tmp/multipartBody7237433251523947954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155755882,"filename":"image_24012025_23_08_06_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/29/99227647ff9a3a458faea293b547f192.jpg","text":"TemporaryFile(/tmp/multipartBody5148413597353309945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155755882,"filename":"image_24012025_23_08_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/29/356013240379c1a312f33ae4adafcd8a.jpg","text":"TemporaryFile(/tmp/multipartBody9163029386857236186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155755882,"filename":"image_24012025_23_08_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/29/38e34321f69e0874b952fdd62ae58d2d.jpg","text":"TemporaryFile(/tmp/multipartBody1304654574395906112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155755882,"filename":"image_24012025_23_08_36_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/29/fa89bf04a21d650acd1c03e786d5c107.jpg","text":"TemporaryFile(/tmp/multipartBody4170320813181423274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155755882,"filename":"image_24012025_23_08_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/29/9e5645bcecc18ff81a20a945e6699511.jpg","text":"TemporaryFile(/tmp/multipartBody2058770508087197292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155755882,"filename":"image_24012025_23_08_46_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332644327","file1":"1332644318","file0":"1332644297","file4":"1332644340","file5":"1332644344","file3":"1332644335"},"map_files_photo_id_array":[{"photo_id":"1332644344","filename":"file5"},{"photo_id":"1332644327","filename":"file2"},{"photo_id":"1332644340","filename":"file4"},{"photo_id":"1332644318","filename":"file1"},{"photo_id":"1332644297","filename":"file0"},{"photo_id":"1332644335","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332644297":["hashtag1","hashtag2"]},{"1332644318":["hashtag1","hashtag2"]},{"1332644327":["hashtag1","hashtag2"]},{"1332644335":["hashtag1","hashtag2"]},{"1332644344":["hashtag1","hashtag2"]},{"1332644340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332644297, 1332644318, 1332644327, 1332644335, 1332644344, 1332644340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91644501686096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:02:32.168418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/08/image_24012025_23_09_06_9392.jpg', '/home/pi/Desktop/images/24012025/23/09/image_24012025_23_09_16_10408.jpg', '/home/pi/Desktop/images/24012025/23/09/image_24012025_23_09_27_10389.jpg', '/home/pi/Desktop/images/24012025/23/09/image_24012025_23_09_36_9360.jpg', '/home/pi/Desktop/images/24012025/23/10/image_24012025_23_10_16_10345.jpg', '/home/pi/Desktop/images/24012025/23/10/image_24012025_23_10_26_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/08/image_24012025_23_09_06_9392.jpg
/home/pi/Desktop/images/24012025/23/09/image_24012025_23_09_16_10408.jpg
/home/pi/Desktop/images/24012025/23/09/image_24012025_23_09_27_10389.jpg
/home/pi/Desktop/images/24012025/23/09/image_24012025_23_09_36_9360.jpg
/home/pi/Desktop/images/24012025/23/10/image_24012025_23_10_16_10345.jpg
/home/pi/Desktop/images/24012025/23/10/image_24012025_23_10_26_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":["1332644369","1332644447","1332644584","1332644578","1332644371","1332644551"],"photo_ids_order":["1332644369","1332644371","1332644447","1332644551","1332644578","1332644584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b7ed44b7b09bbce842a6057792bd374b.jpg","text":"TemporaryFile(/tmp/multipartBody7239195488669265984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155814272,"filename":"image_24012025_23_09_06_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/29/861f25e98bba73d093ebe470a3f872a3.jpg","text":"TemporaryFile(/tmp/multipartBody7486199529382627433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155814272,"filename":"image_24012025_23_09_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/29/826b1b3829289150cfd462dcca5f080c.jpg","text":"TemporaryFile(/tmp/multipartBody7967990441713518410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155814272,"filename":"image_24012025_23_10_26_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/29/43be8ae74ae53438a127527e3b481057.jpg","text":"TemporaryFile(/tmp/multipartBody6370402377022615280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155814272,"filename":"image_24012025_23_10_16_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/29/9bfe705c3720a31286d72414c9035d79.jpg","text":"TemporaryFile(/tmp/multipartBody2603339023458767658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155814272,"filename":"image_24012025_23_09_16_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/29/a2293547895635a6fecf97030e41b528.jpg","text":"TemporaryFile(/tmp/multipartBody3265465573843457382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155814272,"filename":"image_24012025_23_09_36_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332644447","file1":"1332644371","file0":"1332644369","file4":"1332644578","file5":"1332644584","file3":"1332644551"},"map_files_photo_id_array":[{"photo_id":"1332644584","filename":"file5"},{"photo_id":"1332644447","filename":"file2"},{"photo_id":"1332644578","filename":"file4"},{"photo_id":"1332644371","filename":"file1"},{"photo_id":"1332644369","filename":"file0"},{"photo_id":"1332644551","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332644369":["hashtag1","hashtag2"]},{"1332644447":["hashtag1","hashtag2"]},{"1332644584":["hashtag1","hashtag2"]},{"1332644578":["hashtag1","hashtag2"]},{"1332644371":["hashtag1","hashtag2"]},{"1332644551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332644369, 1332644447, 1332644584, 1332644578, 1332644371, 1332644551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.95214009284973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:03:32.430953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/10/image_24012025_23_10_36_10368.jpg', '/home/pi/Desktop/images/24012025/23/10/image_24012025_23_10_46_10365.jpg', '/home/pi/Desktop/images/24012025/23/10/image_24012025_23_10_56_9478.jpg', '/home/pi/Desktop/images/24012025/23/10/image_24012025_23_11_06_10364.jpg', '/home/pi/Desktop/images/24012025/23/11/image_24012025_23_11_16_9467.jpg', '/home/pi/Desktop/images/24012025/23/11/image_24012025_23_11_26_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/10/image_24012025_23_10_36_10368.jpg
/home/pi/Desktop/images/24012025/23/10/image_24012025_23_10_46_10365.jpg
/home/pi/Desktop/images/24012025/23/10/image_24012025_23_10_56_9478.jpg
/home/pi/Desktop/images/24012025/23/10/image_24012025_23_11_06_10364.jpg
/home/pi/Desktop/images/24012025/23/11/image_24012025_23_11_16_9467.jpg
/home/pi/Desktop/images/24012025/23/11/image_24012025_23_11_26_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":["1332644648","1332644657","1332644640","1332644652","1332644634","1332644628"],"photo_ids_order":["1332644628","1332644634","1332644640","1332644648","1332644652","1332644657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/03b1063902ddbb92c2056afcc0c85ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1166362267474860024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155874516,"filename":"image_24012025_23_11_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/29/4334fa0bb7c0af450788dc2e47e905b5.jpg","text":"TemporaryFile(/tmp/multipartBody7080273703331810092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155874516,"filename":"image_24012025_23_11_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/29/46d7ad3954d84290e22cf2d2ac8e1f01.jpg","text":"TemporaryFile(/tmp/multipartBody7676475571958516848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155874516,"filename":"image_24012025_23_10_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/29/55d43bcb6e046b6f680606668f8e7393.jpg","text":"TemporaryFile(/tmp/multipartBody8567912376125350282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155874516,"filename":"image_24012025_23_11_16_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/29/617b636c3775a3f3b00752f70fa03ec1.jpg","text":"TemporaryFile(/tmp/multipartBody5000390740684262294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155874516,"filename":"image_24012025_23_10_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/29/14c3a84041e8870333ef093dc5ff18e6.jpg","text":"TemporaryFile(/tmp/multipartBody2295432194076569756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155874516,"filename":"image_24012025_23_10_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332644640","file1":"1332644634","file0":"1332644628","file4":"1332644652","file5":"1332644657","file3":"1332644648"},"map_files_photo_id_array":[{"photo_id":"1332644657","filename":"file5"},{"photo_id":"1332644640","filename":"file2"},{"photo_id":"1332644652","filename":"file4"},{"photo_id":"1332644634","filename":"file1"},{"photo_id":"1332644628","filename":"file0"},{"photo_id":"1332644648","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332644648":["hashtag1","hashtag2"]},{"1332644657":["hashtag1","hashtag2"]},{"1332644640":["hashtag1","hashtag2"]},{"1332644652":["hashtag1","hashtag2"]},{"1332644634":["hashtag1","hashtag2"]},{"1332644628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332644648, 1332644657, 1332644640, 1332644652, 1332644634, 1332644628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.57302188873291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:04:32.617201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/11/image_24012025_23_11_37_10424.jpg', '/home/pi/Desktop/images/24012025/23/11/image_24012025_23_11_46_9435.jpg', '/home/pi/Desktop/images/24012025/23/11/image_24012025_23_11_56_10338.jpg', '/home/pi/Desktop/images/24012025/23/11/image_24012025_23_12_06_9499.jpg', '/home/pi/Desktop/images/24012025/23/12/image_24012025_23_12_16_10366.jpg', '/home/pi/Desktop/images/24012025/23/12/image_24012025_23_12_26_9443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/11/image_24012025_23_11_37_10424.jpg
/home/pi/Desktop/images/24012025/23/11/image_24012025_23_11_46_9435.jpg
/home/pi/Desktop/images/24012025/23/11/image_24012025_23_11_56_10338.jpg
/home/pi/Desktop/images/24012025/23/11/image_24012025_23_12_06_9499.jpg
/home/pi/Desktop/images/24012025/23/12/image_24012025_23_12_16_10366.jpg
/home/pi/Desktop/images/24012025/23/12/image_24012025_23_12_26_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332644708","1332644719","1332644716","1332644704","1332644712","1332644699"],"photo_ids_order":["1332644699","1332644704","1332644708","1332644712","1332644716","1332644719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fd5d2ad7894ba35841a16bdeae869697.jpg","text":"TemporaryFile(/tmp/multipartBody5271178578283924580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155934700,"filename":"image_24012025_23_11_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/29/0c0e2a2d68902fdd5aa7fa2a2d92d6e0.jpg","text":"TemporaryFile(/tmp/multipartBody6065673805235692938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155934700,"filename":"image_24012025_23_12_26_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/29/979c47436d207dd2f3b04b925cf6fb0f.jpg","text":"TemporaryFile(/tmp/multipartBody6085425684631887784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155934700,"filename":"image_24012025_23_12_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/29/06941be291913a6c484e2458534e0900.jpg","text":"TemporaryFile(/tmp/multipartBody877968524438324740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155934700,"filename":"image_24012025_23_11_46_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/29/629c296ff5507ade025592df30c63b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1819497564117095018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155934700,"filename":"image_24012025_23_12_06_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5686b6b57e254af6acb280a9ffaae594.jpg","text":"TemporaryFile(/tmp/multipartBody8808556091140251892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155934700,"filename":"image_24012025_23_11_37_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332644708","file1":"1332644704","file0":"1332644699","file4":"1332644716","file5":"1332644719","file3":"1332644712"},"map_files_photo_id_array":[{"photo_id":"1332644719","filename":"file5"},{"photo_id":"1332644708","filename":"file2"},{"photo_id":"1332644716","filename":"file4"},{"photo_id":"1332644704","filename":"file1"},{"photo_id":"1332644699","filename":"file0"},{"photo_id":"1332644712","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332644708":["hashtag1","hashtag2"]},{"1332644719":["hashtag1","hashtag2"]},{"1332644716":["hashtag1","hashtag2"]},{"1332644704":["hashtag1","hashtag2"]},{"1332644712":["hashtag1","hashtag2"]},{"1332644699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332644708, 1332644719, 1332644716, 1332644704, 1332644712, 1332644699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14668869972229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:05:32.791901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/12/image_24012025_23_12_36_10418.jpg', '/home/pi/Desktop/images/24012025/23/12/image_24012025_23_12_47_10412.jpg', '/home/pi/Desktop/images/24012025/23/12/image_24012025_23_12_56_9432.jpg', '/home/pi/Desktop/images/24012025/23/12/image_24012025_23_13_06_10349.jpg', '/home/pi/Desktop/images/24012025/23/13/image_24012025_23_13_16_9336.jpg', '/home/pi/Desktop/images/24012025/23/13/image_24012025_23_13_26_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/12/image_24012025_23_12_36_10418.jpg
/home/pi/Desktop/images/24012025/23/12/image_24012025_23_12_47_10412.jpg
/home/pi/Desktop/images/24012025/23/12/image_24012025_23_12_56_9432.jpg
/home/pi/Desktop/images/24012025/23/12/image_24012025_23_13_06_10349.jpg
/home/pi/Desktop/images/24012025/23/13/image_24012025_23_13_16_9336.jpg
/home/pi/Desktop/images/24012025/23/13/image_24012025_23_13_26_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":["1332644791","1332644758","1332644767","1332644752","1332644746","1332644762"],"photo_ids_order":["1332644746","1332644752","1332644758","1332644762","1332644767","1332644791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/85be6d64ea2964deb66ea8853c74094c.jpg","text":"TemporaryFile(/tmp/multipartBody8910699757603768455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155994894,"filename":"image_24012025_23_13_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/29/2f7d3ff9f9f307b9b69f38cbc35391dc.jpg","text":"TemporaryFile(/tmp/multipartBody7341485074371421910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155994894,"filename":"image_24012025_23_12_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/29/f278f5fafd0c729fd3596c179225a1fa.jpg","text":"TemporaryFile(/tmp/multipartBody9101861369919092130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155994894,"filename":"image_24012025_23_13_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/29/e9c3d1f5d306d28053d9fdde00346e75.jpg","text":"TemporaryFile(/tmp/multipartBody6936219260195906651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155994894,"filename":"image_24012025_23_12_47_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/29/aff664701b45360da7fcf8811c6ac54c.jpg","text":"TemporaryFile(/tmp/multipartBody4802971727144539173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155994894,"filename":"image_24012025_23_12_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/29/bd2afd664136f76155d323c2ccea5669.jpg","text":"TemporaryFile(/tmp/multipartBody691252324590879441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738155994894,"filename":"image_24012025_23_13_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332644758","file1":"1332644752","file0":"1332644746","file4":"1332644767","file5":"1332644791","file3":"1332644762"},"map_files_photo_id_array":[{"photo_id":"1332644791","filename":"file5"},{"photo_id":"1332644758","filename":"file2"},{"photo_id":"1332644767","filename":"file4"},{"photo_id":"1332644752","filename":"file1"},{"photo_id":"1332644746","filename":"file0"},{"photo_id":"1332644762","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332644791":["hashtag1","hashtag2"]},{"1332644758":["hashtag1","hashtag2"]},{"1332644767":["hashtag1","hashtag2"]},{"1332644752":["hashtag1","hashtag2"]},{"1332644746":["hashtag1","hashtag2"]},{"1332644762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332644791, 1332644758, 1332644767, 1332644752, 1332644746, 1332644762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.24537920951843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:06:33.052724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/13/image_24012025_23_13_36_10364.jpg', '/home/pi/Desktop/images/24012025/23/13/image_24012025_23_13_46_9396.jpg', '/home/pi/Desktop/images/24012025/23/13/image_24012025_23_14_07_10363.jpg', '/home/pi/Desktop/images/24012025/23/14/image_24012025_23_14_16_9327.jpg', '/home/pi/Desktop/images/24012025/23/14/image_24012025_23_14_26_10368.jpg', '/home/pi/Desktop/images/24012025/23/14/image_24012025_23_14_36_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/13/image_24012025_23_13_36_10364.jpg
/home/pi/Desktop/images/24012025/23/13/image_24012025_23_13_46_9396.jpg
/home/pi/Desktop/images/24012025/23/13/image_24012025_23_14_07_10363.jpg
/home/pi/Desktop/images/24012025/23/14/image_24012025_23_14_16_9327.jpg
/home/pi/Desktop/images/24012025/23/14/image_24012025_23_14_26_10368.jpg
/home/pi/Desktop/images/24012025/23/14/image_24012025_23_14_36_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":["1332644989","1332645013","1332644932","1332644955","1332644928","1332644975"],"photo_ids_order":["1332644928","1332644932","1332644955","1332644975","1332644989","1332645013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/72c9ba983493e9fdbcf3261b051e5452.jpg","text":"TemporaryFile(/tmp/multipartBody2280314556519615094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156055124,"filename":"image_24012025_23_14_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/29/cbc9ff1d9f71c34f79c9db9a48adcfab.jpg","text":"TemporaryFile(/tmp/multipartBody751014458393888715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156055124,"filename":"image_24012025_23_14_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/29/767a636e79298c828bff2e2436ce9109.jpg","text":"TemporaryFile(/tmp/multipartBody5635774471651561892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156055124,"filename":"image_24012025_23_13_46_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/29/ea7b8c62b50257d712a47f9c082d268b.jpg","text":"TemporaryFile(/tmp/multipartBody5112719396521646107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156055124,"filename":"image_24012025_23_14_07_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/29/058694fd7e8a5a64706b5bd1456d716f.jpg","text":"TemporaryFile(/tmp/multipartBody6935563830141823949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156055124,"filename":"image_24012025_23_13_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/29/1f1e91ae10e0d9800f3925dc04ac9e48.jpg","text":"TemporaryFile(/tmp/multipartBody8995114127573717337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156055124,"filename":"image_24012025_23_14_16_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332644955","file1":"1332644932","file0":"1332644928","file4":"1332644989","file5":"1332645013","file3":"1332644975"},"map_files_photo_id_array":[{"photo_id":"1332645013","filename":"file5"},{"photo_id":"1332644955","filename":"file2"},{"photo_id":"1332644989","filename":"file4"},{"photo_id":"1332644932","filename":"file1"},{"photo_id":"1332644928","filename":"file0"},{"photo_id":"1332644975","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332644989":["hashtag1","hashtag2"]},{"1332645013":["hashtag1","hashtag2"]},{"1332644932":["hashtag1","hashtag2"]},{"1332644955":["hashtag1","hashtag2"]},{"1332644928":["hashtag1","hashtag2"]},{"1332644975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332644989, 1332645013, 1332644932, 1332644955, 1332644928, 1332644975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.186747789382935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:07:32.290713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/14/image_24012025_23_14_46_10356.jpg', '/home/pi/Desktop/images/24012025/23/14/image_24012025_23_14_56_10414.jpg', '/home/pi/Desktop/images/24012025/23/14/image_24012025_23_15_06_9430.jpg', '/home/pi/Desktop/images/24012025/23/15/image_24012025_23_15_16_10324.jpg', '/home/pi/Desktop/images/24012025/23/15/image_24012025_23_15_27_10347.jpg', '/home/pi/Desktop/images/24012025/23/15/image_24012025_23_15_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/14/image_24012025_23_14_46_10356.jpg
/home/pi/Desktop/images/24012025/23/14/image_24012025_23_14_56_10414.jpg
/home/pi/Desktop/images/24012025/23/14/image_24012025_23_15_06_9430.jpg
/home/pi/Desktop/images/24012025/23/15/image_24012025_23_15_16_10324.jpg
/home/pi/Desktop/images/24012025/23/15/image_24012025_23_15_27_10347.jpg
/home/pi/Desktop/images/24012025/23/15/image_24012025_23_15_46_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":["1332645478","1332645448","1332645483","1332645436","1332645488","1332645473"],"photo_ids_order":["1332645436","1332645448","1332645473","1332645478","1332645483","1332645488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/791a46ecea7320f22fc826204d453bfc.jpg","text":"TemporaryFile(/tmp/multipartBody1480189660689146854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156114383,"filename":"image_24012025_23_15_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/29/58688f4be19d8f5ae79d058b6beaedfc.jpg","text":"TemporaryFile(/tmp/multipartBody624418416699957148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156114383,"filename":"image_24012025_23_14_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/29/65463dd68ef503db8ef0814e00743694.jpg","text":"TemporaryFile(/tmp/multipartBody469405713199118619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156114383,"filename":"image_24012025_23_15_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/29/b6a0fd18d2a0f1c299fb4213b5ab2414.jpg","text":"TemporaryFile(/tmp/multipartBody5582379167627363572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156114383,"filename":"image_24012025_23_14_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/29/ce19890b6beb484205ad8c21119d8467.jpg","text":"TemporaryFile(/tmp/multipartBody8726119331746983035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156114383,"filename":"image_24012025_23_15_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/29/65b475ac490546e623c04d21d5d656c9.jpg","text":"TemporaryFile(/tmp/multipartBody7722427101928868811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156114383,"filename":"image_24012025_23_15_06_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332645473","file1":"1332645448","file0":"1332645436","file4":"1332645483","file5":"1332645488","file3":"1332645478"},"map_files_photo_id_array":[{"photo_id":"1332645488","filename":"file5"},{"photo_id":"1332645473","filename":"file2"},{"photo_id":"1332645483","filename":"file4"},{"photo_id":"1332645448","filename":"file1"},{"photo_id":"1332645436","filename":"file0"},{"photo_id":"1332645478","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332645478":["hashtag1","hashtag2"]},{"1332645448":["hashtag1","hashtag2"]},{"1332645483":["hashtag1","hashtag2"]},{"1332645436":["hashtag1","hashtag2"]},{"1332645488":["hashtag1","hashtag2"]},{"1332645473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332645478, 1332645448, 1332645483, 1332645436, 1332645488, 1332645473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83465313911438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:08:32.509529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/15/image_24012025_23_16_06_10371.jpg', '/home/pi/Desktop/images/24012025/23/16/image_24012025_23_16_16_10393.jpg', '/home/pi/Desktop/images/24012025/23/16/image_24012025_23_16_26_9442.jpg', '/home/pi/Desktop/images/24012025/23/16/image_24012025_23_16_36_10367.jpg', '/home/pi/Desktop/images/24012025/23/16/image_24012025_23_16_47_10409.jpg', '/home/pi/Desktop/images/24012025/23/16/image_24012025_23_16_56_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/15/image_24012025_23_16_06_10371.jpg
/home/pi/Desktop/images/24012025/23/16/image_24012025_23_16_16_10393.jpg
/home/pi/Desktop/images/24012025/23/16/image_24012025_23_16_26_9442.jpg
/home/pi/Desktop/images/24012025/23/16/image_24012025_23_16_36_10367.jpg
/home/pi/Desktop/images/24012025/23/16/image_24012025_23_16_47_10409.jpg
/home/pi/Desktop/images/24012025/23/16/image_24012025_23_16_56_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":["1332645635","1332645643","1332645648","1332645633","1332645650","1332645638"],"photo_ids_order":["1332645633","1332645635","1332645638","1332645643","1332645648","1332645650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e2533bf994b26afeb9682ad8e0d0e8f1.jpg","text":"TemporaryFile(/tmp/multipartBody2194182142123816033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156174590,"filename":"image_24012025_23_16_16_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/29/4377ad2ae1a7b540e95fde797c1a5b5c.jpg","text":"TemporaryFile(/tmp/multipartBody6874695592406361334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156174590,"filename":"image_24012025_23_16_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/29/98f44a361090e17b3753948877a5bf50.jpg","text":"TemporaryFile(/tmp/multipartBody3371021895811951352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156174590,"filename":"image_24012025_23_16_47_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/29/7c288e039b71134cd8a84da71ecd3772.jpg","text":"TemporaryFile(/tmp/multipartBody6445674409393884386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156174590,"filename":"image_24012025_23_16_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/29/74d8c39996ea966c3c8286e5957c3cc4.jpg","text":"TemporaryFile(/tmp/multipartBody3904845118432157317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156174590,"filename":"image_24012025_23_16_56_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/29/c2da0841b1e62055867d7aa7e4f9ab50.jpg","text":"TemporaryFile(/tmp/multipartBody2592987523390474221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156174590,"filename":"image_24012025_23_16_26_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332645638","file1":"1332645635","file0":"1332645633","file4":"1332645648","file5":"1332645650","file3":"1332645643"},"map_files_photo_id_array":[{"photo_id":"1332645650","filename":"file5"},{"photo_id":"1332645638","filename":"file2"},{"photo_id":"1332645648","filename":"file4"},{"photo_id":"1332645635","filename":"file1"},{"photo_id":"1332645633","filename":"file0"},{"photo_id":"1332645643","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332645635":["hashtag1","hashtag2"]},{"1332645643":["hashtag1","hashtag2"]},{"1332645648":["hashtag1","hashtag2"]},{"1332645633":["hashtag1","hashtag2"]},{"1332645650":["hashtag1","hashtag2"]},{"1332645638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332645635, 1332645643, 1332645648, 1332645633, 1332645650, 1332645638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89382839202881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:09:32.766479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/16/image_24012025_23_17_06_10405.jpg', '/home/pi/Desktop/images/24012025/23/17/image_24012025_23_17_16_9421.jpg', '/home/pi/Desktop/images/24012025/23/17/image_24012025_23_17_26_10343.jpg', '/home/pi/Desktop/images/24012025/23/17/image_24012025_23_17_37_10348.jpg', '/home/pi/Desktop/images/24012025/23/17/image_24012025_23_17_46_9349.jpg', '/home/pi/Desktop/images/24012025/23/17/image_24012025_23_17_56_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/16/image_24012025_23_17_06_10405.jpg
/home/pi/Desktop/images/24012025/23/17/image_24012025_23_17_16_9421.jpg
/home/pi/Desktop/images/24012025/23/17/image_24012025_23_17_26_10343.jpg
/home/pi/Desktop/images/24012025/23/17/image_24012025_23_17_37_10348.jpg
/home/pi/Desktop/images/24012025/23/17/image_24012025_23_17_46_9349.jpg
/home/pi/Desktop/images/24012025/23/17/image_24012025_23_17_56_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":["1332645707","1332645703","1332645699","1332645732","1332645726","1332645738"],"photo_ids_order":["1332645699","1332645703","1332645707","1332645726","1332645732","1332645738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ccf8a670b9b12bd13023f42882777cf5.jpg","text":"TemporaryFile(/tmp/multipartBody7721661043602118397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156234888,"filename":"image_24012025_23_17_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/29/00a7ea863056c8473db83429ddbff726.jpg","text":"TemporaryFile(/tmp/multipartBody3551599040416782561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156234888,"filename":"image_24012025_23_17_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/29/1153531c11cf0d0d05fd4252b2bcb47e.jpg","text":"TemporaryFile(/tmp/multipartBody1540028475741714328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156234888,"filename":"image_24012025_23_17_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/29/17f17866ed1a46c74cecf8033663a8f9.jpg","text":"TemporaryFile(/tmp/multipartBody5657755344803391292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156234888,"filename":"image_24012025_23_17_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/29/4f838ce16df9b8dbb95901b00b270120.jpg","text":"TemporaryFile(/tmp/multipartBody8997322131952301687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156234888,"filename":"image_24012025_23_17_37_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/29/b409313d00e12a4504964bbce61c900e.jpg","text":"TemporaryFile(/tmp/multipartBody2411456589968648102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156234888,"filename":"image_24012025_23_17_56_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332645707","file1":"1332645703","file0":"1332645699","file4":"1332645732","file5":"1332645738","file3":"1332645726"},"map_files_photo_id_array":[{"photo_id":"1332645738","filename":"file5"},{"photo_id":"1332645707","filename":"file2"},{"photo_id":"1332645732","filename":"file4"},{"photo_id":"1332645703","filename":"file1"},{"photo_id":"1332645699","filename":"file0"},{"photo_id":"1332645726","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332645707":["hashtag1","hashtag2"]},{"1332645703":["hashtag1","hashtag2"]},{"1332645699":["hashtag1","hashtag2"]},{"1332645732":["hashtag1","hashtag2"]},{"1332645726":["hashtag1","hashtag2"]},{"1332645738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332645707, 1332645703, 1332645699, 1332645732, 1332645726, 1332645738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.200748443603516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:10:32.948789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/17/image_24012025_23_18_06_9381.jpg', '/home/pi/Desktop/images/24012025/23/18/image_24012025_23_18_16_10412.jpg', '/home/pi/Desktop/images/24012025/23/18/image_24012025_23_18_26_10408.jpg', '/home/pi/Desktop/images/24012025/23/18/image_24012025_23_18_36_9488.jpg', '/home/pi/Desktop/images/24012025/23/18/image_24012025_23_18_46_10413.jpg', '/home/pi/Desktop/images/24012025/23/18/image_24012025_23_18_56_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/17/image_24012025_23_18_06_9381.jpg
/home/pi/Desktop/images/24012025/23/18/image_24012025_23_18_16_10412.jpg
/home/pi/Desktop/images/24012025/23/18/image_24012025_23_18_26_10408.jpg
/home/pi/Desktop/images/24012025/23/18/image_24012025_23_18_36_9488.jpg
/home/pi/Desktop/images/24012025/23/18/image_24012025_23_18_46_10413.jpg
/home/pi/Desktop/images/24012025/23/18/image_24012025_23_18_56_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":["1332646573","1332646429","1332646842","1332646950","1332646952","1332646954"],"photo_ids_order":["1332646429","1332646573","1332646842","1332646950","1332646952","1332646954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7f92deb2bcc7a8fb255957d03b9f8d35.jpg","text":"TemporaryFile(/tmp/multipartBody2692559604505988015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156295025,"filename":"image_24012025_23_18_16_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/29/428c3b9bf1dd7eca31bf03a5a3ca93c0.jpg","text":"TemporaryFile(/tmp/multipartBody1450407464150254553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156295025,"filename":"image_24012025_23_18_06_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/29/56942d26ca95dd88c2aa54ce134c8b9b.jpg","text":"TemporaryFile(/tmp/multipartBody7467714043358442208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156295025,"filename":"image_24012025_23_18_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/29/7e7e5ba4055cc2a88c708b94313c9ab5.jpg","text":"TemporaryFile(/tmp/multipartBody5363537558713451113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156295025,"filename":"image_24012025_23_18_36_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/29/82a0ab7550054ab348a87fd851cbcb84.jpg","text":"TemporaryFile(/tmp/multipartBody2638017508882493491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156295025,"filename":"image_24012025_23_18_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/29/e8ca8d07d58e11586292e1e3db51b83c.jpg","text":"TemporaryFile(/tmp/multipartBody5386349772347760018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156295025,"filename":"image_24012025_23_18_56_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332646842","file1":"1332646573","file0":"1332646429","file4":"1332646952","file5":"1332646954","file3":"1332646950"},"map_files_photo_id_array":[{"photo_id":"1332646954","filename":"file5"},{"photo_id":"1332646842","filename":"file2"},{"photo_id":"1332646952","filename":"file4"},{"photo_id":"1332646573","filename":"file1"},{"photo_id":"1332646429","filename":"file0"},{"photo_id":"1332646950","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332646573":["hashtag1","hashtag2"]},{"1332646429":["hashtag1","hashtag2"]},{"1332646842":["hashtag1","hashtag2"]},{"1332646950":["hashtag1","hashtag2"]},{"1332646952":["hashtag1","hashtag2"]},{"1332646954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332646573, 1332646429, 1332646842, 1332646950, 1332646952, 1332646954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25439953804016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:11:32.199225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/19/image_24012025_23_19_16_9473.jpg', '/home/pi/Desktop/images/24012025/23/19/image_24012025_23_19_26_10588.jpg', '/home/pi/Desktop/images/24012025/23/19/image_24012025_23_19_36_9409.jpg', '/home/pi/Desktop/images/24012025/23/19/image_24012025_23_19_46_10353.jpg', '/home/pi/Desktop/images/24012025/23/19/image_24012025_23_19_57_10344.jpg', '/home/pi/Desktop/images/24012025/23/19/image_24012025_23_20_06_9414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/19/image_24012025_23_19_16_9473.jpg
/home/pi/Desktop/images/24012025/23/19/image_24012025_23_19_26_10588.jpg
/home/pi/Desktop/images/24012025/23/19/image_24012025_23_19_36_9409.jpg
/home/pi/Desktop/images/24012025/23/19/image_24012025_23_19_46_10353.jpg
/home/pi/Desktop/images/24012025/23/19/image_24012025_23_19_57_10344.jpg
/home/pi/Desktop/images/24012025/23/19/image_24012025_23_20_06_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":["1332646978","1332647289","1332646983","1332647154","1332647267","1332647009"],"photo_ids_order":["1332646978","1332646983","1332647009","1332647154","1332647267","1332647289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1cf0a0e5edeff3d201be8f8a0a048aeb.jpg","text":"TemporaryFile(/tmp/multipartBody2100090302977379997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156354277,"filename":"image_24012025_23_19_16_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/29/8c48776997c6fbb169d8655cc327c9f5.jpg","text":"TemporaryFile(/tmp/multipartBody7601765938568155747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156354277,"filename":"image_24012025_23_20_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/29/0dbff8a82cc05be3f608d911ac1bde8f.jpg","text":"TemporaryFile(/tmp/multipartBody7035093614429888756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156354277,"filename":"image_24012025_23_19_26_10588.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/26ff9a55c0dccc02ec7792dcab04dca1.jpg","text":"TemporaryFile(/tmp/multipartBody1695876111079824870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156354277,"filename":"image_24012025_23_19_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/29/c0b81a3e77fb398cbf08aa2c4d0aa151.jpg","text":"TemporaryFile(/tmp/multipartBody6330517538920995420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156354277,"filename":"image_24012025_23_19_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/29/97d482cb2cddea28135e7b5f94077c88.jpg","text":"TemporaryFile(/tmp/multipartBody6008682826596991963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156354277,"filename":"image_24012025_23_19_36_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332647009","file1":"1332646983","file0":"1332646978","file4":"1332647267","file5":"1332647289","file3":"1332647154"},"map_files_photo_id_array":[{"photo_id":"1332647289","filename":"file5"},{"photo_id":"1332647009","filename":"file2"},{"photo_id":"1332647267","filename":"file4"},{"photo_id":"1332646983","filename":"file1"},{"photo_id":"1332646978","filename":"file0"},{"photo_id":"1332647154","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332646978":["hashtag1","hashtag2"]},{"1332647289":["hashtag1","hashtag2"]},{"1332646983":["hashtag1","hashtag2"]},{"1332647154":["hashtag1","hashtag2"]},{"1332647267":["hashtag1","hashtag2"]},{"1332647009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332646978, 1332647289, 1332646983, 1332647154, 1332647267, 1332647009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.371869802474976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:12:32.424935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/20/image_24012025_23_20_26_9357.jpg', '/home/pi/Desktop/images/24012025/23/20/image_24012025_23_20_36_10442.jpg', '/home/pi/Desktop/images/24012025/23/20/image_24012025_23_20_46_10355.jpg', '/home/pi/Desktop/images/24012025/23/20/image_24012025_23_20_56_9458.jpg', '/home/pi/Desktop/images/24012025/23/21/image_24012025_23_21_26_10417.jpg', '/home/pi/Desktop/images/24012025/23/21/image_24012025_23_21_36_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/20/image_24012025_23_20_26_9357.jpg
/home/pi/Desktop/images/24012025/23/20/image_24012025_23_20_36_10442.jpg
/home/pi/Desktop/images/24012025/23/20/image_24012025_23_20_46_10355.jpg
/home/pi/Desktop/images/24012025/23/20/image_24012025_23_20_56_9458.jpg
/home/pi/Desktop/images/24012025/23/21/image_24012025_23_21_26_10417.jpg
/home/pi/Desktop/images/24012025/23/21/image_24012025_23_21_36_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":["1332647430","1332647471","1332647474","1332647482","1332647476","1332647434"],"photo_ids_order":["1332647430","1332647434","1332647471","1332647474","1332647476","1332647482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/674dd799c636fd802ae1acb5b9298622.jpg","text":"TemporaryFile(/tmp/multipartBody9078612350352301521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156414523,"filename":"image_24012025_23_20_26_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/29/d8ce97a762d16b280f1aa292297646e1.jpg","text":"TemporaryFile(/tmp/multipartBody3979978406135524733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156414523,"filename":"image_24012025_23_20_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/29/62d5000b253413d4f1bc37e4454fa683.jpg","text":"TemporaryFile(/tmp/multipartBody4717835865872505883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156414523,"filename":"image_24012025_23_20_56_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/29/1f2392cc5d2b80223af524efb59895b5.jpg","text":"TemporaryFile(/tmp/multipartBody5245595004298003358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156414523,"filename":"image_24012025_23_21_36_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/29/2214ba625e0dc571a1b5248aa2fc9abb.jpg","text":"TemporaryFile(/tmp/multipartBody7791934709699342877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156414523,"filename":"image_24012025_23_21_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/29/64dfc55cb7a79895b3a65d960c202879.jpg","text":"TemporaryFile(/tmp/multipartBody4726987690462992497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156414523,"filename":"image_24012025_23_20_36_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332647471","file1":"1332647434","file0":"1332647430","file4":"1332647476","file5":"1332647482","file3":"1332647474"},"map_files_photo_id_array":[{"photo_id":"1332647482","filename":"file5"},{"photo_id":"1332647471","filename":"file2"},{"photo_id":"1332647476","filename":"file4"},{"photo_id":"1332647434","filename":"file1"},{"photo_id":"1332647430","filename":"file0"},{"photo_id":"1332647474","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332647430":["hashtag1","hashtag2"]},{"1332647471":["hashtag1","hashtag2"]},{"1332647474":["hashtag1","hashtag2"]},{"1332647482":["hashtag1","hashtag2"]},{"1332647476":["hashtag1","hashtag2"]},{"1332647434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332647430, 1332647471, 1332647474, 1332647482, 1332647476, 1332647434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13434934616089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:13:32.585021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/21/image_24012025_23_21_46_9382.jpg', '/home/pi/Desktop/images/24012025/23/21/image_24012025_23_21_56_10332.jpg', '/home/pi/Desktop/images/24012025/23/21/image_24012025_23_22_07_10432.jpg', '/home/pi/Desktop/images/24012025/23/22/image_24012025_23_22_16_9347.jpg', '/home/pi/Desktop/images/24012025/23/22/image_24012025_23_22_26_10360.jpg', '/home/pi/Desktop/images/24012025/23/22/image_24012025_23_22_36_9513.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/21/image_24012025_23_21_46_9382.jpg
/home/pi/Desktop/images/24012025/23/21/image_24012025_23_21_56_10332.jpg
/home/pi/Desktop/images/24012025/23/21/image_24012025_23_22_07_10432.jpg
/home/pi/Desktop/images/24012025/23/22/image_24012025_23_22_16_9347.jpg
/home/pi/Desktop/images/24012025/23/22/image_24012025_23_22_26_10360.jpg
/home/pi/Desktop/images/24012025/23/22/image_24012025_23_22_36_9513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332647521","1332647535","1332647516","1332647533","1332647527","1332647512"],"photo_ids_order":["1332647512","1332647516","1332647521","1332647527","1332647533","1332647535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/13970c7b69c3e724b68f2c27962bdc42.jpg","text":"TemporaryFile(/tmp/multipartBody1132036021907956530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156474680,"filename":"image_24012025_23_22_07_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/29/711979656824abe74e482eb24ed58d6a.jpg","text":"TemporaryFile(/tmp/multipartBody8338856978524081275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156474680,"filename":"image_24012025_23_22_36_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/29/59c7a207766b2398a1f65a6206f5a537.jpg","text":"TemporaryFile(/tmp/multipartBody2239668098493278757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156474680,"filename":"image_24012025_23_21_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/29/efddc9f7d19a6660aaaf2a86d6f28c31.jpg","text":"TemporaryFile(/tmp/multipartBody77421252944558856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156474680,"filename":"image_24012025_23_22_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/29/173f042439fd9c880e1fa995e426dca0.jpg","text":"TemporaryFile(/tmp/multipartBody9052579253199612538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156474680,"filename":"image_24012025_23_22_16_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/29/f295cb5a9b8ea21bfb9fdd78c35fe24f.jpg","text":"TemporaryFile(/tmp/multipartBody7396401468496856132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156474680,"filename":"image_24012025_23_21_46_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332647521","file1":"1332647516","file0":"1332647512","file4":"1332647533","file5":"1332647535","file3":"1332647527"},"map_files_photo_id_array":[{"photo_id":"1332647535","filename":"file5"},{"photo_id":"1332647521","filename":"file2"},{"photo_id":"1332647533","filename":"file4"},{"photo_id":"1332647516","filename":"file1"},{"photo_id":"1332647512","filename":"file0"},{"photo_id":"1332647527","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332647521":["hashtag1","hashtag2"]},{"1332647535":["hashtag1","hashtag2"]},{"1332647516":["hashtag1","hashtag2"]},{"1332647533":["hashtag1","hashtag2"]},{"1332647527":["hashtag1","hashtag2"]},{"1332647512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332647521, 1332647535, 1332647516, 1332647533, 1332647527, 1332647512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.9021635055542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:14:32.891635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/22/image_24012025_23_22_57_10327.jpg', '/home/pi/Desktop/images/24012025/23/22/image_24012025_23_23_06_9342.jpg', '/home/pi/Desktop/images/24012025/23/23/image_24012025_23_23_16_10363.jpg', '/home/pi/Desktop/images/24012025/23/23/image_24012025_23_23_27_10389.jpg', '/home/pi/Desktop/images/24012025/23/23/image_24012025_23_23_36_9374.jpg', '/home/pi/Desktop/images/24012025/23/23/image_24012025_23_23_56_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/22/image_24012025_23_22_57_10327.jpg
/home/pi/Desktop/images/24012025/23/22/image_24012025_23_23_06_9342.jpg
/home/pi/Desktop/images/24012025/23/23/image_24012025_23_23_16_10363.jpg
/home/pi/Desktop/images/24012025/23/23/image_24012025_23_23_27_10389.jpg
/home/pi/Desktop/images/24012025/23/23/image_24012025_23_23_36_9374.jpg
/home/pi/Desktop/images/24012025/23/23/image_24012025_23_23_56_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":["1332647629","1332647640","1332647631","1332647645","1332647633","1332647636"],"photo_ids_order":["1332647629","1332647631","1332647633","1332647636","1332647640","1332647645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b2085792945f158491a2924cc05821e0.jpg","text":"TemporaryFile(/tmp/multipartBody4398589769611114691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156534983,"filename":"image_24012025_23_22_57_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/29/61b54e2b2404a6878e31f11fcf268e9f.jpg","text":"TemporaryFile(/tmp/multipartBody6847955804802467803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156534983,"filename":"image_24012025_23_23_36_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/29/4aa2e4b0b502c4a9646fa144c2de16c3.jpg","text":"TemporaryFile(/tmp/multipartBody3245613169419109456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156534983,"filename":"image_24012025_23_23_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/29/1910b68da5aee40b0a7fd9b0ea452868.jpg","text":"TemporaryFile(/tmp/multipartBody5143412884338996734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156534983,"filename":"image_24012025_23_23_56_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/29/a942dbddd28d64328edae28876218b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1788715698037471554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156534983,"filename":"image_24012025_23_23_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/29/9f999598518ce9adb5a2e8049384e45e.jpg","text":"TemporaryFile(/tmp/multipartBody7298068493526232981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156534983,"filename":"image_24012025_23_23_27_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332647633","file1":"1332647631","file0":"1332647629","file4":"1332647640","file5":"1332647645","file3":"1332647636"},"map_files_photo_id_array":[{"photo_id":"1332647645","filename":"file5"},{"photo_id":"1332647633","filename":"file2"},{"photo_id":"1332647640","filename":"file4"},{"photo_id":"1332647631","filename":"file1"},{"photo_id":"1332647629","filename":"file0"},{"photo_id":"1332647636","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332647629":["hashtag1","hashtag2"]},{"1332647640":["hashtag1","hashtag2"]},{"1332647631":["hashtag1","hashtag2"]},{"1332647645":["hashtag1","hashtag2"]},{"1332647633":["hashtag1","hashtag2"]},{"1332647636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332647629, 1332647640, 1332647631, 1332647645, 1332647633, 1332647636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.332865953445435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:15:33.145549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/23/image_24012025_23_24_06_10415.jpg', '/home/pi/Desktop/images/24012025/23/24/image_24012025_23_24_16_10335.jpg', '/home/pi/Desktop/images/24012025/23/24/image_24012025_23_24_26_9472.jpg', '/home/pi/Desktop/images/24012025/23/24/image_24012025_23_24_36_10370.jpg', '/home/pi/Desktop/images/24012025/23/24/image_24012025_23_24_46_9380.jpg', '/home/pi/Desktop/images/24012025/23/24/image_24012025_23_24_56_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/23/image_24012025_23_24_06_10415.jpg
/home/pi/Desktop/images/24012025/23/24/image_24012025_23_24_16_10335.jpg
/home/pi/Desktop/images/24012025/23/24/image_24012025_23_24_26_9472.jpg
/home/pi/Desktop/images/24012025/23/24/image_24012025_23_24_36_10370.jpg
/home/pi/Desktop/images/24012025/23/24/image_24012025_23_24_46_9380.jpg
/home/pi/Desktop/images/24012025/23/24/image_24012025_23_24_56_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332647688","1332647693","1332647675","1332647684","1332647680","1332647671"],"photo_ids_order":["1332647671","1332647675","1332647680","1332647684","1332647688","1332647693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fe4be0a2e4062c461bf7b4091b5cc323.jpg","text":"TemporaryFile(/tmp/multipartBody3221539917041005465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156595253,"filename":"image_24012025_23_24_46_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/29/5d25a703cee5dee6fa9cb01b5c7ff8d1.jpg","text":"TemporaryFile(/tmp/multipartBody6237720620435897149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156595253,"filename":"image_24012025_23_24_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/29/e3c4c7c184a9bf318edce73342b04198.jpg","text":"TemporaryFile(/tmp/multipartBody7739455987570379950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156595253,"filename":"image_24012025_23_24_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/29/081c299b07658d17d266697f7e7d5fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2768814594299617686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156595253,"filename":"image_24012025_23_24_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/29/776473d5bb0dcd8765926a7f564d5596.jpg","text":"TemporaryFile(/tmp/multipartBody6935000158772162849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156595253,"filename":"image_24012025_23_24_26_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/29/1305101158a60c2e3aad8490961f2ef3.jpg","text":"TemporaryFile(/tmp/multipartBody2905414638913133495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156595253,"filename":"image_24012025_23_24_06_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332647680","file1":"1332647675","file0":"1332647671","file4":"1332647688","file5":"1332647693","file3":"1332647684"},"map_files_photo_id_array":[{"photo_id":"1332647693","filename":"file5"},{"photo_id":"1332647680","filename":"file2"},{"photo_id":"1332647688","filename":"file4"},{"photo_id":"1332647675","filename":"file1"},{"photo_id":"1332647671","filename":"file0"},{"photo_id":"1332647684","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332647688":["hashtag1","hashtag2"]},{"1332647693":["hashtag1","hashtag2"]},{"1332647675":["hashtag1","hashtag2"]},{"1332647684":["hashtag1","hashtag2"]},{"1332647680":["hashtag1","hashtag2"]},{"1332647671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332647688, 1332647693, 1332647675, 1332647684, 1332647680, 1332647671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98745536804199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:16:32.329579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/24/image_24012025_23_25_06_10350.jpg', '/home/pi/Desktop/images/24012025/23/25/image_24012025_23_25_26_10390.jpg', '/home/pi/Desktop/images/24012025/23/25/image_24012025_23_25_46_9342.jpg', '/home/pi/Desktop/images/24012025/23/25/image_24012025_23_25_56_10362.jpg', '/home/pi/Desktop/images/24012025/23/25/image_24012025_23_26_07_10355.jpg', '/home/pi/Desktop/images/24012025/23/26/image_24012025_23_26_36_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/24/image_24012025_23_25_06_10350.jpg
/home/pi/Desktop/images/24012025/23/25/image_24012025_23_25_26_10390.jpg
/home/pi/Desktop/images/24012025/23/25/image_24012025_23_25_46_9342.jpg
/home/pi/Desktop/images/24012025/23/25/image_24012025_23_25_56_10362.jpg
/home/pi/Desktop/images/24012025/23/25/image_24012025_23_26_07_10355.jpg
/home/pi/Desktop/images/24012025/23/26/image_24012025_23_26_36_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":["1332648528","1332648405","1332648102","1332648776","1332648250","1332648684"],"photo_ids_order":["1332648102","1332648250","1332648405","1332648528","1332648684","1332648776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/76fd2b32bfe615e4454baab7893ce35e.jpg","text":"TemporaryFile(/tmp/multipartBody2967517955604521104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156654420,"filename":"image_24012025_23_25_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/29/697c43dd384d055ba120d05344635f4a.jpg","text":"TemporaryFile(/tmp/multipartBody194349238240873622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156654420,"filename":"image_24012025_23_25_46_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/29/164c68fbc70637eddffdf48a93502d9d.jpg","text":"TemporaryFile(/tmp/multipartBody1497470755564385037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156654420,"filename":"image_24012025_23_25_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/29/01ee6c88886ead57d2ddf9efd3847913.jpg","text":"TemporaryFile(/tmp/multipartBody1646138173016376165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156654420,"filename":"image_24012025_23_26_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/29/38dfe54bfaa769e83b80b18ec51150e5.jpg","text":"TemporaryFile(/tmp/multipartBody5166001730803572048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156654420,"filename":"image_24012025_23_25_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/29/22c1911486f75515681fab3d40b266d9.jpg","text":"TemporaryFile(/tmp/multipartBody1288529551192473746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156654420,"filename":"image_24012025_23_26_07_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332648405","file1":"1332648250","file0":"1332648102","file4":"1332648684","file5":"1332648776","file3":"1332648528"},"map_files_photo_id_array":[{"photo_id":"1332648776","filename":"file5"},{"photo_id":"1332648405","filename":"file2"},{"photo_id":"1332648684","filename":"file4"},{"photo_id":"1332648250","filename":"file1"},{"photo_id":"1332648102","filename":"file0"},{"photo_id":"1332648528","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332648528":["hashtag1","hashtag2"]},{"1332648405":["hashtag1","hashtag2"]},{"1332648102":["hashtag1","hashtag2"]},{"1332648776":["hashtag1","hashtag2"]},{"1332648250":["hashtag1","hashtag2"]},{"1332648684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332648528, 1332648405, 1332648102, 1332648776, 1332648250, 1332648684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.511268854141235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:17:32.579687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/26/image_24012025_23_26_46_10356.jpg', '/home/pi/Desktop/images/24012025/23/26/image_24012025_23_27_06_9419.jpg', '/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_16_10344.jpg', '/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_26_10333.jpg', '/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_36_9427.jpg', '/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/26/image_24012025_23_26_46_10356.jpg
/home/pi/Desktop/images/24012025/23/26/image_24012025_23_27_06_9419.jpg
/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_16_10344.jpg
/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_26_10333.jpg
/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_36_9427.jpg
/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_46_10364.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.685117483139038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 14:17:42.574067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/26/image_24012025_23_26_46_10356.jpg', '/home/pi/Desktop/images/24012025/23/26/image_24012025_23_27_06_9419.jpg', '/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_16_10344.jpg', '/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_26_10333.jpg', '/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_36_9427.jpg', '/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/26/image_24012025_23_26_46_10356.jpg
/home/pi/Desktop/images/24012025/23/26/image_24012025_23_27_06_9419.jpg
/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_16_10344.jpg
/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_26_10333.jpg
/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_36_9427.jpg
/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_46_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332649032","1332649029","1332649013","1332649024","1332649006","1332649018"],"photo_ids_order":["1332649006","1332649013","1332649018","1332649024","1332649029","1332649032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5ad2be9503ee0b3aa42a1bdc085a966d.jpg","text":"TemporaryFile(/tmp/multipartBody1520672634831386118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156723779,"filename":"image_24012025_23_27_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/29/0e9b71be02ea26d8031143bc68454a17.jpg","text":"TemporaryFile(/tmp/multipartBody2664626638134995659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156723779,"filename":"image_24012025_23_27_36_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/29/86c4dba592194bf520cac9b07d6ea937.jpg","text":"TemporaryFile(/tmp/multipartBody6384479485818855180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156723779,"filename":"image_24012025_23_27_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/29/aae7eef884f6672b64038a35ddc9ad1d.jpg","text":"TemporaryFile(/tmp/multipartBody4012450195885622301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156723779,"filename":"image_24012025_23_27_26_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/29/5dc65979b9d628bdd11fcc31af987ef8.jpg","text":"TemporaryFile(/tmp/multipartBody2631787304561466928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156723779,"filename":"image_24012025_23_26_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/29/8121ef0172b3721eab7aba66b40256b3.jpg","text":"TemporaryFile(/tmp/multipartBody4179824755794878265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156723779,"filename":"image_24012025_23_27_16_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332649018","file1":"1332649013","file0":"1332649006","file4":"1332649029","file5":"1332649032","file3":"1332649024"},"map_files_photo_id_array":[{"photo_id":"1332649032","filename":"file5"},{"photo_id":"1332649018","filename":"file2"},{"photo_id":"1332649029","filename":"file4"},{"photo_id":"1332649013","filename":"file1"},{"photo_id":"1332649006","filename":"file0"},{"photo_id":"1332649024","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332649032":["hashtag1","hashtag2"]},{"1332649029":["hashtag1","hashtag2"]},{"1332649013":["hashtag1","hashtag2"]},{"1332649024":["hashtag1","hashtag2"]},{"1332649006":["hashtag1","hashtag2"]},{"1332649018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332649032, 1332649029, 1332649013, 1332649024, 1332649006, 1332649018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75624895095825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:18:32.728884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_57_10359.jpg', '/home/pi/Desktop/images/24012025/23/27/image_24012025_23_28_06_9360.jpg', '/home/pi/Desktop/images/24012025/23/28/image_24012025_23_28_16_10344.jpg', '/home/pi/Desktop/images/24012025/23/28/image_24012025_23_28_26_9353.jpg', '/home/pi/Desktop/images/24012025/23/28/image_24012025_23_28_36_10348.jpg', '/home/pi/Desktop/images/24012025/23/28/image_24012025_23_28_46_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/27/image_24012025_23_27_57_10359.jpg
/home/pi/Desktop/images/24012025/23/27/image_24012025_23_28_06_9360.jpg
/home/pi/Desktop/images/24012025/23/28/image_24012025_23_28_16_10344.jpg
/home/pi/Desktop/images/24012025/23/28/image_24012025_23_28_26_9353.jpg
/home/pi/Desktop/images/24012025/23/28/image_24012025_23_28_36_10348.jpg
/home/pi/Desktop/images/24012025/23/28/image_24012025_23_28_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":["1332649073","1332649055","1332649060","1332649063","1332649051","1332649068"],"photo_ids_order":["1332649051","1332649055","1332649060","1332649063","1332649068","1332649073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d0ea1470e122caba6cff2a8985d48396.jpg","text":"TemporaryFile(/tmp/multipartBody8443739731441828919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156774830,"filename":"image_24012025_23_28_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/29/f141c59c2c759ce170098b638b853210.jpg","text":"TemporaryFile(/tmp/multipartBody8368652802856313322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156774830,"filename":"image_24012025_23_28_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/29/8c7f4ab7bb3954e3bd4b6b0e7824e5be.jpg","text":"TemporaryFile(/tmp/multipartBody1020357384336656441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156774830,"filename":"image_24012025_23_28_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/29/67a9d69a0bafde04f7ef4b8635957507.jpg","text":"TemporaryFile(/tmp/multipartBody4297519894241790736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156774830,"filename":"image_24012025_23_28_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/29/881d2de37367a4327ad896518fbb706a.jpg","text":"TemporaryFile(/tmp/multipartBody7474902568282915327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156774830,"filename":"image_24012025_23_27_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/29/8accc5e808c195cec9e0d1f731185068.jpg","text":"TemporaryFile(/tmp/multipartBody5128748914479859506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156774830,"filename":"image_24012025_23_28_36_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332649060","file1":"1332649055","file0":"1332649051","file4":"1332649068","file5":"1332649073","file3":"1332649063"},"map_files_photo_id_array":[{"photo_id":"1332649073","filename":"file5"},{"photo_id":"1332649060","filename":"file2"},{"photo_id":"1332649068","filename":"file4"},{"photo_id":"1332649055","filename":"file1"},{"photo_id":"1332649051","filename":"file0"},{"photo_id":"1332649063","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332649073":["hashtag1","hashtag2"]},{"1332649055":["hashtag1","hashtag2"]},{"1332649060":["hashtag1","hashtag2"]},{"1332649063":["hashtag1","hashtag2"]},{"1332649051":["hashtag1","hashtag2"]},{"1332649068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332649073, 1332649055, 1332649060, 1332649063, 1332649051, 1332649068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65887689590454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:19:33.061662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/28/image_24012025_23_28_56_9393.jpg', '/home/pi/Desktop/images/24012025/23/28/image_24012025_23_29_06_10359.jpg', '/home/pi/Desktop/images/24012025/23/29/image_24012025_23_29_16_10340.jpg', '/home/pi/Desktop/images/24012025/23/29/image_24012025_23_29_26_9380.jpg', '/home/pi/Desktop/images/24012025/23/29/image_24012025_23_29_36_10379.jpg', '/home/pi/Desktop/images/24012025/23/29/image_24012025_23_29_47_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/28/image_24012025_23_28_56_9393.jpg
/home/pi/Desktop/images/24012025/23/28/image_24012025_23_29_06_10359.jpg
/home/pi/Desktop/images/24012025/23/29/image_24012025_23_29_16_10340.jpg
/home/pi/Desktop/images/24012025/23/29/image_24012025_23_29_26_9380.jpg
/home/pi/Desktop/images/24012025/23/29/image_24012025_23_29_36_10379.jpg
/home/pi/Desktop/images/24012025/23/29/image_24012025_23_29_47_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":["1332649319","1332649297","1332649363","1332649333","1332649347","1332649326"],"photo_ids_order":["1332649297","1332649319","1332649326","1332649333","1332649347","1332649363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9e2c4a0175638cc06af5f4a3f73a0b60.jpg","text":"TemporaryFile(/tmp/multipartBody1633831304615045110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156835183,"filename":"image_24012025_23_29_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/29/b72e27b119627a161f45a63a2dc12061.jpg","text":"TemporaryFile(/tmp/multipartBody4509040638546458328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156835183,"filename":"image_24012025_23_28_56_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/29/428b7a6dcdfa64efa45e1266dd7f3b94.jpg","text":"TemporaryFile(/tmp/multipartBody8247307476990002545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156835183,"filename":"image_24012025_23_29_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/29/58c6922e116f2fd90ea54c11661394fe.jpg","text":"TemporaryFile(/tmp/multipartBody9042695461468935824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156835183,"filename":"image_24012025_23_29_26_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/29/225ee9450d16eac8addde0ed6435f3e8.jpg","text":"TemporaryFile(/tmp/multipartBody4767224637760516780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156835183,"filename":"image_24012025_23_29_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/29/333dc86f92a71950461c912ee3fffa29.jpg","text":"TemporaryFile(/tmp/multipartBody8198540096935967371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156835183,"filename":"image_24012025_23_29_16_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332649326","file1":"1332649319","file0":"1332649297","file4":"1332649347","file5":"1332649363","file3":"1332649333"},"map_files_photo_id_array":[{"photo_id":"1332649363","filename":"file5"},{"photo_id":"1332649326","filename":"file2"},{"photo_id":"1332649347","filename":"file4"},{"photo_id":"1332649319","filename":"file1"},{"photo_id":"1332649297","filename":"file0"},{"photo_id":"1332649333","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332649319":["hashtag1","hashtag2"]},{"1332649297":["hashtag1","hashtag2"]},{"1332649363":["hashtag1","hashtag2"]},{"1332649333":["hashtag1","hashtag2"]},{"1332649347":["hashtag1","hashtag2"]},{"1332649326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332649319, 1332649297, 1332649363, 1332649333, 1332649347, 1332649326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45887517929077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:20:32.178417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/29/image_24012025_23_29_56_9408.jpg', '/home/pi/Desktop/images/24012025/23/29/image_24012025_23_30_06_10355.jpg', '/home/pi/Desktop/images/24012025/23/30/image_24012025_23_30_16_9387.jpg', '/home/pi/Desktop/images/24012025/23/30/image_24012025_23_30_26_10344.jpg', '/home/pi/Desktop/images/24012025/23/30/image_24012025_23_30_37_10432.jpg', '/home/pi/Desktop/images/24012025/23/30/image_24012025_23_30_46_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/29/image_24012025_23_29_56_9408.jpg
/home/pi/Desktop/images/24012025/23/29/image_24012025_23_30_06_10355.jpg
/home/pi/Desktop/images/24012025/23/30/image_24012025_23_30_16_9387.jpg
/home/pi/Desktop/images/24012025/23/30/image_24012025_23_30_26_10344.jpg
/home/pi/Desktop/images/24012025/23/30/image_24012025_23_30_37_10432.jpg
/home/pi/Desktop/images/24012025/23/30/image_24012025_23_30_46_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":["1332649469","1332649478","1332649465","1332649432","1332649426","1332649473"],"photo_ids_order":["1332649426","1332649432","1332649465","1332649469","1332649473","1332649478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/51b4e6e75f2dfa05f8c9a63f24a49fd9.jpg","text":"TemporaryFile(/tmp/multipartBody673210761100075309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156894252,"filename":"image_24012025_23_30_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/29/b572e5de97b4cbc55c8d9d92f355f757.jpg","text":"TemporaryFile(/tmp/multipartBody4585391348806116088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156894252,"filename":"image_24012025_23_30_46_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/29/04b0b35bd0ebd109ee6b4a830f24f6ed.jpg","text":"TemporaryFile(/tmp/multipartBody4169248533619324053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156894252,"filename":"image_24012025_23_30_16_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/29/19403c7d4d2e3ecef3ca024f27db00b7.jpg","text":"TemporaryFile(/tmp/multipartBody385141489489951784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156894252,"filename":"image_24012025_23_30_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/29/2a27892821d8951b5cdb48629e210c21.jpg","text":"TemporaryFile(/tmp/multipartBody7430801221731143043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156894252,"filename":"image_24012025_23_29_56_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/29/7618b9f5ccb207a74b6a113054c4402c.jpg","text":"TemporaryFile(/tmp/multipartBody221182127539653309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156894252,"filename":"image_24012025_23_30_37_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332649465","file1":"1332649432","file0":"1332649426","file4":"1332649473","file5":"1332649478","file3":"1332649469"},"map_files_photo_id_array":[{"photo_id":"1332649478","filename":"file5"},{"photo_id":"1332649465","filename":"file2"},{"photo_id":"1332649473","filename":"file4"},{"photo_id":"1332649432","filename":"file1"},{"photo_id":"1332649426","filename":"file0"},{"photo_id":"1332649469","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332649469":["hashtag1","hashtag2"]},{"1332649478":["hashtag1","hashtag2"]},{"1332649465":["hashtag1","hashtag2"]},{"1332649432":["hashtag1","hashtag2"]},{"1332649426":["hashtag1","hashtag2"]},{"1332649473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332649469, 1332649478, 1332649465, 1332649432, 1332649426, 1332649473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.97175168991089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:21:32.440304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/30/image_24012025_23_30_56_10365.jpg', '/home/pi/Desktop/images/24012025/23/31/image_24012025_23_31_26_10416.jpg', '/home/pi/Desktop/images/24012025/23/31/image_24012025_23_31_36_9482.jpg', '/home/pi/Desktop/images/24012025/23/31/image_24012025_23_31_46_10455.jpg', '/home/pi/Desktop/images/24012025/23/31/image_24012025_23_31_56_9381.jpg', '/home/pi/Desktop/images/24012025/23/31/image_24012025_23_32_06_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/30/image_24012025_23_30_56_10365.jpg
/home/pi/Desktop/images/24012025/23/31/image_24012025_23_31_26_10416.jpg
/home/pi/Desktop/images/24012025/23/31/image_24012025_23_31_36_9482.jpg
/home/pi/Desktop/images/24012025/23/31/image_24012025_23_31_46_10455.jpg
/home/pi/Desktop/images/24012025/23/31/image_24012025_23_31_56_9381.jpg
/home/pi/Desktop/images/24012025/23/31/image_24012025_23_32_06_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":["1332649521","1332649499","1332649511","1332649495","1332649516","1332649504"],"photo_ids_order":["1332649495","1332649499","1332649504","1332649511","1332649516","1332649521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7e28173feba7752b4d18da701bf04083.jpg","text":"TemporaryFile(/tmp/multipartBody2248949781608470122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156954537,"filename":"image_24012025_23_32_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/29/8ddea05b9969538a7316da58e170b343.jpg","text":"TemporaryFile(/tmp/multipartBody80574124412355264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156954537,"filename":"image_24012025_23_31_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/29/0622a530a936810b546ba667057eb1f6.jpg","text":"TemporaryFile(/tmp/multipartBody1898487950117933576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156954537,"filename":"image_24012025_23_31_46_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/29/ab816e79edd1fa2915f052b68ca6cacb.jpg","text":"TemporaryFile(/tmp/multipartBody1164620731248540032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156954537,"filename":"image_24012025_23_30_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/29/2c201f694ad49a7e8c96acfc9acc40ad.jpg","text":"TemporaryFile(/tmp/multipartBody7513246788409298710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156954537,"filename":"image_24012025_23_31_56_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/29/211cdf75834e23e88885e1a506f5802e.jpg","text":"TemporaryFile(/tmp/multipartBody5984071122641002121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738156954537,"filename":"image_24012025_23_31_36_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332649504","file1":"1332649499","file0":"1332649495","file4":"1332649516","file5":"1332649521","file3":"1332649511"},"map_files_photo_id_array":[{"photo_id":"1332649521","filename":"file5"},{"photo_id":"1332649504","filename":"file2"},{"photo_id":"1332649516","filename":"file4"},{"photo_id":"1332649499","filename":"file1"},{"photo_id":"1332649495","filename":"file0"},{"photo_id":"1332649511","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332649521":["hashtag1","hashtag2"]},{"1332649499":["hashtag1","hashtag2"]},{"1332649511":["hashtag1","hashtag2"]},{"1332649495":["hashtag1","hashtag2"]},{"1332649516":["hashtag1","hashtag2"]},{"1332649504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332649521, 1332649499, 1332649511, 1332649495, 1332649516, 1332649504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.26550889015198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:22:32.574461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/32/image_24012025_23_32_26_9461.jpg', '/home/pi/Desktop/images/24012025/23/32/image_24012025_23_32_36_10340.jpg', '/home/pi/Desktop/images/24012025/23/32/image_24012025_23_32_56_10420.jpg', '/home/pi/Desktop/images/24012025/23/33/image_24012025_23_33_16_9389.jpg', '/home/pi/Desktop/images/24012025/23/33/image_24012025_23_33_26_10343.jpg', '/home/pi/Desktop/images/24012025/23/33/image_24012025_23_33_36_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/32/image_24012025_23_32_26_9461.jpg
/home/pi/Desktop/images/24012025/23/32/image_24012025_23_32_36_10340.jpg
/home/pi/Desktop/images/24012025/23/32/image_24012025_23_32_56_10420.jpg
/home/pi/Desktop/images/24012025/23/33/image_24012025_23_33_16_9389.jpg
/home/pi/Desktop/images/24012025/23/33/image_24012025_23_33_26_10343.jpg
/home/pi/Desktop/images/24012025/23/33/image_24012025_23_33_36_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":["1332649564","1332649959","1332649794","1332649551","1332649545","1332649539"],"photo_ids_order":["1332649539","1332649545","1332649551","1332649564","1332649794","1332649959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/229332f23e39357321a88e190fde8608.jpg","text":"TemporaryFile(/tmp/multipartBody4664329514374114192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157014652,"filename":"image_24012025_23_33_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/29/d73e9da537d3ba8ad2cbf29edcda7c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2405785221535169974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157014652,"filename":"image_24012025_23_33_36_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/29/f28bc708b4011b68e587b59a30d5b12b.jpg","text":"TemporaryFile(/tmp/multipartBody7150504148666947376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157014652,"filename":"image_24012025_23_33_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/29/49fa11d898841c01be55256b8ca359c7.jpg","text":"TemporaryFile(/tmp/multipartBody3383737880668164300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157014652,"filename":"image_24012025_23_32_56_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/29/92b0af1c2d51ef6c6a19923744087c5f.jpg","text":"TemporaryFile(/tmp/multipartBody2400249112965447794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157014652,"filename":"image_24012025_23_32_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/29/bffe15047bfdb4ffb3ed7265ab11d086.jpg","text":"TemporaryFile(/tmp/multipartBody5061333817300133309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157014652,"filename":"image_24012025_23_32_26_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332649551","file1":"1332649545","file0":"1332649539","file4":"1332649794","file5":"1332649959","file3":"1332649564"},"map_files_photo_id_array":[{"photo_id":"1332649959","filename":"file5"},{"photo_id":"1332649551","filename":"file2"},{"photo_id":"1332649794","filename":"file4"},{"photo_id":"1332649545","filename":"file1"},{"photo_id":"1332649539","filename":"file0"},{"photo_id":"1332649564","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332649564":["hashtag1","hashtag2"]},{"1332649959":["hashtag1","hashtag2"]},{"1332649794":["hashtag1","hashtag2"]},{"1332649551":["hashtag1","hashtag2"]},{"1332649545":["hashtag1","hashtag2"]},{"1332649539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332649564, 1332649959, 1332649794, 1332649551, 1332649545, 1332649539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.804888010025024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:23:33.058166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/33/image_24012025_23_33_46_10436.jpg', '/home/pi/Desktop/images/24012025/23/33/image_24012025_23_33_57_10415.jpg', '/home/pi/Desktop/images/24012025/23/33/image_24012025_23_34_06_9342.jpg', '/home/pi/Desktop/images/24012025/23/34/image_24012025_23_34_16_10327.jpg', '/home/pi/Desktop/images/24012025/23/34/image_24012025_23_34_27_10351.jpg', '/home/pi/Desktop/images/24012025/23/34/image_24012025_23_34_36_9403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/33/image_24012025_23_33_46_10436.jpg
/home/pi/Desktop/images/24012025/23/33/image_24012025_23_33_57_10415.jpg
/home/pi/Desktop/images/24012025/23/33/image_24012025_23_34_06_9342.jpg
/home/pi/Desktop/images/24012025/23/34/image_24012025_23_34_16_10327.jpg
/home/pi/Desktop/images/24012025/23/34/image_24012025_23_34_27_10351.jpg
/home/pi/Desktop/images/24012025/23/34/image_24012025_23_34_36_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":["1332650175","1332650256","1332650168","1332650258","1332650173","1332650163"],"photo_ids_order":["1332650163","1332650168","1332650173","1332650175","1332650256","1332650258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ab1285ddbbbbea6d89ac9132f6621d99.jpg","text":"TemporaryFile(/tmp/multipartBody6512131791948170740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157075147,"filename":"image_24012025_23_34_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/29/394533b19f681bb7fcf4f01dcae9046a.jpg","text":"TemporaryFile(/tmp/multipartBody3201533953019729428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157075147,"filename":"image_24012025_23_34_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/29/3f1bff2fda30f4342775f67f63d05b21.jpg","text":"TemporaryFile(/tmp/multipartBody8272652971405450415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157075147,"filename":"image_24012025_23_33_57_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/29/221d9e40ef0b7df061e2dc3a53f64eea.jpg","text":"TemporaryFile(/tmp/multipartBody8470241797509403002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157075147,"filename":"image_24012025_23_34_36_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/29/2395529aa36b0a14d5800add653a184e.jpg","text":"TemporaryFile(/tmp/multipartBody7997872538591993843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157075147,"filename":"image_24012025_23_34_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/29/0fb85e96005b89231d149ea971920729.jpg","text":"TemporaryFile(/tmp/multipartBody8740989941923836022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157075147,"filename":"image_24012025_23_33_46_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332650173","file1":"1332650168","file0":"1332650163","file4":"1332650256","file5":"1332650258","file3":"1332650175"},"map_files_photo_id_array":[{"photo_id":"1332650258","filename":"file5"},{"photo_id":"1332650173","filename":"file2"},{"photo_id":"1332650256","filename":"file4"},{"photo_id":"1332650168","filename":"file1"},{"photo_id":"1332650163","filename":"file0"},{"photo_id":"1332650175","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332650175":["hashtag1","hashtag2"]},{"1332650256":["hashtag1","hashtag2"]},{"1332650168":["hashtag1","hashtag2"]},{"1332650258":["hashtag1","hashtag2"]},{"1332650173":["hashtag1","hashtag2"]},{"1332650163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332650175, 1332650256, 1332650168, 1332650258, 1332650173, 1332650163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.018157958984375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:24:32.171491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/34/image_24012025_23_34_46_10375.jpg', '/home/pi/Desktop/images/24012025/23/34/image_24012025_23_34_56_9358.jpg', '/home/pi/Desktop/images/24012025/23/34/image_24012025_23_35_06_10428.jpg', '/home/pi/Desktop/images/24012025/23/35/image_24012025_23_35_16_10346.jpg', '/home/pi/Desktop/images/24012025/23/35/image_24012025_23_35_36_10346.jpg', '/home/pi/Desktop/images/24012025/23/35/image_24012025_23_35_47_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/34/image_24012025_23_34_46_10375.jpg
/home/pi/Desktop/images/24012025/23/34/image_24012025_23_34_56_9358.jpg
/home/pi/Desktop/images/24012025/23/34/image_24012025_23_35_06_10428.jpg
/home/pi/Desktop/images/24012025/23/35/image_24012025_23_35_16_10346.jpg
/home/pi/Desktop/images/24012025/23/35/image_24012025_23_35_36_10346.jpg
/home/pi/Desktop/images/24012025/23/35/image_24012025_23_35_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":["1332650319","1332650315","1332650309","1332650287","1332650302","1332650295"],"photo_ids_order":["1332650287","1332650295","1332650302","1332650309","1332650315","1332650319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c701013cd0326bec8e5addbc2e34e27b.jpg","text":"TemporaryFile(/tmp/multipartBody4310989621924114405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157134275,"filename":"image_24012025_23_35_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/29/c9170d41bcdf42b9ae8ca40b73f7820f.jpg","text":"TemporaryFile(/tmp/multipartBody4538558458451755746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157134275,"filename":"image_24012025_23_35_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/29/c9b5461a28c7b39627d74ade259bee05.jpg","text":"TemporaryFile(/tmp/multipartBody2421680191731221606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157134275,"filename":"image_24012025_23_35_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/29/daba228fe60788e1f0e8034041ff553d.jpg","text":"TemporaryFile(/tmp/multipartBody7658770529796099518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157134275,"filename":"image_24012025_23_34_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/29/18d3278ca77c31546f3eedc7b2a71a6f.jpg","text":"TemporaryFile(/tmp/multipartBody8205332818403254180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157134275,"filename":"image_24012025_23_35_06_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/29/50832f39e5f246d22b73aafab0341127.jpg","text":"TemporaryFile(/tmp/multipartBody4229351761581641436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157134275,"filename":"image_24012025_23_34_56_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332650302","file1":"1332650295","file0":"1332650287","file4":"1332650315","file5":"1332650319","file3":"1332650309"},"map_files_photo_id_array":[{"photo_id":"1332650319","filename":"file5"},{"photo_id":"1332650302","filename":"file2"},{"photo_id":"1332650315","filename":"file4"},{"photo_id":"1332650295","filename":"file1"},{"photo_id":"1332650287","filename":"file0"},{"photo_id":"1332650309","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332650319":["hashtag1","hashtag2"]},{"1332650315":["hashtag1","hashtag2"]},{"1332650309":["hashtag1","hashtag2"]},{"1332650287":["hashtag1","hashtag2"]},{"1332650302":["hashtag1","hashtag2"]},{"1332650295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332650319, 1332650315, 1332650309, 1332650287, 1332650302, 1332650295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83818244934082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:25:32.411486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/35/image_24012025_23_35_56_9329.jpg', '/home/pi/Desktop/images/24012025/23/35/image_24012025_23_36_06_10362.jpg', '/home/pi/Desktop/images/24012025/23/36/image_24012025_23_36_16_9343.jpg', '/home/pi/Desktop/images/24012025/23/36/image_24012025_23_36_36_10376.jpg', '/home/pi/Desktop/images/24012025/23/36/image_24012025_23_36_46_9500.jpg', '/home/pi/Desktop/images/24012025/23/36/image_24012025_23_36_56_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/35/image_24012025_23_35_56_9329.jpg
/home/pi/Desktop/images/24012025/23/35/image_24012025_23_36_06_10362.jpg
/home/pi/Desktop/images/24012025/23/36/image_24012025_23_36_16_9343.jpg
/home/pi/Desktop/images/24012025/23/36/image_24012025_23_36_36_10376.jpg
/home/pi/Desktop/images/24012025/23/36/image_24012025_23_36_46_9500.jpg
/home/pi/Desktop/images/24012025/23/36/image_24012025_23_36_56_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":["1332650385","1332650406","1332650378","1332650402","1332650398","1332650373"],"photo_ids_order":["1332650373","1332650378","1332650385","1332650398","1332650402","1332650406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a37fb88c4cc80fa43aeb034e63224919.jpg","text":"TemporaryFile(/tmp/multipartBody4808764245301077962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157194526,"filename":"image_24012025_23_36_16_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/29/12e32f7f313b1ffd8ee087c85e1bd6f0.jpg","text":"TemporaryFile(/tmp/multipartBody993798170726053174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157194526,"filename":"image_24012025_23_36_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/29/c6fee014c87008897db6e8c069a95700.jpg","text":"TemporaryFile(/tmp/multipartBody4954082507926544791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157194526,"filename":"image_24012025_23_36_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/29/42b9da37d8e46accf39d8abd97843c29.jpg","text":"TemporaryFile(/tmp/multipartBody478199449765485930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157194526,"filename":"image_24012025_23_36_46_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ad3e916e28462ba06314b95e8ac665ac.jpg","text":"TemporaryFile(/tmp/multipartBody2620995005103899600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157194526,"filename":"image_24012025_23_36_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/29/4db81a451fdbca3b9eb6fe962780cc70.jpg","text":"TemporaryFile(/tmp/multipartBody620262819987522237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157194526,"filename":"image_24012025_23_35_56_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332650385","file1":"1332650378","file0":"1332650373","file4":"1332650402","file5":"1332650406","file3":"1332650398"},"map_files_photo_id_array":[{"photo_id":"1332650406","filename":"file5"},{"photo_id":"1332650385","filename":"file2"},{"photo_id":"1332650402","filename":"file4"},{"photo_id":"1332650378","filename":"file1"},{"photo_id":"1332650373","filename":"file0"},{"photo_id":"1332650398","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332650385":["hashtag1","hashtag2"]},{"1332650406":["hashtag1","hashtag2"]},{"1332650378":["hashtag1","hashtag2"]},{"1332650402":["hashtag1","hashtag2"]},{"1332650398":["hashtag1","hashtag2"]},{"1332650373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332650385, 1332650406, 1332650378, 1332650402, 1332650398, 1332650373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82536721229553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:26:32.655549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/36/image_24012025_23_37_07_10337.jpg', '/home/pi/Desktop/images/24012025/23/37/image_24012025_23_37_37_10339.jpg', '/home/pi/Desktop/images/24012025/23/37/image_24012025_23_37_46_9344.jpg', '/home/pi/Desktop/images/24012025/23/37/image_24012025_23_37_56_10324.jpg', '/home/pi/Desktop/images/24012025/23/37/image_24012025_23_38_07_10361.jpg', '/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_16_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/36/image_24012025_23_37_07_10337.jpg
/home/pi/Desktop/images/24012025/23/37/image_24012025_23_37_37_10339.jpg
/home/pi/Desktop/images/24012025/23/37/image_24012025_23_37_46_9344.jpg
/home/pi/Desktop/images/24012025/23/37/image_24012025_23_37_56_10324.jpg
/home/pi/Desktop/images/24012025/23/37/image_24012025_23_38_07_10361.jpg
/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_16_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":["1332650456","1332650438","1332650432","1332650426","1332650449","1332650443"],"photo_ids_order":["1332650426","1332650432","1332650438","1332650443","1332650449","1332650456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ea0c6c91b42276d3c2ce265cb5305b8b.jpg","text":"TemporaryFile(/tmp/multipartBody2010059819215503053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157254740,"filename":"image_24012025_23_38_16_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/29/7e14c6681501a9c8dcab52bcb52d8339.jpg","text":"TemporaryFile(/tmp/multipartBody5832291464848396966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157254740,"filename":"image_24012025_23_37_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/29/d5bdca40b14490c6b08adbfa5ee44921.jpg","text":"TemporaryFile(/tmp/multipartBody4677062293387423037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157254740,"filename":"image_24012025_23_37_37_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/29/ec2aaf2ff7e491205a33f838706e65f4.jpg","text":"TemporaryFile(/tmp/multipartBody3527923371433479391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157254740,"filename":"image_24012025_23_37_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/29/f2626306c2ae236b8b04e4a6ec18aac0.jpg","text":"TemporaryFile(/tmp/multipartBody3296670207503365130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157254740,"filename":"image_24012025_23_38_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/29/e7d2c69384721b0723711cad598e88d3.jpg","text":"TemporaryFile(/tmp/multipartBody8526197560673088540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157254740,"filename":"image_24012025_23_37_56_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332650438","file1":"1332650432","file0":"1332650426","file4":"1332650449","file5":"1332650456","file3":"1332650443"},"map_files_photo_id_array":[{"photo_id":"1332650456","filename":"file5"},{"photo_id":"1332650438","filename":"file2"},{"photo_id":"1332650449","filename":"file4"},{"photo_id":"1332650432","filename":"file1"},{"photo_id":"1332650426","filename":"file0"},{"photo_id":"1332650443","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332650456":["hashtag1","hashtag2"]},{"1332650438":["hashtag1","hashtag2"]},{"1332650432":["hashtag1","hashtag2"]},{"1332650426":["hashtag1","hashtag2"]},{"1332650449":["hashtag1","hashtag2"]},{"1332650443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332650456, 1332650438, 1332650432, 1332650426, 1332650449, 1332650443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21517539024353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:27:32.993151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_26_10359.jpg', '/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_36_9432.jpg', '/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_46_10343.jpg', '/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_57_10361.jpg', '/home/pi/Desktop/images/24012025/23/38/image_24012025_23_39_06_9423.jpg', '/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_16_9663.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_26_10359.jpg
/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_36_9432.jpg
/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_46_10343.jpg
/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_57_10361.jpg
/home/pi/Desktop/images/24012025/23/38/image_24012025_23_39_06_9423.jpg
/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_16_9663.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.7012603282928467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 14:27:42.986834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_26_10359.jpg', '/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_36_9432.jpg', '/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_46_10343.jpg', '/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_57_10361.jpg', '/home/pi/Desktop/images/24012025/23/38/image_24012025_23_39_06_9423.jpg', '/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_16_9663.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_26_10359.jpg
/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_36_9432.jpg
/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_46_10343.jpg
/home/pi/Desktop/images/24012025/23/38/image_24012025_23_38_57_10361.jpg
/home/pi/Desktop/images/24012025/23/38/image_24012025_23_39_06_9423.jpg
/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_16_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332650505","1332650501","1332650510","1332650494","1332650515","1332650509"],"photo_ids_order":["1332650494","1332650501","1332650505","1332650509","1332650510","1332650515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/66358e30d97d62d702f9f4b2ebeed398.jpg","text":"TemporaryFile(/tmp/multipartBody7466486381828465195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157324182,"filename":"image_24012025_23_38_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/29/e01dd57ad382147e1c70ed27cbd6186b.jpg","text":"TemporaryFile(/tmp/multipartBody1742423710320760480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157324182,"filename":"image_24012025_23_38_36_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/29/c7e6923df99f2648fce7b6db4c2206c9.jpg","text":"TemporaryFile(/tmp/multipartBody3227314865709868990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157324182,"filename":"image_24012025_23_39_06_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/29/33007213c31b3e95802f43cda7483d1a.jpg","text":"TemporaryFile(/tmp/multipartBody6587149364833026932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157324182,"filename":"image_24012025_23_38_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/29/ac4b22830d37fcce3e89051c71c5ee12.jpg","text":"TemporaryFile(/tmp/multipartBody4997229884324173800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157324182,"filename":"image_24012025_23_39_16_9663.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4136efc33c9015e805a875ebc1cf9ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2955291094567243426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157324182,"filename":"image_24012025_23_38_57_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332650505","file1":"1332650501","file0":"1332650494","file4":"1332650510","file5":"1332650515","file3":"1332650509"},"map_files_photo_id_array":[{"photo_id":"1332650515","filename":"file5"},{"photo_id":"1332650505","filename":"file2"},{"photo_id":"1332650510","filename":"file4"},{"photo_id":"1332650501","filename":"file1"},{"photo_id":"1332650494","filename":"file0"},{"photo_id":"1332650509","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332650505":["hashtag1","hashtag2"]},{"1332650501":["hashtag1","hashtag2"]},{"1332650510":["hashtag1","hashtag2"]},{"1332650494":["hashtag1","hashtag2"]},{"1332650515":["hashtag1","hashtag2"]},{"1332650509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332650505, 1332650501, 1332650510, 1332650494, 1332650515, 1332650509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89258861541748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:28:32.218921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_26_10404.jpg', '/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_36_10348.jpg', '/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_46_9433.jpg', '/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_56_10334.jpg', '/home/pi/Desktop/images/24012025/23/39/image_24012025_23_40_07_10366.jpg', '/home/pi/Desktop/images/24012025/23/40/image_24012025_23_40_16_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_26_10404.jpg
/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_36_10348.jpg
/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_46_9433.jpg
/home/pi/Desktop/images/24012025/23/39/image_24012025_23_39_56_10334.jpg
/home/pi/Desktop/images/24012025/23/39/image_24012025_23_40_07_10366.jpg
/home/pi/Desktop/images/24012025/23/40/image_24012025_23_40_16_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":["1332650625","1332650619","1332650588","1332650609","1332650593","1332650599"],"photo_ids_order":["1332650588","1332650593","1332650599","1332650609","1332650619","1332650625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d3de432290361bfda46a8f11bfa38e5c.jpg","text":"TemporaryFile(/tmp/multipartBody6653299079968398079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157374293,"filename":"image_24012025_23_40_16_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/29/85af893296b03acfd1ccefd16520cd39.jpg","text":"TemporaryFile(/tmp/multipartBody5104359353393032665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157374293,"filename":"image_24012025_23_40_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/29/511d48a6c03b358cb5d0b568418998ec.jpg","text":"TemporaryFile(/tmp/multipartBody9051354474606910534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157374293,"filename":"image_24012025_23_39_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/29/b25d8dbea9f278ab25e937dca48bd527.jpg","text":"TemporaryFile(/tmp/multipartBody4521227717535988718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157374293,"filename":"image_24012025_23_39_56_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/29/da317249dea39f923cd91775f20505e4.jpg","text":"TemporaryFile(/tmp/multipartBody1297894230319380879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157374293,"filename":"image_24012025_23_39_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/29/1c840c6095eec0ef29df29cfc9a8b067.jpg","text":"TemporaryFile(/tmp/multipartBody5467376042492954630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157374293,"filename":"image_24012025_23_39_46_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332650599","file1":"1332650593","file0":"1332650588","file4":"1332650619","file5":"1332650625","file3":"1332650609"},"map_files_photo_id_array":[{"photo_id":"1332650625","filename":"file5"},{"photo_id":"1332650599","filename":"file2"},{"photo_id":"1332650619","filename":"file4"},{"photo_id":"1332650593","filename":"file1"},{"photo_id":"1332650588","filename":"file0"},{"photo_id":"1332650609","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332650625":["hashtag1","hashtag2"]},{"1332650619":["hashtag1","hashtag2"]},{"1332650588":["hashtag1","hashtag2"]},{"1332650609":["hashtag1","hashtag2"]},{"1332650593":["hashtag1","hashtag2"]},{"1332650599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332650625, 1332650619, 1332650588, 1332650609, 1332650593, 1332650599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38759160041809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:29:32.547616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/40/image_24012025_23_40_26_10339.jpg', '/home/pi/Desktop/images/24012025/23/40/image_24012025_23_40_46_9424.jpg', '/home/pi/Desktop/images/24012025/23/40/image_24012025_23_40_56_10363.jpg', '/home/pi/Desktop/images/24012025/23/40/image_24012025_23_41_06_9434.jpg', '/home/pi/Desktop/images/24012025/23/41/image_24012025_23_41_27_10334.jpg', '/home/pi/Desktop/images/24012025/23/41/image_24012025_23_41_36_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/40/image_24012025_23_40_26_10339.jpg
/home/pi/Desktop/images/24012025/23/40/image_24012025_23_40_46_9424.jpg
/home/pi/Desktop/images/24012025/23/40/image_24012025_23_40_56_10363.jpg
/home/pi/Desktop/images/24012025/23/40/image_24012025_23_41_06_9434.jpg
/home/pi/Desktop/images/24012025/23/41/image_24012025_23_41_27_10334.jpg
/home/pi/Desktop/images/24012025/23/41/image_24012025_23_41_36_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":["1332650721","1332650718","1332650709","1332650750","1332650665","1332650704"],"photo_ids_order":["1332650665","1332650704","1332650709","1332650718","1332650721","1332650750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f3e25a4d9d7ce06e98b35d639c741238.jpg","text":"TemporaryFile(/tmp/multipartBody1629527107868345272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157434656,"filename":"image_24012025_23_41_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/29/4681b6f3777b6c22f2699e4250cb01c0.jpg","text":"TemporaryFile(/tmp/multipartBody8905039526632838981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157434656,"filename":"image_24012025_23_41_06_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/29/91a9621881165750f4c86e9342da794c.jpg","text":"TemporaryFile(/tmp/multipartBody3236968470255843051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157434656,"filename":"image_24012025_23_40_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/29/436fef5e2b30669fe88292dfdb201156.jpg","text":"TemporaryFile(/tmp/multipartBody673958782708181743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157434656,"filename":"image_24012025_23_41_36_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/29/88409bef107d314d60ea2e7056f94dac.jpg","text":"TemporaryFile(/tmp/multipartBody2140670360049555369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157434656,"filename":"image_24012025_23_40_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/29/8cd7fee55e3405e72053f435444da278.jpg","text":"TemporaryFile(/tmp/multipartBody7431734017408083062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157434656,"filename":"image_24012025_23_40_46_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332650709","file1":"1332650704","file0":"1332650665","file4":"1332650721","file5":"1332650750","file3":"1332650718"},"map_files_photo_id_array":[{"photo_id":"1332650750","filename":"file5"},{"photo_id":"1332650709","filename":"file2"},{"photo_id":"1332650721","filename":"file4"},{"photo_id":"1332650704","filename":"file1"},{"photo_id":"1332650665","filename":"file0"},{"photo_id":"1332650718","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332650721":["hashtag1","hashtag2"]},{"1332650718":["hashtag1","hashtag2"]},{"1332650709":["hashtag1","hashtag2"]},{"1332650750":["hashtag1","hashtag2"]},{"1332650665":["hashtag1","hashtag2"]},{"1332650704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332650721, 1332650718, 1332650709, 1332650750, 1332650665, 1332650704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.28990054130554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:30:32.639735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/41/image_24012025_23_41_46_10359.jpg', '/home/pi/Desktop/images/24012025/23/41/image_24012025_23_41_56_9343.jpg', '/home/pi/Desktop/images/24012025/23/41/image_24012025_23_42_06_10386.jpg', '/home/pi/Desktop/images/24012025/23/42/image_24012025_23_42_16_10338.jpg', '/home/pi/Desktop/images/24012025/23/42/image_24012025_23_42_26_9436.jpg', '/home/pi/Desktop/images/24012025/23/42/image_24012025_23_42_47_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/41/image_24012025_23_41_46_10359.jpg
/home/pi/Desktop/images/24012025/23/41/image_24012025_23_41_56_9343.jpg
/home/pi/Desktop/images/24012025/23/41/image_24012025_23_42_06_10386.jpg
/home/pi/Desktop/images/24012025/23/42/image_24012025_23_42_16_10338.jpg
/home/pi/Desktop/images/24012025/23/42/image_24012025_23_42_26_9436.jpg
/home/pi/Desktop/images/24012025/23/42/image_24012025_23_42_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":["1332650981","1332650983","1332650971","1332650965","1332650977","1332650985"],"photo_ids_order":["1332650965","1332650971","1332650977","1332650981","1332650983","1332650985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a5c87a25f4838359a7f90f20714235c5.jpg","text":"TemporaryFile(/tmp/multipartBody2044078216227408009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157494738,"filename":"image_24012025_23_42_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/29/05a1e38da8cd521ab36426972dfb340d.jpg","text":"TemporaryFile(/tmp/multipartBody6836546319627279684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157494738,"filename":"image_24012025_23_42_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/29/759810cfc393ff715fe69745bf2a24e0.jpg","text":"TemporaryFile(/tmp/multipartBody7824464580430688954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157494738,"filename":"image_24012025_23_41_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/29/db63e7279413e8b60aba0420cbe9dee3.jpg","text":"TemporaryFile(/tmp/multipartBody7284382607461685242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157494738,"filename":"image_24012025_23_41_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/29/c5b5c93937402001ed730aa989252227.jpg","text":"TemporaryFile(/tmp/multipartBody5333148388867049336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157494738,"filename":"image_24012025_23_42_06_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/29/5179ab520cf1a62d176beedb4f377d5a.jpg","text":"TemporaryFile(/tmp/multipartBody2934129763206777834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157494738,"filename":"image_24012025_23_42_47_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332650977","file1":"1332650971","file0":"1332650965","file4":"1332650983","file5":"1332650985","file3":"1332650981"},"map_files_photo_id_array":[{"photo_id":"1332650985","filename":"file5"},{"photo_id":"1332650977","filename":"file2"},{"photo_id":"1332650983","filename":"file4"},{"photo_id":"1332650971","filename":"file1"},{"photo_id":"1332650965","filename":"file0"},{"photo_id":"1332650981","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332650981":["hashtag1","hashtag2"]},{"1332650983":["hashtag1","hashtag2"]},{"1332650971":["hashtag1","hashtag2"]},{"1332650965":["hashtag1","hashtag2"]},{"1332650977":["hashtag1","hashtag2"]},{"1332650985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332650981, 1332650983, 1332650971, 1332650965, 1332650977, 1332650985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03762149810791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:31:32.863177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/42/image_24012025_23_42_56_9344.jpg', '/home/pi/Desktop/images/24012025/23/42/image_24012025_23_43_06_10351.jpg', '/home/pi/Desktop/images/24012025/23/43/image_24012025_23_43_17_10391.jpg', '/home/pi/Desktop/images/24012025/23/43/image_24012025_23_43_26_9465.jpg', '/home/pi/Desktop/images/24012025/23/43/image_24012025_23_43_36_10360.jpg', '/home/pi/Desktop/images/24012025/23/43/image_24012025_23_43_46_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/42/image_24012025_23_42_56_9344.jpg
/home/pi/Desktop/images/24012025/23/42/image_24012025_23_43_06_10351.jpg
/home/pi/Desktop/images/24012025/23/43/image_24012025_23_43_17_10391.jpg
/home/pi/Desktop/images/24012025/23/43/image_24012025_23_43_26_9465.jpg
/home/pi/Desktop/images/24012025/23/43/image_24012025_23_43_36_10360.jpg
/home/pi/Desktop/images/24012025/23/43/image_24012025_23_43_46_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":["1332651024","1332651017","1332651011","1332651040","1332651028","1332651031"],"photo_ids_order":["1332651011","1332651017","1332651024","1332651028","1332651031","1332651040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e028e4743076651cbb016a75fa113878.jpg","text":"TemporaryFile(/tmp/multipartBody7213567693584356639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157554935,"filename":"image_24012025_23_43_17_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/29/6ce33c73643e580a3968f61f269f918b.jpg","text":"TemporaryFile(/tmp/multipartBody4391126289396131456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157554935,"filename":"image_24012025_23_43_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/29/75e60ab38c05148f0e62297865b5325d.jpg","text":"TemporaryFile(/tmp/multipartBody1974945928751310332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157554935,"filename":"image_24012025_23_42_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/29/44691be804b8ff0c313b552455ca2daf.jpg","text":"TemporaryFile(/tmp/multipartBody1823337925580068035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157554935,"filename":"image_24012025_23_43_46_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/29/e913bce835de963691bbd3ab90a8fcf2.jpg","text":"TemporaryFile(/tmp/multipartBody1341202263154049387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157554935,"filename":"image_24012025_23_43_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/29/f0c72981979a8b4e363decaa25fb7b4b.jpg","text":"TemporaryFile(/tmp/multipartBody1901826109850633917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157554935,"filename":"image_24012025_23_43_36_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332651024","file1":"1332651017","file0":"1332651011","file4":"1332651031","file5":"1332651040","file3":"1332651028"},"map_files_photo_id_array":[{"photo_id":"1332651040","filename":"file5"},{"photo_id":"1332651024","filename":"file2"},{"photo_id":"1332651031","filename":"file4"},{"photo_id":"1332651017","filename":"file1"},{"photo_id":"1332651011","filename":"file0"},{"photo_id":"1332651028","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332651024":["hashtag1","hashtag2"]},{"1332651017":["hashtag1","hashtag2"]},{"1332651011":["hashtag1","hashtag2"]},{"1332651040":["hashtag1","hashtag2"]},{"1332651028":["hashtag1","hashtag2"]},{"1332651031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332651024, 1332651017, 1332651011, 1332651040, 1332651028, 1332651031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.810020446777344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:32:33.120988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/43/image_24012025_23_43_56_10340.jpg', '/home/pi/Desktop/images/24012025/23/43/image_24012025_23_44_07_10430.jpg', '/home/pi/Desktop/images/24012025/23/44/image_24012025_23_44_16_9330.jpg', '/home/pi/Desktop/images/24012025/23/44/image_24012025_23_44_26_10351.jpg', '/home/pi/Desktop/images/24012025/23/44/image_24012025_23_44_37_10341.jpg', '/home/pi/Desktop/images/24012025/23/44/image_24012025_23_44_46_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/43/image_24012025_23_43_56_10340.jpg
/home/pi/Desktop/images/24012025/23/43/image_24012025_23_44_07_10430.jpg
/home/pi/Desktop/images/24012025/23/44/image_24012025_23_44_16_9330.jpg
/home/pi/Desktop/images/24012025/23/44/image_24012025_23_44_26_10351.jpg
/home/pi/Desktop/images/24012025/23/44/image_24012025_23_44_37_10341.jpg
/home/pi/Desktop/images/24012025/23/44/image_24012025_23_44_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":["1332651092","1332651082","1332651076","1332651087","1332651096","1332651099"],"photo_ids_order":["1332651076","1332651082","1332651087","1332651092","1332651096","1332651099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b28cf3b09e62556044ea0bcfc0d13f6f.jpg","text":"TemporaryFile(/tmp/multipartBody7535361612538667923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157615201,"filename":"image_24012025_23_44_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/29/9ddbc9805a675a50d9dd9086b557f75a.jpg","text":"TemporaryFile(/tmp/multipartBody8565279028880096870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157615201,"filename":"image_24012025_23_44_07_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/29/67abd6d32404c0a3625372eebbf61696.jpg","text":"TemporaryFile(/tmp/multipartBody1266371048789512379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157615201,"filename":"image_24012025_23_43_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/29/48e2429373689c9caf5ec927579402cd.jpg","text":"TemporaryFile(/tmp/multipartBody4446023668504761979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157615201,"filename":"image_24012025_23_44_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/29/ec72fe1ac045fd632f41941652ded8ce.jpg","text":"TemporaryFile(/tmp/multipartBody1693042251871881170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157615201,"filename":"image_24012025_23_44_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/29/941f5aaade8ee998e2a22b91d0adc695.jpg","text":"TemporaryFile(/tmp/multipartBody7468828580228097423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157615201,"filename":"image_24012025_23_44_46_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332651087","file1":"1332651082","file0":"1332651076","file4":"1332651096","file5":"1332651099","file3":"1332651092"},"map_files_photo_id_array":[{"photo_id":"1332651099","filename":"file5"},{"photo_id":"1332651087","filename":"file2"},{"photo_id":"1332651096","filename":"file4"},{"photo_id":"1332651082","filename":"file1"},{"photo_id":"1332651076","filename":"file0"},{"photo_id":"1332651092","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332651092":["hashtag1","hashtag2"]},{"1332651082":["hashtag1","hashtag2"]},{"1332651076":["hashtag1","hashtag2"]},{"1332651087":["hashtag1","hashtag2"]},{"1332651096":["hashtag1","hashtag2"]},{"1332651099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332651092, 1332651082, 1332651076, 1332651087, 1332651096, 1332651099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83972764015198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:33:32.362663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/44/image_24012025_23_44_56_10377.jpg', '/home/pi/Desktop/images/24012025/23/44/image_24012025_23_45_06_9377.jpg', '/home/pi/Desktop/images/24012025/23/45/image_24012025_23_45_16_10366.jpg', '/home/pi/Desktop/images/24012025/23/45/image_24012025_23_45_27_10332.jpg', '/home/pi/Desktop/images/24012025/23/45/image_24012025_23_45_36_9393.jpg', '/home/pi/Desktop/images/24012025/23/45/image_24012025_23_45_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/44/image_24012025_23_44_56_10377.jpg
/home/pi/Desktop/images/24012025/23/44/image_24012025_23_45_06_9377.jpg
/home/pi/Desktop/images/24012025/23/45/image_24012025_23_45_16_10366.jpg
/home/pi/Desktop/images/24012025/23/45/image_24012025_23_45_27_10332.jpg
/home/pi/Desktop/images/24012025/23/45/image_24012025_23_45_36_9393.jpg
/home/pi/Desktop/images/24012025/23/45/image_24012025_23_45_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":["1332651674","1332651563","1332651679","1332651580","1332651676","1332651555"],"photo_ids_order":["1332651555","1332651563","1332651580","1332651674","1332651676","1332651679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b6e1769653011e28d224a8ed499be2bb.jpg","text":"TemporaryFile(/tmp/multipartBody5874978396865585601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157674448,"filename":"image_24012025_23_45_27_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/29/a3b3a0620fa5e3245e82e5194243680b.jpg","text":"TemporaryFile(/tmp/multipartBody9124456420255533798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157674448,"filename":"image_24012025_23_45_06_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/29/85194665b6a8c5a9a3afa3852c651420.jpg","text":"TemporaryFile(/tmp/multipartBody1610338065383903951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157674448,"filename":"image_24012025_23_45_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/29/1f903e53f09146277eeed261438280cc.jpg","text":"TemporaryFile(/tmp/multipartBody7470201645674376489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157674448,"filename":"image_24012025_23_45_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/29/4ebb9a2ac32d2376925ff810dcc23075.jpg","text":"TemporaryFile(/tmp/multipartBody3055998410735260654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157674448,"filename":"image_24012025_23_45_36_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/29/38839327a1eea939ecd5858a079f18be.jpg","text":"TemporaryFile(/tmp/multipartBody6563874488643377760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157674448,"filename":"image_24012025_23_44_56_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332651580","file1":"1332651563","file0":"1332651555","file4":"1332651676","file5":"1332651679","file3":"1332651674"},"map_files_photo_id_array":[{"photo_id":"1332651679","filename":"file5"},{"photo_id":"1332651580","filename":"file2"},{"photo_id":"1332651676","filename":"file4"},{"photo_id":"1332651563","filename":"file1"},{"photo_id":"1332651555","filename":"file0"},{"photo_id":"1332651674","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332651674":["hashtag1","hashtag2"]},{"1332651563":["hashtag1","hashtag2"]},{"1332651679":["hashtag1","hashtag2"]},{"1332651580":["hashtag1","hashtag2"]},{"1332651676":["hashtag1","hashtag2"]},{"1332651555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332651674, 1332651563, 1332651679, 1332651580, 1332651676, 1332651555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.51363396644592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:34:32.573530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/45/image_24012025_23_45_57_10342.jpg', '/home/pi/Desktop/images/24012025/23/45/image_24012025_23_46_06_9337.jpg', '/home/pi/Desktop/images/24012025/23/46/image_24012025_23_46_16_10323.jpg', '/home/pi/Desktop/images/24012025/23/46/image_24012025_23_46_46_10364.jpg', '/home/pi/Desktop/images/24012025/23/46/image_24012025_23_46_56_9442.jpg', '/home/pi/Desktop/images/24012025/23/46/image_24012025_23_47_06_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/45/image_24012025_23_45_57_10342.jpg
/home/pi/Desktop/images/24012025/23/45/image_24012025_23_46_06_9337.jpg
/home/pi/Desktop/images/24012025/23/46/image_24012025_23_46_16_10323.jpg
/home/pi/Desktop/images/24012025/23/46/image_24012025_23_46_46_10364.jpg
/home/pi/Desktop/images/24012025/23/46/image_24012025_23_46_56_9442.jpg
/home/pi/Desktop/images/24012025/23/46/image_24012025_23_47_06_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":["1332651921","1332652148","1332652063","1332651926","1332651913","1332651904"],"photo_ids_order":["1332651904","1332651913","1332651921","1332651926","1332652063","1332652148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/af5033f7ae4a6f5497f837cf3df7b6f6.jpg","text":"TemporaryFile(/tmp/multipartBody5062106579444733429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157734697,"filename":"image_24012025_23_46_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/29/7f3e3f3083872ccc7e4b9c2e5e81330a.jpg","text":"TemporaryFile(/tmp/multipartBody2997415681138455800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157734697,"filename":"image_24012025_23_47_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/29/fa8b5757d4ababfa03d89452800c8190.jpg","text":"TemporaryFile(/tmp/multipartBody495783965828759886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157734697,"filename":"image_24012025_23_46_56_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/29/03d833178d3fe9e36fbebd5dd687ef24.jpg","text":"TemporaryFile(/tmp/multipartBody3953563143964894222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157734697,"filename":"image_24012025_23_46_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/29/38c650f9f5a87da234e2eb9a643d34b5.jpg","text":"TemporaryFile(/tmp/multipartBody6444870539741396915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157734697,"filename":"image_24012025_23_46_06_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/29/d42205da9cbf03aa172a48a2b199c71f.jpg","text":"TemporaryFile(/tmp/multipartBody7105407729934532342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157734697,"filename":"image_24012025_23_45_57_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332651921","file1":"1332651913","file0":"1332651904","file4":"1332652063","file5":"1332652148","file3":"1332651926"},"map_files_photo_id_array":[{"photo_id":"1332652148","filename":"file5"},{"photo_id":"1332651921","filename":"file2"},{"photo_id":"1332652063","filename":"file4"},{"photo_id":"1332651913","filename":"file1"},{"photo_id":"1332651904","filename":"file0"},{"photo_id":"1332651926","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332651921":["hashtag1","hashtag2"]},{"1332652148":["hashtag1","hashtag2"]},{"1332652063":["hashtag1","hashtag2"]},{"1332651926":["hashtag1","hashtag2"]},{"1332651913":["hashtag1","hashtag2"]},{"1332651904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332651921, 1332652148, 1332652063, 1332651926, 1332651913, 1332651904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55373930931091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:35:32.808979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/47/image_24012025_23_47_26_9363.jpg', '/home/pi/Desktop/images/24012025/23/47/image_24012025_23_47_36_10365.jpg', '/home/pi/Desktop/images/24012025/23/47/image_24012025_23_47_47_10421.jpg', '/home/pi/Desktop/images/24012025/23/47/image_24012025_23_47_56_9324.jpg', '/home/pi/Desktop/images/24012025/23/47/image_24012025_23_48_06_10458.jpg', '/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_16_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/47/image_24012025_23_47_26_9363.jpg
/home/pi/Desktop/images/24012025/23/47/image_24012025_23_47_36_10365.jpg
/home/pi/Desktop/images/24012025/23/47/image_24012025_23_47_47_10421.jpg
/home/pi/Desktop/images/24012025/23/47/image_24012025_23_47_56_9324.jpg
/home/pi/Desktop/images/24012025/23/47/image_24012025_23_48_06_10458.jpg
/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_16_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":["1332653053","1332653050","1332653022","1332653016","1332653045","1332653027"],"photo_ids_order":["1332653016","1332653022","1332653027","1332653045","1332653050","1332653053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/15c77160e040a67a449d6038d62f9b1b.jpg","text":"TemporaryFile(/tmp/multipartBody1794913190214711648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157795043,"filename":"image_24012025_23_48_16_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/29/aa6786c8eb394a8f652f994cb8a7712d.jpg","text":"TemporaryFile(/tmp/multipartBody6622389632489696254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157795043,"filename":"image_24012025_23_48_06_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/29/0a214c228fc4432411e7bd8348127a41.jpg","text":"TemporaryFile(/tmp/multipartBody2629164619301215145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157795043,"filename":"image_24012025_23_47_36_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/29/57368dc0acafe3266737c7b9208722e5.jpg","text":"TemporaryFile(/tmp/multipartBody197413381502943002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157795043,"filename":"image_24012025_23_47_26_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/29/7a00304e967133efcced4caec73cda28.jpg","text":"TemporaryFile(/tmp/multipartBody890311983114154737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157795043,"filename":"image_24012025_23_47_56_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/29/35ce95c0e79868aec94fad5158e9a6e6.jpg","text":"TemporaryFile(/tmp/multipartBody3197736173344431513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157795043,"filename":"image_24012025_23_47_47_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332653027","file1":"1332653022","file0":"1332653016","file4":"1332653050","file5":"1332653053","file3":"1332653045"},"map_files_photo_id_array":[{"photo_id":"1332653053","filename":"file5"},{"photo_id":"1332653027","filename":"file2"},{"photo_id":"1332653050","filename":"file4"},{"photo_id":"1332653022","filename":"file1"},{"photo_id":"1332653016","filename":"file0"},{"photo_id":"1332653045","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332653053":["hashtag1","hashtag2"]},{"1332653050":["hashtag1","hashtag2"]},{"1332653022":["hashtag1","hashtag2"]},{"1332653016":["hashtag1","hashtag2"]},{"1332653045":["hashtag1","hashtag2"]},{"1332653027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332653053, 1332653050, 1332653022, 1332653016, 1332653045, 1332653027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.678321838378906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:36:33.178276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_26_10349.jpg', '/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_37_10419.jpg', '/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_46_9348.jpg', '/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_56_10347.jpg', '/home/pi/Desktop/images/24012025/23/48/image_24012025_23_49_06_9369.jpg', '/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_16_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_26_10349.jpg
/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_37_10419.jpg
/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_46_9348.jpg
/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_56_10347.jpg
/home/pi/Desktop/images/24012025/23/48/image_24012025_23_49_06_9369.jpg
/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_16_10406.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.703747034072876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 14:36:43.226476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_26_10349.jpg', '/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_37_10419.jpg', '/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_46_9348.jpg', '/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_56_10347.jpg', '/home/pi/Desktop/images/24012025/23/48/image_24012025_23_49_06_9369.jpg', '/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_16_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_26_10349.jpg
/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_37_10419.jpg
/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_46_9348.jpg
/home/pi/Desktop/images/24012025/23/48/image_24012025_23_48_56_10347.jpg
/home/pi/Desktop/images/24012025/23/48/image_24012025_23_49_06_9369.jpg
/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_16_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332653108","1332653113","1332653271","1332653096","1332653432","1332653126"],"photo_ids_order":["1332653096","1332653108","1332653113","1332653126","1332653271","1332653432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2506a6300678088adc7f166555da7a7a.jpg","text":"TemporaryFile(/tmp/multipartBody102780357164263451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157864422,"filename":"image_24012025_23_48_37_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/29/cdc05c93bfb0ba3a2541e89bcf52eefe.jpg","text":"TemporaryFile(/tmp/multipartBody5180109593596155383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157864422,"filename":"image_24012025_23_48_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/29/ef27983fb068395bc428c2142345e2df.jpg","text":"TemporaryFile(/tmp/multipartBody570469343917323326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157864422,"filename":"image_24012025_23_49_06_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/29/263a27b5bc6b2a1056ec3d9402bb920b.jpg","text":"TemporaryFile(/tmp/multipartBody9202030261837386677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157864422,"filename":"image_24012025_23_48_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/29/bb4fdbc242f4d23880d7f5bf1d637a29.jpg","text":"TemporaryFile(/tmp/multipartBody5610631543015907008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157864422,"filename":"image_24012025_23_49_16_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/29/eaa981e59d21ca558533516213a2da77.jpg","text":"TemporaryFile(/tmp/multipartBody2953864047067022990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157864422,"filename":"image_24012025_23_48_56_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332653113","file1":"1332653108","file0":"1332653096","file4":"1332653271","file5":"1332653432","file3":"1332653126"},"map_files_photo_id_array":[{"photo_id":"1332653432","filename":"file5"},{"photo_id":"1332653113","filename":"file2"},{"photo_id":"1332653271","filename":"file4"},{"photo_id":"1332653108","filename":"file1"},{"photo_id":"1332653096","filename":"file0"},{"photo_id":"1332653126","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332653108":["hashtag1","hashtag2"]},{"1332653113":["hashtag1","hashtag2"]},{"1332653271":["hashtag1","hashtag2"]},{"1332653096":["hashtag1","hashtag2"]},{"1332653432":["hashtag1","hashtag2"]},{"1332653126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332653108, 1332653113, 1332653271, 1332653096, 1332653432, 1332653126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60753798484802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:37:32.435267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_26_10371.jpg', '/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_36_9388.jpg', '/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_46_10346.jpg', '/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_57_10346.jpg', '/home/pi/Desktop/images/24012025/23/49/image_24012025_23_50_06_9362.jpg', '/home/pi/Desktop/images/24012025/23/50/image_24012025_23_50_16_10322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_26_10371.jpg
/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_36_9388.jpg
/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_46_10346.jpg
/home/pi/Desktop/images/24012025/23/49/image_24012025_23_49_57_10346.jpg
/home/pi/Desktop/images/24012025/23/49/image_24012025_23_50_06_9362.jpg
/home/pi/Desktop/images/24012025/23/50/image_24012025_23_50_16_10322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332653614","1332653608","1332653503","1332653559","1332653619","1332653498"],"photo_ids_order":["1332653498","1332653503","1332653559","1332653608","1332653614","1332653619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c94e04d06f594939ffea3558968854c0.jpg","text":"TemporaryFile(/tmp/multipartBody3264895391531600556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157914526,"filename":"image_24012025_23_50_06_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/29/231864f98307683dbcd6e25169d91da4.jpg","text":"TemporaryFile(/tmp/multipartBody2309826825414700582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157914526,"filename":"image_24012025_23_49_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/29/c1211de0c6a1c01dbf18824e061a6216.jpg","text":"TemporaryFile(/tmp/multipartBody6642554124566824133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157914526,"filename":"image_24012025_23_49_36_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/29/4f6ef30ee83990ad51b77ba9ea517136.jpg","text":"TemporaryFile(/tmp/multipartBody5676599699125095918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157914526,"filename":"image_24012025_23_49_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/29/9bc2c001238d824d8867e2ac932b24ea.jpg","text":"TemporaryFile(/tmp/multipartBody5844341085305655968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157914526,"filename":"image_24012025_23_50_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/29/d89ff51481492222869564f1ae9ac01c.jpg","text":"TemporaryFile(/tmp/multipartBody816804649146091785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157914526,"filename":"image_24012025_23_49_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332653559","file1":"1332653503","file0":"1332653498","file4":"1332653614","file5":"1332653619","file3":"1332653608"},"map_files_photo_id_array":[{"photo_id":"1332653619","filename":"file5"},{"photo_id":"1332653559","filename":"file2"},{"photo_id":"1332653614","filename":"file4"},{"photo_id":"1332653503","filename":"file1"},{"photo_id":"1332653498","filename":"file0"},{"photo_id":"1332653608","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332653614":["hashtag1","hashtag2"]},{"1332653608":["hashtag1","hashtag2"]},{"1332653503":["hashtag1","hashtag2"]},{"1332653559":["hashtag1","hashtag2"]},{"1332653619":["hashtag1","hashtag2"]},{"1332653498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332653614, 1332653608, 1332653503, 1332653559, 1332653619, 1332653498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7634482383728 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:38:32.779395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/50/image_24012025_23_50_27_10334.jpg', '/home/pi/Desktop/images/24012025/23/50/image_24012025_23_50_36_9338.jpg', '/home/pi/Desktop/images/24012025/23/50/image_24012025_23_50_46_10336.jpg', '/home/pi/Desktop/images/24012025/23/50/image_24012025_23_50_56_9430.jpg', '/home/pi/Desktop/images/24012025/23/50/image_24012025_23_51_06_10369.jpg', '/home/pi/Desktop/images/24012025/23/51/image_24012025_23_51_16_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/50/image_24012025_23_50_27_10334.jpg
/home/pi/Desktop/images/24012025/23/50/image_24012025_23_50_36_9338.jpg
/home/pi/Desktop/images/24012025/23/50/image_24012025_23_50_46_10336.jpg
/home/pi/Desktop/images/24012025/23/50/image_24012025_23_50_56_9430.jpg
/home/pi/Desktop/images/24012025/23/50/image_24012025_23_51_06_10369.jpg
/home/pi/Desktop/images/24012025/23/51/image_24012025_23_51_16_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332653716","1332653673","1332653652","1332653676","1332653678","1332653657"],"photo_ids_order":["1332653652","1332653657","1332653673","1332653676","1332653678","1332653716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/88396b93b6e6728fc6524abdeb66dee6.jpg","text":"TemporaryFile(/tmp/multipartBody8905064651996672996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157974858,"filename":"image_24012025_23_51_16_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/29/082c6dda8b4596c72c0dc8da85b8c678.jpg","text":"TemporaryFile(/tmp/multipartBody7774576113492367082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157974858,"filename":"image_24012025_23_50_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/29/867581806eefe474271d49f169e4f6bd.jpg","text":"TemporaryFile(/tmp/multipartBody5172512409586474461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157974858,"filename":"image_24012025_23_50_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/29/fc11a3ce613fdeed07bfc8828e8fe746.jpg","text":"TemporaryFile(/tmp/multipartBody1069049378163625916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157974858,"filename":"image_24012025_23_50_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/29/22bc568b7bbe6d26556a34167869a883.jpg","text":"TemporaryFile(/tmp/multipartBody5352613800836447305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157974858,"filename":"image_24012025_23_51_06_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/29/5f51e34eada26be9b07ec9dd7db67243.jpg","text":"TemporaryFile(/tmp/multipartBody1957423580747117010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738157974858,"filename":"image_24012025_23_50_36_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332653673","file1":"1332653657","file0":"1332653652","file4":"1332653678","file5":"1332653716","file3":"1332653676"},"map_files_photo_id_array":[{"photo_id":"1332653716","filename":"file5"},{"photo_id":"1332653673","filename":"file2"},{"photo_id":"1332653678","filename":"file4"},{"photo_id":"1332653657","filename":"file1"},{"photo_id":"1332653652","filename":"file0"},{"photo_id":"1332653676","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332653716":["hashtag1","hashtag2"]},{"1332653673":["hashtag1","hashtag2"]},{"1332653652":["hashtag1","hashtag2"]},{"1332653676":["hashtag1","hashtag2"]},{"1332653678":["hashtag1","hashtag2"]},{"1332653657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332653716, 1332653673, 1332653652, 1332653676, 1332653678, 1332653657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83761477470398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:39:33.002449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/51/image_24012025_23_51_27_10118.jpg', '/home/pi/Desktop/images/24012025/23/51/image_24012025_23_51_36_9430.jpg', '/home/pi/Desktop/images/24012025/23/51/image_24012025_23_51_46_10329.jpg', '/home/pi/Desktop/images/24012025/23/51/image_24012025_23_51_57_10329.jpg', '/home/pi/Desktop/images/24012025/23/51/image_24012025_23_52_06_9380.jpg', '/home/pi/Desktop/images/24012025/23/52/image_24012025_23_52_16_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/51/image_24012025_23_51_27_10118.jpg
/home/pi/Desktop/images/24012025/23/51/image_24012025_23_51_36_9430.jpg
/home/pi/Desktop/images/24012025/23/51/image_24012025_23_51_46_10329.jpg
/home/pi/Desktop/images/24012025/23/51/image_24012025_23_51_57_10329.jpg
/home/pi/Desktop/images/24012025/23/51/image_24012025_23_52_06_9380.jpg
/home/pi/Desktop/images/24012025/23/52/image_24012025_23_52_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":["1332653935","1332653982","1332653964","1332653892","1332653987","1332653918"],"photo_ids_order":["1332653892","1332653918","1332653935","1332653964","1332653982","1332653987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5d594e91581fedfbb538c6e2c0260b7c.jpg","text":"TemporaryFile(/tmp/multipartBody1966691197349071667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158035098,"filename":"image_24012025_23_51_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/29/594b0ed31312cef15b184d7d5c3a7c27.jpg","text":"TemporaryFile(/tmp/multipartBody8411772821317202615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158035098,"filename":"image_24012025_23_52_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/29/2e5dac835c26465a2b2b232ee7a56493.jpg","text":"TemporaryFile(/tmp/multipartBody8995988032145711639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158035098,"filename":"image_24012025_23_51_57_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/29/4cf0b310a0f67216c5ba95b6ddf0b869.jpg","text":"TemporaryFile(/tmp/multipartBody8343693185332853636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158035098,"filename":"image_24012025_23_51_27_10118.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5aea97cd5d190674370f43a0f6ce28ef.jpg","text":"TemporaryFile(/tmp/multipartBody8050350301342340717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158035098,"filename":"image_24012025_23_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/29/8a6e0b2fe4ca07a4de47cce54b983ec2.jpg","text":"TemporaryFile(/tmp/multipartBody965881031043821819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158035098,"filename":"image_24012025_23_51_36_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332653935","file1":"1332653918","file0":"1332653892","file4":"1332653982","file5":"1332653987","file3":"1332653964"},"map_files_photo_id_array":[{"photo_id":"1332653987","filename":"file5"},{"photo_id":"1332653935","filename":"file2"},{"photo_id":"1332653982","filename":"file4"},{"photo_id":"1332653918","filename":"file1"},{"photo_id":"1332653892","filename":"file0"},{"photo_id":"1332653964","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332653935":["hashtag1","hashtag2"]},{"1332653982":["hashtag1","hashtag2"]},{"1332653964":["hashtag1","hashtag2"]},{"1332653892":["hashtag1","hashtag2"]},{"1332653987":["hashtag1","hashtag2"]},{"1332653918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332653935, 1332653982, 1332653964, 1332653892, 1332653987, 1332653918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.966777324676514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:40:32.136693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/52/image_24012025_23_52_26_9445.jpg', '/home/pi/Desktop/images/24012025/23/52/image_24012025_23_52_36_10357.jpg', '/home/pi/Desktop/images/24012025/23/52/image_24012025_23_52_47_10412.jpg', '/home/pi/Desktop/images/24012025/23/52/image_24012025_23_52_56_9410.jpg', '/home/pi/Desktop/images/24012025/23/52/image_24012025_23_53_06_10361.jpg', '/home/pi/Desktop/images/24012025/23/53/image_24012025_23_53_16_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/52/image_24012025_23_52_26_9445.jpg
/home/pi/Desktop/images/24012025/23/52/image_24012025_23_52_36_10357.jpg
/home/pi/Desktop/images/24012025/23/52/image_24012025_23_52_47_10412.jpg
/home/pi/Desktop/images/24012025/23/52/image_24012025_23_52_56_9410.jpg
/home/pi/Desktop/images/24012025/23/52/image_24012025_23_53_06_10361.jpg
/home/pi/Desktop/images/24012025/23/53/image_24012025_23_53_16_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":["1332654067","1332654055","1332654048","1332654071","1332654062","1332654076"],"photo_ids_order":["1332654048","1332654055","1332654062","1332654067","1332654071","1332654076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/530079387c1e31fdcd31d2263e61c9ec.jpg","text":"TemporaryFile(/tmp/multipartBody4386646580639954226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158094212,"filename":"image_24012025_23_52_56_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/29/38ea8c34e69a3bc1e96ef822ce9557ed.jpg","text":"TemporaryFile(/tmp/multipartBody6231071152446673821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158094212,"filename":"image_24012025_23_52_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/29/80cc83ab72545b8a7e6b46d788e5a6a3.jpg","text":"TemporaryFile(/tmp/multipartBody6324383901879422927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158094212,"filename":"image_24012025_23_52_26_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/29/13311fd2eb0486f37e10a142dc0d4534.jpg","text":"TemporaryFile(/tmp/multipartBody8817363843563799919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158094212,"filename":"image_24012025_23_53_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/29/779a9305ba5db50739a9c3e3f82816a5.jpg","text":"TemporaryFile(/tmp/multipartBody6509354946604582221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158094212,"filename":"image_24012025_23_52_47_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/29/1710d219fd895a77f1ba0075625eb241.jpg","text":"TemporaryFile(/tmp/multipartBody5711238644070951817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158094212,"filename":"image_24012025_23_53_16_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332654062","file1":"1332654055","file0":"1332654048","file4":"1332654071","file5":"1332654076","file3":"1332654067"},"map_files_photo_id_array":[{"photo_id":"1332654076","filename":"file5"},{"photo_id":"1332654062","filename":"file2"},{"photo_id":"1332654071","filename":"file4"},{"photo_id":"1332654055","filename":"file1"},{"photo_id":"1332654048","filename":"file0"},{"photo_id":"1332654067","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332654067":["hashtag1","hashtag2"]},{"1332654055":["hashtag1","hashtag2"]},{"1332654048":["hashtag1","hashtag2"]},{"1332654071":["hashtag1","hashtag2"]},{"1332654062":["hashtag1","hashtag2"]},{"1332654076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332654067, 1332654055, 1332654048, 1332654071, 1332654062, 1332654076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.54305028915405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:41:32.456298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/53/image_24012025_23_53_26_10350.jpg', '/home/pi/Desktop/images/24012025/23/53/image_24012025_23_53_36_10358.jpg', '/home/pi/Desktop/images/24012025/23/53/image_24012025_23_53_56_10341.jpg', '/home/pi/Desktop/images/24012025/23/53/image_24012025_23_54_07_10451.jpg', '/home/pi/Desktop/images/24012025/23/54/image_24012025_23_54_37_10349.jpg', '/home/pi/Desktop/images/24012025/23/54/image_24012025_23_54_46_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/53/image_24012025_23_53_26_10350.jpg
/home/pi/Desktop/images/24012025/23/53/image_24012025_23_53_36_10358.jpg
/home/pi/Desktop/images/24012025/23/53/image_24012025_23_53_56_10341.jpg
/home/pi/Desktop/images/24012025/23/53/image_24012025_23_54_07_10451.jpg
/home/pi/Desktop/images/24012025/23/54/image_24012025_23_54_37_10349.jpg
/home/pi/Desktop/images/24012025/23/54/image_24012025_23_54_46_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":["1332654109","1332654100","1332654123","1332654105","1332654117","1332654113"],"photo_ids_order":["1332654100","1332654105","1332654109","1332654113","1332654117","1332654123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/eb87051e0612850b0c140772859539df.jpg","text":"TemporaryFile(/tmp/multipartBody4707894723931661468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158154556,"filename":"image_24012025_23_53_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/29/1b43f7a7a117131d2de899127208e273.jpg","text":"TemporaryFile(/tmp/multipartBody6264175899819206892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158154556,"filename":"image_24012025_23_53_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/29/6a054a0347f2a6a43695f8704183e7f1.jpg","text":"TemporaryFile(/tmp/multipartBody6519817451873188331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158154556,"filename":"image_24012025_23_54_46_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/29/7b5c01820e722b3c1de2b51799abcab9.jpg","text":"TemporaryFile(/tmp/multipartBody5362172919322110610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158154556,"filename":"image_24012025_23_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/29/b5bb268e1c29d45c33e9375af7c72975.jpg","text":"TemporaryFile(/tmp/multipartBody2404286710743001136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158154556,"filename":"image_24012025_23_54_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/29/3818a37c7b079cd6545d138763e74542.jpg","text":"TemporaryFile(/tmp/multipartBody8073430425834409083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158154556,"filename":"image_24012025_23_54_07_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332654109","file1":"1332654105","file0":"1332654100","file4":"1332654117","file5":"1332654123","file3":"1332654113"},"map_files_photo_id_array":[{"photo_id":"1332654123","filename":"file5"},{"photo_id":"1332654109","filename":"file2"},{"photo_id":"1332654117","filename":"file4"},{"photo_id":"1332654105","filename":"file1"},{"photo_id":"1332654100","filename":"file0"},{"photo_id":"1332654113","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332654109":["hashtag1","hashtag2"]},{"1332654100":["hashtag1","hashtag2"]},{"1332654123":["hashtag1","hashtag2"]},{"1332654105":["hashtag1","hashtag2"]},{"1332654117":["hashtag1","hashtag2"]},{"1332654113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332654109, 1332654100, 1332654123, 1332654105, 1332654117, 1332654113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.53043532371521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:42:32.654562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/54/image_24012025_23_54_56_10330.jpg', '/home/pi/Desktop/images/24012025/23/54/image_24012025_23_55_06_9326.jpg', '/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_16_10409.jpg', '/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_26_10380.jpg', '/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_36_9365.jpg', '/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_46_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/54/image_24012025_23_54_56_10330.jpg
/home/pi/Desktop/images/24012025/23/54/image_24012025_23_55_06_9326.jpg
/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_16_10409.jpg
/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_26_10380.jpg
/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_36_9365.jpg
/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_46_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":["1332654172","1332654147","1332654152","1332654155","1332654175","1332654178"],"photo_ids_order":["1332654147","1332654152","1332654155","1332654172","1332654175","1332654178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ef806f2407fa116dc0c841802949a972.jpg","text":"TemporaryFile(/tmp/multipartBody5610150061972281673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158214798,"filename":"image_24012025_23_55_26_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/29/2628d1c6cdb6ee0d7bc767db86f278c1.jpg","text":"TemporaryFile(/tmp/multipartBody1562130825644558810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158214798,"filename":"image_24012025_23_54_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/29/70f96402e35eda4971804ee7b901ea80.jpg","text":"TemporaryFile(/tmp/multipartBody3652314278000010933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158214798,"filename":"image_24012025_23_55_06_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/29/2a60ace38a8074ef2fd354d3660ad6a0.jpg","text":"TemporaryFile(/tmp/multipartBody1442349806276357344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158214798,"filename":"image_24012025_23_55_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/29/e136b6d007a006df48c733028e55b9ea.jpg","text":"TemporaryFile(/tmp/multipartBody8558290197621952186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158214798,"filename":"image_24012025_23_55_36_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/29/0cc1c2a9acbf0c15d7e375e771d0ee2d.jpg","text":"TemporaryFile(/tmp/multipartBody5441616778694746039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158214798,"filename":"image_24012025_23_55_46_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332654155","file1":"1332654152","file0":"1332654147","file4":"1332654175","file5":"1332654178","file3":"1332654172"},"map_files_photo_id_array":[{"photo_id":"1332654178","filename":"file5"},{"photo_id":"1332654155","filename":"file2"},{"photo_id":"1332654175","filename":"file4"},{"photo_id":"1332654152","filename":"file1"},{"photo_id":"1332654147","filename":"file0"},{"photo_id":"1332654172","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332654172":["hashtag1","hashtag2"]},{"1332654147":["hashtag1","hashtag2"]},{"1332654152":["hashtag1","hashtag2"]},{"1332654155":["hashtag1","hashtag2"]},{"1332654175":["hashtag1","hashtag2"]},{"1332654178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332654172, 1332654147, 1332654152, 1332654155, 1332654175, 1332654178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.91760325431824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:43:32.852282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_57_10353.jpg', '/home/pi/Desktop/images/24012025/23/55/image_24012025_23_56_06_9331.jpg', '/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_16_10350.jpg', '/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_27_10350.jpg', '/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_36_9329.jpg', '/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_46_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_57_10353.jpg
/home/pi/Desktop/images/24012025/23/55/image_24012025_23_56_06_9331.jpg
/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_16_10350.jpg
/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_27_10350.jpg
/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_36_9329.jpg
/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_46_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: 1.9933443069458008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 14:43:42.910822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_57_10353.jpg', '/home/pi/Desktop/images/24012025/23/55/image_24012025_23_56_06_9331.jpg', '/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_16_10350.jpg', '/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_27_10350.jpg', '/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_36_9329.jpg', '/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_46_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/55/image_24012025_23_55_57_10353.jpg
/home/pi/Desktop/images/24012025/23/55/image_24012025_23_56_06_9331.jpg
/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_16_10350.jpg
/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_27_10350.jpg
/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_36_9329.jpg
/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_46_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":["1332654291","1332654304","1332654282","1332654300","1332654287","1332654295"],"photo_ids_order":["1332654282","1332654287","1332654291","1332654295","1332654300","1332654304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3adae9a182dc4d2f1b0295dae70ecf0b.jpg","text":"TemporaryFile(/tmp/multipartBody4772377472948536442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158284096,"filename":"image_24012025_23_56_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/29/3a27023a2d5806a518761f516b8e3033.jpg","text":"TemporaryFile(/tmp/multipartBody1109705587292946956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158284096,"filename":"image_24012025_23_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/29/d738b82a816305a4fd626e9610406dc4.jpg","text":"TemporaryFile(/tmp/multipartBody946920476485458777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158284096,"filename":"image_24012025_23_55_57_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/29/09513771b4f3f0a2e23e8eaf6df633da.jpg","text":"TemporaryFile(/tmp/multipartBody6021640227754646554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158284096,"filename":"image_24012025_23_56_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/29/a3175e75a30e1bba50ffed0b06d25542.jpg","text":"TemporaryFile(/tmp/multipartBody7251444799799538205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158284096,"filename":"image_24012025_23_56_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/29/24ac4486ed416b7070d73b1b28fc3d67.jpg","text":"TemporaryFile(/tmp/multipartBody2468013656826705944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158284096,"filename":"image_24012025_23_56_27_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332654291","file1":"1332654287","file0":"1332654282","file4":"1332654300","file5":"1332654304","file3":"1332654295"},"map_files_photo_id_array":[{"photo_id":"1332654304","filename":"file5"},{"photo_id":"1332654291","filename":"file2"},{"photo_id":"1332654300","filename":"file4"},{"photo_id":"1332654287","filename":"file1"},{"photo_id":"1332654282","filename":"file0"},{"photo_id":"1332654295","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332654291":["hashtag1","hashtag2"]},{"1332654304":["hashtag1","hashtag2"]},{"1332654282":["hashtag1","hashtag2"]},{"1332654300":["hashtag1","hashtag2"]},{"1332654287":["hashtag1","hashtag2"]},{"1332654295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332654291, 1332654304, 1332654282, 1332654300, 1332654287, 1332654295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04298996925354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:44:33.121821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_57_10331.jpg', '/home/pi/Desktop/images/24012025/23/56/image_24012025_23_57_06_9345.jpg', '/home/pi/Desktop/images/24012025/23/57/image_24012025_23_57_16_10325.jpg', '/home/pi/Desktop/images/24012025/23/57/image_24012025_23_57_27_10368.jpg', '/home/pi/Desktop/images/24012025/23/57/image_24012025_23_57_36_9418.jpg', '/home/pi/Desktop/images/24012025/23/57/image_24012025_23_57_46_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/56/image_24012025_23_56_57_10331.jpg
/home/pi/Desktop/images/24012025/23/56/image_24012025_23_57_06_9345.jpg
/home/pi/Desktop/images/24012025/23/57/image_24012025_23_57_16_10325.jpg
/home/pi/Desktop/images/24012025/23/57/image_24012025_23_57_27_10368.jpg
/home/pi/Desktop/images/24012025/23/57/image_24012025_23_57_36_9418.jpg
/home/pi/Desktop/images/24012025/23/57/image_24012025_23_57_46_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332654520","1332654507","1332654347","1332654385","1332654338","1332654496"],"photo_ids_order":["1332654338","1332654347","1332654385","1332654496","1332654507","1332654520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8a22c86b6664a7bcc8929b58631c16f8.jpg","text":"TemporaryFile(/tmp/multipartBody7991051156039867033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158335361,"filename":"image_24012025_23_57_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/29/ee1dc6542bb4b11987a85a56aec9a918.jpg","text":"TemporaryFile(/tmp/multipartBody1883567150673195485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158335361,"filename":"image_24012025_23_57_36_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/29/9170201f41c349398d21bd9fc6bd2f7a.jpg","text":"TemporaryFile(/tmp/multipartBody932193577441814829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158335361,"filename":"image_24012025_23_57_06_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/29/39ee675fd43215b0109df88c8b45772f.jpg","text":"TemporaryFile(/tmp/multipartBody9018941921440395303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158335361,"filename":"image_24012025_23_57_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/29/8b91172c320a006c0abad0e010c1affc.jpg","text":"TemporaryFile(/tmp/multipartBody880567077991707028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158335361,"filename":"image_24012025_23_56_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/29/55f7f2fd3037a3abd2ff61aa0e7eeb2d.jpg","text":"TemporaryFile(/tmp/multipartBody138969572150536237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158335361,"filename":"image_24012025_23_57_27_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332654385","file1":"1332654347","file0":"1332654338","file4":"1332654507","file5":"1332654520","file3":"1332654496"},"map_files_photo_id_array":[{"photo_id":"1332654520","filename":"file5"},{"photo_id":"1332654385","filename":"file2"},{"photo_id":"1332654507","filename":"file4"},{"photo_id":"1332654347","filename":"file1"},{"photo_id":"1332654338","filename":"file0"},{"photo_id":"1332654496","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332654520":["hashtag1","hashtag2"]},{"1332654507":["hashtag1","hashtag2"]},{"1332654347":["hashtag1","hashtag2"]},{"1332654385":["hashtag1","hashtag2"]},{"1332654338":["hashtag1","hashtag2"]},{"1332654496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332654520, 1332654507, 1332654347, 1332654385, 1332654338, 1332654496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83207416534424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:45:32.351462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/57/image_24012025_23_57_56_9382.jpg', '/home/pi/Desktop/images/24012025/23/57/image_24012025_23_58_06_10343.jpg', '/home/pi/Desktop/images/24012025/23/58/image_24012025_23_58_17_10350.jpg', '/home/pi/Desktop/images/24012025/23/58/image_24012025_23_58_26_9334.jpg', '/home/pi/Desktop/images/24012025/23/58/image_24012025_23_58_36_10421.jpg', '/home/pi/Desktop/images/24012025/23/58/image_24012025_23_58_46_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/57/image_24012025_23_57_56_9382.jpg
/home/pi/Desktop/images/24012025/23/57/image_24012025_23_58_06_10343.jpg
/home/pi/Desktop/images/24012025/23/58/image_24012025_23_58_17_10350.jpg
/home/pi/Desktop/images/24012025/23/58/image_24012025_23_58_26_9334.jpg
/home/pi/Desktop/images/24012025/23/58/image_24012025_23_58_36_10421.jpg
/home/pi/Desktop/images/24012025/23/58/image_24012025_23_58_46_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":["1332654760","1332654709","1332654706","1332654756","1332654771","1332654765"],"photo_ids_order":["1332654706","1332654709","1332654756","1332654760","1332654765","1332654771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6dae3251c2c491e61b796674698f2af2.jpg","text":"TemporaryFile(/tmp/multipartBody3570436720460612713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158394451,"filename":"image_24012025_23_58_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/29/f1193eb95c7c24c1817642e4e9531385.jpg","text":"TemporaryFile(/tmp/multipartBody7164211748710203179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158394451,"filename":"image_24012025_23_58_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/29/3dc50a8396f5256a8dad45d08e1c1a86.jpg","text":"TemporaryFile(/tmp/multipartBody5950286531963200033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158394451,"filename":"image_24012025_23_57_56_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/29/d7c0b0bd9b0f3427eb3b213ff40a3c4e.jpg","text":"TemporaryFile(/tmp/multipartBody7145661085040857063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158394451,"filename":"image_24012025_23_58_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/29/216bfcbca88d641aa42b3c4fe1900c51.jpg","text":"TemporaryFile(/tmp/multipartBody670401621045983284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158394451,"filename":"image_24012025_23_58_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/29/19a882feb65853413a28a9ab0793dea1.jpg","text":"TemporaryFile(/tmp/multipartBody673695413636713617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158394451,"filename":"image_24012025_23_58_36_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332654756","file1":"1332654709","file0":"1332654706","file4":"1332654765","file5":"1332654771","file3":"1332654760"},"map_files_photo_id_array":[{"photo_id":"1332654771","filename":"file5"},{"photo_id":"1332654756","filename":"file2"},{"photo_id":"1332654765","filename":"file4"},{"photo_id":"1332654709","filename":"file1"},{"photo_id":"1332654706","filename":"file0"},{"photo_id":"1332654760","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332654760":["hashtag1","hashtag2"]},{"1332654709":["hashtag1","hashtag2"]},{"1332654706":["hashtag1","hashtag2"]},{"1332654756":["hashtag1","hashtag2"]},{"1332654771":["hashtag1","hashtag2"]},{"1332654765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332654760, 1332654709, 1332654706, 1332654756, 1332654771, 1332654765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.902587890625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:46:32.615532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/58/image_24012025_23_58_56_10407.jpg', '/home/pi/Desktop/images/24012025/23/58/image_24012025_23_59_06_10359.jpg', '/home/pi/Desktop/images/24012025/23/59/image_24012025_23_59_16_9439.jpg', '/home/pi/Desktop/images/24012025/23/59/image_24012025_23_59_26_10413.jpg', '/home/pi/Desktop/images/24012025/23/59/image_24012025_23_59_36_9406.jpg', '/home/pi/Desktop/images/24012025/23/59/image_24012025_23_59_46_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/58/image_24012025_23_58_56_10407.jpg
/home/pi/Desktop/images/24012025/23/58/image_24012025_23_59_06_10359.jpg
/home/pi/Desktop/images/24012025/23/59/image_24012025_23_59_16_9439.jpg
/home/pi/Desktop/images/24012025/23/59/image_24012025_23_59_26_10413.jpg
/home/pi/Desktop/images/24012025/23/59/image_24012025_23_59_36_9406.jpg
/home/pi/Desktop/images/24012025/23/59/image_24012025_23_59_46_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":["1332654795","1332654858","1332654825","1332654851","1332654854","1332654800"],"photo_ids_order":["1332654795","1332654800","1332654825","1332654851","1332654854","1332654858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ec9377521509820dc013578fe2ae1e25.jpg","text":"TemporaryFile(/tmp/multipartBody7284549784223962015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158454704,"filename":"image_24012025_23_58_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/29/89373e2b7d8a2f3d1689cbdc88a284dc.jpg","text":"TemporaryFile(/tmp/multipartBody2334371871036231574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158454704,"filename":"image_24012025_23_59_46_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/29/ef938666f246b61a29e8f54abb10996a.jpg","text":"TemporaryFile(/tmp/multipartBody1192567561870091932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158454704,"filename":"image_24012025_23_59_16_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/29/ed8b38d4876ab99a87315d15848adda8.jpg","text":"TemporaryFile(/tmp/multipartBody8656923994886249478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158454704,"filename":"image_24012025_23_59_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/29/3330d0777948dece12998d7c796a9e3e.jpg","text":"TemporaryFile(/tmp/multipartBody3392038224564561481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158454704,"filename":"image_24012025_23_59_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/29/10b8740f11694e96adada02728210131.jpg","text":"TemporaryFile(/tmp/multipartBody7081523504649372223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158454704,"filename":"image_24012025_23_59_06_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332654825","file1":"1332654800","file0":"1332654795","file4":"1332654854","file5":"1332654858","file3":"1332654851"},"map_files_photo_id_array":[{"photo_id":"1332654858","filename":"file5"},{"photo_id":"1332654825","filename":"file2"},{"photo_id":"1332654854","filename":"file4"},{"photo_id":"1332654800","filename":"file1"},{"photo_id":"1332654795","filename":"file0"},{"photo_id":"1332654851","filename":"file3"}],"portfolio_id":19862476,"hashtag_by_photo_ids":[{"1332654795":["hashtag1","hashtag2"]},{"1332654858":["hashtag1","hashtag2"]},{"1332654825":["hashtag1","hashtag2"]},{"1332654851":["hashtag1","hashtag2"]},{"1332654854":["hashtag1","hashtag2"]},{"1332654800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19862476 used, photo_id : ArrayBuffer(1332654795, 1332654858, 1332654825, 1332654851, 1332654854, 1332654800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.06503677368164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:47:32.714727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
  port_id : 19862476
  datou_current_id : 2508280
in upload_from_sqlite, uploading in 19862476
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/24012025/23/59/image_24012025_23_59_56_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2508280&datou=0
/home/pi/Desktop/images/24012025/23/59/image_24012025_23_59_56_10333.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332654991"],"photo_id":"1332654991","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4c9597670ad2d8054a161dccd44b514c.jpg","text":"TemporaryFile(/tmp/multipartBody7112209701431115318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158514670,"filename":"image_24012025_23_59_56_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1332654991"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1332654991"}],"hashtags":[],"portfolio_id":"19862476","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.910482168197632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 14:47:52.720801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908522
  datou_current_id : 2513558
in upload_from_sqlite, uploading in 19908522
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_46_10384.jpg', '/home/pi/Desktop/images/25012025/23/55/image_25012025_23_56_06_10355.jpg', '/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_16_10455.jpg', '/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_26_9402.jpg', '/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_36_10358.jpg', '/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_47_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2513558&datou=0
/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_46_10384.jpg
/home/pi/Desktop/images/25012025/23/55/image_25012025_23_56_06_10355.jpg
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_16_10455.jpg
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_26_9402.jpg
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_36_10358.jpg
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_47_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":["1332655281","1332655278","1332655275","1332655274","1332655430","1332655441"],"photo_ids_order":["1332655274","1332655275","1332655278","1332655281","1332655430","1332655441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3f148bd2c7e83b19c03b11777e80dfca.jpg","text":"TemporaryFile(/tmp/multipartBody2891734250622448560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158534926,"filename":"image_25012025_23_56_26_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/29/cf44722ea7c5208962499dfdfc714fae.jpg","text":"TemporaryFile(/tmp/multipartBody4043042405974045086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158534926,"filename":"image_25012025_23_56_16_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/29/688a51cba76579eb361452adf4b167cc.jpg","text":"TemporaryFile(/tmp/multipartBody5371814792114803553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158534926,"filename":"image_25012025_23_56_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/29/66cfad25dd4591bc39096500a7389a9f.jpg","text":"TemporaryFile(/tmp/multipartBody8052567844620995513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158534926,"filename":"image_25012025_23_55_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/29/f0aa067c89dc4b4a10c015d972fcd0cb.jpg","text":"TemporaryFile(/tmp/multipartBody2940127415896019682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158534926,"filename":"image_25012025_23_56_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/29/c7d7a9c432c8f09ecdc81bcdb0bfaef1.jpg","text":"TemporaryFile(/tmp/multipartBody4887126846739166762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158534926,"filename":"image_25012025_23_56_47_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332655278","file1":"1332655275","file0":"1332655274","file4":"1332655430","file5":"1332655441","file3":"1332655281"},"map_files_photo_id_array":[{"photo_id":"1332655441","filename":"file5"},{"photo_id":"1332655278","filename":"file2"},{"photo_id":"1332655430","filename":"file4"},{"photo_id":"1332655275","filename":"file1"},{"photo_id":"1332655274","filename":"file0"},{"photo_id":"1332655281","filename":"file3"}],"portfolio_id":19908522,"hashtag_by_photo_ids":[{"1332655281":["hashtag1","hashtag2"]},{"1332655278":["hashtag1","hashtag2"]},{"1332655275":["hashtag1","hashtag2"]},{"1332655274":["hashtag1","hashtag2"]},{"1332655430":["hashtag1","hashtag2"]},{"1332655441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908522 used, photo_id : ArrayBuffer(1332655281, 1332655278, 1332655275, 1332655274, 1332655430, 1332655441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.480459451675415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 14:48:52.953333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908522
  datou_current_id : 2513558
in upload_from_sqlite, uploading in 19908522
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_56_9337.jpg', '/home/pi/Desktop/images/25012025/23/58/image_25012025_23_58_16_10428.jpg', '/home/pi/Desktop/images/25012025/23/58/image_25012025_23_58_36_9411.jpg', '/home/pi/Desktop/images/25012025/23/58/image_25012025_23_58_46_10365.jpg', '/home/pi/Desktop/images/25012025/23/58/image_25012025_23_58_56_9391.jpg', '/home/pi/Desktop/images/25012025/23/58/image_25012025_23_59_06_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2513558&datou=0
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_56_9337.jpg
/home/pi/Desktop/images/25012025/23/58/image_25012025_23_58_16_10428.jpg
/home/pi/Desktop/images/25012025/23/58/image_25012025_23_58_36_9411.jpg
/home/pi/Desktop/images/25012025/23/58/image_25012025_23_58_46_10365.jpg
/home/pi/Desktop/images/25012025/23/58/image_25012025_23_58_56_9391.jpg
/home/pi/Desktop/images/25012025/23/58/image_25012025_23_59_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":["1332655665","1332655673","1332655667","1332655658","1332655669","1332655546"],"photo_ids_order":["1332655546","1332655658","1332655665","1332655667","1332655669","1332655673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/90f4a2af0c3fa4d14073078f8f3594ad.jpg","text":"TemporaryFile(/tmp/multipartBody24345085598958223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158595155,"filename":"image_25012025_23_58_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/29/23a42414c7f79bbe795c1f4d3f73af03.jpg","text":"TemporaryFile(/tmp/multipartBody7800111382019983027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158595155,"filename":"image_25012025_23_59_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/29/dac7fbe51582b533e0f5126abe28530b.jpg","text":"TemporaryFile(/tmp/multipartBody1499890122637429610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158595155,"filename":"image_25012025_23_58_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/29/d35929e082d8c2e59065c0a924f46e12.jpg","text":"TemporaryFile(/tmp/multipartBody4150266305500276001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158595155,"filename":"image_25012025_23_58_16_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/29/29eed01929357cfb8703d823b475e546.jpg","text":"TemporaryFile(/tmp/multipartBody8303939858914325270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158595155,"filename":"image_25012025_23_58_56_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/29/7499cd6f10d36c9ba31f36a539c65fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3405674267558829033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158595155,"filename":"image_25012025_23_56_56_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332655665","file1":"1332655658","file0":"1332655546","file4":"1332655669","file5":"1332655673","file3":"1332655667"},"map_files_photo_id_array":[{"photo_id":"1332655673","filename":"file5"},{"photo_id":"1332655665","filename":"file2"},{"photo_id":"1332655669","filename":"file4"},{"photo_id":"1332655658","filename":"file1"},{"photo_id":"1332655546","filename":"file0"},{"photo_id":"1332655667","filename":"file3"}],"portfolio_id":19908522,"hashtag_by_photo_ids":[{"1332655665":["hashtag1","hashtag2"]},{"1332655673":["hashtag1","hashtag2"]},{"1332655667":["hashtag1","hashtag2"]},{"1332655658":["hashtag1","hashtag2"]},{"1332655669":["hashtag1","hashtag2"]},{"1332655546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908522 used, photo_id : ArrayBuffer(1332655665, 1332655673, 1332655667, 1332655658, 1332655669, 1332655546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.125837564468384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 14:49:42.193317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908522
  datou_current_id : 2513558
in upload_from_sqlite, uploading in 19908522
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/59/image_25012025_23_59_16_10357.jpg', '/home/pi/Desktop/images/25012025/23/59/image_25012025_23_59_26_9325.jpg', '/home/pi/Desktop/images/25012025/23/59/image_25012025_23_59_36_10358.jpg', '/home/pi/Desktop/images/25012025/23/59/image_25012025_23_59_46_10355.jpg', '/home/pi/Desktop/images/25012025/23/59/image_25012025_23_59_56_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2513558&datou=0
/home/pi/Desktop/images/25012025/23/59/image_25012025_23_59_16_10357.jpg
/home/pi/Desktop/images/25012025/23/59/image_25012025_23_59_26_9325.jpg
/home/pi/Desktop/images/25012025/23/59/image_25012025_23_59_36_10358.jpg
/home/pi/Desktop/images/25012025/23/59/image_25012025_23_59_46_10355.jpg
/home/pi/Desktop/images/25012025/23/59/image_25012025_23_59_56_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332655702","1332655707","1332655697","1332655693","1332655687"],"photo_ids_order":["1332655687","1332655693","1332655697","1332655702","1332655707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/08363afc82061685ba4a7d25555bc9a4.jpg","text":"TemporaryFile(/tmp/multipartBody350433831129059702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158643567,"filename":"image_25012025_23_59_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/29/9055f9920757bcb3033ff9d5c04c0ff4.jpg","text":"TemporaryFile(/tmp/multipartBody8600922621932782641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158643567,"filename":"image_25012025_23_59_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/29/3283d896608edf050912c2914ec73743.jpg","text":"TemporaryFile(/tmp/multipartBody5132578994278269039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158643567,"filename":"image_25012025_23_59_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/29/e54bb105708a8a6f0ec7e245cff9b206.jpg","text":"TemporaryFile(/tmp/multipartBody3417402986653030935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158643567,"filename":"image_25012025_23_59_26_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/29/0501c8e7d79b7da89e921793ea34696c.jpg","text":"TemporaryFile(/tmp/multipartBody8421002766638415570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158643567,"filename":"image_25012025_23_59_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332655697","file1":"1332655693","file0":"1332655687","file4":"1332655707","file3":"1332655702"},"map_files_photo_id_array":[{"photo_id":"1332655697","filename":"file2"},{"photo_id":"1332655707","filename":"file4"},{"photo_id":"1332655693","filename":"file1"},{"photo_id":"1332655687","filename":"file0"},{"photo_id":"1332655702","filename":"file3"}],"portfolio_id":19908522,"hashtag_by_photo_ids":[{"1332655702":["hashtag1","hashtag2"]},{"1332655707":["hashtag1","hashtag2"]},{"1332655697":["hashtag1","hashtag2"]},{"1332655693":["hashtag1","hashtag2"]},{"1332655687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908522 used, photo_id : ArrayBuffer(1332655702, 1332655707, 1332655697, 1332655693, 1332655687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.967822790145874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:50:32.365723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_56_10364.jpg', '/home/pi/Desktop/images/26012025/23/44/image_26012025_23_45_05_9338.jpg', '/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_16_10372.jpg', '/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_26_10353.jpg', '/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_36_9408.jpg', '/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_46_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_56_10364.jpg
/home/pi/Desktop/images/26012025/23/44/image_26012025_23_45_05_9338.jpg
/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_16_10372.jpg
/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_26_10353.jpg
/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_36_9408.jpg
/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_46_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":["1332655806","1332655775","1332655799","1332655790","1332655768","1332655783"],"photo_ids_order":["1332655768","1332655775","1332655783","1332655790","1332655799","1332655806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/04c05b3bf6511c101b09ce6f5d0fcb68.jpg","text":"TemporaryFile(/tmp/multipartBody6579288121859841051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158694699,"filename":"image_26012025_23_45_46_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/29/5f9a4ff831b9bdb1de3603ba34c408b8.jpg","text":"TemporaryFile(/tmp/multipartBody6939914110604751112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158694699,"filename":"image_26012025_23_45_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/29/3225946e6e85b17c1b85baf6b405d64c.jpg","text":"TemporaryFile(/tmp/multipartBody4890441099850174111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158694699,"filename":"image_26012025_23_45_36_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/29/75bbe7a28e20ac5ecb3e5accdce16669.jpg","text":"TemporaryFile(/tmp/multipartBody7519597003393217767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158694699,"filename":"image_26012025_23_45_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/29/b48eb0b2989a0e0b05873f33f2c1a904.jpg","text":"TemporaryFile(/tmp/multipartBody6192338037987499042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158694699,"filename":"image_26012025_23_44_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/29/48e903706f83eb6e716a815f5e4bc101.jpg","text":"TemporaryFile(/tmp/multipartBody8767340699232682339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158694699,"filename":"image_26012025_23_45_16_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332655783","file1":"1332655775","file0":"1332655768","file4":"1332655799","file5":"1332655806","file3":"1332655790"},"map_files_photo_id_array":[{"photo_id":"1332655806","filename":"file5"},{"photo_id":"1332655783","filename":"file2"},{"photo_id":"1332655799","filename":"file4"},{"photo_id":"1332655775","filename":"file1"},{"photo_id":"1332655768","filename":"file0"},{"photo_id":"1332655790","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332655806":["hashtag1","hashtag2"]},{"1332655775":["hashtag1","hashtag2"]},{"1332655799":["hashtag1","hashtag2"]},{"1332655790":["hashtag1","hashtag2"]},{"1332655768":["hashtag1","hashtag2"]},{"1332655783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332655806, 1332655775, 1332655799, 1332655790, 1332655768, 1332655783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52446699142456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:51:32.606756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_55_9444.jpg', '/home/pi/Desktop/images/26012025/23/45/image_26012025_23_46_06_10453.jpg', '/home/pi/Desktop/images/26012025/23/46/image_26012025_23_46_15_9354.jpg', '/home/pi/Desktop/images/26012025/23/46/image_26012025_23_46_26_10469.jpg', '/home/pi/Desktop/images/26012025/23/46/image_26012025_23_46_46_9655.jpg', '/home/pi/Desktop/images/26012025/23/46/image_26012025_23_46_56_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_55_9444.jpg
/home/pi/Desktop/images/26012025/23/45/image_26012025_23_46_06_10453.jpg
/home/pi/Desktop/images/26012025/23/46/image_26012025_23_46_15_9354.jpg
/home/pi/Desktop/images/26012025/23/46/image_26012025_23_46_26_10469.jpg
/home/pi/Desktop/images/26012025/23/46/image_26012025_23_46_46_9655.jpg
/home/pi/Desktop/images/26012025/23/46/image_26012025_23_46_56_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":["1332655851","1332655839","1332655830","1332655856","1332655846","1332655834"],"photo_ids_order":["1332655830","1332655834","1332655839","1332655846","1332655851","1332655856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/57a7993bef2caee8a0cd2099d5873632.jpg","text":"TemporaryFile(/tmp/multipartBody9027548321924494471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158755662,"filename":"image_26012025_23_46_46_9655.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/58d53cf1b2577a2248e1df696e68b4f9.jpg","text":"TemporaryFile(/tmp/multipartBody539185478069891263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158755662,"filename":"image_26012025_23_46_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/29/622e6a2c88823c96beb186dd5759df70.jpg","text":"TemporaryFile(/tmp/multipartBody7205809034278735381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158755662,"filename":"image_26012025_23_45_55_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/29/31c0a0b722798d63d6ec54d9ebaa929a.jpg","text":"TemporaryFile(/tmp/multipartBody7263252633489944369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158755662,"filename":"image_26012025_23_46_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/29/fac44e9785fad7891421018affc11a11.jpg","text":"TemporaryFile(/tmp/multipartBody6241979413688823929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158755662,"filename":"image_26012025_23_46_26_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/29/94d8e0f7b35d6b067d80af0a16636f87.jpg","text":"TemporaryFile(/tmp/multipartBody247272653018420993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158755662,"filename":"image_26012025_23_46_06_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332655839","file1":"1332655834","file0":"1332655830","file4":"1332655851","file5":"1332655856","file3":"1332655846"},"map_files_photo_id_array":[{"photo_id":"1332655856","filename":"file5"},{"photo_id":"1332655839","filename":"file2"},{"photo_id":"1332655851","filename":"file4"},{"photo_id":"1332655834","filename":"file1"},{"photo_id":"1332655830","filename":"file0"},{"photo_id":"1332655846","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332655851":["hashtag1","hashtag2"]},{"1332655839":["hashtag1","hashtag2"]},{"1332655830":["hashtag1","hashtag2"]},{"1332655856":["hashtag1","hashtag2"]},{"1332655846":["hashtag1","hashtag2"]},{"1332655834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332655851, 1332655839, 1332655830, 1332655856, 1332655846, 1332655834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.111544370651245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:52:32.787544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/46/image_26012025_23_47_05_9412.jpg', '/home/pi/Desktop/images/26012025/23/47/image_26012025_23_47_15_10065.jpg', '/home/pi/Desktop/images/26012025/23/47/image_26012025_23_47_26_10366.jpg', '/home/pi/Desktop/images/26012025/23/47/image_26012025_23_47_35_9350.jpg', '/home/pi/Desktop/images/26012025/23/47/image_26012025_23_47_46_10370.jpg', '/home/pi/Desktop/images/26012025/23/47/image_26012025_23_48_05_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/46/image_26012025_23_47_05_9412.jpg
/home/pi/Desktop/images/26012025/23/47/image_26012025_23_47_15_10065.jpg
/home/pi/Desktop/images/26012025/23/47/image_26012025_23_47_26_10366.jpg
/home/pi/Desktop/images/26012025/23/47/image_26012025_23_47_35_9350.jpg
/home/pi/Desktop/images/26012025/23/47/image_26012025_23_47_46_10370.jpg
/home/pi/Desktop/images/26012025/23/47/image_26012025_23_48_05_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":["1332655878","1332655887","1332655902","1332655892","1332655883","1332655897"],"photo_ids_order":["1332655878","1332655883","1332655887","1332655892","1332655897","1332655902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b2e690e6eacece2f471c2d44c0092e2f.jpg","text":"TemporaryFile(/tmp/multipartBody4415083030993917208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158815115,"filename":"image_26012025_23_47_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/29/fe39a0454ac85b1b2319115c9709e193.jpg","text":"TemporaryFile(/tmp/multipartBody7781435648504769245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158815115,"filename":"image_26012025_23_47_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/29/a77437e953d20bbfe7aac1e8a47e4d27.jpg","text":"TemporaryFile(/tmp/multipartBody7594184264496211241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158815115,"filename":"image_26012025_23_48_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/29/2b2d0947e1d2eb4c04a6bba8a0815e96.jpg","text":"TemporaryFile(/tmp/multipartBody4574426253767175225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158815115,"filename":"image_26012025_23_47_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/29/fb5c04a4135b7c6c9382acdf81f5c136.jpg","text":"TemporaryFile(/tmp/multipartBody4896227485348030644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158815115,"filename":"image_26012025_23_47_15_10065.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/38bcbd1af50eb1c5f6e8b8133b2c9a5f.jpg","text":"TemporaryFile(/tmp/multipartBody5016086681402090817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158815115,"filename":"image_26012025_23_47_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332655887","file1":"1332655883","file0":"1332655878","file4":"1332655897","file5":"1332655902","file3":"1332655892"},"map_files_photo_id_array":[{"photo_id":"1332655902","filename":"file5"},{"photo_id":"1332655887","filename":"file2"},{"photo_id":"1332655897","filename":"file4"},{"photo_id":"1332655883","filename":"file1"},{"photo_id":"1332655878","filename":"file0"},{"photo_id":"1332655892","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332655878":["hashtag1","hashtag2"]},{"1332655887":["hashtag1","hashtag2"]},{"1332655902":["hashtag1","hashtag2"]},{"1332655892":["hashtag1","hashtag2"]},{"1332655883":["hashtag1","hashtag2"]},{"1332655897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332655878, 1332655887, 1332655902, 1332655892, 1332655883, 1332655897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.21002697944641 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:53:33.105313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/48/image_26012025_23_48_16_10333.jpg', '/home/pi/Desktop/images/26012025/23/48/image_26012025_23_48_26_10396.jpg', '/home/pi/Desktop/images/26012025/23/48/image_26012025_23_48_35_9343.jpg', '/home/pi/Desktop/images/26012025/23/48/image_26012025_23_48_46_10417.jpg', '/home/pi/Desktop/images/26012025/23/48/image_26012025_23_48_56_10355.jpg', '/home/pi/Desktop/images/26012025/23/49/image_26012025_23_49_16_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/48/image_26012025_23_48_16_10333.jpg
/home/pi/Desktop/images/26012025/23/48/image_26012025_23_48_26_10396.jpg
/home/pi/Desktop/images/26012025/23/48/image_26012025_23_48_35_9343.jpg
/home/pi/Desktop/images/26012025/23/48/image_26012025_23_48_46_10417.jpg
/home/pi/Desktop/images/26012025/23/48/image_26012025_23_48_56_10355.jpg
/home/pi/Desktop/images/26012025/23/49/image_26012025_23_49_16_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":["1332655959","1332655947","1332655956","1332655943","1332655963","1332655951"],"photo_ids_order":["1332655943","1332655947","1332655951","1332655956","1332655959","1332655963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/076b733f8ac83e593c68d16969981e62.jpg","text":"TemporaryFile(/tmp/multipartBody5968331991640200842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158875410,"filename":"image_26012025_23_48_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/29/4f5f7b5e5e386c1842b3dfba5f51494a.jpg","text":"TemporaryFile(/tmp/multipartBody3900748460685266548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158875410,"filename":"image_26012025_23_48_26_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/29/9b9c9efbf006d65b219061afccd3e025.jpg","text":"TemporaryFile(/tmp/multipartBody2156452622645541397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158875410,"filename":"image_26012025_23_48_46_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/29/704c806406767a899ddfe5e1d3d55d31.jpg","text":"TemporaryFile(/tmp/multipartBody1857176404255539722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158875410,"filename":"image_26012025_23_48_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/29/b4a84701594bb1fac926097037cedf9b.jpg","text":"TemporaryFile(/tmp/multipartBody7102384419189961937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158875410,"filename":"image_26012025_23_49_16_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/29/e2fc27d98ce36214d0620cd8a4ec7d2f.jpg","text":"TemporaryFile(/tmp/multipartBody1018493877907592958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158875410,"filename":"image_26012025_23_48_35_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332655951","file1":"1332655947","file0":"1332655943","file4":"1332655959","file5":"1332655963","file3":"1332655956"},"map_files_photo_id_array":[{"photo_id":"1332655963","filename":"file5"},{"photo_id":"1332655951","filename":"file2"},{"photo_id":"1332655959","filename":"file4"},{"photo_id":"1332655947","filename":"file1"},{"photo_id":"1332655943","filename":"file0"},{"photo_id":"1332655956","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332655959":["hashtag1","hashtag2"]},{"1332655947":["hashtag1","hashtag2"]},{"1332655956":["hashtag1","hashtag2"]},{"1332655943":["hashtag1","hashtag2"]},{"1332655963":["hashtag1","hashtag2"]},{"1332655951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332655959, 1332655947, 1332655956, 1332655943, 1332655963, 1332655951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29418444633484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:54:32.158316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/49/image_26012025_23_49_25_9346.jpg', '/home/pi/Desktop/images/26012025/23/49/image_26012025_23_49_36_10450.jpg', '/home/pi/Desktop/images/26012025/23/49/image_26012025_23_49_46_10365.jpg', '/home/pi/Desktop/images/26012025/23/49/image_26012025_23_49_56_9508.jpg', '/home/pi/Desktop/images/26012025/23/49/image_26012025_23_50_06_10368.jpg', '/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_15_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/49/image_26012025_23_49_25_9346.jpg
/home/pi/Desktop/images/26012025/23/49/image_26012025_23_49_36_10450.jpg
/home/pi/Desktop/images/26012025/23/49/image_26012025_23_49_46_10365.jpg
/home/pi/Desktop/images/26012025/23/49/image_26012025_23_49_56_9508.jpg
/home/pi/Desktop/images/26012025/23/49/image_26012025_23_50_06_10368.jpg
/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_15_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":["1332656052","1332656007","1332656027","1332656012","1332656065","1332656062"],"photo_ids_order":["1332656007","1332656012","1332656027","1332656052","1332656062","1332656065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/619ef14d5b45a5c82d53efde12239332.jpg","text":"TemporaryFile(/tmp/multipartBody1232812392106995379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158934481,"filename":"image_26012025_23_49_56_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/29/7ffc22600bd102c6cd288cdeb48b189b.jpg","text":"TemporaryFile(/tmp/multipartBody2627593195247629555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158934481,"filename":"image_26012025_23_49_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/29/f6d1337eda8e7b85168e4f0003f5ba3f.jpg","text":"TemporaryFile(/tmp/multipartBody7970652322298785660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158934481,"filename":"image_26012025_23_49_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/29/2e88304f0cfd29d6346430ce3d7c2c99.jpg","text":"TemporaryFile(/tmp/multipartBody169882110788718499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158934481,"filename":"image_26012025_23_49_36_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/29/0bf804c6ff9eb71bde770bd72a88cb94.jpg","text":"TemporaryFile(/tmp/multipartBody4345392043729006271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158934481,"filename":"image_26012025_23_50_15_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/29/ec590406335b7e8caf7c549a2e027da0.jpg","text":"TemporaryFile(/tmp/multipartBody6720566326381281484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738158934481,"filename":"image_26012025_23_50_06_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332656027","file1":"1332656012","file0":"1332656007","file4":"1332656062","file5":"1332656065","file3":"1332656052"},"map_files_photo_id_array":[{"photo_id":"1332656065","filename":"file5"},{"photo_id":"1332656027","filename":"file2"},{"photo_id":"1332656062","filename":"file4"},{"photo_id":"1332656012","filename":"file1"},{"photo_id":"1332656007","filename":"file0"},{"photo_id":"1332656052","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332656052":["hashtag1","hashtag2"]},{"1332656007":["hashtag1","hashtag2"]},{"1332656027":["hashtag1","hashtag2"]},{"1332656012":["hashtag1","hashtag2"]},{"1332656065":["hashtag1","hashtag2"]},{"1332656062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332656052, 1332656007, 1332656027, 1332656012, 1332656065, 1332656062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80148267745972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:55:32.367777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_26_10369.jpg', '/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_36_10360.jpg', '/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_56_10437.jpg', '/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_26_10365.jpg', '/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_36_9475.jpg', '/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_46_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_26_10369.jpg
/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_36_10360.jpg
/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_56_10437.jpg
/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_26_10365.jpg
/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_36_9475.jpg
/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_46_10365.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.9165678024291992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 14:55:42.401754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_26_10369.jpg', '/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_36_10360.jpg', '/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_56_10437.jpg', '/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_26_10365.jpg', '/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_36_9475.jpg', '/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_46_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_26_10369.jpg
/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_36_10360.jpg
/home/pi/Desktop/images/26012025/23/50/image_26012025_23_50_56_10437.jpg
/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_26_10365.jpg
/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_36_9475.jpg
/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_46_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332656517","1332656450","1332656348","1332656371","1332656359","1332656227"],"photo_ids_order":["1332656227","1332656348","1332656359","1332656371","1332656450","1332656517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0edaba18ddd628f18235b8ee00284af8.jpg","text":"TemporaryFile(/tmp/multipartBody1237456613949850949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159003813,"filename":"image_26012025_23_51_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/29/b818bd7910120778b2c052ef60ff45e2.jpg","text":"TemporaryFile(/tmp/multipartBody909104150577311787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159003813,"filename":"image_26012025_23_51_36_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/29/2d98d4cb89f4a81c794691a95eade870.jpg","text":"TemporaryFile(/tmp/multipartBody168984691729597565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159003813,"filename":"image_26012025_23_50_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/29/4fe140dce5a1d33190dc6d40d488f37e.jpg","text":"TemporaryFile(/tmp/multipartBody4241951476051462854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159003813,"filename":"image_26012025_23_51_26_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/29/b7baa9edb42641df217118fa2a7c8698.jpg","text":"TemporaryFile(/tmp/multipartBody6323173603612438155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159003813,"filename":"image_26012025_23_50_56_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/29/63e9a26149819f1b4b7017f02794120f.jpg","text":"TemporaryFile(/tmp/multipartBody2738629568268909486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159003813,"filename":"image_26012025_23_50_26_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332656359","file1":"1332656348","file0":"1332656227","file4":"1332656450","file5":"1332656517","file3":"1332656371"},"map_files_photo_id_array":[{"photo_id":"1332656517","filename":"file5"},{"photo_id":"1332656359","filename":"file2"},{"photo_id":"1332656450","filename":"file4"},{"photo_id":"1332656348","filename":"file1"},{"photo_id":"1332656227","filename":"file0"},{"photo_id":"1332656371","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332656517":["hashtag1","hashtag2"]},{"1332656450":["hashtag1","hashtag2"]},{"1332656348":["hashtag1","hashtag2"]},{"1332656371":["hashtag1","hashtag2"]},{"1332656359":["hashtag1","hashtag2"]},{"1332656227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332656517, 1332656450, 1332656348, 1332656371, 1332656359, 1332656227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.526902198791504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:56:32.576467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_55_9391.jpg', '/home/pi/Desktop/images/26012025/23/51/image_26012025_23_52_06_10435.jpg', '/home/pi/Desktop/images/26012025/23/52/image_26012025_23_52_15_9402.jpg', '/home/pi/Desktop/images/26012025/23/52/image_26012025_23_52_26_10371.jpg', '/home/pi/Desktop/images/26012025/23/52/image_26012025_23_52_45_9445.jpg', '/home/pi/Desktop/images/26012025/23/52/image_26012025_23_52_56_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/51/image_26012025_23_51_55_9391.jpg
/home/pi/Desktop/images/26012025/23/51/image_26012025_23_52_06_10435.jpg
/home/pi/Desktop/images/26012025/23/52/image_26012025_23_52_15_9402.jpg
/home/pi/Desktop/images/26012025/23/52/image_26012025_23_52_26_10371.jpg
/home/pi/Desktop/images/26012025/23/52/image_26012025_23_52_45_9445.jpg
/home/pi/Desktop/images/26012025/23/52/image_26012025_23_52_56_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332656835","1332656780","1332656825","1332656797","1332656830","1332656812"],"photo_ids_order":["1332656780","1332656797","1332656812","1332656825","1332656830","1332656835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/93df4f837b3a4f2a3e9a799f034407c6.jpg","text":"TemporaryFile(/tmp/multipartBody4217372281700559843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159054912,"filename":"image_26012025_23_52_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/29/7b9720e0ae9cd7d5ad71f07049aba8bb.jpg","text":"TemporaryFile(/tmp/multipartBody2724078316652438606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159054912,"filename":"image_26012025_23_51_55_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/29/f20be4224ea7b19a1fe2b4f9bac80ec8.jpg","text":"TemporaryFile(/tmp/multipartBody3623284040651871726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159054912,"filename":"image_26012025_23_52_26_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/29/76b9d636e43e7d26f652e37e9fba1384.jpg","text":"TemporaryFile(/tmp/multipartBody8554860684248852234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159054912,"filename":"image_26012025_23_52_06_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/29/7cb1e3f80f1ceb1e7d6b2006cbd827b4.jpg","text":"TemporaryFile(/tmp/multipartBody8116860937796965945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159054912,"filename":"image_26012025_23_52_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/29/db46f97b8716706360ddb2ae1576e7ac.jpg","text":"TemporaryFile(/tmp/multipartBody6105438858359069712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159054912,"filename":"image_26012025_23_52_15_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332656812","file1":"1332656797","file0":"1332656780","file4":"1332656830","file5":"1332656835","file3":"1332656825"},"map_files_photo_id_array":[{"photo_id":"1332656835","filename":"file5"},{"photo_id":"1332656812","filename":"file2"},{"photo_id":"1332656830","filename":"file4"},{"photo_id":"1332656797","filename":"file1"},{"photo_id":"1332656780","filename":"file0"},{"photo_id":"1332656825","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332656835":["hashtag1","hashtag2"]},{"1332656780":["hashtag1","hashtag2"]},{"1332656825":["hashtag1","hashtag2"]},{"1332656797":["hashtag1","hashtag2"]},{"1332656830":["hashtag1","hashtag2"]},{"1332656812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332656835, 1332656780, 1332656825, 1332656797, 1332656830, 1332656812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.69807267189026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 14:57:32.797196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/52/image_26012025_23_53_05_9397.jpg', '/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_16_10365.jpg', '/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_26_10375.jpg', '/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_35_9427.jpg', '/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_46_10461.jpg', '/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_55_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/52/image_26012025_23_53_05_9397.jpg
/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_16_10365.jpg
/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_26_10375.jpg
/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_35_9427.jpg
/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_46_10461.jpg
/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_55_9437.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-29 14:59:03.224742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/52/image_26012025_23_53_05_9397.jpg', '/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_16_10365.jpg', '/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_26_10375.jpg', '/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_35_9427.jpg', '/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_46_10461.jpg', '/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_55_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/52/image_26012025_23_53_05_9397.jpg
/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_16_10365.jpg
/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_26_10375.jpg
/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_35_9427.jpg
/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_46_10461.jpg
/home/pi/Desktop/images/26012025/23/53/image_26012025_23_53_55_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332657710","1332657608","1332657489","1332657561","1332657441","1332657813"],"photo_ids_order":["1332657441","1332657489","1332657561","1332657608","1332657710","1332657813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cba3b9ba2092af493cfe46198ea5564d.jpg","text":"TemporaryFile(/tmp/multipartBody3905510019485030212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159204712,"filename":"image_26012025_23_53_46_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/29/5c010674707f07fe6fca89939fb2613d.jpg","text":"TemporaryFile(/tmp/multipartBody2452675059391354527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159204712,"filename":"image_26012025_23_53_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/29/d31fae3f817e058f091fb280bafa5116.jpg","text":"TemporaryFile(/tmp/multipartBody1340451333330133481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159204712,"filename":"image_26012025_23_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/29/ce850ccf24f6ad9fad5115d931971d05.jpg","text":"TemporaryFile(/tmp/multipartBody892166157025804364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159204712,"filename":"image_26012025_23_53_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/29/cf73400e5d42cc6ad698b0c6daa2e34e.jpg","text":"TemporaryFile(/tmp/multipartBody2218413214226192609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159204712,"filename":"image_26012025_23_53_05_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/29/7ab575f7dea1b2fea9ea45c80764464a.jpg","text":"TemporaryFile(/tmp/multipartBody5054741837404207247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159204712,"filename":"image_26012025_23_53_55_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332657561","file1":"1332657489","file0":"1332657441","file4":"1332657710","file5":"1332657813","file3":"1332657608"},"map_files_photo_id_array":[{"photo_id":"1332657813","filename":"file5"},{"photo_id":"1332657561","filename":"file2"},{"photo_id":"1332657710","filename":"file4"},{"photo_id":"1332657489","filename":"file1"},{"photo_id":"1332657441","filename":"file0"},{"photo_id":"1332657608","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332657710":["hashtag1","hashtag2"]},{"1332657608":["hashtag1","hashtag2"]},{"1332657489":["hashtag1","hashtag2"]},{"1332657561":["hashtag1","hashtag2"]},{"1332657441":["hashtag1","hashtag2"]},{"1332657813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332657710, 1332657608, 1332657489, 1332657561, 1332657441, 1332657813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.1680269241333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 15:00:02.826246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_25_9343.jpg', '/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_36_10432.jpg', '/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_46_10358.jpg', '/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_55_9399.jpg', '/home/pi/Desktop/images/26012025/23/54/image_26012025_23_55_06_10352.jpg', '/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_15_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_25_9343.jpg
/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_36_10432.jpg
/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_46_10358.jpg
/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_55_9399.jpg
/home/pi/Desktop/images/26012025/23/54/image_26012025_23_55_06_10352.jpg
/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_15_9329.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.1410870552062988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:00:32.406544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_25_9343.jpg', '/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_36_10432.jpg', '/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_46_10358.jpg', '/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_55_9399.jpg', '/home/pi/Desktop/images/26012025/23/54/image_26012025_23_55_06_10352.jpg', '/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_15_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_25_9343.jpg
/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_36_10432.jpg
/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_46_10358.jpg
/home/pi/Desktop/images/26012025/23/54/image_26012025_23_54_55_9399.jpg
/home/pi/Desktop/images/26012025/23/54/image_26012025_23_55_06_10352.jpg
/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_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":["1332658634","1332658628","1332658619","1332658644","1332658638","1332658623"],"photo_ids_order":["1332658619","1332658623","1332658628","1332658634","1332658638","1332658644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dbe326d83c8adbbb25fa8a181a1e83ee.jpg","text":"TemporaryFile(/tmp/multipartBody7184193430194540966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159294645,"filename":"image_26012025_23_54_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/29/786cc0520f07ceb5604f649347543ede.jpg","text":"TemporaryFile(/tmp/multipartBody2440712133370776055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159294645,"filename":"image_26012025_23_54_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/29/fd4bc7f09decd2b59526ed813a5abd00.jpg","text":"TemporaryFile(/tmp/multipartBody1111486806714368759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159294645,"filename":"image_26012025_23_54_25_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/29/baf976aedf815869df6333c26af1d780.jpg","text":"TemporaryFile(/tmp/multipartBody3991272838844325686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159294645,"filename":"image_26012025_23_55_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/29/c59f385e9a9b19f9a3c1be0b36db9be2.jpg","text":"TemporaryFile(/tmp/multipartBody5570417922930392210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159294645,"filename":"image_26012025_23_55_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/29/03807ef294c28c4dba55f20dcbcfeee0.jpg","text":"TemporaryFile(/tmp/multipartBody5851188500039013251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159294645,"filename":"image_26012025_23_54_36_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332658628","file1":"1332658623","file0":"1332658619","file4":"1332658638","file5":"1332658644","file3":"1332658634"},"map_files_photo_id_array":[{"photo_id":"1332658644","filename":"file5"},{"photo_id":"1332658628","filename":"file2"},{"photo_id":"1332658638","filename":"file4"},{"photo_id":"1332658623","filename":"file1"},{"photo_id":"1332658619","filename":"file0"},{"photo_id":"1332658634","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332658634":["hashtag1","hashtag2"]},{"1332658628":["hashtag1","hashtag2"]},{"1332658619":["hashtag1","hashtag2"]},{"1332658644":["hashtag1","hashtag2"]},{"1332658638":["hashtag1","hashtag2"]},{"1332658623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332658634, 1332658628, 1332658619, 1332658644, 1332658638, 1332658623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.99175786972046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:01:32.635546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_26_10446.jpg', '/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_36_10355.jpg', '/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_45_9433.jpg', '/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_56_10366.jpg', '/home/pi/Desktop/images/26012025/23/55/image_26012025_23_56_06_10358.jpg', '/home/pi/Desktop/images/26012025/23/56/image_26012025_23_56_16_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_26_10446.jpg
/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_36_10355.jpg
/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_45_9433.jpg
/home/pi/Desktop/images/26012025/23/55/image_26012025_23_55_56_10366.jpg
/home/pi/Desktop/images/26012025/23/55/image_26012025_23_56_06_10358.jpg
/home/pi/Desktop/images/26012025/23/56/image_26012025_23_56_16_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":["1332658907","1332659067","1332658959","1332659010","1332659004","1332658997"],"photo_ids_order":["1332658907","1332658959","1332658997","1332659004","1332659010","1332659067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d6a121ac37687841bc2feb36e962f6b3.jpg","text":"TemporaryFile(/tmp/multipartBody6333568371073085870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159355213,"filename":"image_26012025_23_55_26_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/29/ac88d742f48821fba32ab0e3488f53bd.jpg","text":"TemporaryFile(/tmp/multipartBody3384628400391346596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159355213,"filename":"image_26012025_23_56_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/29/99b6de7edea54964a5747f92ecf55961.jpg","text":"TemporaryFile(/tmp/multipartBody5954033924515584006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159355213,"filename":"image_26012025_23_55_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/29/11b6ad4a4b326e731b21b4842f1871e3.jpg","text":"TemporaryFile(/tmp/multipartBody1015065235380936721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159355213,"filename":"image_26012025_23_56_06_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/29/1d2d0afa5d5c355f9631673455931a88.jpg","text":"TemporaryFile(/tmp/multipartBody3018995851987430059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159355213,"filename":"image_26012025_23_55_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/29/a0ddf5356d6cf2dd1a9543107e08b53c.jpg","text":"TemporaryFile(/tmp/multipartBody5426557107398553071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159355213,"filename":"image_26012025_23_55_45_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332658997","file1":"1332658959","file0":"1332658907","file4":"1332659010","file5":"1332659067","file3":"1332659004"},"map_files_photo_id_array":[{"photo_id":"1332659067","filename":"file5"},{"photo_id":"1332658997","filename":"file2"},{"photo_id":"1332659010","filename":"file4"},{"photo_id":"1332658959","filename":"file1"},{"photo_id":"1332658907","filename":"file0"},{"photo_id":"1332659004","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332658907":["hashtag1","hashtag2"]},{"1332659067":["hashtag1","hashtag2"]},{"1332658959":["hashtag1","hashtag2"]},{"1332659010":["hashtag1","hashtag2"]},{"1332659004":["hashtag1","hashtag2"]},{"1332658997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332658907, 1332659067, 1332658959, 1332659010, 1332659004, 1332658997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49214768409729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:02:32.910689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/56/image_26012025_23_56_26_10363.jpg', '/home/pi/Desktop/images/26012025/23/56/image_26012025_23_56_35_9351.jpg', '/home/pi/Desktop/images/26012025/23/56/image_26012025_23_56_46_10356.jpg', '/home/pi/Desktop/images/26012025/23/56/image_26012025_23_56_56_10368.jpg', '/home/pi/Desktop/images/26012025/23/56/image_26012025_23_57_05_9348.jpg', '/home/pi/Desktop/images/26012025/23/57/image_26012025_23_57_26_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/56/image_26012025_23_56_26_10363.jpg
/home/pi/Desktop/images/26012025/23/56/image_26012025_23_56_35_9351.jpg
/home/pi/Desktop/images/26012025/23/56/image_26012025_23_56_46_10356.jpg
/home/pi/Desktop/images/26012025/23/56/image_26012025_23_56_56_10368.jpg
/home/pi/Desktop/images/26012025/23/56/image_26012025_23_57_05_9348.jpg
/home/pi/Desktop/images/26012025/23/57/image_26012025_23_57_26_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":["1332659848","1332659827","1332659842","1332659812","1332659832","1332659837"],"photo_ids_order":["1332659812","1332659827","1332659832","1332659837","1332659842","1332659848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a92aa4cfee8fefe3570206e265dc3ef5.jpg","text":"TemporaryFile(/tmp/multipartBody4636001128888698280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159415254,"filename":"image_26012025_23_57_26_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/29/584f78d2a82daaf6182b9d7607dee110.jpg","text":"TemporaryFile(/tmp/multipartBody367142548341917983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159415254,"filename":"image_26012025_23_56_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/29/f0e2ec70831bd04ad0e5c7c691c8c2e1.jpg","text":"TemporaryFile(/tmp/multipartBody8974011759211333973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159415254,"filename":"image_26012025_23_57_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/29/9bc815d75fd8b0be344dc7deae0a5fda.jpg","text":"TemporaryFile(/tmp/multipartBody2948196103238237204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159415254,"filename":"image_26012025_23_56_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/29/5ee337b821aaa5c238d58fbe87259c8d.jpg","text":"TemporaryFile(/tmp/multipartBody7071617742204224852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159415254,"filename":"image_26012025_23_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/29/17f8296b565c576973dd1e3771dae4b6.jpg","text":"TemporaryFile(/tmp/multipartBody6295987176687777648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159415254,"filename":"image_26012025_23_56_56_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332659832","file1":"1332659827","file0":"1332659812","file4":"1332659842","file5":"1332659848","file3":"1332659837"},"map_files_photo_id_array":[{"photo_id":"1332659848","filename":"file5"},{"photo_id":"1332659832","filename":"file2"},{"photo_id":"1332659842","filename":"file4"},{"photo_id":"1332659827","filename":"file1"},{"photo_id":"1332659812","filename":"file0"},{"photo_id":"1332659837","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332659848":["hashtag1","hashtag2"]},{"1332659827":["hashtag1","hashtag2"]},{"1332659842":["hashtag1","hashtag2"]},{"1332659812":["hashtag1","hashtag2"]},{"1332659832":["hashtag1","hashtag2"]},{"1332659837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332659848, 1332659827, 1332659842, 1332659812, 1332659832, 1332659837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.170246601104736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:03:33.135477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/57/image_26012025_23_57_46_10351.jpg', '/home/pi/Desktop/images/26012025/23/57/image_26012025_23_57_55_9414.jpg', '/home/pi/Desktop/images/26012025/23/57/image_26012025_23_58_06_10392.jpg', '/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_25_9330.jpg', '/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_46_10354.jpg', '/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_56_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/57/image_26012025_23_57_46_10351.jpg
/home/pi/Desktop/images/26012025/23/57/image_26012025_23_57_55_9414.jpg
/home/pi/Desktop/images/26012025/23/57/image_26012025_23_58_06_10392.jpg
/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_25_9330.jpg
/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_46_10354.jpg
/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_56_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: 1.9208276271820068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 15:03:43.268264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/57/image_26012025_23_57_46_10351.jpg', '/home/pi/Desktop/images/26012025/23/57/image_26012025_23_57_55_9414.jpg', '/home/pi/Desktop/images/26012025/23/57/image_26012025_23_58_06_10392.jpg', '/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_25_9330.jpg', '/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_46_10354.jpg', '/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_56_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/57/image_26012025_23_57_46_10351.jpg
/home/pi/Desktop/images/26012025/23/57/image_26012025_23_57_55_9414.jpg
/home/pi/Desktop/images/26012025/23/57/image_26012025_23_58_06_10392.jpg
/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_25_9330.jpg
/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_46_10354.jpg
/home/pi/Desktop/images/26012025/23/58/image_26012025_23_58_56_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":["1332660118","1332660036","1332660426","1332660306","1332660207","1332660641"],"photo_ids_order":["1332660036","1332660118","1332660207","1332660306","1332660426","1332660641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/42ea612a9cbf4a3433599e158552bc9c.jpg","text":"TemporaryFile(/tmp/multipartBody7483213193628322908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159484682,"filename":"image_26012025_23_57_55_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/29/fdc1e67ca813c2b58a946f59c132ad92.jpg","text":"TemporaryFile(/tmp/multipartBody2919287246478468906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159484682,"filename":"image_26012025_23_57_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/29/f909f85d33d5be55355d9d492f45c31c.jpg","text":"TemporaryFile(/tmp/multipartBody3928599482132857245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159484682,"filename":"image_26012025_23_58_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/29/3863c8e64fbcbaf5a6b241a668c8ae7a.jpg","text":"TemporaryFile(/tmp/multipartBody1345579752944360346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159484682,"filename":"image_26012025_23_58_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/29/0d3a5a28e8369ee6666b624d9f901f79.jpg","text":"TemporaryFile(/tmp/multipartBody8632953374879153375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159484682,"filename":"image_26012025_23_58_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/29/e1a58ed3d4ceebc03c1bbe3d13090ef1.jpg","text":"TemporaryFile(/tmp/multipartBody782533161012920739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159484682,"filename":"image_26012025_23_58_56_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332660207","file1":"1332660118","file0":"1332660036","file4":"1332660426","file5":"1332660641","file3":"1332660306"},"map_files_photo_id_array":[{"photo_id":"1332660641","filename":"file5"},{"photo_id":"1332660207","filename":"file2"},{"photo_id":"1332660426","filename":"file4"},{"photo_id":"1332660118","filename":"file1"},{"photo_id":"1332660036","filename":"file0"},{"photo_id":"1332660306","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332660118":["hashtag1","hashtag2"]},{"1332660036":["hashtag1","hashtag2"]},{"1332660426":["hashtag1","hashtag2"]},{"1332660306":["hashtag1","hashtag2"]},{"1332660207":["hashtag1","hashtag2"]},{"1332660641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332660118, 1332660036, 1332660426, 1332660306, 1332660207, 1332660641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56121897697449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:04:32.555088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/58/image_26012025_23_59_06_10353.jpg', '/home/pi/Desktop/images/26012025/23/59/image_26012025_23_59_26_10430.jpg', '/home/pi/Desktop/images/26012025/23/59/image_26012025_23_59_36_10433.jpg', '/home/pi/Desktop/images/26012025/23/59/image_26012025_23_59_46_9473.jpg', '/home/pi/Desktop/images/26012025/23/59/image_26012025_23_59_56_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/58/image_26012025_23_59_06_10353.jpg
/home/pi/Desktop/images/26012025/23/59/image_26012025_23_59_26_10430.jpg
/home/pi/Desktop/images/26012025/23/59/image_26012025_23_59_36_10433.jpg
/home/pi/Desktop/images/26012025/23/59/image_26012025_23_59_46_9473.jpg
/home/pi/Desktop/images/26012025/23/59/image_26012025_23_59_56_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":["1332661508","1332661722","1332661199","1332661616","1332661331"],"photo_ids_order":["1332661199","1332661331","1332661508","1332661616","1332661722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/afd6cd881ba3a5f85a3c00b9f28c007a.jpg","text":"TemporaryFile(/tmp/multipartBody5577311831747498228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159534863,"filename":"image_26012025_23_59_36_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/29/ace97d261161bb3fbcc69ce963eafd18.jpg","text":"TemporaryFile(/tmp/multipartBody1124150248787831092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159534863,"filename":"image_26012025_23_59_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/29/13da165880e2cafbfefb5a506817164c.jpg","text":"TemporaryFile(/tmp/multipartBody7538090691433329753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159534863,"filename":"image_26012025_23_59_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/29/412832e362baf863befa38f9f54ed12a.jpg","text":"TemporaryFile(/tmp/multipartBody6800365465762229734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159534863,"filename":"image_26012025_23_59_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/29/58fcd5666c33c78beeb7cf09dc5e04e7.jpg","text":"TemporaryFile(/tmp/multipartBody3549836509873894741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159534863,"filename":"image_26012025_23_59_26_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332661508","file1":"1332661331","file0":"1332661199","file4":"1332661722","file3":"1332661616"},"map_files_photo_id_array":[{"photo_id":"1332661508","filename":"file2"},{"photo_id":"1332661722","filename":"file4"},{"photo_id":"1332661331","filename":"file1"},{"photo_id":"1332661199","filename":"file0"},{"photo_id":"1332661616","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1332661508":["hashtag1","hashtag2"]},{"1332661722":["hashtag1","hashtag2"]},{"1332661199":["hashtag1","hashtag2"]},{"1332661616":["hashtag1","hashtag2"]},{"1332661331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1332661508, 1332661722, 1332661199, 1332661616, 1332661331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.96018052101135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:05:32.886506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/42/image_27012025_23_42_56_9397.jpg', '/home/pi/Desktop/images/27012025/23/42/image_27012025_23_43_06_10335.jpg', '/home/pi/Desktop/images/27012025/23/43/image_27012025_23_43_16_10378.jpg', '/home/pi/Desktop/images/27012025/23/43/image_27012025_23_43_26_9443.jpg', '/home/pi/Desktop/images/27012025/23/43/image_27012025_23_43_36_10366.jpg', '/home/pi/Desktop/images/27012025/23/43/image_27012025_23_43_45_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/42/image_27012025_23_42_56_9397.jpg
/home/pi/Desktop/images/27012025/23/42/image_27012025_23_43_06_10335.jpg
/home/pi/Desktop/images/27012025/23/43/image_27012025_23_43_16_10378.jpg
/home/pi/Desktop/images/27012025/23/43/image_27012025_23_43_26_9443.jpg
/home/pi/Desktop/images/27012025/23/43/image_27012025_23_43_36_10366.jpg
/home/pi/Desktop/images/27012025/23/43/image_27012025_23_43_45_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":["1332662005","1332661945","1332661950","1332661955","1332662012","1332662009"],"photo_ids_order":["1332661945","1332661950","1332661955","1332662005","1332662009","1332662012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/82c95a91dc2ff3a666ab4ae506a615bc.jpg","text":"TemporaryFile(/tmp/multipartBody3456090406429197183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159595329,"filename":"image_27012025_23_43_26_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/29/a96a9322d407596367fe7e7396e938ac.jpg","text":"TemporaryFile(/tmp/multipartBody3729638016990753390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159595329,"filename":"image_27012025_23_42_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/29/5f9a18e80e28557c91b89aa245bc9f93.jpg","text":"TemporaryFile(/tmp/multipartBody341185013425497107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159595329,"filename":"image_27012025_23_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/29/a1476dcc63df12358dfe2b66af2b1b9b.jpg","text":"TemporaryFile(/tmp/multipartBody2433209658723206006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159595329,"filename":"image_27012025_23_43_16_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/29/be0dd3f019b2642cafbcbbe45cbd09e2.jpg","text":"TemporaryFile(/tmp/multipartBody7537864552593750781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159595329,"filename":"image_27012025_23_43_45_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/29/59d514f64e08441eaee4e872b7e97c71.jpg","text":"TemporaryFile(/tmp/multipartBody340846690123866056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159595329,"filename":"image_27012025_23_43_36_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332661955","file1":"1332661950","file0":"1332661945","file4":"1332662009","file5":"1332662012","file3":"1332662005"},"map_files_photo_id_array":[{"photo_id":"1332662012","filename":"file5"},{"photo_id":"1332661955","filename":"file2"},{"photo_id":"1332662009","filename":"file4"},{"photo_id":"1332661950","filename":"file1"},{"photo_id":"1332661945","filename":"file0"},{"photo_id":"1332662005","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332662005":["hashtag1","hashtag2"]},{"1332661945":["hashtag1","hashtag2"]},{"1332661950":["hashtag1","hashtag2"]},{"1332661955":["hashtag1","hashtag2"]},{"1332662012":["hashtag1","hashtag2"]},{"1332662009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332662005, 1332661945, 1332661950, 1332661955, 1332662012, 1332662009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57417607307434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:06:33.029338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/43/image_27012025_23_43_56_10372.jpg', '/home/pi/Desktop/images/27012025/23/43/image_27012025_23_44_06_10356.jpg', '/home/pi/Desktop/images/27012025/23/44/image_27012025_23_44_16_9387.jpg', '/home/pi/Desktop/images/27012025/23/44/image_27012025_23_44_26_10371.jpg', '/home/pi/Desktop/images/27012025/23/44/image_27012025_23_44_36_10442.jpg', '/home/pi/Desktop/images/27012025/23/44/image_27012025_23_44_46_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/43/image_27012025_23_43_56_10372.jpg
/home/pi/Desktop/images/27012025/23/43/image_27012025_23_44_06_10356.jpg
/home/pi/Desktop/images/27012025/23/44/image_27012025_23_44_16_9387.jpg
/home/pi/Desktop/images/27012025/23/44/image_27012025_23_44_26_10371.jpg
/home/pi/Desktop/images/27012025/23/44/image_27012025_23_44_36_10442.jpg
/home/pi/Desktop/images/27012025/23/44/image_27012025_23_44_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":["1332662839","1332662763","1332662843","1332662474","1332662654","1332662791"],"photo_ids_order":["1332662474","1332662654","1332662763","1332662791","1332662839","1332662843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cfa0dd64df2ca84340d182897c5025ba.jpg","text":"TemporaryFile(/tmp/multipartBody1136149604996395058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159655454,"filename":"image_27012025_23_44_36_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/29/4d8316b70fe8d0704fe665aed6d0be26.jpg","text":"TemporaryFile(/tmp/multipartBody7301211053918931698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159655454,"filename":"image_27012025_23_44_16_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/29/ef388d68b8ba35bca2321a8dd20e9dd3.jpg","text":"TemporaryFile(/tmp/multipartBody8283776737892919939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159655454,"filename":"image_27012025_23_44_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/29/b5cac731c5564cc12ee7ef8a3ac7707c.jpg","text":"TemporaryFile(/tmp/multipartBody6712145398868011573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159655454,"filename":"image_27012025_23_43_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/29/cb8c1b4fc82f61534a35064b327f4b1a.jpg","text":"TemporaryFile(/tmp/multipartBody3828167481939856184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159655454,"filename":"image_27012025_23_44_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/29/8a205ee7d8140aa14571a84b804a2dac.jpg","text":"TemporaryFile(/tmp/multipartBody7109921632912984920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159655454,"filename":"image_27012025_23_44_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332662763","file1":"1332662654","file0":"1332662474","file4":"1332662839","file5":"1332662843","file3":"1332662791"},"map_files_photo_id_array":[{"photo_id":"1332662843","filename":"file5"},{"photo_id":"1332662763","filename":"file2"},{"photo_id":"1332662839","filename":"file4"},{"photo_id":"1332662654","filename":"file1"},{"photo_id":"1332662474","filename":"file0"},{"photo_id":"1332662791","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332662839":["hashtag1","hashtag2"]},{"1332662763":["hashtag1","hashtag2"]},{"1332662843":["hashtag1","hashtag2"]},{"1332662474":["hashtag1","hashtag2"]},{"1332662654":["hashtag1","hashtag2"]},{"1332662791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332662839, 1332662763, 1332662843, 1332662474, 1332662654, 1332662791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0400869846344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:07:32.181171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/44/image_27012025_23_44_56_10344.jpg', '/home/pi/Desktop/images/27012025/23/44/image_27012025_23_45_06_9451.jpg', '/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_16_10329.jpg', '/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_26_10361.jpg', '/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_36_9442.jpg', '/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_46_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/44/image_27012025_23_44_56_10344.jpg
/home/pi/Desktop/images/27012025/23/44/image_27012025_23_45_06_9451.jpg
/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_16_10329.jpg
/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_26_10361.jpg
/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_36_9442.jpg
/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_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":["1332663686","1332663761","1332663664","1332663658","1332663748","1332663661"],"photo_ids_order":["1332663658","1332663661","1332663664","1332663686","1332663748","1332663761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/65099db87250e6d73b78cd959d752503.jpg","text":"TemporaryFile(/tmp/multipartBody4124574648831652635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159714598,"filename":"image_27012025_23_45_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/29/19bd3e8c906eb52319acca937fcf55c6.jpg","text":"TemporaryFile(/tmp/multipartBody2132860268989204443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159714598,"filename":"image_27012025_23_45_46_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/29/dc2037006ce7132400e49a24f942ddd5.jpg","text":"TemporaryFile(/tmp/multipartBody4615621123616733286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159714598,"filename":"image_27012025_23_45_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/29/2a6b5b1d0950766f2c21e0d4370c431b.jpg","text":"TemporaryFile(/tmp/multipartBody2977609244621195237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159714598,"filename":"image_27012025_23_44_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/29/dac58086db4fa22030e50fa15864da73.jpg","text":"TemporaryFile(/tmp/multipartBody3188771336410762943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159714598,"filename":"image_27012025_23_45_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/29/7e0900aa8cb121ee7f514052787ed17a.jpg","text":"TemporaryFile(/tmp/multipartBody4686018304190580939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159714598,"filename":"image_27012025_23_45_06_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332663664","file1":"1332663661","file0":"1332663658","file4":"1332663748","file5":"1332663761","file3":"1332663686"},"map_files_photo_id_array":[{"photo_id":"1332663761","filename":"file5"},{"photo_id":"1332663664","filename":"file2"},{"photo_id":"1332663748","filename":"file4"},{"photo_id":"1332663661","filename":"file1"},{"photo_id":"1332663658","filename":"file0"},{"photo_id":"1332663686","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332663686":["hashtag1","hashtag2"]},{"1332663761":["hashtag1","hashtag2"]},{"1332663664":["hashtag1","hashtag2"]},{"1332663658":["hashtag1","hashtag2"]},{"1332663748":["hashtag1","hashtag2"]},{"1332663661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332663686, 1332663761, 1332663664, 1332663658, 1332663748, 1332663661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.893866777420044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:08:32.510298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_56_9465.jpg', '/home/pi/Desktop/images/27012025/23/45/image_27012025_23_46_06_10337.jpg', '/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_16_10326.jpg', '/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_26_9456.jpg', '/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_36_10457.jpg', '/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_46_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_56_9465.jpg
/home/pi/Desktop/images/27012025/23/45/image_27012025_23_46_06_10337.jpg
/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_16_10326.jpg
/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_26_9456.jpg
/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_36_10457.jpg
/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_46_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: 2.01224422454834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 15:08:42.454541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_56_9465.jpg', '/home/pi/Desktop/images/27012025/23/45/image_27012025_23_46_06_10337.jpg', '/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_16_10326.jpg', '/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_26_9456.jpg', '/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_36_10457.jpg', '/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_46_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/45/image_27012025_23_45_56_9465.jpg
/home/pi/Desktop/images/27012025/23/45/image_27012025_23_46_06_10337.jpg
/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_16_10326.jpg
/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_26_9456.jpg
/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_36_10457.jpg
/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_46_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":["1332664056","1332664043","1332664052","1332664060","1332664050","1332664047"],"photo_ids_order":["1332664043","1332664047","1332664050","1332664052","1332664056","1332664060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4e78d59ecc738d8147146ba7f035f9e0.jpg","text":"TemporaryFile(/tmp/multipartBody6632534852061930315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159783981,"filename":"image_27012025_23_46_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/29/f0a3d8132fbb94317f03be4890fab8e2.jpg","text":"TemporaryFile(/tmp/multipartBody162808277835393492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159783981,"filename":"image_27012025_23_45_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/29/bd74d5a9d07c0a83a16179a6a227168c.jpg","text":"TemporaryFile(/tmp/multipartBody279745414510177192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159783981,"filename":"image_27012025_23_46_26_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/29/1f45558a6c12d4581e92b5a6e9b1dd02.jpg","text":"TemporaryFile(/tmp/multipartBody7939763344916199356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159783981,"filename":"image_27012025_23_46_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/29/46fc15378e1da5233b26537271a580da.jpg","text":"TemporaryFile(/tmp/multipartBody7113633737972630603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159783981,"filename":"image_27012025_23_46_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/29/49f355c597e7ec92cd107f15eacc088c.jpg","text":"TemporaryFile(/tmp/multipartBody8641309208948942927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159783981,"filename":"image_27012025_23_46_06_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332664050","file1":"1332664047","file0":"1332664043","file4":"1332664056","file5":"1332664060","file3":"1332664052"},"map_files_photo_id_array":[{"photo_id":"1332664060","filename":"file5"},{"photo_id":"1332664050","filename":"file2"},{"photo_id":"1332664056","filename":"file4"},{"photo_id":"1332664047","filename":"file1"},{"photo_id":"1332664043","filename":"file0"},{"photo_id":"1332664052","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332664056":["hashtag1","hashtag2"]},{"1332664043":["hashtag1","hashtag2"]},{"1332664052":["hashtag1","hashtag2"]},{"1332664060":["hashtag1","hashtag2"]},{"1332664050":["hashtag1","hashtag2"]},{"1332664047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332664056, 1332664043, 1332664052, 1332664060, 1332664050, 1332664047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.434659481048584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:09:32.597291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_56_10343.jpg', '/home/pi/Desktop/images/27012025/23/46/image_27012025_23_47_06_10334.jpg', '/home/pi/Desktop/images/27012025/23/47/image_27012025_23_47_16_9388.jpg', '/home/pi/Desktop/images/27012025/23/47/image_27012025_23_47_26_10434.jpg', '/home/pi/Desktop/images/27012025/23/47/image_27012025_23_47_35_9468.jpg', '/home/pi/Desktop/images/27012025/23/47/image_27012025_23_47_46_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/46/image_27012025_23_46_56_10343.jpg
/home/pi/Desktop/images/27012025/23/46/image_27012025_23_47_06_10334.jpg
/home/pi/Desktop/images/27012025/23/47/image_27012025_23_47_16_9388.jpg
/home/pi/Desktop/images/27012025/23/47/image_27012025_23_47_26_10434.jpg
/home/pi/Desktop/images/27012025/23/47/image_27012025_23_47_35_9468.jpg
/home/pi/Desktop/images/27012025/23/47/image_27012025_23_47_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":["1332664096","1332664083","1332664092","1332664086","1332664089","1332664080"],"photo_ids_order":["1332664080","1332664083","1332664086","1332664089","1332664092","1332664096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/43fe9d0ef23c0c58a9740c765fc24967.jpg","text":"TemporaryFile(/tmp/multipartBody1412543586105490090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159835009,"filename":"image_27012025_23_47_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/29/797b8d2d51c2b13c628dd8a367c54e8c.jpg","text":"TemporaryFile(/tmp/multipartBody7371285320397264683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159835009,"filename":"image_27012025_23_47_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/29/10c2272b63dafd5123c1b64847bbe902.jpg","text":"TemporaryFile(/tmp/multipartBody8167644037297003325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159835009,"filename":"image_27012025_23_47_35_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/29/10f4a428fda478f7f32ee26d124a15d0.jpg","text":"TemporaryFile(/tmp/multipartBody5475203239440528653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159835009,"filename":"image_27012025_23_47_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/29/08e6d8d5c5807ab70ec8cbe38b18b2cf.jpg","text":"TemporaryFile(/tmp/multipartBody2676937284679605883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159835009,"filename":"image_27012025_23_47_26_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/29/92ae2c5d4f75add549b55e08c22caeec.jpg","text":"TemporaryFile(/tmp/multipartBody7455995009765043872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159835009,"filename":"image_27012025_23_46_56_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332664086","file1":"1332664083","file0":"1332664080","file4":"1332664092","file5":"1332664096","file3":"1332664089"},"map_files_photo_id_array":[{"photo_id":"1332664096","filename":"file5"},{"photo_id":"1332664086","filename":"file2"},{"photo_id":"1332664092","filename":"file4"},{"photo_id":"1332664083","filename":"file1"},{"photo_id":"1332664080","filename":"file0"},{"photo_id":"1332664089","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332664096":["hashtag1","hashtag2"]},{"1332664083":["hashtag1","hashtag2"]},{"1332664092":["hashtag1","hashtag2"]},{"1332664086":["hashtag1","hashtag2"]},{"1332664089":["hashtag1","hashtag2"]},{"1332664080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332664096, 1332664083, 1332664092, 1332664086, 1332664089, 1332664080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.35443162918091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:10:32.802223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/47/image_27012025_23_47_56_10357.jpg', '/home/pi/Desktop/images/27012025/23/47/image_27012025_23_48_06_9446.jpg', '/home/pi/Desktop/images/27012025/23/48/image_27012025_23_48_16_10363.jpg', '/home/pi/Desktop/images/27012025/23/48/image_27012025_23_48_25_9483.jpg', '/home/pi/Desktop/images/27012025/23/48/image_27012025_23_48_36_10357.jpg', '/home/pi/Desktop/images/27012025/23/48/image_27012025_23_48_46_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/47/image_27012025_23_47_56_10357.jpg
/home/pi/Desktop/images/27012025/23/47/image_27012025_23_48_06_9446.jpg
/home/pi/Desktop/images/27012025/23/48/image_27012025_23_48_16_10363.jpg
/home/pi/Desktop/images/27012025/23/48/image_27012025_23_48_25_9483.jpg
/home/pi/Desktop/images/27012025/23/48/image_27012025_23_48_36_10357.jpg
/home/pi/Desktop/images/27012025/23/48/image_27012025_23_48_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":["1332664236","1332664358","1332664139","1332664135","1332664371","1332664131"],"photo_ids_order":["1332664131","1332664135","1332664139","1332664236","1332664358","1332664371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9e72ee11297023d0d47801491408797e.jpg","text":"TemporaryFile(/tmp/multipartBody2585548149014113777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159895213,"filename":"image_27012025_23_48_25_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/29/6e7de0a050429dd0d9b2e8721ef3cf75.jpg","text":"TemporaryFile(/tmp/multipartBody5974634513433742762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159895213,"filename":"image_27012025_23_48_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/29/1b04642226d10316c37ae4dcb133da8b.jpg","text":"TemporaryFile(/tmp/multipartBody8529955607759941423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159895213,"filename":"image_27012025_23_48_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/29/a0fb168bfb4521c621c8aa4a9463f67c.jpg","text":"TemporaryFile(/tmp/multipartBody8907715268318321132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159895213,"filename":"image_27012025_23_48_06_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/29/26b8d0ac2d390a4bf42ea1d77c80efa4.jpg","text":"TemporaryFile(/tmp/multipartBody8511621319097645720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159895213,"filename":"image_27012025_23_48_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/29/951c99d40043773124b7c007f90fd4cb.jpg","text":"TemporaryFile(/tmp/multipartBody8059258718095911895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159895213,"filename":"image_27012025_23_47_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332664139","file1":"1332664135","file0":"1332664131","file4":"1332664358","file5":"1332664371","file3":"1332664236"},"map_files_photo_id_array":[{"photo_id":"1332664371","filename":"file5"},{"photo_id":"1332664139","filename":"file2"},{"photo_id":"1332664358","filename":"file4"},{"photo_id":"1332664135","filename":"file1"},{"photo_id":"1332664131","filename":"file0"},{"photo_id":"1332664236","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332664236":["hashtag1","hashtag2"]},{"1332664358":["hashtag1","hashtag2"]},{"1332664139":["hashtag1","hashtag2"]},{"1332664135":["hashtag1","hashtag2"]},{"1332664371":["hashtag1","hashtag2"]},{"1332664131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332664236, 1332664358, 1332664139, 1332664135, 1332664371, 1332664131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.53167366981506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:11:32.982317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/48/image_27012025_23_48_56_9335.jpg', '/home/pi/Desktop/images/27012025/23/48/image_27012025_23_49_06_10401.jpg', '/home/pi/Desktop/images/27012025/23/49/image_27012025_23_49_16_10458.jpg', '/home/pi/Desktop/images/27012025/23/49/image_27012025_23_49_26_9340.jpg', '/home/pi/Desktop/images/27012025/23/49/image_27012025_23_49_36_10357.jpg', '/home/pi/Desktop/images/27012025/23/49/image_27012025_23_49_46_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/48/image_27012025_23_48_56_9335.jpg
/home/pi/Desktop/images/27012025/23/48/image_27012025_23_49_06_10401.jpg
/home/pi/Desktop/images/27012025/23/49/image_27012025_23_49_16_10458.jpg
/home/pi/Desktop/images/27012025/23/49/image_27012025_23_49_26_9340.jpg
/home/pi/Desktop/images/27012025/23/49/image_27012025_23_49_36_10357.jpg
/home/pi/Desktop/images/27012025/23/49/image_27012025_23_49_46_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":["1332664550","1332664553","1332664547","1332664544","1332664537","1332664540"],"photo_ids_order":["1332664537","1332664540","1332664544","1332664547","1332664550","1332664553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7af31db1924425a07dc009cc5c55977f.jpg","text":"TemporaryFile(/tmp/multipartBody20230791409493145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159955383,"filename":"image_27012025_23_49_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/29/8297f202569dbbd11e60300178da73f0.jpg","text":"TemporaryFile(/tmp/multipartBody7350940196204125093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159955383,"filename":"image_27012025_23_49_46_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/29/2ebb919833fb90739b28c7be5dca6ad8.jpg","text":"TemporaryFile(/tmp/multipartBody4191067604958077728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159955383,"filename":"image_27012025_23_49_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/29/65e05db517555538bec50c559ba74a60.jpg","text":"TemporaryFile(/tmp/multipartBody9183116401494841391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159955383,"filename":"image_27012025_23_49_16_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/29/6c4824d15351369f38225b0985d2a623.jpg","text":"TemporaryFile(/tmp/multipartBody3685640436227319812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159955383,"filename":"image_27012025_23_48_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/29/5898766171d3ec4957af5f4e9acb3c7c.jpg","text":"TemporaryFile(/tmp/multipartBody4633437868703060041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738159955383,"filename":"image_27012025_23_49_06_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332664544","file1":"1332664540","file0":"1332664537","file4":"1332664550","file5":"1332664553","file3":"1332664547"},"map_files_photo_id_array":[{"photo_id":"1332664553","filename":"file5"},{"photo_id":"1332664544","filename":"file2"},{"photo_id":"1332664550","filename":"file4"},{"photo_id":"1332664540","filename":"file1"},{"photo_id":"1332664537","filename":"file0"},{"photo_id":"1332664547","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332664550":["hashtag1","hashtag2"]},{"1332664553":["hashtag1","hashtag2"]},{"1332664547":["hashtag1","hashtag2"]},{"1332664544":["hashtag1","hashtag2"]},{"1332664537":["hashtag1","hashtag2"]},{"1332664540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332664550, 1332664553, 1332664547, 1332664544, 1332664537, 1332664540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09984230995178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:12:32.331862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/49/image_27012025_23_49_56_10348.jpg', '/home/pi/Desktop/images/27012025/23/49/image_27012025_23_50_06_10348.jpg', '/home/pi/Desktop/images/27012025/23/50/image_27012025_23_50_16_9405.jpg', '/home/pi/Desktop/images/27012025/23/50/image_27012025_23_50_26_10348.jpg', '/home/pi/Desktop/images/27012025/23/50/image_27012025_23_50_36_10396.jpg', '/home/pi/Desktop/images/27012025/23/50/image_27012025_23_50_46_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/49/image_27012025_23_49_56_10348.jpg
/home/pi/Desktop/images/27012025/23/49/image_27012025_23_50_06_10348.jpg
/home/pi/Desktop/images/27012025/23/50/image_27012025_23_50_16_9405.jpg
/home/pi/Desktop/images/27012025/23/50/image_27012025_23_50_26_10348.jpg
/home/pi/Desktop/images/27012025/23/50/image_27012025_23_50_36_10396.jpg
/home/pi/Desktop/images/27012025/23/50/image_27012025_23_50_46_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":["1332664589","1332664573","1332664618","1332664627","1332664621","1332664599"],"photo_ids_order":["1332664573","1332664589","1332664599","1332664618","1332664621","1332664627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f2a8eb3e969afa3f6ce798d50f5bb422.jpg","text":"TemporaryFile(/tmp/multipartBody8093846552949820930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160014731,"filename":"image_27012025_23_50_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/29/790fb244ba5e2765525dd0ef629e1ae3.jpg","text":"TemporaryFile(/tmp/multipartBody4704608557748265558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160014731,"filename":"image_27012025_23_49_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/29/dd96adb9feac2898d13318753d407a92.jpg","text":"TemporaryFile(/tmp/multipartBody1352011477794534117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160014731,"filename":"image_27012025_23_50_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/29/ad29e43f4a8c7c06efd0bb7cc0aa2555.jpg","text":"TemporaryFile(/tmp/multipartBody3280340841724628315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160014731,"filename":"image_27012025_23_50_46_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/29/c7dad8b1fd9c7b8da02ecf59e2ec82d2.jpg","text":"TemporaryFile(/tmp/multipartBody7514789383691823574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160014731,"filename":"image_27012025_23_50_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/29/5901b7e1b34c8902b2c9cfd5c40e7c5c.jpg","text":"TemporaryFile(/tmp/multipartBody9032945018819481000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160014731,"filename":"image_27012025_23_50_16_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332664599","file1":"1332664589","file0":"1332664573","file4":"1332664621","file5":"1332664627","file3":"1332664618"},"map_files_photo_id_array":[{"photo_id":"1332664627","filename":"file5"},{"photo_id":"1332664599","filename":"file2"},{"photo_id":"1332664621","filename":"file4"},{"photo_id":"1332664589","filename":"file1"},{"photo_id":"1332664573","filename":"file0"},{"photo_id":"1332664618","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332664589":["hashtag1","hashtag2"]},{"1332664573":["hashtag1","hashtag2"]},{"1332664618":["hashtag1","hashtag2"]},{"1332664627":["hashtag1","hashtag2"]},{"1332664621":["hashtag1","hashtag2"]},{"1332664599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332664589, 1332664573, 1332664618, 1332664627, 1332664621, 1332664599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.10957384109497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:13:32.443282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/50/image_27012025_23_50_56_10356.jpg', '/home/pi/Desktop/images/27012025/23/50/image_27012025_23_51_06_9436.jpg', '/home/pi/Desktop/images/27012025/23/51/image_27012025_23_51_16_10457.jpg', '/home/pi/Desktop/images/27012025/23/51/image_27012025_23_51_26_10393.jpg', '/home/pi/Desktop/images/27012025/23/51/image_27012025_23_51_36_9342.jpg', '/home/pi/Desktop/images/27012025/23/51/image_27012025_23_51_46_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/50/image_27012025_23_50_56_10356.jpg
/home/pi/Desktop/images/27012025/23/50/image_27012025_23_51_06_9436.jpg
/home/pi/Desktop/images/27012025/23/51/image_27012025_23_51_16_10457.jpg
/home/pi/Desktop/images/27012025/23/51/image_27012025_23_51_26_10393.jpg
/home/pi/Desktop/images/27012025/23/51/image_27012025_23_51_36_9342.jpg
/home/pi/Desktop/images/27012025/23/51/image_27012025_23_51_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":["1332664877","1332664844","1332664879","1332664831","1332664896","1332664848"],"photo_ids_order":["1332664831","1332664844","1332664848","1332664877","1332664879","1332664896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1e1081c284e10830bedb6703989125b9.jpg","text":"TemporaryFile(/tmp/multipartBody768796234088288976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160074853,"filename":"image_27012025_23_51_26_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/29/0fdd3857adbdab5d7aad48610080d148.jpg","text":"TemporaryFile(/tmp/multipartBody7678141710620769829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160074853,"filename":"image_27012025_23_51_06_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/29/3d485befd99131742a274f548282365c.jpg","text":"TemporaryFile(/tmp/multipartBody7127019704260509909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160074853,"filename":"image_27012025_23_51_36_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/29/5627ec976fc95e0859f5d9f7e8cbbbd6.jpg","text":"TemporaryFile(/tmp/multipartBody8853625220443603675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160074853,"filename":"image_27012025_23_50_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/29/7ce58c55d7cee38ce3f290b331ef0d6d.jpg","text":"TemporaryFile(/tmp/multipartBody7051311706850525453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160074853,"filename":"image_27012025_23_51_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/29/cf09042495d97c0c25ad4aa34d020dda.jpg","text":"TemporaryFile(/tmp/multipartBody1930640263368039398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160074853,"filename":"image_27012025_23_51_16_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332664848","file1":"1332664844","file0":"1332664831","file4":"1332664879","file5":"1332664896","file3":"1332664877"},"map_files_photo_id_array":[{"photo_id":"1332664896","filename":"file5"},{"photo_id":"1332664848","filename":"file2"},{"photo_id":"1332664879","filename":"file4"},{"photo_id":"1332664844","filename":"file1"},{"photo_id":"1332664831","filename":"file0"},{"photo_id":"1332664877","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332664877":["hashtag1","hashtag2"]},{"1332664844":["hashtag1","hashtag2"]},{"1332664879":["hashtag1","hashtag2"]},{"1332664831":["hashtag1","hashtag2"]},{"1332664896":["hashtag1","hashtag2"]},{"1332664848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332664877, 1332664844, 1332664879, 1332664831, 1332664896, 1332664848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73742461204529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:14:32.650058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/51/image_27012025_23_51_56_9465.jpg', '/home/pi/Desktop/images/27012025/23/51/image_27012025_23_52_06_10400.jpg', '/home/pi/Desktop/images/27012025/23/52/image_27012025_23_52_16_10484.jpg', '/home/pi/Desktop/images/27012025/23/52/image_27012025_23_52_26_9433.jpg', '/home/pi/Desktop/images/27012025/23/52/image_27012025_23_52_36_10356.jpg', '/home/pi/Desktop/images/27012025/23/52/image_27012025_23_52_46_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/51/image_27012025_23_51_56_9465.jpg
/home/pi/Desktop/images/27012025/23/51/image_27012025_23_52_06_10400.jpg
/home/pi/Desktop/images/27012025/23/52/image_27012025_23_52_16_10484.jpg
/home/pi/Desktop/images/27012025/23/52/image_27012025_23_52_26_9433.jpg
/home/pi/Desktop/images/27012025/23/52/image_27012025_23_52_36_10356.jpg
/home/pi/Desktop/images/27012025/23/52/image_27012025_23_52_46_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":["1332665048","1332665042","1332664973","1332664981","1332665052","1332664959"],"photo_ids_order":["1332664959","1332664973","1332664981","1332665042","1332665048","1332665052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/38ccdc8c99f96fe466d84ef0f1bcfc40.jpg","text":"TemporaryFile(/tmp/multipartBody1249337375190088883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160135066,"filename":"image_27012025_23_52_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/29/7b4f794a6908b40cb509d22dec88edd0.jpg","text":"TemporaryFile(/tmp/multipartBody2423556316347077092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160135066,"filename":"image_27012025_23_52_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/29/958b28189a835938eba8aefb6d42ba52.jpg","text":"TemporaryFile(/tmp/multipartBody8654392952244239981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160135066,"filename":"image_27012025_23_52_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/29/c5d7ce8eb9ad9a76c04d7047196d8628.jpg","text":"TemporaryFile(/tmp/multipartBody1051929573631666285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160135066,"filename":"image_27012025_23_52_16_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1ca589da4e879e6336c01ce199c8a073.jpg","text":"TemporaryFile(/tmp/multipartBody3227869170984956043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160135066,"filename":"image_27012025_23_52_46_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/29/fac6e2b763efa749e8285ddca8730cb2.jpg","text":"TemporaryFile(/tmp/multipartBody6297443863467347120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160135066,"filename":"image_27012025_23_51_56_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332664981","file1":"1332664973","file0":"1332664959","file4":"1332665048","file5":"1332665052","file3":"1332665042"},"map_files_photo_id_array":[{"photo_id":"1332665052","filename":"file5"},{"photo_id":"1332664981","filename":"file2"},{"photo_id":"1332665048","filename":"file4"},{"photo_id":"1332664973","filename":"file1"},{"photo_id":"1332664959","filename":"file0"},{"photo_id":"1332665042","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332665048":["hashtag1","hashtag2"]},{"1332665042":["hashtag1","hashtag2"]},{"1332664973":["hashtag1","hashtag2"]},{"1332664981":["hashtag1","hashtag2"]},{"1332665052":["hashtag1","hashtag2"]},{"1332664959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332665048, 1332665042, 1332664973, 1332664981, 1332665052, 1332664959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.386765003204346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:15:32.903505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/52/image_27012025_23_52_56_10341.jpg', '/home/pi/Desktop/images/27012025/23/52/image_27012025_23_53_06_10489.jpg', '/home/pi/Desktop/images/27012025/23/53/image_27012025_23_53_16_9340.jpg', '/home/pi/Desktop/images/27012025/23/53/image_27012025_23_53_26_10351.jpg', '/home/pi/Desktop/images/27012025/23/53/image_27012025_23_53_36_9456.jpg', '/home/pi/Desktop/images/27012025/23/53/image_27012025_23_53_46_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/52/image_27012025_23_52_56_10341.jpg
/home/pi/Desktop/images/27012025/23/52/image_27012025_23_53_06_10489.jpg
/home/pi/Desktop/images/27012025/23/53/image_27012025_23_53_16_9340.jpg
/home/pi/Desktop/images/27012025/23/53/image_27012025_23_53_26_10351.jpg
/home/pi/Desktop/images/27012025/23/53/image_27012025_23_53_36_9456.jpg
/home/pi/Desktop/images/27012025/23/53/image_27012025_23_53_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":["1332665087","1332665075","1332665098","1332665092","1332665080","1332665084"],"photo_ids_order":["1332665075","1332665080","1332665084","1332665087","1332665092","1332665098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/01c776fb3656601550553878d51e8030.jpg","text":"TemporaryFile(/tmp/multipartBody2486687406322811987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160195360,"filename":"image_27012025_23_53_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/29/6314ae5b2002f2786f452082865b1e4d.jpg","text":"TemporaryFile(/tmp/multipartBody9039106267081929914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160195360,"filename":"image_27012025_23_52_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/29/875e91883eedb91f0b0c0ca43082c91a.jpg","text":"TemporaryFile(/tmp/multipartBody8047837608460565077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160195360,"filename":"image_27012025_23_53_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/29/e21feb0f7edae88753150960e15519e0.jpg","text":"TemporaryFile(/tmp/multipartBody7431179800309701853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160195360,"filename":"image_27012025_23_53_36_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/29/ede8230bc1fac733e5a6b72ede74e7eb.jpg","text":"TemporaryFile(/tmp/multipartBody3110768217317337714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160195360,"filename":"image_27012025_23_53_06_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/29/4e812de43b85cce590091969e59268a7.jpg","text":"TemporaryFile(/tmp/multipartBody5812681142368823953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160195360,"filename":"image_27012025_23_53_16_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332665084","file1":"1332665080","file0":"1332665075","file4":"1332665092","file5":"1332665098","file3":"1332665087"},"map_files_photo_id_array":[{"photo_id":"1332665098","filename":"file5"},{"photo_id":"1332665084","filename":"file2"},{"photo_id":"1332665092","filename":"file4"},{"photo_id":"1332665080","filename":"file1"},{"photo_id":"1332665075","filename":"file0"},{"photo_id":"1332665087","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332665087":["hashtag1","hashtag2"]},{"1332665075":["hashtag1","hashtag2"]},{"1332665098":["hashtag1","hashtag2"]},{"1332665092":["hashtag1","hashtag2"]},{"1332665080":["hashtag1","hashtag2"]},{"1332665084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332665087, 1332665075, 1332665098, 1332665092, 1332665080, 1332665084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.502633810043335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:16:33.138903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/53/image_27012025_23_53_56_10507.jpg', '/home/pi/Desktop/images/27012025/23/53/image_27012025_23_54_06_9354.jpg', '/home/pi/Desktop/images/27012025/23/54/image_27012025_23_54_16_10453.jpg', '/home/pi/Desktop/images/27012025/23/54/image_27012025_23_54_26_9416.jpg', '/home/pi/Desktop/images/27012025/23/54/image_27012025_23_54_36_10360.jpg', '/home/pi/Desktop/images/27012025/23/54/image_27012025_23_54_46_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/53/image_27012025_23_53_56_10507.jpg
/home/pi/Desktop/images/27012025/23/53/image_27012025_23_54_06_9354.jpg
/home/pi/Desktop/images/27012025/23/54/image_27012025_23_54_16_10453.jpg
/home/pi/Desktop/images/27012025/23/54/image_27012025_23_54_26_9416.jpg
/home/pi/Desktop/images/27012025/23/54/image_27012025_23_54_36_10360.jpg
/home/pi/Desktop/images/27012025/23/54/image_27012025_23_54_46_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":["1332665339","1332665243","1332665117","1332665137","1332665448","1332665121"],"photo_ids_order":["1332665117","1332665121","1332665137","1332665243","1332665339","1332665448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1baf35d9549b09f74eb479d7884ebbe1.jpg","text":"TemporaryFile(/tmp/multipartBody2715566688466427022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160255542,"filename":"image_27012025_23_54_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/29/a4e9a89c23396ed66d1c091610376c22.jpg","text":"TemporaryFile(/tmp/multipartBody2158885393430894855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160255542,"filename":"image_27012025_23_54_26_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/29/0b00dcd314e452b1c8a90a49ac7d5dbc.jpg","text":"TemporaryFile(/tmp/multipartBody2036562478677868439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160255542,"filename":"image_27012025_23_53_56_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2ba12d38d0842836e1bb2cf0a7ece686.jpg","text":"TemporaryFile(/tmp/multipartBody412144238012313962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160255542,"filename":"image_27012025_23_54_16_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/29/72e190a3eecf3d746ba73e864f7ecf16.jpg","text":"TemporaryFile(/tmp/multipartBody5075423194812835668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160255542,"filename":"image_27012025_23_54_46_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/29/18de195b458feac2fd602f9ecf41ceef.jpg","text":"TemporaryFile(/tmp/multipartBody7730619184665234413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160255542,"filename":"image_27012025_23_54_06_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332665137","file1":"1332665121","file0":"1332665117","file4":"1332665339","file5":"1332665448","file3":"1332665243"},"map_files_photo_id_array":[{"photo_id":"1332665448","filename":"file5"},{"photo_id":"1332665137","filename":"file2"},{"photo_id":"1332665339","filename":"file4"},{"photo_id":"1332665121","filename":"file1"},{"photo_id":"1332665117","filename":"file0"},{"photo_id":"1332665243","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332665339":["hashtag1","hashtag2"]},{"1332665243":["hashtag1","hashtag2"]},{"1332665117":["hashtag1","hashtag2"]},{"1332665137":["hashtag1","hashtag2"]},{"1332665448":["hashtag1","hashtag2"]},{"1332665121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332665339, 1332665243, 1332665117, 1332665137, 1332665448, 1332665121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.358891248703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:17:32.438090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/54/image_27012025_23_54_56_9349.jpg', '/home/pi/Desktop/images/27012025/23/54/image_27012025_23_55_06_10357.jpg', '/home/pi/Desktop/images/27012025/23/55/image_27012025_23_55_16_9403.jpg', '/home/pi/Desktop/images/27012025/23/55/image_27012025_23_55_26_10356.jpg', '/home/pi/Desktop/images/27012025/23/55/image_27012025_23_55_36_10407.jpg', '/home/pi/Desktop/images/27012025/23/55/image_27012025_23_55_46_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/54/image_27012025_23_54_56_9349.jpg
/home/pi/Desktop/images/27012025/23/54/image_27012025_23_55_06_10357.jpg
/home/pi/Desktop/images/27012025/23/55/image_27012025_23_55_16_9403.jpg
/home/pi/Desktop/images/27012025/23/55/image_27012025_23_55_26_10356.jpg
/home/pi/Desktop/images/27012025/23/55/image_27012025_23_55_36_10407.jpg
/home/pi/Desktop/images/27012025/23/55/image_27012025_23_55_46_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332665741","1332665645","1332665711","1332665641","1332665632","1332665637"],"photo_ids_order":["1332665632","1332665637","1332665641","1332665645","1332665711","1332665741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c4048d4b1a2b9d1989cb90f0acea5e8f.jpg","text":"TemporaryFile(/tmp/multipartBody4501396054929835863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160314877,"filename":"image_27012025_23_55_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/29/905ad04c0da7a9c493d72148b0274d21.jpg","text":"TemporaryFile(/tmp/multipartBody8114102879733620280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160314877,"filename":"image_27012025_23_55_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/29/390733a2a6d01235eb994c1b01ed8395.jpg","text":"TemporaryFile(/tmp/multipartBody4849155117543358549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160314877,"filename":"image_27012025_23_55_36_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/29/aeecf54debf2079483cc0001ecb241c4.jpg","text":"TemporaryFile(/tmp/multipartBody8278132429037176585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160314877,"filename":"image_27012025_23_55_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/29/9df3113945e4d3129b5149949b81dc04.jpg","text":"TemporaryFile(/tmp/multipartBody9134178674397331072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160314877,"filename":"image_27012025_23_54_56_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/29/726d6e003a0eb6d36f318981b69cf065.jpg","text":"TemporaryFile(/tmp/multipartBody2880111214602308928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160314877,"filename":"image_27012025_23_55_06_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332665641","file1":"1332665637","file0":"1332665632","file4":"1332665711","file5":"1332665741","file3":"1332665645"},"map_files_photo_id_array":[{"photo_id":"1332665741","filename":"file5"},{"photo_id":"1332665641","filename":"file2"},{"photo_id":"1332665711","filename":"file4"},{"photo_id":"1332665637","filename":"file1"},{"photo_id":"1332665632","filename":"file0"},{"photo_id":"1332665645","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332665741":["hashtag1","hashtag2"]},{"1332665645":["hashtag1","hashtag2"]},{"1332665711":["hashtag1","hashtag2"]},{"1332665641":["hashtag1","hashtag2"]},{"1332665632":["hashtag1","hashtag2"]},{"1332665637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332665741, 1332665645, 1332665711, 1332665641, 1332665632, 1332665637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.63732671737671 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:18:32.554119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/55/image_27012025_23_55_56_10352.jpg', '/home/pi/Desktop/images/27012025/23/55/image_27012025_23_56_06_9448.jpg', '/home/pi/Desktop/images/27012025/23/56/image_27012025_23_56_16_10339.jpg', '/home/pi/Desktop/images/27012025/23/56/image_27012025_23_56_26_10149.jpg', '/home/pi/Desktop/images/27012025/23/56/image_27012025_23_56_36_10416.jpg', '/home/pi/Desktop/images/27012025/23/56/image_27012025_23_56_46_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/55/image_27012025_23_55_56_10352.jpg
/home/pi/Desktop/images/27012025/23/55/image_27012025_23_56_06_9448.jpg
/home/pi/Desktop/images/27012025/23/56/image_27012025_23_56_16_10339.jpg
/home/pi/Desktop/images/27012025/23/56/image_27012025_23_56_26_10149.jpg
/home/pi/Desktop/images/27012025/23/56/image_27012025_23_56_36_10416.jpg
/home/pi/Desktop/images/27012025/23/56/image_27012025_23_56_46_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":["1332665825","1332665807","1332665785","1332665836","1332665832","1332665802"],"photo_ids_order":["1332665785","1332665802","1332665807","1332665825","1332665832","1332665836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8b88687cbefee7e7b7788e33c18c9e19.jpg","text":"TemporaryFile(/tmp/multipartBody5547518746854145397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160374953,"filename":"image_27012025_23_56_26_10149.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/02833b8e3d1a8f8058a08aaf2d61ae1c.jpg","text":"TemporaryFile(/tmp/multipartBody5628533292041965659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160374953,"filename":"image_27012025_23_56_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/29/cd7ecbcfce01967f4ff3f98b6723bdd0.jpg","text":"TemporaryFile(/tmp/multipartBody7746618389113500853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160374953,"filename":"image_27012025_23_55_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/29/9438f0ff7e83300f95785c2a7b8dfca1.jpg","text":"TemporaryFile(/tmp/multipartBody2541711756918429249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160374953,"filename":"image_27012025_23_56_46_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/29/960795e628b29d0890dc7ddcd07e914a.jpg","text":"TemporaryFile(/tmp/multipartBody4421495223163982299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160374953,"filename":"image_27012025_23_56_36_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/29/0df9fda51b053c02b9eb451b70374e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5835630040558054105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160374953,"filename":"image_27012025_23_56_06_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332665807","file1":"1332665802","file0":"1332665785","file4":"1332665832","file5":"1332665836","file3":"1332665825"},"map_files_photo_id_array":[{"photo_id":"1332665836","filename":"file5"},{"photo_id":"1332665807","filename":"file2"},{"photo_id":"1332665832","filename":"file4"},{"photo_id":"1332665802","filename":"file1"},{"photo_id":"1332665785","filename":"file0"},{"photo_id":"1332665825","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332665825":["hashtag1","hashtag2"]},{"1332665807":["hashtag1","hashtag2"]},{"1332665785":["hashtag1","hashtag2"]},{"1332665836":["hashtag1","hashtag2"]},{"1332665832":["hashtag1","hashtag2"]},{"1332665802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332665825, 1332665807, 1332665785, 1332665836, 1332665832, 1332665802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01968312263489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:19:32.813845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/56/image_27012025_23_56_56_10337.jpg', '/home/pi/Desktop/images/27012025/23/56/image_27012025_23_57_06_9453.jpg', '/home/pi/Desktop/images/27012025/23/57/image_27012025_23_57_16_10343.jpg', '/home/pi/Desktop/images/27012025/23/57/image_27012025_23_57_25_9461.jpg', '/home/pi/Desktop/images/27012025/23/57/image_27012025_23_57_36_10350.jpg', '/home/pi/Desktop/images/27012025/23/57/image_27012025_23_57_46_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/56/image_27012025_23_56_56_10337.jpg
/home/pi/Desktop/images/27012025/23/56/image_27012025_23_57_06_9453.jpg
/home/pi/Desktop/images/27012025/23/57/image_27012025_23_57_16_10343.jpg
/home/pi/Desktop/images/27012025/23/57/image_27012025_23_57_25_9461.jpg
/home/pi/Desktop/images/27012025/23/57/image_27012025_23_57_36_10350.jpg
/home/pi/Desktop/images/27012025/23/57/image_27012025_23_57_46_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":["1332665899","1332665869","1332665860","1332665895","1332665880","1332665864"],"photo_ids_order":["1332665860","1332665864","1332665869","1332665880","1332665895","1332665899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/870429b74870e49097ad0e18c5a3f64e.jpg","text":"TemporaryFile(/tmp/multipartBody7678951602829982300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160435225,"filename":"image_27012025_23_57_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/29/f72b12403458a20190148e450df49ec4.jpg","text":"TemporaryFile(/tmp/multipartBody1237020880441266908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160435225,"filename":"image_27012025_23_57_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/29/030ae37758b7e5a392014a619064949b.jpg","text":"TemporaryFile(/tmp/multipartBody1760633377133727543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160435225,"filename":"image_27012025_23_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/29/2a528edfc2cd0dcfd9615002d1246098.jpg","text":"TemporaryFile(/tmp/multipartBody9108806036478948601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160435225,"filename":"image_27012025_23_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/29/026a2b8bf0b75a970d85a0d60e24fa9f.jpg","text":"TemporaryFile(/tmp/multipartBody5811881567548720185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160435225,"filename":"image_27012025_23_57_25_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/29/b3c216749c2760134b6e6cfc300b1360.jpg","text":"TemporaryFile(/tmp/multipartBody4463638915065812358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160435225,"filename":"image_27012025_23_57_06_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332665869","file1":"1332665864","file0":"1332665860","file4":"1332665895","file5":"1332665899","file3":"1332665880"},"map_files_photo_id_array":[{"photo_id":"1332665899","filename":"file5"},{"photo_id":"1332665869","filename":"file2"},{"photo_id":"1332665895","filename":"file4"},{"photo_id":"1332665864","filename":"file1"},{"photo_id":"1332665860","filename":"file0"},{"photo_id":"1332665880","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332665899":["hashtag1","hashtag2"]},{"1332665869":["hashtag1","hashtag2"]},{"1332665860":["hashtag1","hashtag2"]},{"1332665895":["hashtag1","hashtag2"]},{"1332665880":["hashtag1","hashtag2"]},{"1332665864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332665899, 1332665869, 1332665860, 1332665895, 1332665880, 1332665864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25605630874634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:20:32.942912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/57/image_27012025_23_57_56_9413.jpg', '/home/pi/Desktop/images/27012025/23/57/image_27012025_23_58_06_10488.jpg', '/home/pi/Desktop/images/27012025/23/58/image_27012025_23_58_16_9419.jpg', '/home/pi/Desktop/images/27012025/23/58/image_27012025_23_58_26_10364.jpg', '/home/pi/Desktop/images/27012025/23/58/image_27012025_23_58_36_10356.jpg', '/home/pi/Desktop/images/27012025/23/58/image_27012025_23_58_46_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/57/image_27012025_23_57_56_9413.jpg
/home/pi/Desktop/images/27012025/23/57/image_27012025_23_58_06_10488.jpg
/home/pi/Desktop/images/27012025/23/58/image_27012025_23_58_16_9419.jpg
/home/pi/Desktop/images/27012025/23/58/image_27012025_23_58_26_10364.jpg
/home/pi/Desktop/images/27012025/23/58/image_27012025_23_58_36_10356.jpg
/home/pi/Desktop/images/27012025/23/58/image_27012025_23_58_46_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":["1332665960","1332665957","1332665950","1332665953","1332665955","1332665943"],"photo_ids_order":["1332665943","1332665950","1332665953","1332665955","1332665957","1332665960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0f382949f3979582b2689f5063ba7558.jpg","text":"TemporaryFile(/tmp/multipartBody4336223733845720863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160495366,"filename":"image_27012025_23_58_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/29/c6aa786eb6f960f9a19f88e9af755fba.jpg","text":"TemporaryFile(/tmp/multipartBody3589868076627228132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160495366,"filename":"image_27012025_23_58_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/29/420f3f5d38156590d44afb819bce06f1.jpg","text":"TemporaryFile(/tmp/multipartBody3752106768740640084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160495366,"filename":"image_27012025_23_58_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/29/68558c8e80a5f60163f1da474f2fbc4a.jpg","text":"TemporaryFile(/tmp/multipartBody2845911905530781564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160495366,"filename":"image_27012025_23_58_16_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/29/2fe1a32996ee5a6c2e7647e87456b0ef.jpg","text":"TemporaryFile(/tmp/multipartBody6986259159290834484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160495366,"filename":"image_27012025_23_58_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/29/9bd1ebee31934415f94e18de87a964df.jpg","text":"TemporaryFile(/tmp/multipartBody7722962956842589077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160495366,"filename":"image_27012025_23_57_56_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332665953","file1":"1332665950","file0":"1332665943","file4":"1332665957","file5":"1332665960","file3":"1332665955"},"map_files_photo_id_array":[{"photo_id":"1332665960","filename":"file5"},{"photo_id":"1332665953","filename":"file2"},{"photo_id":"1332665957","filename":"file4"},{"photo_id":"1332665950","filename":"file1"},{"photo_id":"1332665943","filename":"file0"},{"photo_id":"1332665955","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332665960":["hashtag1","hashtag2"]},{"1332665957":["hashtag1","hashtag2"]},{"1332665950":["hashtag1","hashtag2"]},{"1332665953":["hashtag1","hashtag2"]},{"1332665955":["hashtag1","hashtag2"]},{"1332665943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332665960, 1332665957, 1332665950, 1332665953, 1332665955, 1332665943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.38762712478638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:21:33.250537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/58/image_27012025_23_58_56_10331.jpg', '/home/pi/Desktop/images/27012025/23/58/image_27012025_23_59_06_10356.jpg', '/home/pi/Desktop/images/27012025/23/59/image_27012025_23_59_16_9364.jpg', '/home/pi/Desktop/images/27012025/23/59/image_27012025_23_59_26_10365.jpg', '/home/pi/Desktop/images/27012025/23/59/image_27012025_23_59_36_9474.jpg', '/home/pi/Desktop/images/27012025/23/59/image_27012025_23_59_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/58/image_27012025_23_58_56_10331.jpg
/home/pi/Desktop/images/27012025/23/58/image_27012025_23_59_06_10356.jpg
/home/pi/Desktop/images/27012025/23/59/image_27012025_23_59_16_9364.jpg
/home/pi/Desktop/images/27012025/23/59/image_27012025_23_59_26_10365.jpg
/home/pi/Desktop/images/27012025/23/59/image_27012025_23_59_36_9474.jpg
/home/pi/Desktop/images/27012025/23/59/image_27012025_23_59_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":["1332667348","1332667368","1332667461","1332667359","1332667235","1332667118"],"photo_ids_order":["1332667118","1332667235","1332667348","1332667359","1332667368","1332667461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/584ff4b53dbae076733bf34d21e1e44d.jpg","text":"TemporaryFile(/tmp/multipartBody105124737287751082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160555676,"filename":"image_27012025_23_59_16_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/29/5a0309c778b90bc755b193ae4b5459fd.jpg","text":"TemporaryFile(/tmp/multipartBody6725149125147017766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160555676,"filename":"image_27012025_23_59_36_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/29/2b2d0fa57479f3abf211b08e0d86d67c.jpg","text":"TemporaryFile(/tmp/multipartBody2689381867129240710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160555676,"filename":"image_27012025_23_59_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/29/9ce126ac869e190c7705be6b7054a71a.jpg","text":"TemporaryFile(/tmp/multipartBody2426655109485660353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160555676,"filename":"image_27012025_23_59_26_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/29/277d75c464c05ee311caa0fb7e301423.jpg","text":"TemporaryFile(/tmp/multipartBody750307591425694965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160555676,"filename":"image_27012025_23_59_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/29/463c6f8c8f6668ab28bde66eed941d17.jpg","text":"TemporaryFile(/tmp/multipartBody5675563958450510875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160555676,"filename":"image_27012025_23_58_56_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332667348","file1":"1332667235","file0":"1332667118","file4":"1332667368","file5":"1332667461","file3":"1332667359"},"map_files_photo_id_array":[{"photo_id":"1332667461","filename":"file5"},{"photo_id":"1332667348","filename":"file2"},{"photo_id":"1332667368","filename":"file4"},{"photo_id":"1332667235","filename":"file1"},{"photo_id":"1332667118","filename":"file0"},{"photo_id":"1332667359","filename":"file3"}],"portfolio_id":19942287,"hashtag_by_photo_ids":[{"1332667348":["hashtag1","hashtag2"]},{"1332667368":["hashtag1","hashtag2"]},{"1332667461":["hashtag1","hashtag2"]},{"1332667359":["hashtag1","hashtag2"]},{"1332667235":["hashtag1","hashtag2"]},{"1332667118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19942287 used, photo_id : ArrayBuffer(1332667348, 1332667368, 1332667461, 1332667359, 1332667235, 1332667118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23350381851196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:22:32.537127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
  port_id : 19942287
  datou_current_id : 2516237
in upload_from_sqlite, uploading in 19942287
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27012025/23/59/image_27012025_23_59_56_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2516237&datou=0
/home/pi/Desktop/images/27012025/23/59/image_27012025_23_59_56_10412.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332667644"],"photo_id":"1332667644","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/919fcede27f0af8e0bd5e0cec70da0c3.jpg","text":"TemporaryFile(/tmp/multipartBody5637149046622447611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160614810,"filename":"image_27012025_23_59_56_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1332667644"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1332667644"}],"hashtags":[],"portfolio_id":"19942287","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.205135107040405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 15:22:52.444417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_56_10441.jpg', '/home/pi/Desktop/images/28012025/18/09/image_28012025_18_10_06_9352.jpg', '/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_16_10331.jpg', '/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_26_10446.jpg', '/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_36_9342.jpg', '/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_46_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/09/image_28012025_18_09_56_10441.jpg
/home/pi/Desktop/images/28012025/18/09/image_28012025_18_10_06_9352.jpg
/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_16_10331.jpg
/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_26_10446.jpg
/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_36_9342.jpg
/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_46_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":["1332667723","1332667831","1332667827","1332667949","1332667784","1332667814"],"photo_ids_order":["1332667723","1332667784","1332667814","1332667827","1332667831","1332667949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/51cb9bda405e7e919fb263748bc9ac04.jpg","text":"TemporaryFile(/tmp/multipartBody296728255378218765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160634980,"filename":"image_28012025_18_09_56_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/29/25080cc3599c052319854248e04624bf.jpg","text":"TemporaryFile(/tmp/multipartBody9171056644626010791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160634980,"filename":"image_28012025_18_10_36_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/29/d6743605428ab5dbe63c8420b7c9ea5a.jpg","text":"TemporaryFile(/tmp/multipartBody7308335320569446691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160634980,"filename":"image_28012025_18_10_26_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/29/2896951a4883fcdf68af0960d3398b08.jpg","text":"TemporaryFile(/tmp/multipartBody6715832761780667204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160634980,"filename":"image_28012025_18_10_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/29/049b7723e792ad49cef0aaba70fff2d0.jpg","text":"TemporaryFile(/tmp/multipartBody8322155108867515567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160634980,"filename":"image_28012025_18_10_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/29/e7540557205754dad295ca5717e45665.jpg","text":"TemporaryFile(/tmp/multipartBody8204589936802924722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160634980,"filename":"image_28012025_18_10_16_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332667814","file1":"1332667784","file0":"1332667723","file4":"1332667831","file5":"1332667949","file3":"1332667827"},"map_files_photo_id_array":[{"photo_id":"1332667949","filename":"file5"},{"photo_id":"1332667814","filename":"file2"},{"photo_id":"1332667831","filename":"file4"},{"photo_id":"1332667784","filename":"file1"},{"photo_id":"1332667723","filename":"file0"},{"photo_id":"1332667827","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332667723":["hashtag1","hashtag2"]},{"1332667831":["hashtag1","hashtag2"]},{"1332667827":["hashtag1","hashtag2"]},{"1332667949":["hashtag1","hashtag2"]},{"1332667784":["hashtag1","hashtag2"]},{"1332667814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332667723, 1332667831, 1332667827, 1332667949, 1332667784, 1332667814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.46549105644226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 15:23:42.669463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_56_9391.jpg', '/home/pi/Desktop/images/28012025/18/10/image_28012025_18_11_06_10341.jpg', '/home/pi/Desktop/images/28012025/18/11/image_28012025_18_11_16_10409.jpg', '/home/pi/Desktop/images/28012025/18/11/image_28012025_18_11_26_9352.jpg', '/home/pi/Desktop/images/28012025/18/11/image_28012025_18_11_36_10337.jpg', '/home/pi/Desktop/images/28012025/18/11/image_28012025_18_11_46_9438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/10/image_28012025_18_10_56_9391.jpg
/home/pi/Desktop/images/28012025/18/10/image_28012025_18_11_06_10341.jpg
/home/pi/Desktop/images/28012025/18/11/image_28012025_18_11_16_10409.jpg
/home/pi/Desktop/images/28012025/18/11/image_28012025_18_11_26_9352.jpg
/home/pi/Desktop/images/28012025/18/11/image_28012025_18_11_36_10337.jpg
/home/pi/Desktop/images/28012025/18/11/image_28012025_18_11_46_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":["1332668419","1332668427","1332668528","1332668414","1332668368","1332668422"],"photo_ids_order":["1332668368","1332668414","1332668419","1332668422","1332668427","1332668528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f5866ee2b5727c64d41598e52928d0ba.jpg","text":"TemporaryFile(/tmp/multipartBody4175384706453062476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160684367,"filename":"image_28012025_18_11_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/29/0d8545509be14b799bbeaa6290273cec.jpg","text":"TemporaryFile(/tmp/multipartBody438832351725680896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160684367,"filename":"image_28012025_18_11_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/29/ee067b287fc9183f6daefc83648059c2.jpg","text":"TemporaryFile(/tmp/multipartBody6873284002377065051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160684367,"filename":"image_28012025_18_11_46_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/29/f2dbdbba8a2197d6de9d1662dc3a0033.jpg","text":"TemporaryFile(/tmp/multipartBody6247285378759668636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160684367,"filename":"image_28012025_18_11_06_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/29/da961a6cf7ea0f382c4d9efb94d03d48.jpg","text":"TemporaryFile(/tmp/multipartBody8979954568315612248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160684367,"filename":"image_28012025_18_10_56_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/29/f4a295ab85c553126a66fe0bc8c6c027.jpg","text":"TemporaryFile(/tmp/multipartBody8408245281813075319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160684367,"filename":"image_28012025_18_11_26_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332668419","file1":"1332668414","file0":"1332668368","file4":"1332668427","file5":"1332668528","file3":"1332668422"},"map_files_photo_id_array":[{"photo_id":"1332668528","filename":"file5"},{"photo_id":"1332668419","filename":"file2"},{"photo_id":"1332668427","filename":"file4"},{"photo_id":"1332668414","filename":"file1"},{"photo_id":"1332668368","filename":"file0"},{"photo_id":"1332668422","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332668419":["hashtag1","hashtag2"]},{"1332668427":["hashtag1","hashtag2"]},{"1332668528":["hashtag1","hashtag2"]},{"1332668414":["hashtag1","hashtag2"]},{"1332668368":["hashtag1","hashtag2"]},{"1332668422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332668419, 1332668427, 1332668528, 1332668414, 1332668368, 1332668422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2470281124115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:24:32.891958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/11/image_28012025_18_11_56_10345.jpg', '/home/pi/Desktop/images/28012025/18/11/image_28012025_18_12_06_10362.jpg', '/home/pi/Desktop/images/28012025/18/12/image_28012025_18_12_16_9351.jpg', '/home/pi/Desktop/images/28012025/18/12/image_28012025_18_12_26_10394.jpg', '/home/pi/Desktop/images/28012025/18/12/image_28012025_18_12_36_10346.jpg', '/home/pi/Desktop/images/28012025/18/12/image_28012025_18_12_46_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/11/image_28012025_18_11_56_10345.jpg
/home/pi/Desktop/images/28012025/18/11/image_28012025_18_12_06_10362.jpg
/home/pi/Desktop/images/28012025/18/12/image_28012025_18_12_16_9351.jpg
/home/pi/Desktop/images/28012025/18/12/image_28012025_18_12_26_10394.jpg
/home/pi/Desktop/images/28012025/18/12/image_28012025_18_12_36_10346.jpg
/home/pi/Desktop/images/28012025/18/12/image_28012025_18_12_46_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":["1332668585","1332668588","1332668582","1332668579","1332668590","1332668587"],"photo_ids_order":["1332668579","1332668582","1332668585","1332668587","1332668588","1332668590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/705a14ef5ef7e454c5e52033a2a67212.jpg","text":"TemporaryFile(/tmp/multipartBody8111376594616544622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160735396,"filename":"image_28012025_18_12_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/29/371fbba97759e43c971abdf59a701723.jpg","text":"TemporaryFile(/tmp/multipartBody1983830842035008346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160735396,"filename":"image_28012025_18_12_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/29/b11fa8f13e83a131008f5b59eddf9228.jpg","text":"TemporaryFile(/tmp/multipartBody8476044172454928652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160735396,"filename":"image_28012025_18_12_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/29/b9bc088459e81f437063d06a3f9bca66.jpg","text":"TemporaryFile(/tmp/multipartBody9049401376397932210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160735396,"filename":"image_28012025_18_11_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/29/0c4e9c9cb4e5903a0f2e0a98d6cd24ab.jpg","text":"TemporaryFile(/tmp/multipartBody1029262135141804464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160735396,"filename":"image_28012025_18_12_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/29/49e0afe398dbe2b09ff6a0774a17c4fc.jpg","text":"TemporaryFile(/tmp/multipartBody6598413882220180275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160735396,"filename":"image_28012025_18_12_26_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332668585","file1":"1332668582","file0":"1332668579","file4":"1332668588","file5":"1332668590","file3":"1332668587"},"map_files_photo_id_array":[{"photo_id":"1332668590","filename":"file5"},{"photo_id":"1332668585","filename":"file2"},{"photo_id":"1332668588","filename":"file4"},{"photo_id":"1332668582","filename":"file1"},{"photo_id":"1332668579","filename":"file0"},{"photo_id":"1332668587","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332668585":["hashtag1","hashtag2"]},{"1332668588":["hashtag1","hashtag2"]},{"1332668582":["hashtag1","hashtag2"]},{"1332668579":["hashtag1","hashtag2"]},{"1332668590":["hashtag1","hashtag2"]},{"1332668587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332668585, 1332668588, 1332668582, 1332668579, 1332668590, 1332668587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.46113061904907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:25:33.219511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/12/image_28012025_18_12_56_10348.jpg', '/home/pi/Desktop/images/28012025/18/12/image_28012025_18_13_06_10337.jpg', '/home/pi/Desktop/images/28012025/18/13/image_28012025_18_13_16_9375.jpg', '/home/pi/Desktop/images/28012025/18/13/image_28012025_18_13_26_10353.jpg', '/home/pi/Desktop/images/28012025/18/13/image_28012025_18_13_46_9398.jpg', '/home/pi/Desktop/images/28012025/18/13/image_28012025_18_13_56_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/12/image_28012025_18_12_56_10348.jpg
/home/pi/Desktop/images/28012025/18/12/image_28012025_18_13_06_10337.jpg
/home/pi/Desktop/images/28012025/18/13/image_28012025_18_13_16_9375.jpg
/home/pi/Desktop/images/28012025/18/13/image_28012025_18_13_26_10353.jpg
/home/pi/Desktop/images/28012025/18/13/image_28012025_18_13_46_9398.jpg
/home/pi/Desktop/images/28012025/18/13/image_28012025_18_13_56_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":["1332668637","1332668610","1332668621","1332668639","1332668629","1332668614"],"photo_ids_order":["1332668610","1332668614","1332668621","1332668629","1332668637","1332668639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/44ca67db5ff2d46288e91bbd53cbf972.jpg","text":"TemporaryFile(/tmp/multipartBody4415032767284308468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160795738,"filename":"image_28012025_18_13_46_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/29/7315e4a30d3402de818e8840e8be5610.jpg","text":"TemporaryFile(/tmp/multipartBody4943917005053736210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160795738,"filename":"image_28012025_18_12_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/29/13698ad1f16f84735b9deb7acf48f9e4.jpg","text":"TemporaryFile(/tmp/multipartBody5250337507246822318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160795738,"filename":"image_28012025_18_13_16_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/29/a8d02f961bfc141a581e8b87b8880661.jpg","text":"TemporaryFile(/tmp/multipartBody8434143196281582309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160795738,"filename":"image_28012025_18_13_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/29/cae668170fdd5e6778e4f015c560b581.jpg","text":"TemporaryFile(/tmp/multipartBody3911586719445506327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160795738,"filename":"image_28012025_18_13_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/29/4299adf7fa3b8b1f8ee37543140e38a8.jpg","text":"TemporaryFile(/tmp/multipartBody2585833556511847805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160795738,"filename":"image_28012025_18_13_06_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332668621","file1":"1332668614","file0":"1332668610","file4":"1332668637","file5":"1332668639","file3":"1332668629"},"map_files_photo_id_array":[{"photo_id":"1332668639","filename":"file5"},{"photo_id":"1332668621","filename":"file2"},{"photo_id":"1332668637","filename":"file4"},{"photo_id":"1332668614","filename":"file1"},{"photo_id":"1332668610","filename":"file0"},{"photo_id":"1332668629","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332668637":["hashtag1","hashtag2"]},{"1332668610":["hashtag1","hashtag2"]},{"1332668621":["hashtag1","hashtag2"]},{"1332668639":["hashtag1","hashtag2"]},{"1332668629":["hashtag1","hashtag2"]},{"1332668614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332668637, 1332668610, 1332668621, 1332668639, 1332668629, 1332668614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09575152397156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:26:32.359160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/13/image_28012025_18_14_06_9347.jpg', '/home/pi/Desktop/images/28012025/18/14/image_28012025_18_14_16_10330.jpg', '/home/pi/Desktop/images/28012025/18/14/image_28012025_18_14_26_10446.jpg', '/home/pi/Desktop/images/28012025/18/14/image_28012025_18_14_36_9359.jpg', '/home/pi/Desktop/images/28012025/18/14/image_28012025_18_14_46_10362.jpg', '/home/pi/Desktop/images/28012025/18/14/image_28012025_18_14_57_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/13/image_28012025_18_14_06_9347.jpg
/home/pi/Desktop/images/28012025/18/14/image_28012025_18_14_16_10330.jpg
/home/pi/Desktop/images/28012025/18/14/image_28012025_18_14_26_10446.jpg
/home/pi/Desktop/images/28012025/18/14/image_28012025_18_14_36_9359.jpg
/home/pi/Desktop/images/28012025/18/14/image_28012025_18_14_46_10362.jpg
/home/pi/Desktop/images/28012025/18/14/image_28012025_18_14_57_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":["1332669060","1332669000","1332668966","1332669010","1332668998","1332668851"],"photo_ids_order":["1332668851","1332668966","1332668998","1332669000","1332669010","1332669060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/92557b7f20207de1750e013a6c8f1181.jpg","text":"TemporaryFile(/tmp/multipartBody595983319092375425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160854915,"filename":"image_28012025_18_14_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/29/66c698e572ef619c66515281905526a6.jpg","text":"TemporaryFile(/tmp/multipartBody1087273747197309787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160854915,"filename":"image_28012025_18_14_36_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/29/d3d6d6f1e64beef642cab6f50e310424.jpg","text":"TemporaryFile(/tmp/multipartBody386624076218989830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160854915,"filename":"image_28012025_18_14_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/29/ce7e2ad796fa8fd51055cee9eab33f64.jpg","text":"TemporaryFile(/tmp/multipartBody2679854805660269907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160854915,"filename":"image_28012025_18_14_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/29/237665b22b99b9eb38e9df371864be4e.jpg","text":"TemporaryFile(/tmp/multipartBody8097446441204690986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160854915,"filename":"image_28012025_18_14_26_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/29/fd6d829f695064d73605fd9361353a31.jpg","text":"TemporaryFile(/tmp/multipartBody5409745529456185639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160854915,"filename":"image_28012025_18_14_06_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332668998","file1":"1332668966","file0":"1332668851","file4":"1332669010","file5":"1332669060","file3":"1332669000"},"map_files_photo_id_array":[{"photo_id":"1332669060","filename":"file5"},{"photo_id":"1332668998","filename":"file2"},{"photo_id":"1332669010","filename":"file4"},{"photo_id":"1332668966","filename":"file1"},{"photo_id":"1332668851","filename":"file0"},{"photo_id":"1332669000","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332669060":["hashtag1","hashtag2"]},{"1332669000":["hashtag1","hashtag2"]},{"1332668966":["hashtag1","hashtag2"]},{"1332669010":["hashtag1","hashtag2"]},{"1332668998":["hashtag1","hashtag2"]},{"1332668851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332669060, 1332669000, 1332668966, 1332669010, 1332668998, 1332668851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.49240517616272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:27:32.568112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/14/image_28012025_18_15_06_9351.jpg', '/home/pi/Desktop/images/28012025/18/15/image_28012025_18_15_16_10428.jpg', '/home/pi/Desktop/images/28012025/18/15/image_28012025_18_15_26_9345.jpg', '/home/pi/Desktop/images/28012025/18/15/image_28012025_18_15_36_10334.jpg', '/home/pi/Desktop/images/28012025/18/15/image_28012025_18_15_46_10430.jpg', '/home/pi/Desktop/images/28012025/18/15/image_28012025_18_15_56_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/14/image_28012025_18_15_06_9351.jpg
/home/pi/Desktop/images/28012025/18/15/image_28012025_18_15_16_10428.jpg
/home/pi/Desktop/images/28012025/18/15/image_28012025_18_15_26_9345.jpg
/home/pi/Desktop/images/28012025/18/15/image_28012025_18_15_36_10334.jpg
/home/pi/Desktop/images/28012025/18/15/image_28012025_18_15_46_10430.jpg
/home/pi/Desktop/images/28012025/18/15/image_28012025_18_15_56_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":["1332669246","1332669213","1332669216","1332669202","1332669195","1332669208"],"photo_ids_order":["1332669195","1332669202","1332669208","1332669213","1332669216","1332669246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cf12246010b08c98f59b6a9c2f39b284.jpg","text":"TemporaryFile(/tmp/multipartBody3904584662595616371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160915093,"filename":"image_28012025_18_15_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/29/f6fe2ca81f912e7fc8a6473ee99b9524.jpg","text":"TemporaryFile(/tmp/multipartBody7897403724885894693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160915093,"filename":"image_28012025_18_15_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/29/0badda30816d46fc3831c6f3fc58fb96.jpg","text":"TemporaryFile(/tmp/multipartBody2688927540982292503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160915093,"filename":"image_28012025_18_15_46_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/29/700826eeb32e98c2f867fec31cdf497a.jpg","text":"TemporaryFile(/tmp/multipartBody1999242279379940841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160915093,"filename":"image_28012025_18_15_16_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/29/f26dd691826245120349dda37811b91f.jpg","text":"TemporaryFile(/tmp/multipartBody1488972974033105986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160915093,"filename":"image_28012025_18_15_06_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/29/ed3ae0da3f99568f892b89f7ec2f1b32.jpg","text":"TemporaryFile(/tmp/multipartBody4734751905791607664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160915093,"filename":"image_28012025_18_15_26_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332669208","file1":"1332669202","file0":"1332669195","file4":"1332669216","file5":"1332669246","file3":"1332669213"},"map_files_photo_id_array":[{"photo_id":"1332669246","filename":"file5"},{"photo_id":"1332669208","filename":"file2"},{"photo_id":"1332669216","filename":"file4"},{"photo_id":"1332669202","filename":"file1"},{"photo_id":"1332669195","filename":"file0"},{"photo_id":"1332669213","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332669246":["hashtag1","hashtag2"]},{"1332669213":["hashtag1","hashtag2"]},{"1332669216":["hashtag1","hashtag2"]},{"1332669202":["hashtag1","hashtag2"]},{"1332669195":["hashtag1","hashtag2"]},{"1332669208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332669246, 1332669213, 1332669216, 1332669202, 1332669195, 1332669208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.77345252037048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:28:32.879865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/15/image_28012025_18_16_06_10428.jpg', '/home/pi/Desktop/images/28012025/18/16/image_28012025_18_16_16_9327.jpg', '/home/pi/Desktop/images/28012025/18/16/image_28012025_18_16_26_10449.jpg', '/home/pi/Desktop/images/28012025/18/16/image_28012025_18_16_36_10352.jpg', '/home/pi/Desktop/images/28012025/18/16/image_28012025_18_16_46_9351.jpg', '/home/pi/Desktop/images/28012025/18/16/image_28012025_18_16_56_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/15/image_28012025_18_16_06_10428.jpg
/home/pi/Desktop/images/28012025/18/16/image_28012025_18_16_16_9327.jpg
/home/pi/Desktop/images/28012025/18/16/image_28012025_18_16_26_10449.jpg
/home/pi/Desktop/images/28012025/18/16/image_28012025_18_16_36_10352.jpg
/home/pi/Desktop/images/28012025/18/16/image_28012025_18_16_46_9351.jpg
/home/pi/Desktop/images/28012025/18/16/image_28012025_18_16_56_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332669384","1332669434","1332669410","1332669404","1332669430","1332669375"],"photo_ids_order":["1332669375","1332669384","1332669404","1332669410","1332669430","1332669434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a64ff108b9108bb151a6ae22153d0d7a.jpg","text":"TemporaryFile(/tmp/multipartBody5811789567204211184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160975432,"filename":"image_28012025_18_16_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/29/5e25331c586f4b6d7f6648cf1a2ffad7.jpg","text":"TemporaryFile(/tmp/multipartBody1805275417417754631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160975432,"filename":"image_28012025_18_16_56_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/29/18c92f319d39a9a5123dc1dc8c4bc4dc.jpg","text":"TemporaryFile(/tmp/multipartBody4517726671767457607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160975432,"filename":"image_28012025_18_16_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/29/e8080e39fb8e94e2c9b458d46859cf0e.jpg","text":"TemporaryFile(/tmp/multipartBody8768528414784679870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160975432,"filename":"image_28012025_18_16_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/29/32c4781426cfb831d5b16b8503193719.jpg","text":"TemporaryFile(/tmp/multipartBody8594416074787023822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160975432,"filename":"image_28012025_18_16_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/29/ca5af5b400457e4f05cb3af19d074fe8.jpg","text":"TemporaryFile(/tmp/multipartBody7175875772480579245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738160975432,"filename":"image_28012025_18_16_06_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332669404","file1":"1332669384","file0":"1332669375","file4":"1332669430","file5":"1332669434","file3":"1332669410"},"map_files_photo_id_array":[{"photo_id":"1332669434","filename":"file5"},{"photo_id":"1332669404","filename":"file2"},{"photo_id":"1332669430","filename":"file4"},{"photo_id":"1332669384","filename":"file1"},{"photo_id":"1332669375","filename":"file0"},{"photo_id":"1332669410","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332669384":["hashtag1","hashtag2"]},{"1332669434":["hashtag1","hashtag2"]},{"1332669410":["hashtag1","hashtag2"]},{"1332669404":["hashtag1","hashtag2"]},{"1332669430":["hashtag1","hashtag2"]},{"1332669375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332669384, 1332669434, 1332669410, 1332669404, 1332669430, 1332669375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.974385261535645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:29:33.192445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/16/image_28012025_18_17_07_10437.jpg', '/home/pi/Desktop/images/28012025/18/17/image_28012025_18_17_16_9336.jpg', '/home/pi/Desktop/images/28012025/18/17/image_28012025_18_17_26_10521.jpg', '/home/pi/Desktop/images/28012025/18/17/image_28012025_18_17_36_9396.jpg', '/home/pi/Desktop/images/28012025/18/17/image_28012025_18_17_46_10458.jpg', '/home/pi/Desktop/images/28012025/18/17/image_28012025_18_17_56_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/16/image_28012025_18_17_07_10437.jpg
/home/pi/Desktop/images/28012025/18/17/image_28012025_18_17_16_9336.jpg
/home/pi/Desktop/images/28012025/18/17/image_28012025_18_17_26_10521.jpg
/home/pi/Desktop/images/28012025/18/17/image_28012025_18_17_36_9396.jpg
/home/pi/Desktop/images/28012025/18/17/image_28012025_18_17_46_10458.jpg
/home/pi/Desktop/images/28012025/18/17/image_28012025_18_17_56_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":["1332669636","1332669702","1332669670","1332669658","1332669706","1332669610"],"photo_ids_order":["1332669610","1332669636","1332669658","1332669670","1332669702","1332669706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bd4626be19509423e292922ef47a1910.jpg","text":"TemporaryFile(/tmp/multipartBody314680805427057728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161035730,"filename":"image_28012025_18_17_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/29/4862f42329c3ec7b11126eb9f8ff0cf8.jpg","text":"TemporaryFile(/tmp/multipartBody264424285462839949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161035730,"filename":"image_28012025_18_17_46_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/29/a219f4c48711c8481f279106498c6b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4602910255470907137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161035730,"filename":"image_28012025_18_17_36_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/29/119eedce804aec6c70f37abcd1ea7477.jpg","text":"TemporaryFile(/tmp/multipartBody3039413705741185921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161035730,"filename":"image_28012025_18_17_26_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d316336a53d0b00c5cff6b5eaf19e471.jpg","text":"TemporaryFile(/tmp/multipartBody8904659680385763993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161035730,"filename":"image_28012025_18_17_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/29/65fa5c7520544f92814927328e476f8f.jpg","text":"TemporaryFile(/tmp/multipartBody4897044278032551803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161035730,"filename":"image_28012025_18_17_07_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332669658","file1":"1332669636","file0":"1332669610","file4":"1332669702","file5":"1332669706","file3":"1332669670"},"map_files_photo_id_array":[{"photo_id":"1332669706","filename":"file5"},{"photo_id":"1332669658","filename":"file2"},{"photo_id":"1332669702","filename":"file4"},{"photo_id":"1332669636","filename":"file1"},{"photo_id":"1332669610","filename":"file0"},{"photo_id":"1332669670","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332669636":["hashtag1","hashtag2"]},{"1332669702":["hashtag1","hashtag2"]},{"1332669670":["hashtag1","hashtag2"]},{"1332669658":["hashtag1","hashtag2"]},{"1332669706":["hashtag1","hashtag2"]},{"1332669610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332669636, 1332669702, 1332669670, 1332669658, 1332669706, 1332669610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4208710193634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:30:32.359768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/17/image_28012025_18_18_06_10325.jpg', '/home/pi/Desktop/images/28012025/18/18/image_28012025_18_18_16_10440.jpg', '/home/pi/Desktop/images/28012025/18/18/image_28012025_18_18_26_9344.jpg', '/home/pi/Desktop/images/28012025/18/18/image_28012025_18_18_36_10350.jpg', '/home/pi/Desktop/images/28012025/18/18/image_28012025_18_18_46_10464.jpg', '/home/pi/Desktop/images/28012025/18/18/image_28012025_18_18_56_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/17/image_28012025_18_18_06_10325.jpg
/home/pi/Desktop/images/28012025/18/18/image_28012025_18_18_16_10440.jpg
/home/pi/Desktop/images/28012025/18/18/image_28012025_18_18_26_9344.jpg
/home/pi/Desktop/images/28012025/18/18/image_28012025_18_18_36_10350.jpg
/home/pi/Desktop/images/28012025/18/18/image_28012025_18_18_46_10464.jpg
/home/pi/Desktop/images/28012025/18/18/image_28012025_18_18_56_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":["1332669795","1332669753","1332669758","1332669787","1332669922","1332669783"],"photo_ids_order":["1332669753","1332669758","1332669783","1332669787","1332669795","1332669922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7820bed7d4636faacf4a121fca6b6fd7.jpg","text":"TemporaryFile(/tmp/multipartBody4002003801869710321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161094894,"filename":"image_28012025_18_18_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/29/eee8dc41d9b9dc545d671d26d2f489d5.jpg","text":"TemporaryFile(/tmp/multipartBody3988068866602022851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161094894,"filename":"image_28012025_18_18_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/29/da440279cee2985efc23c4bc6964b4b7.jpg","text":"TemporaryFile(/tmp/multipartBody10487403659443682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161094894,"filename":"image_28012025_18_18_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/29/51e95cb28a74af38481e775a8cefe6ab.jpg","text":"TemporaryFile(/tmp/multipartBody8054521086211730865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161094894,"filename":"image_28012025_18_18_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/29/60fe8793c758e7e707c334e9c03da493.jpg","text":"TemporaryFile(/tmp/multipartBody3919252317899786380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161094894,"filename":"image_28012025_18_18_56_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/29/b660b26fb27f70505d5184adace99145.jpg","text":"TemporaryFile(/tmp/multipartBody12313656059106568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161094894,"filename":"image_28012025_18_18_26_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332669783","file1":"1332669758","file0":"1332669753","file4":"1332669795","file5":"1332669922","file3":"1332669787"},"map_files_photo_id_array":[{"photo_id":"1332669922","filename":"file5"},{"photo_id":"1332669783","filename":"file2"},{"photo_id":"1332669795","filename":"file4"},{"photo_id":"1332669758","filename":"file1"},{"photo_id":"1332669753","filename":"file0"},{"photo_id":"1332669787","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332669795":["hashtag1","hashtag2"]},{"1332669753":["hashtag1","hashtag2"]},{"1332669758":["hashtag1","hashtag2"]},{"1332669787":["hashtag1","hashtag2"]},{"1332669922":["hashtag1","hashtag2"]},{"1332669783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332669795, 1332669753, 1332669758, 1332669787, 1332669922, 1332669783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.67971348762512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:31:32.508038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/18/image_28012025_18_19_06_10360.jpg', '/home/pi/Desktop/images/28012025/18/19/image_28012025_18_19_16_9328.jpg', '/home/pi/Desktop/images/28012025/18/19/image_28012025_18_19_26_10410.jpg', '/home/pi/Desktop/images/28012025/18/19/image_28012025_18_19_36_10422.jpg', '/home/pi/Desktop/images/28012025/18/19/image_28012025_18_19_46_9455.jpg', '/home/pi/Desktop/images/28012025/18/19/image_28012025_18_19_56_10504.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/18/image_28012025_18_19_06_10360.jpg
/home/pi/Desktop/images/28012025/18/19/image_28012025_18_19_16_9328.jpg
/home/pi/Desktop/images/28012025/18/19/image_28012025_18_19_26_10410.jpg
/home/pi/Desktop/images/28012025/18/19/image_28012025_18_19_36_10422.jpg
/home/pi/Desktop/images/28012025/18/19/image_28012025_18_19_46_9455.jpg
/home/pi/Desktop/images/28012025/18/19/image_28012025_18_19_56_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":["1332670182","1332670179","1332670172","1332670175","1332670169","1332670177"],"photo_ids_order":["1332670169","1332670172","1332670175","1332670177","1332670179","1332670182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/89a9d99f2994de2408c7b7c966683f6c.jpg","text":"TemporaryFile(/tmp/multipartBody7237385582631721088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161155866,"filename":"image_28012025_18_19_56_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/29/060a7b29562007f69b7bc115c4e4d488.jpg","text":"TemporaryFile(/tmp/multipartBody3752406754003631826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161155866,"filename":"image_28012025_18_19_46_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/29/49c6c136e306d0b39e350d432c750884.jpg","text":"TemporaryFile(/tmp/multipartBody2110771783591493294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161155866,"filename":"image_28012025_18_19_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/29/df2b169283b97ca8a9df4b570517e388.jpg","text":"TemporaryFile(/tmp/multipartBody3971192415048053008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161155866,"filename":"image_28012025_18_19_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/29/222a68886c6598da8fb83b23ccf87274.jpg","text":"TemporaryFile(/tmp/multipartBody5479047982140965383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161155866,"filename":"image_28012025_18_19_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/29/219d9c47a3acf792f74b5ea743927724.jpg","text":"TemporaryFile(/tmp/multipartBody685640030012805796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161155866,"filename":"image_28012025_18_19_36_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332670175","file1":"1332670172","file0":"1332670169","file4":"1332670179","file5":"1332670182","file3":"1332670177"},"map_files_photo_id_array":[{"photo_id":"1332670182","filename":"file5"},{"photo_id":"1332670175","filename":"file2"},{"photo_id":"1332670179","filename":"file4"},{"photo_id":"1332670172","filename":"file1"},{"photo_id":"1332670169","filename":"file0"},{"photo_id":"1332670177","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332670182":["hashtag1","hashtag2"]},{"1332670179":["hashtag1","hashtag2"]},{"1332670172":["hashtag1","hashtag2"]},{"1332670175":["hashtag1","hashtag2"]},{"1332670169":["hashtag1","hashtag2"]},{"1332670177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332670182, 1332670179, 1332670172, 1332670175, 1332670169, 1332670177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.41026830673218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:32:32.692893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/19/image_28012025_18_20_06_9407.jpg', '/home/pi/Desktop/images/28012025/18/20/image_28012025_18_20_16_10465.jpg', '/home/pi/Desktop/images/28012025/18/20/image_28012025_18_20_26_9353.jpg', '/home/pi/Desktop/images/28012025/18/20/image_28012025_18_20_36_10335.jpg', '/home/pi/Desktop/images/28012025/18/20/image_28012025_18_20_46_10471.jpg', '/home/pi/Desktop/images/28012025/18/20/image_28012025_18_20_56_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/19/image_28012025_18_20_06_9407.jpg
/home/pi/Desktop/images/28012025/18/20/image_28012025_18_20_16_10465.jpg
/home/pi/Desktop/images/28012025/18/20/image_28012025_18_20_26_9353.jpg
/home/pi/Desktop/images/28012025/18/20/image_28012025_18_20_36_10335.jpg
/home/pi/Desktop/images/28012025/18/20/image_28012025_18_20_46_10471.jpg
/home/pi/Desktop/images/28012025/18/20/image_28012025_18_20_56_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":["1332670275","1332670278","1332670232","1332670226","1332670229","1332670234"],"photo_ids_order":["1332670226","1332670229","1332670232","1332670234","1332670275","1332670278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/512a4b75fdaaf8974cff157087b2525b.jpg","text":"TemporaryFile(/tmp/multipartBody808253699223157669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161215209,"filename":"image_28012025_18_20_46_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/29/16c6c73875c34adb6f6dab25f0a4e06c.jpg","text":"TemporaryFile(/tmp/multipartBody5625274330022077169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161215209,"filename":"image_28012025_18_20_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/29/88c316191d7d174028cc7cf319955f6d.jpg","text":"TemporaryFile(/tmp/multipartBody3732987906282167993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161215209,"filename":"image_28012025_18_20_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/29/11d357da00c2dc3f3f9a2bb34313d95e.jpg","text":"TemporaryFile(/tmp/multipartBody6668709908371248171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161215209,"filename":"image_28012025_18_20_06_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/29/8141c61292bb2d0558d6d1e586db7155.jpg","text":"TemporaryFile(/tmp/multipartBody3132705876839247073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161215209,"filename":"image_28012025_18_20_16_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/29/59b5f7b78cadd838ea87e6a14b8760a3.jpg","text":"TemporaryFile(/tmp/multipartBody2201559756129280301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161215209,"filename":"image_28012025_18_20_36_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332670232","file1":"1332670229","file0":"1332670226","file4":"1332670275","file5":"1332670278","file3":"1332670234"},"map_files_photo_id_array":[{"photo_id":"1332670278","filename":"file5"},{"photo_id":"1332670232","filename":"file2"},{"photo_id":"1332670275","filename":"file4"},{"photo_id":"1332670229","filename":"file1"},{"photo_id":"1332670226","filename":"file0"},{"photo_id":"1332670234","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332670275":["hashtag1","hashtag2"]},{"1332670278":["hashtag1","hashtag2"]},{"1332670232":["hashtag1","hashtag2"]},{"1332670226":["hashtag1","hashtag2"]},{"1332670229":["hashtag1","hashtag2"]},{"1332670234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332670275, 1332670278, 1332670232, 1332670226, 1332670229, 1332670234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.06224727630615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:33:33.031190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/20/image_28012025_18_21_06_10444.jpg', '/home/pi/Desktop/images/28012025/18/21/image_28012025_18_21_16_9328.jpg', '/home/pi/Desktop/images/28012025/18/21/image_28012025_18_21_26_10360.jpg', '/home/pi/Desktop/images/28012025/18/21/image_28012025_18_21_36_10465.jpg', '/home/pi/Desktop/images/28012025/18/21/image_28012025_18_21_46_9328.jpg', '/home/pi/Desktop/images/28012025/18/21/image_28012025_18_21_56_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/20/image_28012025_18_21_06_10444.jpg
/home/pi/Desktop/images/28012025/18/21/image_28012025_18_21_16_9328.jpg
/home/pi/Desktop/images/28012025/18/21/image_28012025_18_21_26_10360.jpg
/home/pi/Desktop/images/28012025/18/21/image_28012025_18_21_36_10465.jpg
/home/pi/Desktop/images/28012025/18/21/image_28012025_18_21_46_9328.jpg
/home/pi/Desktop/images/28012025/18/21/image_28012025_18_21_56_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":["1332670318","1332670303","1332670311","1332670314","1332670322","1332670307"],"photo_ids_order":["1332670303","1332670307","1332670311","1332670314","1332670318","1332670322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/15a1faf2ca27485e937550cda0f37523.jpg","text":"TemporaryFile(/tmp/multipartBody8413988100901012744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161275569,"filename":"image_28012025_18_21_46_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/29/f45dffe765c940db0e6099c2e0a4c514.jpg","text":"TemporaryFile(/tmp/multipartBody5868035672991159424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161275569,"filename":"image_28012025_18_21_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/29/cf1d392689a5f3bdded4e9afff4cbce7.jpg","text":"TemporaryFile(/tmp/multipartBody1396229194035151985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161275569,"filename":"image_28012025_18_21_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/29/7481282bc5f9a9cda803dc608fd68170.jpg","text":"TemporaryFile(/tmp/multipartBody8124645804904586700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161275569,"filename":"image_28012025_18_21_36_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/29/a0828bdcd50e8bb3dbc9e9cc402e6666.jpg","text":"TemporaryFile(/tmp/multipartBody5599578568061053083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161275569,"filename":"image_28012025_18_21_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/29/d9b3300d58cd12455f4d419e24733564.jpg","text":"TemporaryFile(/tmp/multipartBody1305460946908703106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161275569,"filename":"image_28012025_18_21_16_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332670311","file1":"1332670307","file0":"1332670303","file4":"1332670318","file5":"1332670322","file3":"1332670314"},"map_files_photo_id_array":[{"photo_id":"1332670322","filename":"file5"},{"photo_id":"1332670311","filename":"file2"},{"photo_id":"1332670318","filename":"file4"},{"photo_id":"1332670307","filename":"file1"},{"photo_id":"1332670303","filename":"file0"},{"photo_id":"1332670314","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332670318":["hashtag1","hashtag2"]},{"1332670303":["hashtag1","hashtag2"]},{"1332670311":["hashtag1","hashtag2"]},{"1332670314":["hashtag1","hashtag2"]},{"1332670322":["hashtag1","hashtag2"]},{"1332670307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332670318, 1332670303, 1332670311, 1332670314, 1332670322, 1332670307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.25250959396362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:34:32.166834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/21/image_28012025_18_22_06_10350.jpg', '/home/pi/Desktop/images/28012025/18/22/image_28012025_18_22_26_10485.jpg', '/home/pi/Desktop/images/28012025/18/22/image_28012025_18_22_36_9441.jpg', '/home/pi/Desktop/images/28012025/18/22/image_28012025_18_22_46_10367.jpg', '/home/pi/Desktop/images/28012025/18/22/image_28012025_18_22_56_9427.jpg', '/home/pi/Desktop/images/28012025/18/22/image_28012025_18_23_06_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/21/image_28012025_18_22_06_10350.jpg
/home/pi/Desktop/images/28012025/18/22/image_28012025_18_22_26_10485.jpg
/home/pi/Desktop/images/28012025/18/22/image_28012025_18_22_36_9441.jpg
/home/pi/Desktop/images/28012025/18/22/image_28012025_18_22_46_10367.jpg
/home/pi/Desktop/images/28012025/18/22/image_28012025_18_22_56_9427.jpg
/home/pi/Desktop/images/28012025/18/22/image_28012025_18_23_06_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":["1332670374","1332670379","1332670364","1332670346","1332670340","1332670337"],"photo_ids_order":["1332670337","1332670340","1332670346","1332670364","1332670374","1332670379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a01a834efd52bdfc82066c759592d007.jpg","text":"TemporaryFile(/tmp/multipartBody2290072010131194902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161334683,"filename":"image_28012025_18_22_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/29/b53833b6c138595459505112287e7303.jpg","text":"TemporaryFile(/tmp/multipartBody4038901539563016728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161334683,"filename":"image_28012025_18_23_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/29/0ea62426bdd6ba37f46811f512f1c9ca.jpg","text":"TemporaryFile(/tmp/multipartBody8073513385709411609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161334683,"filename":"image_28012025_18_22_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/29/dd90076f9d0d1ea6afbcd99a982c30e7.jpg","text":"TemporaryFile(/tmp/multipartBody8855042007410143227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161334683,"filename":"image_28012025_18_22_36_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/29/a8e2078b5ff922a6e2a72be616477eb8.jpg","text":"TemporaryFile(/tmp/multipartBody1160189064118075905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161334683,"filename":"image_28012025_18_22_26_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/29/3155c4d642753028903126b7e20dbe81.jpg","text":"TemporaryFile(/tmp/multipartBody1605610939370915525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161334683,"filename":"image_28012025_18_22_06_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332670346","file1":"1332670340","file0":"1332670337","file4":"1332670374","file5":"1332670379","file3":"1332670364"},"map_files_photo_id_array":[{"photo_id":"1332670379","filename":"file5"},{"photo_id":"1332670346","filename":"file2"},{"photo_id":"1332670374","filename":"file4"},{"photo_id":"1332670340","filename":"file1"},{"photo_id":"1332670337","filename":"file0"},{"photo_id":"1332670364","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332670374":["hashtag1","hashtag2"]},{"1332670379":["hashtag1","hashtag2"]},{"1332670364":["hashtag1","hashtag2"]},{"1332670346":["hashtag1","hashtag2"]},{"1332670340":["hashtag1","hashtag2"]},{"1332670337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332670374, 1332670379, 1332670364, 1332670346, 1332670340, 1332670337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.301806688308716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:35:32.389004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/23/image_28012025_18_23_16_10465.jpg', '/home/pi/Desktop/images/28012025/18/23/image_28012025_18_23_26_9342.jpg', '/home/pi/Desktop/images/28012025/18/23/image_28012025_18_23_36_10351.jpg', '/home/pi/Desktop/images/28012025/18/23/image_28012025_18_23_46_10450.jpg', '/home/pi/Desktop/images/28012025/18/23/image_28012025_18_23_56_9354.jpg', '/home/pi/Desktop/images/28012025/18/23/image_28012025_18_24_06_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/23/image_28012025_18_23_16_10465.jpg
/home/pi/Desktop/images/28012025/18/23/image_28012025_18_23_26_9342.jpg
/home/pi/Desktop/images/28012025/18/23/image_28012025_18_23_36_10351.jpg
/home/pi/Desktop/images/28012025/18/23/image_28012025_18_23_46_10450.jpg
/home/pi/Desktop/images/28012025/18/23/image_28012025_18_23_56_9354.jpg
/home/pi/Desktop/images/28012025/18/23/image_28012025_18_24_06_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":["1332670491","1332670473","1332670481","1332670484","1332670487","1332670477"],"photo_ids_order":["1332670473","1332670477","1332670481","1332670484","1332670487","1332670491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/32d96d12747404d564fa183e7335ea28.jpg","text":"TemporaryFile(/tmp/multipartBody5334071642258217307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161395179,"filename":"image_28012025_18_24_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/29/8ad979b7317ff2c3be088b770b8d6102.jpg","text":"TemporaryFile(/tmp/multipartBody8630874307518281083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161395179,"filename":"image_28012025_18_23_16_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/29/ffd6807d547c54b1e6aa59296384bcfc.jpg","text":"TemporaryFile(/tmp/multipartBody6136077866188776459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161395179,"filename":"image_28012025_18_23_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/29/4d5316cc39a49cce435fc4005d5556b7.jpg","text":"TemporaryFile(/tmp/multipartBody8207093540636439894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161395179,"filename":"image_28012025_18_23_46_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/29/71260e966c76d351cea293b27674e9a3.jpg","text":"TemporaryFile(/tmp/multipartBody5298732669659956011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161395179,"filename":"image_28012025_18_23_56_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/29/871e46f5ee8dbaabf5a245723600767c.jpg","text":"TemporaryFile(/tmp/multipartBody6400539136799124587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161395179,"filename":"image_28012025_18_23_26_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332670481","file1":"1332670477","file0":"1332670473","file4":"1332670487","file5":"1332670491","file3":"1332670484"},"map_files_photo_id_array":[{"photo_id":"1332670491","filename":"file5"},{"photo_id":"1332670481","filename":"file2"},{"photo_id":"1332670487","filename":"file4"},{"photo_id":"1332670477","filename":"file1"},{"photo_id":"1332670473","filename":"file0"},{"photo_id":"1332670484","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332670491":["hashtag1","hashtag2"]},{"1332670473":["hashtag1","hashtag2"]},{"1332670481":["hashtag1","hashtag2"]},{"1332670484":["hashtag1","hashtag2"]},{"1332670487":["hashtag1","hashtag2"]},{"1332670477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332670491, 1332670473, 1332670481, 1332670484, 1332670487, 1332670477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.559144020080566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:36:32.532113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/24/image_28012025_18_24_16_9331.jpg', '/home/pi/Desktop/images/28012025/18/24/image_28012025_18_24_26_10344.jpg', '/home/pi/Desktop/images/28012025/18/24/image_28012025_18_24_36_10347.jpg', '/home/pi/Desktop/images/28012025/18/24/image_28012025_18_24_46_9428.jpg', '/home/pi/Desktop/images/28012025/18/24/image_28012025_18_24_56_10352.jpg', '/home/pi/Desktop/images/28012025/18/24/image_28012025_18_25_06_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/24/image_28012025_18_24_16_9331.jpg
/home/pi/Desktop/images/28012025/18/24/image_28012025_18_24_26_10344.jpg
/home/pi/Desktop/images/28012025/18/24/image_28012025_18_24_36_10347.jpg
/home/pi/Desktop/images/28012025/18/24/image_28012025_18_24_46_9428.jpg
/home/pi/Desktop/images/28012025/18/24/image_28012025_18_24_56_10352.jpg
/home/pi/Desktop/images/28012025/18/24/image_28012025_18_25_06_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":["1332670530","1332670533","1332670515","1332670526","1332670520","1332670523"],"photo_ids_order":["1332670515","1332670520","1332670523","1332670526","1332670530","1332670533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f69394a6f445880b1f389f651ec2d273.jpg","text":"TemporaryFile(/tmp/multipartBody7989169399349203742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161455066,"filename":"image_28012025_18_24_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/29/8e3afce64e6a139e1977bcc928b5b62d.jpg","text":"TemporaryFile(/tmp/multipartBody5255568693543653961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161455066,"filename":"image_28012025_18_25_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/29/d251b648ff4f1577ab2e7c89d9f3b425.jpg","text":"TemporaryFile(/tmp/multipartBody712850581721217173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161455066,"filename":"image_28012025_18_24_16_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/29/b5ca80429226fb24cfec5ec3c9882322.jpg","text":"TemporaryFile(/tmp/multipartBody4282688714563971582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161455066,"filename":"image_28012025_18_24_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/29/c81b07fdb83785565815d2846aa19541.jpg","text":"TemporaryFile(/tmp/multipartBody7076126522540461838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161455066,"filename":"image_28012025_18_24_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/29/6e8b6db66b7469ec1765847d404898c8.jpg","text":"TemporaryFile(/tmp/multipartBody4998512251755918759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161455066,"filename":"image_28012025_18_24_36_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332670523","file1":"1332670520","file0":"1332670515","file4":"1332670530","file5":"1332670533","file3":"1332670526"},"map_files_photo_id_array":[{"photo_id":"1332670533","filename":"file5"},{"photo_id":"1332670523","filename":"file2"},{"photo_id":"1332670530","filename":"file4"},{"photo_id":"1332670520","filename":"file1"},{"photo_id":"1332670515","filename":"file0"},{"photo_id":"1332670526","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332670530":["hashtag1","hashtag2"]},{"1332670533":["hashtag1","hashtag2"]},{"1332670515":["hashtag1","hashtag2"]},{"1332670526":["hashtag1","hashtag2"]},{"1332670520":["hashtag1","hashtag2"]},{"1332670523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332670530, 1332670533, 1332670515, 1332670526, 1332670520, 1332670523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.815138816833496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:37:32.909284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/25/image_28012025_18_25_16_9403.jpg', '/home/pi/Desktop/images/28012025/18/25/image_28012025_18_25_26_10448.jpg', '/home/pi/Desktop/images/28012025/18/25/image_28012025_18_25_36_9348.jpg', '/home/pi/Desktop/images/28012025/18/25/image_28012025_18_25_46_10358.jpg', '/home/pi/Desktop/images/28012025/18/25/image_28012025_18_25_56_10462.jpg', '/home/pi/Desktop/images/28012025/18/25/image_28012025_18_26_06_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/25/image_28012025_18_25_16_9403.jpg
/home/pi/Desktop/images/28012025/18/25/image_28012025_18_25_26_10448.jpg
/home/pi/Desktop/images/28012025/18/25/image_28012025_18_25_36_9348.jpg
/home/pi/Desktop/images/28012025/18/25/image_28012025_18_25_46_10358.jpg
/home/pi/Desktop/images/28012025/18/25/image_28012025_18_25_56_10462.jpg
/home/pi/Desktop/images/28012025/18/25/image_28012025_18_26_06_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":["1332671403","1332671004","1332671296","1332671197","1332670904","1332671122"],"photo_ids_order":["1332670904","1332671004","1332671122","1332671197","1332671296","1332671403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f7b5cfd9aef76d947f6e33bc355f091a.jpg","text":"TemporaryFile(/tmp/multipartBody6416195178674780160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161515435,"filename":"image_28012025_18_26_06_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/29/2d4597e984a2d7307ad7c4ef600ad2c6.jpg","text":"TemporaryFile(/tmp/multipartBody129945675427412143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161515435,"filename":"image_28012025_18_25_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/29/45e6c18c937d8e4f80c19124c323dc91.jpg","text":"TemporaryFile(/tmp/multipartBody3129720644960923974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161515435,"filename":"image_28012025_18_25_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/29/e428ee251db8a7c53b2ffcf7474126f5.jpg","text":"TemporaryFile(/tmp/multipartBody1110248180693575676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161515435,"filename":"image_28012025_18_25_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/29/bf2636090c180661b1859f74af809022.jpg","text":"TemporaryFile(/tmp/multipartBody7853453802884750084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161515435,"filename":"image_28012025_18_25_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/29/9ed03aec17425feeee6fbc64401fb1d1.jpg","text":"TemporaryFile(/tmp/multipartBody6977587312476462428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161515435,"filename":"image_28012025_18_25_36_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332671122","file1":"1332671004","file0":"1332670904","file4":"1332671296","file5":"1332671403","file3":"1332671197"},"map_files_photo_id_array":[{"photo_id":"1332671403","filename":"file5"},{"photo_id":"1332671122","filename":"file2"},{"photo_id":"1332671296","filename":"file4"},{"photo_id":"1332671004","filename":"file1"},{"photo_id":"1332670904","filename":"file0"},{"photo_id":"1332671197","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332671403":["hashtag1","hashtag2"]},{"1332671004":["hashtag1","hashtag2"]},{"1332671296":["hashtag1","hashtag2"]},{"1332671197":["hashtag1","hashtag2"]},{"1332670904":["hashtag1","hashtag2"]},{"1332671122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332671403, 1332671004, 1332671296, 1332671197, 1332670904, 1332671122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.34592390060425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:38:33.115127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/26/image_28012025_18_26_16_10411.jpg', '/home/pi/Desktop/images/28012025/18/26/image_28012025_18_26_26_9352.jpg', '/home/pi/Desktop/images/28012025/18/26/image_28012025_18_26_36_10346.jpg', '/home/pi/Desktop/images/28012025/18/26/image_28012025_18_26_46_10466.jpg', '/home/pi/Desktop/images/28012025/18/26/image_28012025_18_26_56_9388.jpg', '/home/pi/Desktop/images/28012025/18/26/image_28012025_18_27_06_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/26/image_28012025_18_26_16_10411.jpg
/home/pi/Desktop/images/28012025/18/26/image_28012025_18_26_26_9352.jpg
/home/pi/Desktop/images/28012025/18/26/image_28012025_18_26_36_10346.jpg
/home/pi/Desktop/images/28012025/18/26/image_28012025_18_26_46_10466.jpg
/home/pi/Desktop/images/28012025/18/26/image_28012025_18_26_56_9388.jpg
/home/pi/Desktop/images/28012025/18/26/image_28012025_18_27_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":["1332672435","1332671976","1332672182","1332672055","1332672361","1332672294"],"photo_ids_order":["1332671976","1332672055","1332672182","1332672294","1332672361","1332672435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5455d3b6cacdaaf104a919a43f0a3ba5.jpg","text":"TemporaryFile(/tmp/multipartBody4156249706201368225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161575652,"filename":"image_28012025_18_27_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/29/fc005bc73636c95c5234c934536e11b5.jpg","text":"TemporaryFile(/tmp/multipartBody3116400200550403574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161575652,"filename":"image_28012025_18_26_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/29/187a948f927a2d7d99963ff09cd45b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5676446211449194829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161575652,"filename":"image_28012025_18_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/29/f6826613decc0d949d4255a4d55d5518.jpg","text":"TemporaryFile(/tmp/multipartBody8487913453482012846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161575652,"filename":"image_28012025_18_26_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/29/d74a08dadeea1054968d5413cfee3663.jpg","text":"TemporaryFile(/tmp/multipartBody2515842900692187024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161575652,"filename":"image_28012025_18_26_56_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/29/9bf145ee5cb14262e348e231486adac4.jpg","text":"TemporaryFile(/tmp/multipartBody6536021614249540893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161575652,"filename":"image_28012025_18_26_46_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332672182","file1":"1332672055","file0":"1332671976","file4":"1332672361","file5":"1332672435","file3":"1332672294"},"map_files_photo_id_array":[{"photo_id":"1332672435","filename":"file5"},{"photo_id":"1332672182","filename":"file2"},{"photo_id":"1332672361","filename":"file4"},{"photo_id":"1332672055","filename":"file1"},{"photo_id":"1332671976","filename":"file0"},{"photo_id":"1332672294","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332672435":["hashtag1","hashtag2"]},{"1332671976":["hashtag1","hashtag2"]},{"1332672182":["hashtag1","hashtag2"]},{"1332672055":["hashtag1","hashtag2"]},{"1332672361":["hashtag1","hashtag2"]},{"1332672294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332672435, 1332671976, 1332672182, 1332672055, 1332672361, 1332672294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.907421827316284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:39:32.295111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/27/image_28012025_18_27_16_10345.jpg', '/home/pi/Desktop/images/28012025/18/27/image_28012025_18_27_26_9447.jpg', '/home/pi/Desktop/images/28012025/18/27/image_28012025_18_27_36_10421.jpg', '/home/pi/Desktop/images/28012025/18/27/image_28012025_18_27_46_9560.jpg', '/home/pi/Desktop/images/28012025/18/27/image_28012025_18_27_56_10378.jpg', '/home/pi/Desktop/images/28012025/18/27/image_28012025_18_28_06_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/27/image_28012025_18_27_16_10345.jpg
/home/pi/Desktop/images/28012025/18/27/image_28012025_18_27_26_9447.jpg
/home/pi/Desktop/images/28012025/18/27/image_28012025_18_27_36_10421.jpg
/home/pi/Desktop/images/28012025/18/27/image_28012025_18_27_46_9560.jpg
/home/pi/Desktop/images/28012025/18/27/image_28012025_18_27_56_10378.jpg
/home/pi/Desktop/images/28012025/18/27/image_28012025_18_28_06_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":["1332672491","1332672488","1332672923","1332672589","1332672495","1332672822"],"photo_ids_order":["1332672488","1332672491","1332672495","1332672589","1332672822","1332672923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e6edee26e5bb38bcd7d74469ee928df1.jpg","text":"TemporaryFile(/tmp/multipartBody9069829443801118056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161634863,"filename":"image_28012025_18_27_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/29/e384478c5ea3ae00d12a002d13780e34.jpg","text":"TemporaryFile(/tmp/multipartBody1322614153631932922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161634863,"filename":"image_28012025_18_27_16_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/29/b4cba354d9205eafe0d3f93682bf7a6d.jpg","text":"TemporaryFile(/tmp/multipartBody5856897708834795799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161634863,"filename":"image_28012025_18_28_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/29/58eab9039d1aec07a4a473c760688751.jpg","text":"TemporaryFile(/tmp/multipartBody2034326277231688912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161634863,"filename":"image_28012025_18_27_46_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/29/5b4c6a282579ae5a9682001fb6346a51.jpg","text":"TemporaryFile(/tmp/multipartBody8104815313242680322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161634863,"filename":"image_28012025_18_27_36_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/29/94ff1edf39d50948edcdb329fbc1b570.jpg","text":"TemporaryFile(/tmp/multipartBody6253611210939546797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161634863,"filename":"image_28012025_18_27_56_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332672495","file1":"1332672491","file0":"1332672488","file4":"1332672822","file5":"1332672923","file3":"1332672589"},"map_files_photo_id_array":[{"photo_id":"1332672923","filename":"file5"},{"photo_id":"1332672495","filename":"file2"},{"photo_id":"1332672822","filename":"file4"},{"photo_id":"1332672491","filename":"file1"},{"photo_id":"1332672488","filename":"file0"},{"photo_id":"1332672589","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332672491":["hashtag1","hashtag2"]},{"1332672488":["hashtag1","hashtag2"]},{"1332672923":["hashtag1","hashtag2"]},{"1332672589":["hashtag1","hashtag2"]},{"1332672495":["hashtag1","hashtag2"]},{"1332672822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332672491, 1332672488, 1332672923, 1332672589, 1332672495, 1332672822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95379090309143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:40:32.440684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/28/image_28012025_18_28_16_10335.jpg', '/home/pi/Desktop/images/28012025/18/28/image_28012025_18_28_26_10354.jpg', '/home/pi/Desktop/images/28012025/18/28/image_28012025_18_28_36_9411.jpg', '/home/pi/Desktop/images/28012025/18/28/image_28012025_18_28_46_10345.jpg', '/home/pi/Desktop/images/28012025/18/28/image_28012025_18_28_57_10459.jpg', '/home/pi/Desktop/images/28012025/18/28/image_28012025_18_29_06_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/28/image_28012025_18_28_16_10335.jpg
/home/pi/Desktop/images/28012025/18/28/image_28012025_18_28_26_10354.jpg
/home/pi/Desktop/images/28012025/18/28/image_28012025_18_28_36_9411.jpg
/home/pi/Desktop/images/28012025/18/28/image_28012025_18_28_46_10345.jpg
/home/pi/Desktop/images/28012025/18/28/image_28012025_18_28_57_10459.jpg
/home/pi/Desktop/images/28012025/18/28/image_28012025_18_29_06_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":["1332673196","1332673269","1332673260","1332673263","1332673257","1332673266"],"photo_ids_order":["1332673196","1332673257","1332673260","1332673263","1332673266","1332673269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6d24e89768af65fb6beaf4029845e38e.jpg","text":"TemporaryFile(/tmp/multipartBody3497503478167781403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161694971,"filename":"image_28012025_18_28_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/29/faed8614572435218747510a89b71384.jpg","text":"TemporaryFile(/tmp/multipartBody6860700851273964732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161694971,"filename":"image_28012025_18_29_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/29/8f32f42d9820e0090f552e40aba34556.jpg","text":"TemporaryFile(/tmp/multipartBody3763802838811408414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161694971,"filename":"image_28012025_18_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/29/21aaf22cc2106f3d063654ad84f99935.jpg","text":"TemporaryFile(/tmp/multipartBody1934320915608281306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161694971,"filename":"image_28012025_18_28_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/29/755ba590a24de69a9b8a4eab700b3943.jpg","text":"TemporaryFile(/tmp/multipartBody6064288511852614040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161694971,"filename":"image_28012025_18_28_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/29/fadcf1d4ab6ebb432c8570b03d9ffbe0.jpg","text":"TemporaryFile(/tmp/multipartBody6603435115904607913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161694971,"filename":"image_28012025_18_28_57_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332673260","file1":"1332673257","file0":"1332673196","file4":"1332673266","file5":"1332673269","file3":"1332673263"},"map_files_photo_id_array":[{"photo_id":"1332673269","filename":"file5"},{"photo_id":"1332673260","filename":"file2"},{"photo_id":"1332673266","filename":"file4"},{"photo_id":"1332673257","filename":"file1"},{"photo_id":"1332673196","filename":"file0"},{"photo_id":"1332673263","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332673196":["hashtag1","hashtag2"]},{"1332673269":["hashtag1","hashtag2"]},{"1332673260":["hashtag1","hashtag2"]},{"1332673263":["hashtag1","hashtag2"]},{"1332673257":["hashtag1","hashtag2"]},{"1332673266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332673196, 1332673269, 1332673260, 1332673263, 1332673257, 1332673266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6626877784729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:41:32.722453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_16_10386.jpg', '/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_26_9408.jpg', '/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_36_10329.jpg', '/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_46_10428.jpg', '/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_56_9367.jpg', '/home/pi/Desktop/images/28012025/18/29/image_28012025_18_30_06_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_16_10386.jpg
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_26_9408.jpg
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_36_10329.jpg
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_46_10428.jpg
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_56_9367.jpg
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_30_06_10431.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.149097442626953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 15:41:42.629196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_16_10386.jpg', '/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_26_9408.jpg', '/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_36_10329.jpg', '/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_46_10428.jpg', '/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_56_9367.jpg', '/home/pi/Desktop/images/28012025/18/29/image_28012025_18_30_06_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_16_10386.jpg
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_26_9408.jpg
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_36_10329.jpg
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_46_10428.jpg
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_29_56_9367.jpg
/home/pi/Desktop/images/28012025/18/29/image_28012025_18_30_06_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332673832","1332673795","1332673806","1332673815","1332673799","1332673710"],"photo_ids_order":["1332673710","1332673795","1332673799","1332673806","1332673815","1332673832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a52829037ffd6d83f50c19b637da6b4a.jpg","text":"TemporaryFile(/tmp/multipartBody5677889544790492568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161764477,"filename":"image_28012025_18_30_06_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/29/806fddd5c70eb92ffb7cccc0cab25724.jpg","text":"TemporaryFile(/tmp/multipartBody1173872117638972432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161764477,"filename":"image_28012025_18_29_26_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/29/58f22339a1b0e07ade78d1474f5bf19a.jpg","text":"TemporaryFile(/tmp/multipartBody4253117078272277956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161764477,"filename":"image_28012025_18_29_46_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/29/97a7f20b8223c1049791900728f8619a.jpg","text":"TemporaryFile(/tmp/multipartBody1752172083959265834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161764477,"filename":"image_28012025_18_29_56_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/29/30d2416592f275482d7ed3db5130d3c2.jpg","text":"TemporaryFile(/tmp/multipartBody1460160671015587195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161764477,"filename":"image_28012025_18_29_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/29/9f7a9ab78471cd57cac3d72bc8c4418d.jpg","text":"TemporaryFile(/tmp/multipartBody9152789249223236880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161764477,"filename":"image_28012025_18_29_16_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332673799","file1":"1332673795","file0":"1332673710","file4":"1332673815","file5":"1332673832","file3":"1332673806"},"map_files_photo_id_array":[{"photo_id":"1332673832","filename":"file5"},{"photo_id":"1332673799","filename":"file2"},{"photo_id":"1332673815","filename":"file4"},{"photo_id":"1332673795","filename":"file1"},{"photo_id":"1332673710","filename":"file0"},{"photo_id":"1332673806","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332673832":["hashtag1","hashtag2"]},{"1332673795":["hashtag1","hashtag2"]},{"1332673806":["hashtag1","hashtag2"]},{"1332673815":["hashtag1","hashtag2"]},{"1332673799":["hashtag1","hashtag2"]},{"1332673710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332673832, 1332673795, 1332673806, 1332673815, 1332673799, 1332673710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.741567850112915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:42:32.955608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/30/image_28012025_18_30_16_9327.jpg', '/home/pi/Desktop/images/28012025/18/30/image_28012025_18_30_26_10352.jpg', '/home/pi/Desktop/images/28012025/18/30/image_28012025_18_30_36_10367.jpg', '/home/pi/Desktop/images/28012025/18/30/image_28012025_18_30_46_9345.jpg', '/home/pi/Desktop/images/28012025/18/30/image_28012025_18_30_56_10339.jpg', '/home/pi/Desktop/images/28012025/18/30/image_28012025_18_31_06_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/30/image_28012025_18_30_16_9327.jpg
/home/pi/Desktop/images/28012025/18/30/image_28012025_18_30_26_10352.jpg
/home/pi/Desktop/images/28012025/18/30/image_28012025_18_30_36_10367.jpg
/home/pi/Desktop/images/28012025/18/30/image_28012025_18_30_46_9345.jpg
/home/pi/Desktop/images/28012025/18/30/image_28012025_18_30_56_10339.jpg
/home/pi/Desktop/images/28012025/18/30/image_28012025_18_31_06_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":["1332673883","1332673987","1332673878","1332673892","1332674156","1332673889"],"photo_ids_order":["1332673878","1332673883","1332673889","1332673892","1332673987","1332674156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/87eedda1b2c7dd2ea1217884c86c207e.jpg","text":"TemporaryFile(/tmp/multipartBody7312712828330085008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161815464,"filename":"image_28012025_18_30_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/29/83a47526c1e5d7707a612080451491d9.jpg","text":"TemporaryFile(/tmp/multipartBody4458112605896902903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161815464,"filename":"image_28012025_18_30_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/29/93459d04261bad65fa808e87a75a82a9.jpg","text":"TemporaryFile(/tmp/multipartBody8610333108613731336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161815464,"filename":"image_28012025_18_30_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/29/d7d03d8b20b794761f26394d4176d014.jpg","text":"TemporaryFile(/tmp/multipartBody6568874435385259823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161815464,"filename":"image_28012025_18_30_46_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/29/dd3a764ed86b87bf4ff7af18652dd46c.jpg","text":"TemporaryFile(/tmp/multipartBody8813185451765377518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161815464,"filename":"image_28012025_18_31_06_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/29/165036fee51b869694d34ada68a14c90.jpg","text":"TemporaryFile(/tmp/multipartBody2990517128819439840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161815464,"filename":"image_28012025_18_30_36_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332673889","file1":"1332673883","file0":"1332673878","file4":"1332673987","file5":"1332674156","file3":"1332673892"},"map_files_photo_id_array":[{"photo_id":"1332674156","filename":"file5"},{"photo_id":"1332673889","filename":"file2"},{"photo_id":"1332673987","filename":"file4"},{"photo_id":"1332673883","filename":"file1"},{"photo_id":"1332673878","filename":"file0"},{"photo_id":"1332673892","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332673883":["hashtag1","hashtag2"]},{"1332673987":["hashtag1","hashtag2"]},{"1332673878":["hashtag1","hashtag2"]},{"1332673892":["hashtag1","hashtag2"]},{"1332674156":["hashtag1","hashtag2"]},{"1332673889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332673883, 1332673987, 1332673878, 1332673892, 1332674156, 1332673889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.79300570487976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:43:32.279855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/31/image_28012025_18_31_16_9323.jpg', '/home/pi/Desktop/images/28012025/18/31/image_28012025_18_31_26_10369.jpg', '/home/pi/Desktop/images/28012025/18/31/image_28012025_18_31_36_10441.jpg', '/home/pi/Desktop/images/28012025/18/31/image_28012025_18_31_46_9351.jpg', '/home/pi/Desktop/images/28012025/18/31/image_28012025_18_31_56_10452.jpg', '/home/pi/Desktop/images/28012025/18/31/image_28012025_18_32_06_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/31/image_28012025_18_31_16_9323.jpg
/home/pi/Desktop/images/28012025/18/31/image_28012025_18_31_26_10369.jpg
/home/pi/Desktop/images/28012025/18/31/image_28012025_18_31_36_10441.jpg
/home/pi/Desktop/images/28012025/18/31/image_28012025_18_31_46_9351.jpg
/home/pi/Desktop/images/28012025/18/31/image_28012025_18_31_56_10452.jpg
/home/pi/Desktop/images/28012025/18/31/image_28012025_18_32_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":["1332674893","1332674596","1332674776","1332675010","1332674473","1332674396"],"photo_ids_order":["1332674396","1332674473","1332674596","1332674776","1332674893","1332675010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6db9f479992b1ca421f845bc9f3c1a49.jpg","text":"TemporaryFile(/tmp/multipartBody2779188993573914360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161874825,"filename":"image_28012025_18_31_56_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/29/856e935b65d417b64827072305e45329.jpg","text":"TemporaryFile(/tmp/multipartBody3304828097359387225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161874825,"filename":"image_28012025_18_31_36_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/29/f0294a115fab7d579629a323efc325d5.jpg","text":"TemporaryFile(/tmp/multipartBody7585288558126326413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161874825,"filename":"image_28012025_18_31_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/29/06236f7ee66c28e1a819b8b91024296c.jpg","text":"TemporaryFile(/tmp/multipartBody4566739008769790177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161874825,"filename":"image_28012025_18_32_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/29/f8d676f0175baa5d55616a447b3966bd.jpg","text":"TemporaryFile(/tmp/multipartBody1003372922191561623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161874825,"filename":"image_28012025_18_31_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/29/c9b003d870f312cdbd99e34ce8fa7e05.jpg","text":"TemporaryFile(/tmp/multipartBody3048534763877267052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161874825,"filename":"image_28012025_18_31_16_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332674596","file1":"1332674473","file0":"1332674396","file4":"1332674893","file5":"1332675010","file3":"1332674776"},"map_files_photo_id_array":[{"photo_id":"1332675010","filename":"file5"},{"photo_id":"1332674596","filename":"file2"},{"photo_id":"1332674893","filename":"file4"},{"photo_id":"1332674473","filename":"file1"},{"photo_id":"1332674396","filename":"file0"},{"photo_id":"1332674776","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332674893":["hashtag1","hashtag2"]},{"1332674596":["hashtag1","hashtag2"]},{"1332674776":["hashtag1","hashtag2"]},{"1332675010":["hashtag1","hashtag2"]},{"1332674473":["hashtag1","hashtag2"]},{"1332674396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332674893, 1332674596, 1332674776, 1332675010, 1332674473, 1332674396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56187462806702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:44:32.469355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/32/image_28012025_18_32_16_10569.jpg', '/home/pi/Desktop/images/28012025/18/32/image_28012025_18_32_26_9405.jpg', '/home/pi/Desktop/images/28012025/18/32/image_28012025_18_32_36_10354.jpg', '/home/pi/Desktop/images/28012025/18/32/image_28012025_18_33_06_10321.jpg', '/home/pi/Desktop/images/28012025/18/33/image_28012025_18_33_16_10335.jpg', '/home/pi/Desktop/images/28012025/18/33/image_28012025_18_33_26_9377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/32/image_28012025_18_32_16_10569.jpg
/home/pi/Desktop/images/28012025/18/32/image_28012025_18_32_26_9405.jpg
/home/pi/Desktop/images/28012025/18/32/image_28012025_18_32_36_10354.jpg
/home/pi/Desktop/images/28012025/18/32/image_28012025_18_33_06_10321.jpg
/home/pi/Desktop/images/28012025/18/33/image_28012025_18_33_16_10335.jpg
/home/pi/Desktop/images/28012025/18/33/image_28012025_18_33_26_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332675667","1332675267","1332675612","1332675527","1332675416","1332675259"],"photo_ids_order":["1332675259","1332675267","1332675416","1332675527","1332675612","1332675667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/03b3eacfa1edc7318f9f60ea2978c4b9.jpg","text":"TemporaryFile(/tmp/multipartBody6748732006999980116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161935009,"filename":"image_28012025_18_33_26_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/29/5f77488610f2c2fecaf5d422ff26f212.jpg","text":"TemporaryFile(/tmp/multipartBody1570394058534002801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161935009,"filename":"image_28012025_18_32_26_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/29/0b3358c9c97efc1c039a3032397e5e56.jpg","text":"TemporaryFile(/tmp/multipartBody7947368107633383332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161935009,"filename":"image_28012025_18_33_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/29/069df3721df4f5952bd4249eba2b304e.jpg","text":"TemporaryFile(/tmp/multipartBody8697553534090474913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161935009,"filename":"image_28012025_18_33_06_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/29/62b2cdf7c2cb44800b396c6898e2bbf5.jpg","text":"TemporaryFile(/tmp/multipartBody5091487355484533036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161935009,"filename":"image_28012025_18_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/29/3b1e36648d0bbeac00aaf23926fc9875.jpg","text":"TemporaryFile(/tmp/multipartBody6286910311937733074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161935009,"filename":"image_28012025_18_32_16_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332675416","file1":"1332675267","file0":"1332675259","file4":"1332675612","file5":"1332675667","file3":"1332675527"},"map_files_photo_id_array":[{"photo_id":"1332675667","filename":"file5"},{"photo_id":"1332675416","filename":"file2"},{"photo_id":"1332675612","filename":"file4"},{"photo_id":"1332675267","filename":"file1"},{"photo_id":"1332675259","filename":"file0"},{"photo_id":"1332675527","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332675667":["hashtag1","hashtag2"]},{"1332675267":["hashtag1","hashtag2"]},{"1332675612":["hashtag1","hashtag2"]},{"1332675527":["hashtag1","hashtag2"]},{"1332675416":["hashtag1","hashtag2"]},{"1332675259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332675667, 1332675267, 1332675612, 1332675527, 1332675416, 1332675259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19357872009277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:45:32.693837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/33/image_28012025_18_33_36_10343.jpg', '/home/pi/Desktop/images/28012025/18/33/image_28012025_18_33_56_9370.jpg', '/home/pi/Desktop/images/28012025/18/34/image_28012025_18_34_26_10371.jpg', '/home/pi/Desktop/images/28012025/18/34/image_28012025_18_34_36_10362.jpg', '/home/pi/Desktop/images/28012025/18/34/image_28012025_18_34_46_9345.jpg', '/home/pi/Desktop/images/28012025/18/34/image_28012025_18_34_56_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/33/image_28012025_18_33_36_10343.jpg
/home/pi/Desktop/images/28012025/18/33/image_28012025_18_33_56_9370.jpg
/home/pi/Desktop/images/28012025/18/34/image_28012025_18_34_26_10371.jpg
/home/pi/Desktop/images/28012025/18/34/image_28012025_18_34_36_10362.jpg
/home/pi/Desktop/images/28012025/18/34/image_28012025_18_34_46_9345.jpg
/home/pi/Desktop/images/28012025/18/34/image_28012025_18_34_56_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":["1332676089","1332676080","1332676101","1332676118","1332676096","1332676007"],"photo_ids_order":["1332676007","1332676080","1332676089","1332676096","1332676101","1332676118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/85485a62909997633c14dd73c2229a6d.jpg","text":"TemporaryFile(/tmp/multipartBody1959334398550133759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161995207,"filename":"image_28012025_18_34_26_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/29/27869d112d2ef58ca5799752f9a3c017.jpg","text":"TemporaryFile(/tmp/multipartBody7310756368114758324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161995207,"filename":"image_28012025_18_33_56_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/29/a981b8fe0d5f61b5662c1475b4e430ee.jpg","text":"TemporaryFile(/tmp/multipartBody4719173852529110266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161995207,"filename":"image_28012025_18_34_46_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/29/3da9ca29d4b594cee28e1651e46601fa.jpg","text":"TemporaryFile(/tmp/multipartBody2171829417707798003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161995207,"filename":"image_28012025_18_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/29/a8ab2b7286c12c4c7e520ab7cf42a723.jpg","text":"TemporaryFile(/tmp/multipartBody4309226114184996672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161995207,"filename":"image_28012025_18_34_36_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/29/7cbeb4c4f0c8108a1fbf74ae11286d3e.jpg","text":"TemporaryFile(/tmp/multipartBody8580211224199403343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738161995207,"filename":"image_28012025_18_33_36_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332676089","file1":"1332676080","file0":"1332676007","file4":"1332676101","file5":"1332676118","file3":"1332676096"},"map_files_photo_id_array":[{"photo_id":"1332676118","filename":"file5"},{"photo_id":"1332676089","filename":"file2"},{"photo_id":"1332676101","filename":"file4"},{"photo_id":"1332676080","filename":"file1"},{"photo_id":"1332676007","filename":"file0"},{"photo_id":"1332676096","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332676089":["hashtag1","hashtag2"]},{"1332676080":["hashtag1","hashtag2"]},{"1332676101":["hashtag1","hashtag2"]},{"1332676118":["hashtag1","hashtag2"]},{"1332676096":["hashtag1","hashtag2"]},{"1332676007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332676089, 1332676080, 1332676101, 1332676118, 1332676096, 1332676007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.95235776901245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:46:32.910399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/34/image_28012025_18_35_06_10511.jpg', '/home/pi/Desktop/images/28012025/18/35/image_28012025_18_35_26_10480.jpg', '/home/pi/Desktop/images/28012025/18/35/image_28012025_18_35_36_9362.jpg', '/home/pi/Desktop/images/28012025/18/35/image_28012025_18_35_56_10472.jpg', '/home/pi/Desktop/images/28012025/18/36/image_28012025_18_36_16_10382.jpg', '/home/pi/Desktop/images/28012025/18/36/image_28012025_18_36_26_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/34/image_28012025_18_35_06_10511.jpg
/home/pi/Desktop/images/28012025/18/35/image_28012025_18_35_26_10480.jpg
/home/pi/Desktop/images/28012025/18/35/image_28012025_18_35_36_9362.jpg
/home/pi/Desktop/images/28012025/18/35/image_28012025_18_35_56_10472.jpg
/home/pi/Desktop/images/28012025/18/36/image_28012025_18_36_16_10382.jpg
/home/pi/Desktop/images/28012025/18/36/image_28012025_18_36_26_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":["1332676316","1332676319","1332676342","1332676351","1332676348","1332676333"],"photo_ids_order":["1332676316","1332676319","1332676333","1332676342","1332676348","1332676351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f72dd12882d9e4fb405fdf003041dfbc.jpg","text":"TemporaryFile(/tmp/multipartBody2852020978328375972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162055476,"filename":"image_28012025_18_35_06_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a67c464305b5a3b3550f99b6e955cdc2.jpg","text":"TemporaryFile(/tmp/multipartBody1457386808876215833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162055476,"filename":"image_28012025_18_35_26_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/29/833070bf11e08c4d30c62bb2504bd56d.jpg","text":"TemporaryFile(/tmp/multipartBody734238594186812012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162055476,"filename":"image_28012025_18_35_56_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/29/a90b1b777a5874d2893b4a079a2dd336.jpg","text":"TemporaryFile(/tmp/multipartBody3690801904505175525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162055476,"filename":"image_28012025_18_36_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/29/12afd796653668c26807a20c0292c27a.jpg","text":"TemporaryFile(/tmp/multipartBody5896830915557738363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162055476,"filename":"image_28012025_18_36_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/29/95e2805ec0619f366eaeaa459d7c7f69.jpg","text":"TemporaryFile(/tmp/multipartBody4387387880098777753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162055476,"filename":"image_28012025_18_35_36_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332676333","file1":"1332676319","file0":"1332676316","file4":"1332676348","file5":"1332676351","file3":"1332676342"},"map_files_photo_id_array":[{"photo_id":"1332676351","filename":"file5"},{"photo_id":"1332676333","filename":"file2"},{"photo_id":"1332676348","filename":"file4"},{"photo_id":"1332676319","filename":"file1"},{"photo_id":"1332676316","filename":"file0"},{"photo_id":"1332676342","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332676316":["hashtag1","hashtag2"]},{"1332676319":["hashtag1","hashtag2"]},{"1332676342":["hashtag1","hashtag2"]},{"1332676351":["hashtag1","hashtag2"]},{"1332676348":["hashtag1","hashtag2"]},{"1332676333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332676316, 1332676319, 1332676342, 1332676351, 1332676348, 1332676333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.108633041381836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:47:33.076008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/36/image_28012025_18_36_36_10335.jpg', '/home/pi/Desktop/images/28012025/18/36/image_28012025_18_36_46_10406.jpg', '/home/pi/Desktop/images/28012025/18/36/image_28012025_18_36_56_9347.jpg', '/home/pi/Desktop/images/28012025/18/36/image_28012025_18_37_06_10347.jpg', '/home/pi/Desktop/images/28012025/18/37/image_28012025_18_37_16_10355.jpg', '/home/pi/Desktop/images/28012025/18/37/image_28012025_18_37_26_9450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/36/image_28012025_18_36_36_10335.jpg
/home/pi/Desktop/images/28012025/18/36/image_28012025_18_36_46_10406.jpg
/home/pi/Desktop/images/28012025/18/36/image_28012025_18_36_56_9347.jpg
/home/pi/Desktop/images/28012025/18/36/image_28012025_18_37_06_10347.jpg
/home/pi/Desktop/images/28012025/18/37/image_28012025_18_37_16_10355.jpg
/home/pi/Desktop/images/28012025/18/37/image_28012025_18_37_26_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332676414","1332676410","1332676397","1332676412","1332676400","1332676418"],"photo_ids_order":["1332676397","1332676400","1332676410","1332676412","1332676414","1332676418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d21223be3c32a180f5e999baec446bc5.jpg","text":"TemporaryFile(/tmp/multipartBody6833982256457444367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162115624,"filename":"image_28012025_18_37_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/29/9c3e0817f7928310f128163e53ad865b.jpg","text":"TemporaryFile(/tmp/multipartBody478445011349411942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162115624,"filename":"image_28012025_18_36_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/29/76b07cdecad6a3b6131c78f3ce4cb168.jpg","text":"TemporaryFile(/tmp/multipartBody8878548560579537666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162115624,"filename":"image_28012025_18_36_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/29/3f0b564f510a63a804abc44a844e46a6.jpg","text":"TemporaryFile(/tmp/multipartBody5057218603348250490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162115624,"filename":"image_28012025_18_37_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/29/98bb29706abcd5f67f9a36f3f2719ee2.jpg","text":"TemporaryFile(/tmp/multipartBody8010906303772025010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162115624,"filename":"image_28012025_18_36_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/29/a19332c9b4b79e14193aed0b87ce4ce7.jpg","text":"TemporaryFile(/tmp/multipartBody6702380103936668290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162115624,"filename":"image_28012025_18_37_26_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332676410","file1":"1332676400","file0":"1332676397","file4":"1332676414","file5":"1332676418","file3":"1332676412"},"map_files_photo_id_array":[{"photo_id":"1332676418","filename":"file5"},{"photo_id":"1332676410","filename":"file2"},{"photo_id":"1332676414","filename":"file4"},{"photo_id":"1332676400","filename":"file1"},{"photo_id":"1332676397","filename":"file0"},{"photo_id":"1332676412","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332676414":["hashtag1","hashtag2"]},{"1332676410":["hashtag1","hashtag2"]},{"1332676397":["hashtag1","hashtag2"]},{"1332676412":["hashtag1","hashtag2"]},{"1332676400":["hashtag1","hashtag2"]},{"1332676418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332676414, 1332676410, 1332676397, 1332676412, 1332676400, 1332676418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.932042360305786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:48:32.499128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/37/image_28012025_18_37_36_10474.jpg', '/home/pi/Desktop/images/28012025/18/37/image_28012025_18_37_46_9462.jpg', '/home/pi/Desktop/images/28012025/18/37/image_28012025_18_37_57_10763.jpg', '/home/pi/Desktop/images/28012025/18/37/image_28012025_18_38_06_9517.jpg', '/home/pi/Desktop/images/28012025/18/38/image_28012025_18_38_16_10445.jpg', '/home/pi/Desktop/images/28012025/18/38/image_28012025_18_38_26_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/37/image_28012025_18_37_36_10474.jpg
/home/pi/Desktop/images/28012025/18/37/image_28012025_18_37_46_9462.jpg
/home/pi/Desktop/images/28012025/18/37/image_28012025_18_37_57_10763.jpg
/home/pi/Desktop/images/28012025/18/37/image_28012025_18_38_06_9517.jpg
/home/pi/Desktop/images/28012025/18/38/image_28012025_18_38_16_10445.jpg
/home/pi/Desktop/images/28012025/18/38/image_28012025_18_38_26_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":["1332676455","1332676449","1332676443","1332676437","1332676460","1332676468"],"photo_ids_order":["1332676437","1332676443","1332676449","1332676455","1332676460","1332676468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bdaca89cbb92d79e06b29cfedd53cf3b.jpg","text":"TemporaryFile(/tmp/multipartBody8155816964263894493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162175031,"filename":"image_28012025_18_38_06_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/29/78eb86f1b6aa67e0aea7bfef91d238eb.jpg","text":"TemporaryFile(/tmp/multipartBody5630182009874561022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162175031,"filename":"image_28012025_18_37_57_10763.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bba060c6c87c25ebf3a8539235a07b08.jpg","text":"TemporaryFile(/tmp/multipartBody4042619665687775823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162175031,"filename":"image_28012025_18_37_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/29/22e63d01723128b1aee1baab03e6acac.jpg","text":"TemporaryFile(/tmp/multipartBody1194689310743134164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162175031,"filename":"image_28012025_18_37_36_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/29/96c992be3f37c3d2a0390d7737556790.jpg","text":"TemporaryFile(/tmp/multipartBody452827210905569743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162175031,"filename":"image_28012025_18_38_16_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/29/f2b81daf6206ad3429ab6a87c47c02f3.jpg","text":"TemporaryFile(/tmp/multipartBody6811139256175644039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162175031,"filename":"image_28012025_18_38_26_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332676449","file1":"1332676443","file0":"1332676437","file4":"1332676460","file5":"1332676468","file3":"1332676455"},"map_files_photo_id_array":[{"photo_id":"1332676468","filename":"file5"},{"photo_id":"1332676449","filename":"file2"},{"photo_id":"1332676460","filename":"file4"},{"photo_id":"1332676443","filename":"file1"},{"photo_id":"1332676437","filename":"file0"},{"photo_id":"1332676455","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332676455":["hashtag1","hashtag2"]},{"1332676449":["hashtag1","hashtag2"]},{"1332676443":["hashtag1","hashtag2"]},{"1332676437":["hashtag1","hashtag2"]},{"1332676460":["hashtag1","hashtag2"]},{"1332676468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332676455, 1332676449, 1332676443, 1332676437, 1332676460, 1332676468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24225902557373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:49:32.692182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/38/image_28012025_18_38_36_10501.jpg', '/home/pi/Desktop/images/28012025/18/38/image_28012025_18_38_46_9356.jpg', '/home/pi/Desktop/images/28012025/18/38/image_28012025_18_38_56_10369.jpg', '/home/pi/Desktop/images/28012025/18/38/image_28012025_18_39_06_10340.jpg', '/home/pi/Desktop/images/28012025/18/39/image_28012025_18_39_16_9436.jpg', '/home/pi/Desktop/images/28012025/18/39/image_28012025_18_39_26_10547.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/38/image_28012025_18_38_36_10501.jpg
/home/pi/Desktop/images/28012025/18/38/image_28012025_18_38_46_9356.jpg
/home/pi/Desktop/images/28012025/18/38/image_28012025_18_38_56_10369.jpg
/home/pi/Desktop/images/28012025/18/38/image_28012025_18_39_06_10340.jpg
/home/pi/Desktop/images/28012025/18/39/image_28012025_18_39_16_9436.jpg
/home/pi/Desktop/images/28012025/18/39/image_28012025_18_39_26_10547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332676513","1332676548","1332676524","1332676535","1332676531","1332676510"],"photo_ids_order":["1332676510","1332676513","1332676524","1332676531","1332676535","1332676548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6bf507218654743e0aeef6e7439e54e0.jpg","text":"TemporaryFile(/tmp/multipartBody1143081483037529134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162235267,"filename":"image_28012025_18_38_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/29/404d8a7e67049e2c51281ea20f64bc72.jpg","text":"TemporaryFile(/tmp/multipartBody5885425521284403570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162235267,"filename":"image_28012025_18_39_26_10547.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a75c1e1080cbc11e25870b9a7735824e.jpg","text":"TemporaryFile(/tmp/multipartBody5189679056867018762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162235267,"filename":"image_28012025_18_38_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/29/fa38cdd0b1f24195f18a8e60713bff45.jpg","text":"TemporaryFile(/tmp/multipartBody356332705581368795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162235267,"filename":"image_28012025_18_39_16_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/29/face547009a970fa5d105779daf3aa5d.jpg","text":"TemporaryFile(/tmp/multipartBody3277148171530352374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162235267,"filename":"image_28012025_18_39_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/29/db3d7273bebb156b82bfe41581ea473e.jpg","text":"TemporaryFile(/tmp/multipartBody7613685079094657386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162235267,"filename":"image_28012025_18_38_36_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332676524","file1":"1332676513","file0":"1332676510","file4":"1332676535","file5":"1332676548","file3":"1332676531"},"map_files_photo_id_array":[{"photo_id":"1332676548","filename":"file5"},{"photo_id":"1332676524","filename":"file2"},{"photo_id":"1332676535","filename":"file4"},{"photo_id":"1332676513","filename":"file1"},{"photo_id":"1332676510","filename":"file0"},{"photo_id":"1332676531","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332676513":["hashtag1","hashtag2"]},{"1332676548":["hashtag1","hashtag2"]},{"1332676524":["hashtag1","hashtag2"]},{"1332676535":["hashtag1","hashtag2"]},{"1332676531":["hashtag1","hashtag2"]},{"1332676510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332676513, 1332676548, 1332676524, 1332676535, 1332676531, 1332676510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35100293159485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:50:32.922982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/39/image_28012025_18_39_36_9361.jpg', '/home/pi/Desktop/images/28012025/18/39/image_28012025_18_39_56_9349.jpg', '/home/pi/Desktop/images/28012025/18/39/image_28012025_18_40_06_10338.jpg', '/home/pi/Desktop/images/28012025/18/40/image_28012025_18_40_16_10435.jpg', '/home/pi/Desktop/images/28012025/18/40/image_28012025_18_40_26_9358.jpg', '/home/pi/Desktop/images/28012025/18/40/image_28012025_18_40_36_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/39/image_28012025_18_39_36_9361.jpg
/home/pi/Desktop/images/28012025/18/39/image_28012025_18_39_56_9349.jpg
/home/pi/Desktop/images/28012025/18/39/image_28012025_18_40_06_10338.jpg
/home/pi/Desktop/images/28012025/18/40/image_28012025_18_40_16_10435.jpg
/home/pi/Desktop/images/28012025/18/40/image_28012025_18_40_26_9358.jpg
/home/pi/Desktop/images/28012025/18/40/image_28012025_18_40_36_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":["1332676612","1332676596","1332676607","1332676616","1332676621","1332676618"],"photo_ids_order":["1332676596","1332676607","1332676612","1332676616","1332676618","1332676621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3110e1bb2e68283d59ad2775924aca97.jpg","text":"TemporaryFile(/tmp/multipartBody2073010879591143227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162295443,"filename":"image_28012025_18_40_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/29/715c551280864a6d934dc7f296f9ee60.jpg","text":"TemporaryFile(/tmp/multipartBody9220344832632210689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162295443,"filename":"image_28012025_18_39_36_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/29/35df6b6c1574ebd376b2e36b1b26aaa6.jpg","text":"TemporaryFile(/tmp/multipartBody5960421305930376903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162295443,"filename":"image_28012025_18_39_56_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/29/52938bc2be5abc597dcfe9ad40e33dec.jpg","text":"TemporaryFile(/tmp/multipartBody1241261636642253582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162295443,"filename":"image_28012025_18_40_16_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/29/7e59f93cbe59e984c0c7fb8cf7c99b37.jpg","text":"TemporaryFile(/tmp/multipartBody768840893822480447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162295443,"filename":"image_28012025_18_40_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/29/a1a695d6ae96d17d2341ba587451fdde.jpg","text":"TemporaryFile(/tmp/multipartBody8086107069231428009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162295443,"filename":"image_28012025_18_40_26_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332676612","file1":"1332676607","file0":"1332676596","file4":"1332676618","file5":"1332676621","file3":"1332676616"},"map_files_photo_id_array":[{"photo_id":"1332676621","filename":"file5"},{"photo_id":"1332676612","filename":"file2"},{"photo_id":"1332676618","filename":"file4"},{"photo_id":"1332676607","filename":"file1"},{"photo_id":"1332676596","filename":"file0"},{"photo_id":"1332676616","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332676612":["hashtag1","hashtag2"]},{"1332676596":["hashtag1","hashtag2"]},{"1332676607":["hashtag1","hashtag2"]},{"1332676616":["hashtag1","hashtag2"]},{"1332676621":["hashtag1","hashtag2"]},{"1332676618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332676612, 1332676596, 1332676607, 1332676616, 1332676621, 1332676618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68865251541138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:51:32.175176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/40/image_28012025_18_40_47_10449.jpg', '/home/pi/Desktop/images/28012025/18/40/image_28012025_18_40_56_9350.jpg', '/home/pi/Desktop/images/28012025/18/40/image_28012025_18_41_06_10627.jpg', '/home/pi/Desktop/images/28012025/18/41/image_28012025_18_41_16_9343.jpg', '/home/pi/Desktop/images/28012025/18/41/image_28012025_18_41_26_10396.jpg', '/home/pi/Desktop/images/28012025/18/41/image_28012025_18_41_36_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/40/image_28012025_18_40_47_10449.jpg
/home/pi/Desktop/images/28012025/18/40/image_28012025_18_40_56_9350.jpg
/home/pi/Desktop/images/28012025/18/40/image_28012025_18_41_06_10627.jpg
/home/pi/Desktop/images/28012025/18/41/image_28012025_18_41_16_9343.jpg
/home/pi/Desktop/images/28012025/18/41/image_28012025_18_41_26_10396.jpg
/home/pi/Desktop/images/28012025/18/41/image_28012025_18_41_36_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":["1332677514","1332677145","1332676905","1332677747","1332677027","1332677290"],"photo_ids_order":["1332676905","1332677027","1332677145","1332677290","1332677514","1332677747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c2cede71d11a4c9662e94a9864bf6388.jpg","text":"TemporaryFile(/tmp/multipartBody3849332551987298984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162354702,"filename":"image_28012025_18_41_26_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/29/9040e0f9c62157cce1987574e2155663.jpg","text":"TemporaryFile(/tmp/multipartBody2888070049321752718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162354702,"filename":"image_28012025_18_41_06_10627.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/60477311aaccbdfba4b3b23d58169ba8.jpg","text":"TemporaryFile(/tmp/multipartBody6191469463470977829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162354702,"filename":"image_28012025_18_40_47_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/29/e6624e91ca878c738b43c29a094bc9af.jpg","text":"TemporaryFile(/tmp/multipartBody6429462934398534963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162354702,"filename":"image_28012025_18_41_36_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/29/59711102057e6bfe7ead835887c1b353.jpg","text":"TemporaryFile(/tmp/multipartBody7649798969520236978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162354702,"filename":"image_28012025_18_40_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/29/cfbc7eb624fa069e7afaa0ddba891d67.jpg","text":"TemporaryFile(/tmp/multipartBody5730179855815510324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162354702,"filename":"image_28012025_18_41_16_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332677145","file1":"1332677027","file0":"1332676905","file4":"1332677514","file5":"1332677747","file3":"1332677290"},"map_files_photo_id_array":[{"photo_id":"1332677747","filename":"file5"},{"photo_id":"1332677145","filename":"file2"},{"photo_id":"1332677514","filename":"file4"},{"photo_id":"1332677027","filename":"file1"},{"photo_id":"1332676905","filename":"file0"},{"photo_id":"1332677290","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332677514":["hashtag1","hashtag2"]},{"1332677145":["hashtag1","hashtag2"]},{"1332676905":["hashtag1","hashtag2"]},{"1332677747":["hashtag1","hashtag2"]},{"1332677027":["hashtag1","hashtag2"]},{"1332677290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332677514, 1332677145, 1332676905, 1332677747, 1332677027, 1332677290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98132658004761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:52:32.518732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/41/image_28012025_18_41_46_10854.jpg', '/home/pi/Desktop/images/28012025/18/41/image_28012025_18_41_56_9344.jpg', '/home/pi/Desktop/images/28012025/18/41/image_28012025_18_42_06_10450.jpg', '/home/pi/Desktop/images/28012025/18/42/image_28012025_18_42_16_9462.jpg', '/home/pi/Desktop/images/28012025/18/42/image_28012025_18_42_26_10363.jpg', '/home/pi/Desktop/images/28012025/18/42/image_28012025_18_42_37_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/41/image_28012025_18_41_46_10854.jpg
/home/pi/Desktop/images/28012025/18/41/image_28012025_18_41_56_9344.jpg
/home/pi/Desktop/images/28012025/18/41/image_28012025_18_42_06_10450.jpg
/home/pi/Desktop/images/28012025/18/42/image_28012025_18_42_16_9462.jpg
/home/pi/Desktop/images/28012025/18/42/image_28012025_18_42_26_10363.jpg
/home/pi/Desktop/images/28012025/18/42/image_28012025_18_42_37_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":["1332678329","1332678332","1332678265","1332678346","1332678270","1332678324"],"photo_ids_order":["1332678265","1332678270","1332678324","1332678329","1332678332","1332678346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2fec0de20ca9a096aed40cb1ab46ea0f.jpg","text":"TemporaryFile(/tmp/multipartBody7908186346563829412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162415060,"filename":"image_28012025_18_42_16_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/29/9a6e2da8c9f37bd65f63e371900efbdc.jpg","text":"TemporaryFile(/tmp/multipartBody84438260843889045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162415060,"filename":"image_28012025_18_42_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/29/fce9fd901e86bde5f8bc44beaeea3a53.jpg","text":"TemporaryFile(/tmp/multipartBody4838777383838514425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162415060,"filename":"image_28012025_18_41_46_10854.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d3e170a07f6809d767f77475cf025e0c.jpg","text":"TemporaryFile(/tmp/multipartBody3100568882589557388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162415060,"filename":"image_28012025_18_42_37_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/29/9bc37a6f8c54e00b0885469b1b4ac0ec.jpg","text":"TemporaryFile(/tmp/multipartBody3639248981076146089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162415060,"filename":"image_28012025_18_41_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/29/39ca2bac344433c3642df6ab1fa8cceb.jpg","text":"TemporaryFile(/tmp/multipartBody6691332727723206259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162415060,"filename":"image_28012025_18_42_06_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332678324","file1":"1332678270","file0":"1332678265","file4":"1332678332","file5":"1332678346","file3":"1332678329"},"map_files_photo_id_array":[{"photo_id":"1332678346","filename":"file5"},{"photo_id":"1332678324","filename":"file2"},{"photo_id":"1332678332","filename":"file4"},{"photo_id":"1332678270","filename":"file1"},{"photo_id":"1332678265","filename":"file0"},{"photo_id":"1332678329","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332678329":["hashtag1","hashtag2"]},{"1332678332":["hashtag1","hashtag2"]},{"1332678265":["hashtag1","hashtag2"]},{"1332678346":["hashtag1","hashtag2"]},{"1332678270":["hashtag1","hashtag2"]},{"1332678324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332678329, 1332678332, 1332678265, 1332678346, 1332678270, 1332678324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.56639361381531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:53:32.638613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/43/image_28012025_18_43_16_10463.jpg', '/home/pi/Desktop/images/28012025/18/43/image_28012025_18_43_26_9401.jpg', '/home/pi/Desktop/images/28012025/18/43/image_28012025_18_43_36_10333.jpg', '/home/pi/Desktop/images/28012025/18/43/image_28012025_18_43_46_10351.jpg', '/home/pi/Desktop/images/28012025/18/43/image_28012025_18_43_56_9347.jpg', '/home/pi/Desktop/images/28012025/18/43/image_28012025_18_44_06_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/43/image_28012025_18_43_16_10463.jpg
/home/pi/Desktop/images/28012025/18/43/image_28012025_18_43_26_9401.jpg
/home/pi/Desktop/images/28012025/18/43/image_28012025_18_43_36_10333.jpg
/home/pi/Desktop/images/28012025/18/43/image_28012025_18_43_46_10351.jpg
/home/pi/Desktop/images/28012025/18/43/image_28012025_18_43_56_9347.jpg
/home/pi/Desktop/images/28012025/18/43/image_28012025_18_44_06_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":["1332678818","1332678740","1332678821","1332678809","1332678774","1332678813"],"photo_ids_order":["1332678740","1332678774","1332678809","1332678813","1332678818","1332678821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cec7542d4591ceb23846e2529b556805.jpg","text":"TemporaryFile(/tmp/multipartBody4621558690443306930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162475179,"filename":"image_28012025_18_43_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/29/0065c05534eb9fafc1cd708496bc5e85.jpg","text":"TemporaryFile(/tmp/multipartBody1619260228558163092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162475179,"filename":"image_28012025_18_43_16_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/29/dac33f4e2885861c66caba7c6c1f6fdc.jpg","text":"TemporaryFile(/tmp/multipartBody99626516510173238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162475179,"filename":"image_28012025_18_44_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/29/5f870cf855b1fe034ca0bd651e155825.jpg","text":"TemporaryFile(/tmp/multipartBody6744460739690356108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162475179,"filename":"image_28012025_18_43_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/29/12d03b46221e0efb3583c76841c59491.jpg","text":"TemporaryFile(/tmp/multipartBody2389531489576763511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162475179,"filename":"image_28012025_18_43_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/29/b98e1e48852867a8832a85b7c5eb3ca3.jpg","text":"TemporaryFile(/tmp/multipartBody6626049799338421512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162475179,"filename":"image_28012025_18_43_46_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332678809","file1":"1332678774","file0":"1332678740","file4":"1332678818","file5":"1332678821","file3":"1332678813"},"map_files_photo_id_array":[{"photo_id":"1332678821","filename":"file5"},{"photo_id":"1332678809","filename":"file2"},{"photo_id":"1332678818","filename":"file4"},{"photo_id":"1332678774","filename":"file1"},{"photo_id":"1332678740","filename":"file0"},{"photo_id":"1332678813","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332678818":["hashtag1","hashtag2"]},{"1332678740":["hashtag1","hashtag2"]},{"1332678821":["hashtag1","hashtag2"]},{"1332678809":["hashtag1","hashtag2"]},{"1332678774":["hashtag1","hashtag2"]},{"1332678813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332678818, 1332678740, 1332678821, 1332678809, 1332678774, 1332678813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.92072653770447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:54:32.851305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/44/image_28012025_18_44_16_10334.jpg', '/home/pi/Desktop/images/28012025/18/44/image_28012025_18_44_26_9400.jpg', '/home/pi/Desktop/images/28012025/18/44/image_28012025_18_44_36_10474.jpg', '/home/pi/Desktop/images/28012025/18/44/image_28012025_18_44_46_9340.jpg', '/home/pi/Desktop/images/28012025/18/44/image_28012025_18_44_56_10348.jpg', '/home/pi/Desktop/images/28012025/18/44/image_28012025_18_45_06_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/44/image_28012025_18_44_16_10334.jpg
/home/pi/Desktop/images/28012025/18/44/image_28012025_18_44_26_9400.jpg
/home/pi/Desktop/images/28012025/18/44/image_28012025_18_44_36_10474.jpg
/home/pi/Desktop/images/28012025/18/44/image_28012025_18_44_46_9340.jpg
/home/pi/Desktop/images/28012025/18/44/image_28012025_18_44_56_10348.jpg
/home/pi/Desktop/images/28012025/18/44/image_28012025_18_45_06_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332679034","1332679037","1332679029","1332679014","1332679008","1332678998"],"photo_ids_order":["1332678998","1332679008","1332679014","1332679029","1332679034","1332679037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b40cd4a7ef0f078e8c00bba06dcfe236.jpg","text":"TemporaryFile(/tmp/multipartBody3427007947724725424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162535388,"filename":"image_28012025_18_44_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/29/218972657712d72878ddc96b02f86fc0.jpg","text":"TemporaryFile(/tmp/multipartBody5744630403699333887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162535388,"filename":"image_28012025_18_45_06_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/29/c7698600a754dcdf4e8d00db4f7eed97.jpg","text":"TemporaryFile(/tmp/multipartBody9031954319592298631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162535388,"filename":"image_28012025_18_44_46_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/29/cd6387f6cc6b12a6423821da4562df10.jpg","text":"TemporaryFile(/tmp/multipartBody4303290016872682282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162535388,"filename":"image_28012025_18_44_36_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/29/01d33c865947c9d84bf8e500a5a2b27f.jpg","text":"TemporaryFile(/tmp/multipartBody8340110126342297550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162535388,"filename":"image_28012025_18_44_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/29/181105a03638420bbd7ce46bfbfc44e1.jpg","text":"TemporaryFile(/tmp/multipartBody8512620404921672122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162535388,"filename":"image_28012025_18_44_16_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332679014","file1":"1332679008","file0":"1332678998","file4":"1332679034","file5":"1332679037","file3":"1332679029"},"map_files_photo_id_array":[{"photo_id":"1332679037","filename":"file5"},{"photo_id":"1332679014","filename":"file2"},{"photo_id":"1332679034","filename":"file4"},{"photo_id":"1332679008","filename":"file1"},{"photo_id":"1332678998","filename":"file0"},{"photo_id":"1332679029","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332679034":["hashtag1","hashtag2"]},{"1332679037":["hashtag1","hashtag2"]},{"1332679029":["hashtag1","hashtag2"]},{"1332679014":["hashtag1","hashtag2"]},{"1332679008":["hashtag1","hashtag2"]},{"1332678998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332679034, 1332679037, 1332679029, 1332679014, 1332679008, 1332678998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.162981033325195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:55:33.007080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/45/image_28012025_18_45_16_9328.jpg', '/home/pi/Desktop/images/28012025/18/45/image_28012025_18_45_26_10429.jpg', '/home/pi/Desktop/images/28012025/18/45/image_28012025_18_45_36_10358.jpg', '/home/pi/Desktop/images/28012025/18/45/image_28012025_18_45_46_9340.jpg', '/home/pi/Desktop/images/28012025/18/45/image_28012025_18_45_56_10471.jpg', '/home/pi/Desktop/images/28012025/18/45/image_28012025_18_46_06_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/45/image_28012025_18_45_16_9328.jpg
/home/pi/Desktop/images/28012025/18/45/image_28012025_18_45_26_10429.jpg
/home/pi/Desktop/images/28012025/18/45/image_28012025_18_45_36_10358.jpg
/home/pi/Desktop/images/28012025/18/45/image_28012025_18_45_46_9340.jpg
/home/pi/Desktop/images/28012025/18/45/image_28012025_18_45_56_10471.jpg
/home/pi/Desktop/images/28012025/18/45/image_28012025_18_46_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":["1332679643","1332679669","1332679612","1332679656","1332679638","1332679463"],"photo_ids_order":["1332679463","1332679612","1332679638","1332679643","1332679656","1332679669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ff9ec62e12df1ac19c5ca0e9ecc2fb6c.jpg","text":"TemporaryFile(/tmp/multipartBody8758454253716613880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162595551,"filename":"image_28012025_18_45_46_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/29/98fa3b9ece66414e41eedd20f4605ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2264173489662600324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162595551,"filename":"image_28012025_18_46_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/29/6be061860e09bad928dc5daa494135d1.jpg","text":"TemporaryFile(/tmp/multipartBody8715341840926036183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162595551,"filename":"image_28012025_18_45_26_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/29/089a7789b358a256590a3d5915838bb4.jpg","text":"TemporaryFile(/tmp/multipartBody6220458385800821416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162595551,"filename":"image_28012025_18_45_56_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/29/07268731a52b3dad56a5427f9b491688.jpg","text":"TemporaryFile(/tmp/multipartBody5022779543356440119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162595551,"filename":"image_28012025_18_45_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/29/e04411014ea9f55314330fa6bc536c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5447219972252643449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162595551,"filename":"image_28012025_18_45_16_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332679638","file1":"1332679612","file0":"1332679463","file4":"1332679656","file5":"1332679669","file3":"1332679643"},"map_files_photo_id_array":[{"photo_id":"1332679669","filename":"file5"},{"photo_id":"1332679638","filename":"file2"},{"photo_id":"1332679656","filename":"file4"},{"photo_id":"1332679612","filename":"file1"},{"photo_id":"1332679463","filename":"file0"},{"photo_id":"1332679643","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332679643":["hashtag1","hashtag2"]},{"1332679669":["hashtag1","hashtag2"]},{"1332679612":["hashtag1","hashtag2"]},{"1332679656":["hashtag1","hashtag2"]},{"1332679638":["hashtag1","hashtag2"]},{"1332679463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332679643, 1332679669, 1332679612, 1332679656, 1332679638, 1332679463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.022096157073975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:56:32.394223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/46/image_28012025_18_46_16_10336.jpg', '/home/pi/Desktop/images/28012025/18/46/image_28012025_18_46_26_10431.jpg', '/home/pi/Desktop/images/28012025/18/46/image_28012025_18_46_36_9346.jpg', '/home/pi/Desktop/images/28012025/18/46/image_28012025_18_46_46_10356.jpg', '/home/pi/Desktop/images/28012025/18/46/image_28012025_18_46_56_10410.jpg', '/home/pi/Desktop/images/28012025/18/46/image_28012025_18_47_06_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/46/image_28012025_18_46_16_10336.jpg
/home/pi/Desktop/images/28012025/18/46/image_28012025_18_46_26_10431.jpg
/home/pi/Desktop/images/28012025/18/46/image_28012025_18_46_36_9346.jpg
/home/pi/Desktop/images/28012025/18/46/image_28012025_18_46_46_10356.jpg
/home/pi/Desktop/images/28012025/18/46/image_28012025_18_46_56_10410.jpg
/home/pi/Desktop/images/28012025/18/46/image_28012025_18_47_06_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":["1332679733","1332679747","1332679738","1332679743","1332679740","1332679728"],"photo_ids_order":["1332679728","1332679733","1332679738","1332679740","1332679743","1332679747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5662ffaca3379d14a64c1f55126c6220.jpg","text":"TemporaryFile(/tmp/multipartBody97439658026570190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162654933,"filename":"image_28012025_18_46_26_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/29/8cd8f437aa53496258d913e4c020c033.jpg","text":"TemporaryFile(/tmp/multipartBody5578323230777661538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162654933,"filename":"image_28012025_18_47_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/29/318d694bbc24b293178497058a805773.jpg","text":"TemporaryFile(/tmp/multipartBody7095919809306972177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162654933,"filename":"image_28012025_18_46_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/29/1ab0691153b104a7097bfc96282666fc.jpg","text":"TemporaryFile(/tmp/multipartBody8744080813968445458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162654933,"filename":"image_28012025_18_46_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/29/6046ae6f545ea6fd1fdf56f6cefc9b6e.jpg","text":"TemporaryFile(/tmp/multipartBody5252230865897873454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162654933,"filename":"image_28012025_18_46_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/29/2bbae500e368cd9ec9a7d4e9397026be.jpg","text":"TemporaryFile(/tmp/multipartBody3893358436939097660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162654933,"filename":"image_28012025_18_46_16_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332679738","file1":"1332679733","file0":"1332679728","file4":"1332679743","file5":"1332679747","file3":"1332679740"},"map_files_photo_id_array":[{"photo_id":"1332679747","filename":"file5"},{"photo_id":"1332679738","filename":"file2"},{"photo_id":"1332679743","filename":"file4"},{"photo_id":"1332679733","filename":"file1"},{"photo_id":"1332679728","filename":"file0"},{"photo_id":"1332679740","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332679733":["hashtag1","hashtag2"]},{"1332679747":["hashtag1","hashtag2"]},{"1332679738":["hashtag1","hashtag2"]},{"1332679743":["hashtag1","hashtag2"]},{"1332679740":["hashtag1","hashtag2"]},{"1332679728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332679733, 1332679747, 1332679738, 1332679743, 1332679740, 1332679728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14709115028381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 15:57:32.622242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_16_10403.jpg', '/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_26_9370.jpg', '/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_36_10408.jpg', '/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_46_10399.jpg', '/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_56_9351.jpg', '/home/pi/Desktop/images/28012025/18/47/image_28012025_18_48_06_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_16_10403.jpg
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_26_9370.jpg
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_36_10408.jpg
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_46_10399.jpg
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_56_9351.jpg
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_48_06_10347.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-29 15:59:04.324493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_16_10403.jpg', '/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_26_9370.jpg', '/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_36_10408.jpg', '/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_46_10399.jpg', '/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_56_9351.jpg', '/home/pi/Desktop/images/28012025/18/47/image_28012025_18_48_06_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_16_10403.jpg
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_26_9370.jpg
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_36_10408.jpg
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_46_10399.jpg
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_47_56_9351.jpg
/home/pi/Desktop/images/28012025/18/47/image_28012025_18_48_06_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":["1332680504","1332680497","1332680491","1332680515","1332680518","1332680511"],"photo_ids_order":["1332680491","1332680497","1332680504","1332680511","1332680515","1332680518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/72aaf9e944c3cef668280e1be0af0db4.jpg","text":"TemporaryFile(/tmp/multipartBody420545166720330779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162806103,"filename":"image_28012025_18_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/29/899623bf644f3d0c76ba8e0ed600ffcb.jpg","text":"TemporaryFile(/tmp/multipartBody5946442005380548214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162806103,"filename":"image_28012025_18_47_26_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/29/92499c8be0078c61276eec8946d07065.jpg","text":"TemporaryFile(/tmp/multipartBody2716353942660523416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162806103,"filename":"image_28012025_18_47_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/29/06df8abb8910ae23fe37fb1084b262d6.jpg","text":"TemporaryFile(/tmp/multipartBody3169462351994434030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162806103,"filename":"image_28012025_18_47_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/29/6f24bb7dd76e75bba29773a7ab87ed01.jpg","text":"TemporaryFile(/tmp/multipartBody4792198694493448082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162806103,"filename":"image_28012025_18_48_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/29/15af3a049c69cb1e334d54d2fac4612d.jpg","text":"TemporaryFile(/tmp/multipartBody1348389583076711492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162806103,"filename":"image_28012025_18_47_46_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332680504","file1":"1332680497","file0":"1332680491","file4":"1332680515","file5":"1332680518","file3":"1332680511"},"map_files_photo_id_array":[{"photo_id":"1332680518","filename":"file5"},{"photo_id":"1332680504","filename":"file2"},{"photo_id":"1332680515","filename":"file4"},{"photo_id":"1332680497","filename":"file1"},{"photo_id":"1332680491","filename":"file0"},{"photo_id":"1332680511","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332680504":["hashtag1","hashtag2"]},{"1332680497":["hashtag1","hashtag2"]},{"1332680491":["hashtag1","hashtag2"]},{"1332680515":["hashtag1","hashtag2"]},{"1332680518":["hashtag1","hashtag2"]},{"1332680511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332680504, 1332680497, 1332680491, 1332680515, 1332680518, 1332680511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.69644331932068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 15:59:53.180082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/48/image_28012025_18_48_16_10418.jpg', '/home/pi/Desktop/images/28012025/18/48/image_28012025_18_48_26_9356.jpg', '/home/pi/Desktop/images/28012025/18/48/image_28012025_18_48_36_10448.jpg', '/home/pi/Desktop/images/28012025/18/48/image_28012025_18_48_56_10364.jpg', '/home/pi/Desktop/images/28012025/18/48/image_28012025_18_49_06_10332.jpg', '/home/pi/Desktop/images/28012025/18/49/image_28012025_18_49_16_9393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/48/image_28012025_18_48_16_10418.jpg
/home/pi/Desktop/images/28012025/18/48/image_28012025_18_48_26_9356.jpg
/home/pi/Desktop/images/28012025/18/48/image_28012025_18_48_36_10448.jpg
/home/pi/Desktop/images/28012025/18/48/image_28012025_18_48_56_10364.jpg
/home/pi/Desktop/images/28012025/18/48/image_28012025_18_49_06_10332.jpg
/home/pi/Desktop/images/28012025/18/49/image_28012025_18_49_16_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332680693","1332680687","1332680681","1332680708","1332680697","1332680703"],"photo_ids_order":["1332680681","1332680687","1332680693","1332680697","1332680703","1332680708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9321e6a972c77bfffec855dcc9eccef7.jpg","text":"TemporaryFile(/tmp/multipartBody5630473749450082509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162855722,"filename":"image_28012025_18_48_36_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/29/f1b1e4bc7d9939fe20487fa3f2faf054.jpg","text":"TemporaryFile(/tmp/multipartBody9114759726934348277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162855722,"filename":"image_28012025_18_48_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/29/c94444a195e4f9737779859e906551ed.jpg","text":"TemporaryFile(/tmp/multipartBody1426544756535293338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162855722,"filename":"image_28012025_18_48_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/29/85ebc31fba049387a7c174d92d5ca45c.jpg","text":"TemporaryFile(/tmp/multipartBody6386363854361344884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162855722,"filename":"image_28012025_18_49_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/29/31b62792b04653662fd9d8ba10a3015d.jpg","text":"TemporaryFile(/tmp/multipartBody8271854421107046684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162855722,"filename":"image_28012025_18_48_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/29/8013b13bb213add5235fdef08abe69ea.jpg","text":"TemporaryFile(/tmp/multipartBody2033562903537545102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162855722,"filename":"image_28012025_18_49_06_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332680693","file1":"1332680687","file0":"1332680681","file4":"1332680703","file5":"1332680708","file3":"1332680697"},"map_files_photo_id_array":[{"photo_id":"1332680708","filename":"file5"},{"photo_id":"1332680693","filename":"file2"},{"photo_id":"1332680703","filename":"file4"},{"photo_id":"1332680687","filename":"file1"},{"photo_id":"1332680681","filename":"file0"},{"photo_id":"1332680697","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332680693":["hashtag1","hashtag2"]},{"1332680687":["hashtag1","hashtag2"]},{"1332680681":["hashtag1","hashtag2"]},{"1332680708":["hashtag1","hashtag2"]},{"1332680697":["hashtag1","hashtag2"]},{"1332680703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332680693, 1332680687, 1332680681, 1332680708, 1332680697, 1332680703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92291712760925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 16:00:42.321117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/49/image_28012025_18_49_36_9436.jpg', '/home/pi/Desktop/images/28012025/18/49/image_28012025_18_49_46_10361.jpg', '/home/pi/Desktop/images/28012025/18/49/image_28012025_18_49_56_10366.jpg', '/home/pi/Desktop/images/28012025/18/49/image_28012025_18_50_06_9402.jpg', '/home/pi/Desktop/images/28012025/18/50/image_28012025_18_50_16_10373.jpg', '/home/pi/Desktop/images/28012025/18/50/image_28012025_18_50_26_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/49/image_28012025_18_49_36_9436.jpg
/home/pi/Desktop/images/28012025/18/49/image_28012025_18_49_46_10361.jpg
/home/pi/Desktop/images/28012025/18/49/image_28012025_18_49_56_10366.jpg
/home/pi/Desktop/images/28012025/18/49/image_28012025_18_50_06_9402.jpg
/home/pi/Desktop/images/28012025/18/50/image_28012025_18_50_16_10373.jpg
/home/pi/Desktop/images/28012025/18/50/image_28012025_18_50_26_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332680741","1332680738","1332680731","1332680734","1332680859","1332680745"],"photo_ids_order":["1332680731","1332680734","1332680738","1332680741","1332680745","1332680859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e6d86530e6a69c0258de1d3bbffd7a1d.jpg","text":"TemporaryFile(/tmp/multipartBody3566055259601115484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162904041,"filename":"image_28012025_18_50_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/29/b333b673908bc7db0ea7054a666c5bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4352221545245866022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162904041,"filename":"image_28012025_18_49_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/29/9734c8107ecfd2dcec4f01ca1ab2bb87.jpg","text":"TemporaryFile(/tmp/multipartBody566247090616741097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162904041,"filename":"image_28012025_18_49_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/29/a509ed0ea177ef50f7cd833936c01f43.jpg","text":"TemporaryFile(/tmp/multipartBody2225011081871787789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162904041,"filename":"image_28012025_18_49_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/29/75fccd377cc30a1e8b2434dacb1679c6.jpg","text":"TemporaryFile(/tmp/multipartBody1881395712513913835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162904041,"filename":"image_28012025_18_50_26_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/29/9f80fd01554b8f45edc4d2ca0b352b32.jpg","text":"TemporaryFile(/tmp/multipartBody5294698556892790633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162904041,"filename":"image_28012025_18_50_16_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332680738","file1":"1332680734","file0":"1332680731","file4":"1332680745","file5":"1332680859","file3":"1332680741"},"map_files_photo_id_array":[{"photo_id":"1332680859","filename":"file5"},{"photo_id":"1332680738","filename":"file2"},{"photo_id":"1332680745","filename":"file4"},{"photo_id":"1332680734","filename":"file1"},{"photo_id":"1332680731","filename":"file0"},{"photo_id":"1332680741","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332680741":["hashtag1","hashtag2"]},{"1332680738":["hashtag1","hashtag2"]},{"1332680731":["hashtag1","hashtag2"]},{"1332680734":["hashtag1","hashtag2"]},{"1332680859":["hashtag1","hashtag2"]},{"1332680745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332680741, 1332680738, 1332680731, 1332680734, 1332680859, 1332680745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9754433631897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:01:32.510280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/50/image_28012025_18_50_36_9360.jpg', '/home/pi/Desktop/images/28012025/18/50/image_28012025_18_50_46_10412.jpg', '/home/pi/Desktop/images/28012025/18/50/image_28012025_18_50_56_9331.jpg', '/home/pi/Desktop/images/28012025/18/50/image_28012025_18_51_06_10345.jpg', '/home/pi/Desktop/images/28012025/18/51/image_28012025_18_51_16_10452.jpg', '/home/pi/Desktop/images/28012025/18/51/image_28012025_18_51_26_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/50/image_28012025_18_50_36_9360.jpg
/home/pi/Desktop/images/28012025/18/50/image_28012025_18_50_46_10412.jpg
/home/pi/Desktop/images/28012025/18/50/image_28012025_18_50_56_9331.jpg
/home/pi/Desktop/images/28012025/18/50/image_28012025_18_51_06_10345.jpg
/home/pi/Desktop/images/28012025/18/51/image_28012025_18_51_16_10452.jpg
/home/pi/Desktop/images/28012025/18/51/image_28012025_18_51_26_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":["1332681728","1332681716","1332681724","1332681732","1332681720","1332681726"],"photo_ids_order":["1332681716","1332681720","1332681724","1332681726","1332681728","1332681732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4b4bdb1911a045612bb96e7b1701b99d.jpg","text":"TemporaryFile(/tmp/multipartBody2305378368937157921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162955060,"filename":"image_28012025_18_51_16_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/29/45d184bdbce7245185ce4784c805b96d.jpg","text":"TemporaryFile(/tmp/multipartBody1131042888634228727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162955060,"filename":"image_28012025_18_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/29/a40d4ee38abb1a73368278bcdb50720a.jpg","text":"TemporaryFile(/tmp/multipartBody1961833898094754294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162955060,"filename":"image_28012025_18_50_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/29/0f98a017839779bfadab11759fbc8110.jpg","text":"TemporaryFile(/tmp/multipartBody8682791183791656968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162955060,"filename":"image_28012025_18_51_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/29/eb9bfd9b2ee77f21e3627d846ec39ba1.jpg","text":"TemporaryFile(/tmp/multipartBody4523727809459854529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162955060,"filename":"image_28012025_18_50_46_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/29/c3d2a9ea7b2695e5774702c6a07ee674.jpg","text":"TemporaryFile(/tmp/multipartBody2897999178719997748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738162955060,"filename":"image_28012025_18_51_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332681724","file1":"1332681720","file0":"1332681716","file4":"1332681728","file5":"1332681732","file3":"1332681726"},"map_files_photo_id_array":[{"photo_id":"1332681732","filename":"file5"},{"photo_id":"1332681724","filename":"file2"},{"photo_id":"1332681728","filename":"file4"},{"photo_id":"1332681720","filename":"file1"},{"photo_id":"1332681716","filename":"file0"},{"photo_id":"1332681726","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332681728":["hashtag1","hashtag2"]},{"1332681716":["hashtag1","hashtag2"]},{"1332681724":["hashtag1","hashtag2"]},{"1332681732":["hashtag1","hashtag2"]},{"1332681720":["hashtag1","hashtag2"]},{"1332681726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332681728, 1332681716, 1332681724, 1332681732, 1332681720, 1332681726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73432946205139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:02:32.803486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/51/image_28012025_18_51_36_10342.jpg', '/home/pi/Desktop/images/28012025/18/51/image_28012025_18_51_47_10459.jpg', '/home/pi/Desktop/images/28012025/18/51/image_28012025_18_52_06_10420.jpg', '/home/pi/Desktop/images/28012025/18/52/image_28012025_18_52_16_9350.jpg', '/home/pi/Desktop/images/28012025/18/52/image_28012025_18_52_26_10381.jpg', '/home/pi/Desktop/images/28012025/18/52/image_28012025_18_52_36_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/51/image_28012025_18_51_36_10342.jpg
/home/pi/Desktop/images/28012025/18/51/image_28012025_18_51_47_10459.jpg
/home/pi/Desktop/images/28012025/18/51/image_28012025_18_52_06_10420.jpg
/home/pi/Desktop/images/28012025/18/52/image_28012025_18_52_16_9350.jpg
/home/pi/Desktop/images/28012025/18/52/image_28012025_18_52_26_10381.jpg
/home/pi/Desktop/images/28012025/18/52/image_28012025_18_52_36_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":["1332681772","1332681781","1332682204","1332681913","1332681798","1332681792"],"photo_ids_order":["1332681772","1332681781","1332681792","1332681798","1332681913","1332682204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0d0b9b5f01b5edeaae874081f0e4c165.jpg","text":"TemporaryFile(/tmp/multipartBody8798867508298810989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163015348,"filename":"image_28012025_18_51_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/29/d190607579095b553755cdc6a58057f6.jpg","text":"TemporaryFile(/tmp/multipartBody1664564646096281745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163015348,"filename":"image_28012025_18_51_47_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/29/ab793d3939f9f50c0789ab82a6963512.jpg","text":"TemporaryFile(/tmp/multipartBody559161526880218727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163015348,"filename":"image_28012025_18_52_36_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/29/92c7539eae07f66a3d07b8f8ea2532cc.jpg","text":"TemporaryFile(/tmp/multipartBody8621722189849144829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163015348,"filename":"image_28012025_18_52_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/29/265856f4e0eea1789ae4bf7bb6f38158.jpg","text":"TemporaryFile(/tmp/multipartBody7790301026255677516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163015348,"filename":"image_28012025_18_52_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/29/620f616f688a799b64aa1aaae80a4db7.jpg","text":"TemporaryFile(/tmp/multipartBody338002885404291601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163015348,"filename":"image_28012025_18_52_06_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332681792","file1":"1332681781","file0":"1332681772","file4":"1332681913","file5":"1332682204","file3":"1332681798"},"map_files_photo_id_array":[{"photo_id":"1332682204","filename":"file5"},{"photo_id":"1332681792","filename":"file2"},{"photo_id":"1332681913","filename":"file4"},{"photo_id":"1332681781","filename":"file1"},{"photo_id":"1332681772","filename":"file0"},{"photo_id":"1332681798","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332681772":["hashtag1","hashtag2"]},{"1332681781":["hashtag1","hashtag2"]},{"1332682204":["hashtag1","hashtag2"]},{"1332681913":["hashtag1","hashtag2"]},{"1332681798":["hashtag1","hashtag2"]},{"1332681792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332681772, 1332681781, 1332682204, 1332681913, 1332681798, 1332681792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.96869397163391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:03:33.063247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/52/image_28012025_18_52_46_9357.jpg', '/home/pi/Desktop/images/28012025/18/52/image_28012025_18_52_56_10430.jpg', '/home/pi/Desktop/images/28012025/18/52/image_28012025_18_53_06_9364.jpg', '/home/pi/Desktop/images/28012025/18/53/image_28012025_18_53_26_10481.jpg', '/home/pi/Desktop/images/28012025/18/53/image_28012025_18_53_36_9353.jpg', '/home/pi/Desktop/images/28012025/18/53/image_28012025_18_53_46_10499.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/52/image_28012025_18_52_46_9357.jpg
/home/pi/Desktop/images/28012025/18/52/image_28012025_18_52_56_10430.jpg
/home/pi/Desktop/images/28012025/18/52/image_28012025_18_53_06_9364.jpg
/home/pi/Desktop/images/28012025/18/53/image_28012025_18_53_26_10481.jpg
/home/pi/Desktop/images/28012025/18/53/image_28012025_18_53_36_9353.jpg
/home/pi/Desktop/images/28012025/18/53/image_28012025_18_53_46_10499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332682336","1332682330","1332682333","1332682338","1332682343","1332682340"],"photo_ids_order":["1332682330","1332682333","1332682336","1332682338","1332682340","1332682343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4116999be3b05941e5198916a9589955.jpg","text":"TemporaryFile(/tmp/multipartBody2967210235447015906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163075584,"filename":"image_28012025_18_53_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/29/046aeae163c03439013e1404a7987015.jpg","text":"TemporaryFile(/tmp/multipartBody2129845553274309670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163075584,"filename":"image_28012025_18_52_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/29/e78aaf45a5c87eea97731f0670b29276.jpg","text":"TemporaryFile(/tmp/multipartBody697114239823304947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163075584,"filename":"image_28012025_18_52_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/29/eb44ac6d6f60a07b1985dd35aee38c74.jpg","text":"TemporaryFile(/tmp/multipartBody3872038796515600528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163075584,"filename":"image_28012025_18_53_26_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/29/a82049ee72e30f723428cf86632eb8a9.jpg","text":"TemporaryFile(/tmp/multipartBody4677512361745731523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163075584,"filename":"image_28012025_18_53_46_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f96f4269c5079bb9e65c804af143e1d9.jpg","text":"TemporaryFile(/tmp/multipartBody7741887638720809149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163075584,"filename":"image_28012025_18_53_36_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332682336","file1":"1332682333","file0":"1332682330","file4":"1332682340","file5":"1332682343","file3":"1332682338"},"map_files_photo_id_array":[{"photo_id":"1332682343","filename":"file5"},{"photo_id":"1332682336","filename":"file2"},{"photo_id":"1332682340","filename":"file4"},{"photo_id":"1332682333","filename":"file1"},{"photo_id":"1332682330","filename":"file0"},{"photo_id":"1332682338","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332682336":["hashtag1","hashtag2"]},{"1332682330":["hashtag1","hashtag2"]},{"1332682333":["hashtag1","hashtag2"]},{"1332682338":["hashtag1","hashtag2"]},{"1332682343":["hashtag1","hashtag2"]},{"1332682340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332682336, 1332682330, 1332682333, 1332682338, 1332682343, 1332682340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.131898164749146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:04:32.260131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/53/image_28012025_18_53_56_9349.jpg', '/home/pi/Desktop/images/28012025/18/53/image_28012025_18_54_06_10420.jpg', '/home/pi/Desktop/images/28012025/18/54/image_28012025_18_54_16_10335.jpg', '/home/pi/Desktop/images/28012025/18/54/image_28012025_18_54_26_9356.jpg', '/home/pi/Desktop/images/28012025/18/54/image_28012025_18_54_36_10353.jpg', '/home/pi/Desktop/images/28012025/18/54/image_28012025_18_54_46_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/53/image_28012025_18_53_56_9349.jpg
/home/pi/Desktop/images/28012025/18/53/image_28012025_18_54_06_10420.jpg
/home/pi/Desktop/images/28012025/18/54/image_28012025_18_54_16_10335.jpg
/home/pi/Desktop/images/28012025/18/54/image_28012025_18_54_26_9356.jpg
/home/pi/Desktop/images/28012025/18/54/image_28012025_18_54_36_10353.jpg
/home/pi/Desktop/images/28012025/18/54/image_28012025_18_54_46_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332682372","1332682375","1332682384","1332682363","1332682368","1332682379"],"photo_ids_order":["1332682363","1332682368","1332682372","1332682375","1332682379","1332682384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1a17e3840e750a0e31f40a671a44a5e8.jpg","text":"TemporaryFile(/tmp/multipartBody5250620628981243596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163134767,"filename":"image_28012025_18_54_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/29/bf1b6791462b006db71f12971d08d29b.jpg","text":"TemporaryFile(/tmp/multipartBody4261705020223833632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163134767,"filename":"image_28012025_18_54_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/29/40cd7c3d9537d4008e7988a80ba267b8.jpg","text":"TemporaryFile(/tmp/multipartBody741048395204081129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163134767,"filename":"image_28012025_18_54_46_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/29/2256b558fdc54dc71e0bc62476d93cff.jpg","text":"TemporaryFile(/tmp/multipartBody3451797265793391568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163134767,"filename":"image_28012025_18_53_56_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/29/a7d44b073f6e6fffa420bdccaa0b0e3e.jpg","text":"TemporaryFile(/tmp/multipartBody3274292100880738034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163134767,"filename":"image_28012025_18_54_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/29/335bd48cfbae6b60f9ed82c893559167.jpg","text":"TemporaryFile(/tmp/multipartBody4469717289806093228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163134767,"filename":"image_28012025_18_54_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332682372","file1":"1332682368","file0":"1332682363","file4":"1332682379","file5":"1332682384","file3":"1332682375"},"map_files_photo_id_array":[{"photo_id":"1332682384","filename":"file5"},{"photo_id":"1332682372","filename":"file2"},{"photo_id":"1332682379","filename":"file4"},{"photo_id":"1332682368","filename":"file1"},{"photo_id":"1332682363","filename":"file0"},{"photo_id":"1332682375","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332682372":["hashtag1","hashtag2"]},{"1332682375":["hashtag1","hashtag2"]},{"1332682384":["hashtag1","hashtag2"]},{"1332682363":["hashtag1","hashtag2"]},{"1332682368":["hashtag1","hashtag2"]},{"1332682379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332682372, 1332682375, 1332682384, 1332682363, 1332682368, 1332682379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56955575942993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:05:32.579884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/54/image_28012025_18_54_56_10416.jpg', '/home/pi/Desktop/images/28012025/18/54/image_28012025_18_55_06_10397.jpg', '/home/pi/Desktop/images/28012025/18/55/image_28012025_18_55_16_9336.jpg', '/home/pi/Desktop/images/28012025/18/55/image_28012025_18_55_26_10493.jpg', '/home/pi/Desktop/images/28012025/18/55/image_28012025_18_55_36_9350.jpg', '/home/pi/Desktop/images/28012025/18/55/image_28012025_18_55_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/54/image_28012025_18_54_56_10416.jpg
/home/pi/Desktop/images/28012025/18/54/image_28012025_18_55_06_10397.jpg
/home/pi/Desktop/images/28012025/18/55/image_28012025_18_55_16_9336.jpg
/home/pi/Desktop/images/28012025/18/55/image_28012025_18_55_26_10493.jpg
/home/pi/Desktop/images/28012025/18/55/image_28012025_18_55_36_9350.jpg
/home/pi/Desktop/images/28012025/18/55/image_28012025_18_55_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":["1332682570","1332682582","1332682426","1332682578","1332682422","1332682532"],"photo_ids_order":["1332682422","1332682426","1332682532","1332682570","1332682578","1332682582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ec80e3ad924cbca83ed99ec327f251f2.jpg","text":"TemporaryFile(/tmp/multipartBody2329999464255642456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163195131,"filename":"image_28012025_18_55_26_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/29/5b1a054371461063ef5be9a29f1b4526.jpg","text":"TemporaryFile(/tmp/multipartBody7987041467991344951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163195131,"filename":"image_28012025_18_55_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/29/8f1e3b9e85c18e7baae1406004456ffb.jpg","text":"TemporaryFile(/tmp/multipartBody8433926526488602201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163195131,"filename":"image_28012025_18_55_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/29/b1206f1c822413a87663ddaa9944f758.jpg","text":"TemporaryFile(/tmp/multipartBody5147789755862543837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163195131,"filename":"image_28012025_18_55_36_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/29/4921857489c4846d117c5965b9e92577.jpg","text":"TemporaryFile(/tmp/multipartBody7630788638004830859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163195131,"filename":"image_28012025_18_54_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/29/7a79721a958958cda5ed2f407ddd75ce.jpg","text":"TemporaryFile(/tmp/multipartBody8756473208293245054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163195131,"filename":"image_28012025_18_55_16_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332682532","file1":"1332682426","file0":"1332682422","file4":"1332682578","file5":"1332682582","file3":"1332682570"},"map_files_photo_id_array":[{"photo_id":"1332682582","filename":"file5"},{"photo_id":"1332682532","filename":"file2"},{"photo_id":"1332682578","filename":"file4"},{"photo_id":"1332682426","filename":"file1"},{"photo_id":"1332682422","filename":"file0"},{"photo_id":"1332682570","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332682570":["hashtag1","hashtag2"]},{"1332682582":["hashtag1","hashtag2"]},{"1332682426":["hashtag1","hashtag2"]},{"1332682578":["hashtag1","hashtag2"]},{"1332682422":["hashtag1","hashtag2"]},{"1332682532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332682570, 1332682582, 1332682426, 1332682578, 1332682422, 1332682532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.61672258377075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:06:32.756841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/55/image_28012025_18_55_56_10470.jpg', '/home/pi/Desktop/images/28012025/18/55/image_28012025_18_56_06_9340.jpg', '/home/pi/Desktop/images/28012025/18/56/image_28012025_18_56_16_10407.jpg', '/home/pi/Desktop/images/28012025/18/56/image_28012025_18_56_26_10368.jpg', '/home/pi/Desktop/images/28012025/18/56/image_28012025_18_56_36_9427.jpg', '/home/pi/Desktop/images/28012025/18/56/image_28012025_18_56_46_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/55/image_28012025_18_55_56_10470.jpg
/home/pi/Desktop/images/28012025/18/55/image_28012025_18_56_06_9340.jpg
/home/pi/Desktop/images/28012025/18/56/image_28012025_18_56_16_10407.jpg
/home/pi/Desktop/images/28012025/18/56/image_28012025_18_56_26_10368.jpg
/home/pi/Desktop/images/28012025/18/56/image_28012025_18_56_36_9427.jpg
/home/pi/Desktop/images/28012025/18/56/image_28012025_18_56_46_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":["1332683809","1332683811","1332683805","1332683513","1332683254","1332682805"],"photo_ids_order":["1332682805","1332683254","1332683513","1332683805","1332683809","1332683811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ae46094a8c565883677bc545d45d0515.jpg","text":"TemporaryFile(/tmp/multipartBody789699997797894855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163255271,"filename":"image_28012025_18_56_36_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/29/4927098b369568530ddf920f9c3f820a.jpg","text":"TemporaryFile(/tmp/multipartBody1006712481319428050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163255271,"filename":"image_28012025_18_56_46_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/29/754298d2e3c6835ec4b37ea5b45b92c0.jpg","text":"TemporaryFile(/tmp/multipartBody5206411461896975434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163255271,"filename":"image_28012025_18_56_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/29/65076290cf554c72c3c918362c3723d3.jpg","text":"TemporaryFile(/tmp/multipartBody3716738107361631714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163255271,"filename":"image_28012025_18_56_16_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/29/123016e72ad667b232bf7d0c44dc8c87.jpg","text":"TemporaryFile(/tmp/multipartBody6790454311765217641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163255271,"filename":"image_28012025_18_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/29/3b413f77407425feaa758153e3cbfc95.jpg","text":"TemporaryFile(/tmp/multipartBody3566054772288263133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163255271,"filename":"image_28012025_18_55_56_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332683513","file1":"1332683254","file0":"1332682805","file4":"1332683809","file5":"1332683811","file3":"1332683805"},"map_files_photo_id_array":[{"photo_id":"1332683811","filename":"file5"},{"photo_id":"1332683513","filename":"file2"},{"photo_id":"1332683809","filename":"file4"},{"photo_id":"1332683254","filename":"file1"},{"photo_id":"1332682805","filename":"file0"},{"photo_id":"1332683805","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332683809":["hashtag1","hashtag2"]},{"1332683811":["hashtag1","hashtag2"]},{"1332683805":["hashtag1","hashtag2"]},{"1332683513":["hashtag1","hashtag2"]},{"1332683254":["hashtag1","hashtag2"]},{"1332682805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332683809, 1332683811, 1332683805, 1332683513, 1332683254, 1332682805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.02520728111267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:07:33.095462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/56/image_28012025_18_56_56_9339.jpg', '/home/pi/Desktop/images/28012025/18/56/image_28012025_18_57_06_10339.jpg', '/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_16_10444.jpg', '/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_26_9357.jpg', '/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_36_10474.jpg', '/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_46_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/56/image_28012025_18_56_56_9339.jpg
/home/pi/Desktop/images/28012025/18/56/image_28012025_18_57_06_10339.jpg
/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_16_10444.jpg
/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_26_9357.jpg
/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_36_10474.jpg
/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_46_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":["1332684001","1332683994","1332683898","1332683904","1332684005","1332683887"],"photo_ids_order":["1332683887","1332683898","1332683904","1332683994","1332684001","1332684005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5493655256a6d1f9fc5dd221b6b7adfd.jpg","text":"TemporaryFile(/tmp/multipartBody2990539336877561116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163315598,"filename":"image_28012025_18_57_36_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/29/b0f3ec4f377440eb7eb526ea53613b62.jpg","text":"TemporaryFile(/tmp/multipartBody4925170963751283968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163315598,"filename":"image_28012025_18_57_26_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/29/755b20348471173908a2d088cb2ea883.jpg","text":"TemporaryFile(/tmp/multipartBody9133782559631487026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163315598,"filename":"image_28012025_18_57_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/29/730a1a38899145b5a540ba93a9241e7e.jpg","text":"TemporaryFile(/tmp/multipartBody1873358104357594138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163315598,"filename":"image_28012025_18_57_16_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/29/e631f9fc8221b16cc9b6db80b923be82.jpg","text":"TemporaryFile(/tmp/multipartBody4896082482366654018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163315598,"filename":"image_28012025_18_57_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/29/6b14294bf803430105da74b83826cd07.jpg","text":"TemporaryFile(/tmp/multipartBody8578204047871760944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163315598,"filename":"image_28012025_18_56_56_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332683904","file1":"1332683898","file0":"1332683887","file4":"1332684001","file5":"1332684005","file3":"1332683994"},"map_files_photo_id_array":[{"photo_id":"1332684005","filename":"file5"},{"photo_id":"1332683904","filename":"file2"},{"photo_id":"1332684001","filename":"file4"},{"photo_id":"1332683898","filename":"file1"},{"photo_id":"1332683887","filename":"file0"},{"photo_id":"1332683994","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332684001":["hashtag1","hashtag2"]},{"1332683994":["hashtag1","hashtag2"]},{"1332683898":["hashtag1","hashtag2"]},{"1332683904":["hashtag1","hashtag2"]},{"1332684005":["hashtag1","hashtag2"]},{"1332683887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332684001, 1332683994, 1332683898, 1332683904, 1332684005, 1332683887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.36335515975952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:08:32.215431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_56_10383.jpg', '/home/pi/Desktop/images/28012025/18/57/image_28012025_18_58_06_10340.jpg', '/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_16_9413.jpg', '/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_26_10497.jpg', '/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_36_9351.jpg', '/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_46_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_56_10383.jpg
/home/pi/Desktop/images/28012025/18/57/image_28012025_18_58_06_10340.jpg
/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_16_9413.jpg
/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_26_10497.jpg
/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_36_9351.jpg
/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_46_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: 2.1270382404327393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 16:08:42.181982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_56_10383.jpg', '/home/pi/Desktop/images/28012025/18/57/image_28012025_18_58_06_10340.jpg', '/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_16_9413.jpg', '/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_26_10497.jpg', '/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_36_9351.jpg', '/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_46_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/57/image_28012025_18_57_56_10383.jpg
/home/pi/Desktop/images/28012025/18/57/image_28012025_18_58_06_10340.jpg
/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_16_9413.jpg
/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_26_10497.jpg
/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_36_9351.jpg
/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_46_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":["1332684539","1332684653","1332684536","1332684679","1332684592","1332684597"],"photo_ids_order":["1332684536","1332684539","1332684592","1332684597","1332684653","1332684679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b15d80e9a547bb2f4a581602eed01d76.jpg","text":"TemporaryFile(/tmp/multipartBody2186274684735209808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163383795,"filename":"image_28012025_18_58_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/29/69735f9297dab4d5a9c28d0996cc8691.jpg","text":"TemporaryFile(/tmp/multipartBody3196952654417845138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163383795,"filename":"image_28012025_18_58_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/29/0052830f811c099c0a2b40fcaebbc2a3.jpg","text":"TemporaryFile(/tmp/multipartBody8364744505513823035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163383795,"filename":"image_28012025_18_57_56_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/29/d0de43731ea097ea94139ce2697a9e92.jpg","text":"TemporaryFile(/tmp/multipartBody8105951950734007212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163383795,"filename":"image_28012025_18_58_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/29/8f00d0eece9f5127647e3414ec8da470.jpg","text":"TemporaryFile(/tmp/multipartBody1736384191340866334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163383795,"filename":"image_28012025_18_58_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/29/66ce97adc15c8dcbef679ed85cc0ea7f.jpg","text":"TemporaryFile(/tmp/multipartBody8895563623486561092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163383795,"filename":"image_28012025_18_58_26_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332684592","file1":"1332684539","file0":"1332684536","file4":"1332684653","file5":"1332684679","file3":"1332684597"},"map_files_photo_id_array":[{"photo_id":"1332684679","filename":"file5"},{"photo_id":"1332684592","filename":"file2"},{"photo_id":"1332684653","filename":"file4"},{"photo_id":"1332684539","filename":"file1"},{"photo_id":"1332684536","filename":"file0"},{"photo_id":"1332684597","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332684539":["hashtag1","hashtag2"]},{"1332684653":["hashtag1","hashtag2"]},{"1332684536":["hashtag1","hashtag2"]},{"1332684679":["hashtag1","hashtag2"]},{"1332684592":["hashtag1","hashtag2"]},{"1332684597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332684539, 1332684653, 1332684536, 1332684679, 1332684592, 1332684597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.48443818092346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:09:32.595640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_56_10376.jpg', '/home/pi/Desktop/images/28012025/18/58/image_28012025_18_59_06_9533.jpg', '/home/pi/Desktop/images/28012025/18/59/image_28012025_18_59_16_10363.jpg', '/home/pi/Desktop/images/28012025/18/59/image_28012025_18_59_26_9341.jpg', '/home/pi/Desktop/images/28012025/18/59/image_28012025_18_59_36_10358.jpg', '/home/pi/Desktop/images/28012025/18/59/image_28012025_18_59_56_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/18/58/image_28012025_18_58_56_10376.jpg
/home/pi/Desktop/images/28012025/18/58/image_28012025_18_59_06_9533.jpg
/home/pi/Desktop/images/28012025/18/59/image_28012025_18_59_16_10363.jpg
/home/pi/Desktop/images/28012025/18/59/image_28012025_18_59_26_9341.jpg
/home/pi/Desktop/images/28012025/18/59/image_28012025_18_59_36_10358.jpg
/home/pi/Desktop/images/28012025/18/59/image_28012025_18_59_56_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":["1332684813","1332684830","1332684824","1332684725","1332684796","1332684733"],"photo_ids_order":["1332684725","1332684733","1332684796","1332684813","1332684824","1332684830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ffeb03a8f27313590d54e82a70888b48.jpg","text":"TemporaryFile(/tmp/multipartBody4896792020599320306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163435111,"filename":"image_28012025_18_59_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/29/4d0790e551746a62ade8ef6f5ec1b782.jpg","text":"TemporaryFile(/tmp/multipartBody7662306080657991771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163435111,"filename":"image_28012025_18_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/29/26607e3f6efff0101b48fb4c074bfdce.jpg","text":"TemporaryFile(/tmp/multipartBody2809058044568278379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163435111,"filename":"image_28012025_18_59_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/29/f25170ac57ecc9f3f9030dce6bfebf53.jpg","text":"TemporaryFile(/tmp/multipartBody3552416073914147100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163435111,"filename":"image_28012025_18_58_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/29/6cafce76c762da0ac522770092cc2ed1.jpg","text":"TemporaryFile(/tmp/multipartBody8204358505077497674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163435111,"filename":"image_28012025_18_59_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/29/530f6399734a9eb0c508fe4d5a705f36.jpg","text":"TemporaryFile(/tmp/multipartBody2917662319574583474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163435111,"filename":"image_28012025_18_59_06_9533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332684796","file1":"1332684733","file0":"1332684725","file4":"1332684824","file5":"1332684830","file3":"1332684813"},"map_files_photo_id_array":[{"photo_id":"1332684830","filename":"file5"},{"photo_id":"1332684796","filename":"file2"},{"photo_id":"1332684824","filename":"file4"},{"photo_id":"1332684733","filename":"file1"},{"photo_id":"1332684725","filename":"file0"},{"photo_id":"1332684813","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332684813":["hashtag1","hashtag2"]},{"1332684830":["hashtag1","hashtag2"]},{"1332684824":["hashtag1","hashtag2"]},{"1332684725":["hashtag1","hashtag2"]},{"1332684796":["hashtag1","hashtag2"]},{"1332684733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332684813, 1332684830, 1332684824, 1332684725, 1332684796, 1332684733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14455270767212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:10:32.652532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/01/image_28012025_19_01_14_10076.jpg', '/home/pi/Desktop/images/28012025/19/01/image_28012025_19_01_24_10461.jpg', '/home/pi/Desktop/images/28012025/19/01/image_28012025_19_01_35_10340.jpg', '/home/pi/Desktop/images/28012025/19/01/image_28012025_19_01_44_9354.jpg', '/home/pi/Desktop/images/28012025/19/01/image_28012025_19_01_55_10415.jpg', '/home/pi/Desktop/images/28012025/19/01/image_28012025_19_02_05_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/01/image_28012025_19_01_14_10076.jpg
/home/pi/Desktop/images/28012025/19/01/image_28012025_19_01_24_10461.jpg
/home/pi/Desktop/images/28012025/19/01/image_28012025_19_01_35_10340.jpg
/home/pi/Desktop/images/28012025/19/01/image_28012025_19_01_44_9354.jpg
/home/pi/Desktop/images/28012025/19/01/image_28012025_19_01_55_10415.jpg
/home/pi/Desktop/images/28012025/19/01/image_28012025_19_02_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":["1332685059","1332685035","1332685019","1332684914","1332684910","1332684904"],"photo_ids_order":["1332684904","1332684910","1332684914","1332685019","1332685035","1332685059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a815b761d382e692e94d6059da3d21ef.jpg","text":"TemporaryFile(/tmp/multipartBody4425694304765616595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163495185,"filename":"image_28012025_19_02_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/29/224f6b909cf1610400e15b72ccc6f573.jpg","text":"TemporaryFile(/tmp/multipartBody3800865933635678636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163495185,"filename":"image_28012025_19_01_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/29/3336eb918987da8b869edb4ddd47f133.jpg","text":"TemporaryFile(/tmp/multipartBody1571604833882205411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163495185,"filename":"image_28012025_19_01_44_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/29/1fec0ed7fce71c3f38db5366d750ef65.jpg","text":"TemporaryFile(/tmp/multipartBody7451133579088037407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163495185,"filename":"image_28012025_19_01_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/29/f96351bc0aedde66cb10f5cb04367e9f.jpg","text":"TemporaryFile(/tmp/multipartBody8460053585887499140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163495185,"filename":"image_28012025_19_01_24_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/29/0062749200fb75b0a7a5bfc7346b0460.jpg","text":"TemporaryFile(/tmp/multipartBody2900667322112708677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163495185,"filename":"image_28012025_19_01_14_10076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332684914","file1":"1332684910","file0":"1332684904","file4":"1332685035","file5":"1332685059","file3":"1332685019"},"map_files_photo_id_array":[{"photo_id":"1332685059","filename":"file5"},{"photo_id":"1332684914","filename":"file2"},{"photo_id":"1332685035","filename":"file4"},{"photo_id":"1332684910","filename":"file1"},{"photo_id":"1332684904","filename":"file0"},{"photo_id":"1332685019","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685059":["hashtag1","hashtag2"]},{"1332685035":["hashtag1","hashtag2"]},{"1332685019":["hashtag1","hashtag2"]},{"1332684914":["hashtag1","hashtag2"]},{"1332684910":["hashtag1","hashtag2"]},{"1332684904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685059, 1332685035, 1332685019, 1332684914, 1332684910, 1332684904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.4116747379303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:11:33.006314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/02/image_28012025_19_02_14_9474.jpg', '/home/pi/Desktop/images/28012025/19/02/image_28012025_19_02_25_10345.jpg', '/home/pi/Desktop/images/28012025/19/02/image_28012025_19_02_34_9338.jpg', '/home/pi/Desktop/images/28012025/19/02/image_28012025_19_02_44_10458.jpg', '/home/pi/Desktop/images/28012025/19/02/image_28012025_19_02_55_10356.jpg', '/home/pi/Desktop/images/28012025/19/02/image_28012025_19_03_04_9495.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/02/image_28012025_19_02_14_9474.jpg
/home/pi/Desktop/images/28012025/19/02/image_28012025_19_02_25_10345.jpg
/home/pi/Desktop/images/28012025/19/02/image_28012025_19_02_34_9338.jpg
/home/pi/Desktop/images/28012025/19/02/image_28012025_19_02_44_10458.jpg
/home/pi/Desktop/images/28012025/19/02/image_28012025_19_02_55_10356.jpg
/home/pi/Desktop/images/28012025/19/02/image_28012025_19_03_04_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":["1332685215","1332685245","1332685220","1332685185","1332685251","1332685194"],"photo_ids_order":["1332685185","1332685194","1332685215","1332685220","1332685245","1332685251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/14a893e64307c7656d50d1f49192a08c.jpg","text":"TemporaryFile(/tmp/multipartBody3615780419280192741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163555546,"filename":"image_28012025_19_02_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/29/3fb32d5701b20febb7dc45c192c44ff5.jpg","text":"TemporaryFile(/tmp/multipartBody7406227166404303414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163555546,"filename":"image_28012025_19_02_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/29/347a05507a0b24e733b5162bd5bd6e07.jpg","text":"TemporaryFile(/tmp/multipartBody3648945952928116049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163555546,"filename":"image_28012025_19_02_44_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/29/48d7003907a5e532dc9fe270ae20caa1.jpg","text":"TemporaryFile(/tmp/multipartBody3973201422510033800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163555546,"filename":"image_28012025_19_02_14_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/29/6aaaadb200b403067ff914dfa4281ddb.jpg","text":"TemporaryFile(/tmp/multipartBody4728733613722983333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163555546,"filename":"image_28012025_19_03_04_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/29/c9a256b4b939217b679f1d28349085e4.jpg","text":"TemporaryFile(/tmp/multipartBody4024232872660671545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163555546,"filename":"image_28012025_19_02_25_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332685215","file1":"1332685194","file0":"1332685185","file4":"1332685245","file5":"1332685251","file3":"1332685220"},"map_files_photo_id_array":[{"photo_id":"1332685251","filename":"file5"},{"photo_id":"1332685215","filename":"file2"},{"photo_id":"1332685245","filename":"file4"},{"photo_id":"1332685194","filename":"file1"},{"photo_id":"1332685185","filename":"file0"},{"photo_id":"1332685220","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685215":["hashtag1","hashtag2"]},{"1332685245":["hashtag1","hashtag2"]},{"1332685220":["hashtag1","hashtag2"]},{"1332685185":["hashtag1","hashtag2"]},{"1332685251":["hashtag1","hashtag2"]},{"1332685194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685215, 1332685245, 1332685220, 1332685185, 1332685251, 1332685194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.592817544937134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:12:33.152560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/03/image_28012025_19_03_15_10321.jpg', '/home/pi/Desktop/images/28012025/19/03/image_28012025_19_03_24_9363.jpg', '/home/pi/Desktop/images/28012025/19/03/image_28012025_19_03_34_10413.jpg', '/home/pi/Desktop/images/28012025/19/03/image_28012025_19_03_45_10364.jpg', '/home/pi/Desktop/images/28012025/19/03/image_28012025_19_03_54_9392.jpg', '/home/pi/Desktop/images/28012025/19/03/image_28012025_19_04_05_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/03/image_28012025_19_03_15_10321.jpg
/home/pi/Desktop/images/28012025/19/03/image_28012025_19_03_24_9363.jpg
/home/pi/Desktop/images/28012025/19/03/image_28012025_19_03_34_10413.jpg
/home/pi/Desktop/images/28012025/19/03/image_28012025_19_03_45_10364.jpg
/home/pi/Desktop/images/28012025/19/03/image_28012025_19_03_54_9392.jpg
/home/pi/Desktop/images/28012025/19/03/image_28012025_19_04_05_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":["1332685320","1332685336","1332685339","1332685327","1332685312","1332685332"],"photo_ids_order":["1332685312","1332685320","1332685327","1332685332","1332685336","1332685339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e56ce1fad42545e1698d6499b25a1c88.jpg","text":"TemporaryFile(/tmp/multipartBody5746610290693384197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163615673,"filename":"image_28012025_19_03_24_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/29/26535fe9ad09626bdcedca3168bfcd79.jpg","text":"TemporaryFile(/tmp/multipartBody6685340762528389196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163615673,"filename":"image_28012025_19_03_54_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/29/09b64f1153dfd1a9a38db19023aa3ac3.jpg","text":"TemporaryFile(/tmp/multipartBody2271744950871504294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163615673,"filename":"image_28012025_19_04_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/29/c058209d42a33155983752285ab6ec9c.jpg","text":"TemporaryFile(/tmp/multipartBody6755673850032932046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163615673,"filename":"image_28012025_19_03_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/29/575300f1f84580c76c7a28f27395d893.jpg","text":"TemporaryFile(/tmp/multipartBody9162944710728238952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163615673,"filename":"image_28012025_19_03_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/29/d621fdc418f2edcd64cf340c39dcfc1c.jpg","text":"TemporaryFile(/tmp/multipartBody7187600595532780201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163615673,"filename":"image_28012025_19_03_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332685327","file1":"1332685320","file0":"1332685312","file4":"1332685336","file5":"1332685339","file3":"1332685332"},"map_files_photo_id_array":[{"photo_id":"1332685339","filename":"file5"},{"photo_id":"1332685327","filename":"file2"},{"photo_id":"1332685336","filename":"file4"},{"photo_id":"1332685320","filename":"file1"},{"photo_id":"1332685312","filename":"file0"},{"photo_id":"1332685332","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685320":["hashtag1","hashtag2"]},{"1332685336":["hashtag1","hashtag2"]},{"1332685339":["hashtag1","hashtag2"]},{"1332685327":["hashtag1","hashtag2"]},{"1332685312":["hashtag1","hashtag2"]},{"1332685332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685320, 1332685336, 1332685339, 1332685327, 1332685312, 1332685332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32456827163696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:13:32.275956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/04/image_28012025_19_04_14_9345.jpg', '/home/pi/Desktop/images/28012025/19/04/image_28012025_19_04_24_10428.jpg', '/home/pi/Desktop/images/28012025/19/04/image_28012025_19_04_35_10343.jpg', '/home/pi/Desktop/images/28012025/19/04/image_28012025_19_04_44_9348.jpg', '/home/pi/Desktop/images/28012025/19/04/image_28012025_19_04_54_10369.jpg', '/home/pi/Desktop/images/28012025/19/04/image_28012025_19_05_05_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/04/image_28012025_19_04_14_9345.jpg
/home/pi/Desktop/images/28012025/19/04/image_28012025_19_04_24_10428.jpg
/home/pi/Desktop/images/28012025/19/04/image_28012025_19_04_35_10343.jpg
/home/pi/Desktop/images/28012025/19/04/image_28012025_19_04_44_9348.jpg
/home/pi/Desktop/images/28012025/19/04/image_28012025_19_04_54_10369.jpg
/home/pi/Desktop/images/28012025/19/04/image_28012025_19_05_05_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":["1332685356","1332685410","1332685385","1332685390","1332685360","1332685354"],"photo_ids_order":["1332685354","1332685356","1332685360","1332685385","1332685390","1332685410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8da537f314df897c41d320d15bb3285d.jpg","text":"TemporaryFile(/tmp/multipartBody732947784768708642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163674838,"filename":"image_28012025_19_04_24_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/29/fdcdbeb60c1ebb25b18a0fe6f1cc9574.jpg","text":"TemporaryFile(/tmp/multipartBody5775028904931954019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163674838,"filename":"image_28012025_19_05_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/29/0abed89916bb30c1abff2ec51c10c81d.jpg","text":"TemporaryFile(/tmp/multipartBody2652396297819077664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163674838,"filename":"image_28012025_19_04_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/29/2ffd48d22901e5fe89e95bbd135b1631.jpg","text":"TemporaryFile(/tmp/multipartBody5706582529664825288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163674838,"filename":"image_28012025_19_04_54_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/29/f29023828a17cefb79c29681cf1f76a2.jpg","text":"TemporaryFile(/tmp/multipartBody7928246537789478875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163674838,"filename":"image_28012025_19_04_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/29/f63c2983767c378b8775293308cff5f7.jpg","text":"TemporaryFile(/tmp/multipartBody2996570994037769315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163674838,"filename":"image_28012025_19_04_14_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332685360","file1":"1332685356","file0":"1332685354","file4":"1332685390","file5":"1332685410","file3":"1332685385"},"map_files_photo_id_array":[{"photo_id":"1332685410","filename":"file5"},{"photo_id":"1332685360","filename":"file2"},{"photo_id":"1332685390","filename":"file4"},{"photo_id":"1332685356","filename":"file1"},{"photo_id":"1332685354","filename":"file0"},{"photo_id":"1332685385","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685356":["hashtag1","hashtag2"]},{"1332685410":["hashtag1","hashtag2"]},{"1332685385":["hashtag1","hashtag2"]},{"1332685390":["hashtag1","hashtag2"]},{"1332685360":["hashtag1","hashtag2"]},{"1332685354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685356, 1332685410, 1332685385, 1332685390, 1332685360, 1332685354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48208975791931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:14:34.517802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_14_9328.jpg', '/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_25_10447.jpg', '/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_35_10367.jpg', '/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_55_10452.jpg', '/home/pi/Desktop/images/28012025/19/05/image_28012025_19_06_04_9329.jpg', '/home/pi/Desktop/images/28012025/19/06/image_28012025_19_06_14_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_14_9328.jpg
/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_25_10447.jpg
/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_35_10367.jpg
/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_55_10452.jpg
/home/pi/Desktop/images/28012025/19/05/image_28012025_19_06_04_9329.jpg
/home/pi/Desktop/images/28012025/19/06/image_28012025_19_06_14_10442.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.127521514892578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 16:14:42.699631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_14_9328.jpg', '/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_25_10447.jpg', '/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_35_10367.jpg', '/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_55_10452.jpg', '/home/pi/Desktop/images/28012025/19/05/image_28012025_19_06_04_9329.jpg', '/home/pi/Desktop/images/28012025/19/06/image_28012025_19_06_14_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_14_9328.jpg
/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_25_10447.jpg
/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_35_10367.jpg
/home/pi/Desktop/images/28012025/19/05/image_28012025_19_05_55_10452.jpg
/home/pi/Desktop/images/28012025/19/05/image_28012025_19_06_04_9329.jpg
/home/pi/Desktop/images/28012025/19/06/image_28012025_19_06_14_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332685574","1332685526","1332685567","1332685552","1332685534","1332685530"],"photo_ids_order":["1332685526","1332685530","1332685534","1332685552","1332685567","1332685574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b32b48cc436b7208a6d0495fc9a8050a.jpg","text":"TemporaryFile(/tmp/multipartBody6560032153147175066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163744367,"filename":"image_28012025_19_06_14_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/29/247d54eea249954d40afeb9905db38cf.jpg","text":"TemporaryFile(/tmp/multipartBody3621580696209657132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163744367,"filename":"image_28012025_19_05_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/29/cc2b1502cebd1e5396d495269e2cd8bc.jpg","text":"TemporaryFile(/tmp/multipartBody436740926460682315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163744367,"filename":"image_28012025_19_06_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/29/e3754fdb1e1a234ed4e53ad8b554ce09.jpg","text":"TemporaryFile(/tmp/multipartBody3324937473515313429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163744367,"filename":"image_28012025_19_05_55_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/29/fe71eb8933c367b68c9df3b86cd734f3.jpg","text":"TemporaryFile(/tmp/multipartBody2322916208720652870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163744367,"filename":"image_28012025_19_05_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/29/43137e2a3f9a2b64debee3a6873b39d8.jpg","text":"TemporaryFile(/tmp/multipartBody2131915458747131223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163744367,"filename":"image_28012025_19_05_25_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332685534","file1":"1332685530","file0":"1332685526","file4":"1332685567","file5":"1332685574","file3":"1332685552"},"map_files_photo_id_array":[{"photo_id":"1332685574","filename":"file5"},{"photo_id":"1332685534","filename":"file2"},{"photo_id":"1332685567","filename":"file4"},{"photo_id":"1332685530","filename":"file1"},{"photo_id":"1332685526","filename":"file0"},{"photo_id":"1332685552","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685574":["hashtag1","hashtag2"]},{"1332685526":["hashtag1","hashtag2"]},{"1332685567":["hashtag1","hashtag2"]},{"1332685552":["hashtag1","hashtag2"]},{"1332685534":["hashtag1","hashtag2"]},{"1332685530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685574, 1332685526, 1332685567, 1332685552, 1332685534, 1332685530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21346879005432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:15:32.971794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/06/image_28012025_19_06_25_10364.jpg', '/home/pi/Desktop/images/28012025/19/06/image_28012025_19_06_45_10426.jpg', '/home/pi/Desktop/images/28012025/19/06/image_28012025_19_06_54_9344.jpg', '/home/pi/Desktop/images/28012025/19/06/image_28012025_19_07_04_10433.jpg', '/home/pi/Desktop/images/28012025/19/07/image_28012025_19_07_15_10317.jpg', '/home/pi/Desktop/images/28012025/19/07/image_28012025_19_07_24_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/06/image_28012025_19_06_25_10364.jpg
/home/pi/Desktop/images/28012025/19/06/image_28012025_19_06_45_10426.jpg
/home/pi/Desktop/images/28012025/19/06/image_28012025_19_06_54_9344.jpg
/home/pi/Desktop/images/28012025/19/06/image_28012025_19_07_04_10433.jpg
/home/pi/Desktop/images/28012025/19/07/image_28012025_19_07_15_10317.jpg
/home/pi/Desktop/images/28012025/19/07/image_28012025_19_07_24_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":["1332685611","1332685608","1332685604","1332685593","1332685612","1332685599"],"photo_ids_order":["1332685593","1332685599","1332685604","1332685608","1332685611","1332685612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e741677c9215be2d1e0509a75ae791c8.jpg","text":"TemporaryFile(/tmp/multipartBody4724365144493392976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163795501,"filename":"image_28012025_19_07_15_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/29/2dcb35b458c094346d4e4e4a6cba667b.jpg","text":"TemporaryFile(/tmp/multipartBody3423246437743951122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163795501,"filename":"image_28012025_19_07_04_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/29/573318eb4d59f93b93a43bdb931bfac5.jpg","text":"TemporaryFile(/tmp/multipartBody3510839411296726709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163795501,"filename":"image_28012025_19_06_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/29/1e8f543a95aa6cfa47dbcbf6f562ab4f.jpg","text":"TemporaryFile(/tmp/multipartBody4795486699481543940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163795501,"filename":"image_28012025_19_06_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/29/a2432417ebbb83ddf6347e698bc80253.jpg","text":"TemporaryFile(/tmp/multipartBody2605535536512196231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163795501,"filename":"image_28012025_19_07_24_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/29/43aa32791d64c3b41e43f17ea41f55b4.jpg","text":"TemporaryFile(/tmp/multipartBody1327215294973683229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163795501,"filename":"image_28012025_19_06_45_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332685604","file1":"1332685599","file0":"1332685593","file4":"1332685611","file5":"1332685612","file3":"1332685608"},"map_files_photo_id_array":[{"photo_id":"1332685612","filename":"file5"},{"photo_id":"1332685604","filename":"file2"},{"photo_id":"1332685611","filename":"file4"},{"photo_id":"1332685599","filename":"file1"},{"photo_id":"1332685593","filename":"file0"},{"photo_id":"1332685608","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685611":["hashtag1","hashtag2"]},{"1332685608":["hashtag1","hashtag2"]},{"1332685604":["hashtag1","hashtag2"]},{"1332685593":["hashtag1","hashtag2"]},{"1332685612":["hashtag1","hashtag2"]},{"1332685599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685611, 1332685608, 1332685604, 1332685593, 1332685612, 1332685599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.211889028549194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:16:33.128175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/07/image_28012025_19_07_35_10597.jpg', '/home/pi/Desktop/images/28012025/19/07/image_28012025_19_07_44_9511.jpg', '/home/pi/Desktop/images/28012025/19/07/image_28012025_19_07_55_10458.jpg', '/home/pi/Desktop/images/28012025/19/07/image_28012025_19_08_04_9461.jpg', '/home/pi/Desktop/images/28012025/19/08/image_28012025_19_08_15_10471.jpg', '/home/pi/Desktop/images/28012025/19/08/image_28012025_19_08_24_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/07/image_28012025_19_07_35_10597.jpg
/home/pi/Desktop/images/28012025/19/07/image_28012025_19_07_44_9511.jpg
/home/pi/Desktop/images/28012025/19/07/image_28012025_19_07_55_10458.jpg
/home/pi/Desktop/images/28012025/19/07/image_28012025_19_08_04_9461.jpg
/home/pi/Desktop/images/28012025/19/08/image_28012025_19_08_15_10471.jpg
/home/pi/Desktop/images/28012025/19/08/image_28012025_19_08_24_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":["1332685652","1332685649","1332685658","1332685645","1332685642","1332685656"],"photo_ids_order":["1332685642","1332685645","1332685649","1332685652","1332685656","1332685658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0279f479b5f323483c4a3b154907fbc7.jpg","text":"TemporaryFile(/tmp/multipartBody7012323033690423767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163855655,"filename":"image_28012025_19_08_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/29/26ee3e6085cda943ee0f480503228121.jpg","text":"TemporaryFile(/tmp/multipartBody4136163092886286214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163855655,"filename":"image_28012025_19_07_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/29/d4a3e1c52c91116c8bf0b7ecbba01c99.jpg","text":"TemporaryFile(/tmp/multipartBody4433319592439827858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163855655,"filename":"image_28012025_19_08_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/29/b3f668120547960c760eb7d2b2360481.jpg","text":"TemporaryFile(/tmp/multipartBody4904860080057321502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163855655,"filename":"image_28012025_19_07_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/29/2d7a115daa529915d77f4f195a83356a.jpg","text":"TemporaryFile(/tmp/multipartBody4190003264881764952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163855655,"filename":"image_28012025_19_07_35_10597.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b51827925c12bc853fc2ccb2ffc47ea3.jpg","text":"TemporaryFile(/tmp/multipartBody7770599302567438098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163855655,"filename":"image_28012025_19_08_15_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332685649","file1":"1332685645","file0":"1332685642","file4":"1332685656","file5":"1332685658","file3":"1332685652"},"map_files_photo_id_array":[{"photo_id":"1332685658","filename":"file5"},{"photo_id":"1332685649","filename":"file2"},{"photo_id":"1332685656","filename":"file4"},{"photo_id":"1332685645","filename":"file1"},{"photo_id":"1332685642","filename":"file0"},{"photo_id":"1332685652","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685652":["hashtag1","hashtag2"]},{"1332685649":["hashtag1","hashtag2"]},{"1332685658":["hashtag1","hashtag2"]},{"1332685645":["hashtag1","hashtag2"]},{"1332685642":["hashtag1","hashtag2"]},{"1332685656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685652, 1332685649, 1332685658, 1332685645, 1332685642, 1332685656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.528629302978516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:17:32.276956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/08/image_28012025_19_08_35_10451.jpg', '/home/pi/Desktop/images/28012025/19/08/image_28012025_19_08_44_9347.jpg', '/home/pi/Desktop/images/28012025/19/08/image_28012025_19_08_54_10351.jpg', '/home/pi/Desktop/images/28012025/19/08/image_28012025_19_09_05_10353.jpg', '/home/pi/Desktop/images/28012025/19/09/image_28012025_19_09_14_9441.jpg', '/home/pi/Desktop/images/28012025/19/09/image_28012025_19_09_24_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/08/image_28012025_19_08_35_10451.jpg
/home/pi/Desktop/images/28012025/19/08/image_28012025_19_08_44_9347.jpg
/home/pi/Desktop/images/28012025/19/08/image_28012025_19_08_54_10351.jpg
/home/pi/Desktop/images/28012025/19/08/image_28012025_19_09_05_10353.jpg
/home/pi/Desktop/images/28012025/19/09/image_28012025_19_09_14_9441.jpg
/home/pi/Desktop/images/28012025/19/09/image_28012025_19_09_24_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":["1332685716","1332685718","1332685678","1332685687","1332685714","1332685692"],"photo_ids_order":["1332685678","1332685687","1332685692","1332685714","1332685716","1332685718"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ce92f02d0472280b07434bf763a1cecb.jpg","text":"TemporaryFile(/tmp/multipartBody7596820461110073564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163914896,"filename":"image_28012025_19_09_14_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/29/c6a18ef51e0f1ec6e8139c0c7aa56b7a.jpg","text":"TemporaryFile(/tmp/multipartBody21964126340660797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163914896,"filename":"image_28012025_19_09_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/29/6f53a9325c6caf53a1c1f599636263de.jpg","text":"TemporaryFile(/tmp/multipartBody7996282368059770751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163914896,"filename":"image_28012025_19_08_35_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/29/9e8d3ce7a960faf0888e50a10279d8a8.jpg","text":"TemporaryFile(/tmp/multipartBody267327251914715170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163914896,"filename":"image_28012025_19_08_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/29/2dd106cfb404c62b22e21d6f1286aefd.jpg","text":"TemporaryFile(/tmp/multipartBody5677340426430277244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163914896,"filename":"image_28012025_19_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/29/0182c6b845ca7b97e4b341f85fd052bc.jpg","text":"TemporaryFile(/tmp/multipartBody7751790747493540369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163914896,"filename":"image_28012025_19_08_54_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332685692","file1":"1332685687","file0":"1332685678","file4":"1332685716","file5":"1332685718","file3":"1332685714"},"map_files_photo_id_array":[{"photo_id":"1332685718","filename":"file5"},{"photo_id":"1332685692","filename":"file2"},{"photo_id":"1332685716","filename":"file4"},{"photo_id":"1332685687","filename":"file1"},{"photo_id":"1332685678","filename":"file0"},{"photo_id":"1332685714","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685716":["hashtag1","hashtag2"]},{"1332685718":["hashtag1","hashtag2"]},{"1332685678":["hashtag1","hashtag2"]},{"1332685687":["hashtag1","hashtag2"]},{"1332685714":["hashtag1","hashtag2"]},{"1332685692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685716, 1332685718, 1332685678, 1332685687, 1332685714, 1332685692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44967579841614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:18:32.453907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/09/image_28012025_19_09_35_10355.jpg', '/home/pi/Desktop/images/28012025/19/09/image_28012025_19_09_44_9479.jpg', '/home/pi/Desktop/images/28012025/19/09/image_28012025_19_09_55_10450.jpg', '/home/pi/Desktop/images/28012025/19/09/image_28012025_19_10_04_9357.jpg', '/home/pi/Desktop/images/28012025/19/10/image_28012025_19_10_14_10347.jpg', '/home/pi/Desktop/images/28012025/19/10/image_28012025_19_10_25_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/09/image_28012025_19_09_35_10355.jpg
/home/pi/Desktop/images/28012025/19/09/image_28012025_19_09_44_9479.jpg
/home/pi/Desktop/images/28012025/19/09/image_28012025_19_09_55_10450.jpg
/home/pi/Desktop/images/28012025/19/09/image_28012025_19_10_04_9357.jpg
/home/pi/Desktop/images/28012025/19/10/image_28012025_19_10_14_10347.jpg
/home/pi/Desktop/images/28012025/19/10/image_28012025_19_10_25_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":["1332685772","1332685757","1332685762","1332685773","1332685740","1332685770"],"photo_ids_order":["1332685740","1332685757","1332685762","1332685770","1332685772","1332685773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a506511acfe0aa4afac7aa62a4e59b5f.jpg","text":"TemporaryFile(/tmp/multipartBody8076361091071804866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163975006,"filename":"image_28012025_19_10_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/29/0756357108c7573bcfa4d98f8136f04e.jpg","text":"TemporaryFile(/tmp/multipartBody7072875630797885823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163975006,"filename":"image_28012025_19_09_44_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/29/09f282c9005c4286ce67cddff0fe6ed9.jpg","text":"TemporaryFile(/tmp/multipartBody7067032981597575674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163975006,"filename":"image_28012025_19_09_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/29/c3cf1947cbb804ebef77addfcd36984e.jpg","text":"TemporaryFile(/tmp/multipartBody8493057199534410309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163975006,"filename":"image_28012025_19_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/29/e5fed4a636ac3b3cc423dd83c26c1d94.jpg","text":"TemporaryFile(/tmp/multipartBody7116844341308674688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163975006,"filename":"image_28012025_19_09_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/29/1692d3195c5917caa9d6ec04549593f8.jpg","text":"TemporaryFile(/tmp/multipartBody977868592701697858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738163975006,"filename":"image_28012025_19_10_04_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332685762","file1":"1332685757","file0":"1332685740","file4":"1332685772","file5":"1332685773","file3":"1332685770"},"map_files_photo_id_array":[{"photo_id":"1332685773","filename":"file5"},{"photo_id":"1332685762","filename":"file2"},{"photo_id":"1332685772","filename":"file4"},{"photo_id":"1332685757","filename":"file1"},{"photo_id":"1332685740","filename":"file0"},{"photo_id":"1332685770","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685772":["hashtag1","hashtag2"]},{"1332685757":["hashtag1","hashtag2"]},{"1332685762":["hashtag1","hashtag2"]},{"1332685773":["hashtag1","hashtag2"]},{"1332685740":["hashtag1","hashtag2"]},{"1332685770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685772, 1332685757, 1332685762, 1332685773, 1332685740, 1332685770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.82857942581177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:19:32.688585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/10/image_28012025_19_10_34_9466.jpg', '/home/pi/Desktop/images/28012025/19/10/image_28012025_19_10_45_10373.jpg', '/home/pi/Desktop/images/28012025/19/10/image_28012025_19_10_54_9358.jpg', '/home/pi/Desktop/images/28012025/19/10/image_28012025_19_11_04_10360.jpg', '/home/pi/Desktop/images/28012025/19/11/image_28012025_19_11_15_10346.jpg', '/home/pi/Desktop/images/28012025/19/11/image_28012025_19_11_24_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/10/image_28012025_19_10_34_9466.jpg
/home/pi/Desktop/images/28012025/19/10/image_28012025_19_10_45_10373.jpg
/home/pi/Desktop/images/28012025/19/10/image_28012025_19_10_54_9358.jpg
/home/pi/Desktop/images/28012025/19/10/image_28012025_19_11_04_10360.jpg
/home/pi/Desktop/images/28012025/19/11/image_28012025_19_11_15_10346.jpg
/home/pi/Desktop/images/28012025/19/11/image_28012025_19_11_24_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":["1332685803","1332685812","1332685798","1332685807","1332685791","1332685794"],"photo_ids_order":["1332685791","1332685794","1332685798","1332685803","1332685807","1332685812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e8d90279bf513eb980d2bc9dd1039cb0.jpg","text":"TemporaryFile(/tmp/multipartBody5682023208338315106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164035218,"filename":"image_28012025_19_11_04_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/29/a77ae597b773ced786d38098791e1c8a.jpg","text":"TemporaryFile(/tmp/multipartBody8411574186557709304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164035218,"filename":"image_28012025_19_11_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/29/dfff66f4bb7fde3d08dc32c73e5a728e.jpg","text":"TemporaryFile(/tmp/multipartBody2034854092635345033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164035218,"filename":"image_28012025_19_10_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/29/8591e6298ed946e2025a9661771b3c37.jpg","text":"TemporaryFile(/tmp/multipartBody8465385009263099097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164035218,"filename":"image_28012025_19_11_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/29/9b6bb5d85c6d1e74def8fabf2000035a.jpg","text":"TemporaryFile(/tmp/multipartBody1496517868518801904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164035218,"filename":"image_28012025_19_10_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/29/2337d4ab4b2708a9fb2185c61fe5101c.jpg","text":"TemporaryFile(/tmp/multipartBody3550562981973611680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164035218,"filename":"image_28012025_19_10_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332685798","file1":"1332685794","file0":"1332685791","file4":"1332685807","file5":"1332685812","file3":"1332685803"},"map_files_photo_id_array":[{"photo_id":"1332685812","filename":"file5"},{"photo_id":"1332685798","filename":"file2"},{"photo_id":"1332685807","filename":"file4"},{"photo_id":"1332685794","filename":"file1"},{"photo_id":"1332685791","filename":"file0"},{"photo_id":"1332685803","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685803":["hashtag1","hashtag2"]},{"1332685812":["hashtag1","hashtag2"]},{"1332685798":["hashtag1","hashtag2"]},{"1332685807":["hashtag1","hashtag2"]},{"1332685791":["hashtag1","hashtag2"]},{"1332685794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685803, 1332685812, 1332685798, 1332685807, 1332685791, 1332685794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08979368209839 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:20:32.804088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/11/image_28012025_19_11_34_10443.jpg', '/home/pi/Desktop/images/28012025/19/11/image_28012025_19_11_45_10350.jpg', '/home/pi/Desktop/images/28012025/19/11/image_28012025_19_11_54_9450.jpg', '/home/pi/Desktop/images/28012025/19/11/image_28012025_19_12_05_10427.jpg', '/home/pi/Desktop/images/28012025/19/12/image_28012025_19_12_14_9342.jpg', '/home/pi/Desktop/images/28012025/19/12/image_28012025_19_12_24_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/11/image_28012025_19_11_34_10443.jpg
/home/pi/Desktop/images/28012025/19/11/image_28012025_19_11_45_10350.jpg
/home/pi/Desktop/images/28012025/19/11/image_28012025_19_11_54_9450.jpg
/home/pi/Desktop/images/28012025/19/11/image_28012025_19_12_05_10427.jpg
/home/pi/Desktop/images/28012025/19/12/image_28012025_19_12_14_9342.jpg
/home/pi/Desktop/images/28012025/19/12/image_28012025_19_12_24_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332685877","1332685868","1332685864","1332685872","1332685881","1332685875"],"photo_ids_order":["1332685864","1332685868","1332685872","1332685875","1332685877","1332685881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/13e243c980d6f0af74c3c497bcf160b9.jpg","text":"TemporaryFile(/tmp/multipartBody323817792213724359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164095318,"filename":"image_28012025_19_12_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/29/538fb0119c9b8dd17eeb628dd84cd83e.jpg","text":"TemporaryFile(/tmp/multipartBody4652970670793906721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164095318,"filename":"image_28012025_19_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/29/04454d49c4791857cede4f44c8abce24.jpg","text":"TemporaryFile(/tmp/multipartBody6834402311521005823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164095318,"filename":"image_28012025_19_11_34_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/29/9abe03305e1ec3181fb62f089d607b23.jpg","text":"TemporaryFile(/tmp/multipartBody1113318137624492087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164095318,"filename":"image_28012025_19_11_54_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/29/b9dee48287f1d933dc83145f563fc683.jpg","text":"TemporaryFile(/tmp/multipartBody8713994707392353707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164095318,"filename":"image_28012025_19_12_24_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/29/6cda31fba13c48d1b53c7da083825e49.jpg","text":"TemporaryFile(/tmp/multipartBody6060317754017227885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164095318,"filename":"image_28012025_19_12_05_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332685872","file1":"1332685868","file0":"1332685864","file4":"1332685877","file5":"1332685881","file3":"1332685875"},"map_files_photo_id_array":[{"photo_id":"1332685881","filename":"file5"},{"photo_id":"1332685872","filename":"file2"},{"photo_id":"1332685877","filename":"file4"},{"photo_id":"1332685868","filename":"file1"},{"photo_id":"1332685864","filename":"file0"},{"photo_id":"1332685875","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685877":["hashtag1","hashtag2"]},{"1332685868":["hashtag1","hashtag2"]},{"1332685864":["hashtag1","hashtag2"]},{"1332685872":["hashtag1","hashtag2"]},{"1332685881":["hashtag1","hashtag2"]},{"1332685875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685877, 1332685868, 1332685864, 1332685872, 1332685881, 1332685875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37150168418884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:21:33.145559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/12/image_28012025_19_12_35_10355.jpg', '/home/pi/Desktop/images/28012025/19/12/image_28012025_19_12_44_9480.jpg', '/home/pi/Desktop/images/28012025/19/12/image_28012025_19_12_55_10366.jpg', '/home/pi/Desktop/images/28012025/19/12/image_28012025_19_13_04_9336.jpg', '/home/pi/Desktop/images/28012025/19/13/image_28012025_19_13_14_10358.jpg', '/home/pi/Desktop/images/28012025/19/13/image_28012025_19_13_25_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/12/image_28012025_19_12_35_10355.jpg
/home/pi/Desktop/images/28012025/19/12/image_28012025_19_12_44_9480.jpg
/home/pi/Desktop/images/28012025/19/12/image_28012025_19_12_55_10366.jpg
/home/pi/Desktop/images/28012025/19/12/image_28012025_19_13_04_9336.jpg
/home/pi/Desktop/images/28012025/19/13/image_28012025_19_13_14_10358.jpg
/home/pi/Desktop/images/28012025/19/13/image_28012025_19_13_25_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":["1332685931","1332685918","1332685912","1332685906","1332685899","1332685920"],"photo_ids_order":["1332685899","1332685906","1332685912","1332685918","1332685920","1332685931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/19f9735756e23919f22b4fe392cffd76.jpg","text":"TemporaryFile(/tmp/multipartBody7666201179944306432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164155675,"filename":"image_28012025_19_13_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/29/0720b1b43f54cb61c8387cfd8b93b395.jpg","text":"TemporaryFile(/tmp/multipartBody6286346928378909141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164155675,"filename":"image_28012025_19_13_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/29/976127c0d4ebb132ece564a976471c3c.jpg","text":"TemporaryFile(/tmp/multipartBody4369796089784429669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164155675,"filename":"image_28012025_19_12_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/29/eb519e25153e16b6945065577d1b9242.jpg","text":"TemporaryFile(/tmp/multipartBody136269195839504680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164155675,"filename":"image_28012025_19_12_44_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/29/a46e950be250464ed2c16d73f97398ca.jpg","text":"TemporaryFile(/tmp/multipartBody5914350673914251863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164155675,"filename":"image_28012025_19_12_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/29/d5dd9c9caa21e4e3afd766f41eac0da0.jpg","text":"TemporaryFile(/tmp/multipartBody4269371546571380468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164155675,"filename":"image_28012025_19_13_14_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332685912","file1":"1332685906","file0":"1332685899","file4":"1332685920","file5":"1332685931","file3":"1332685918"},"map_files_photo_id_array":[{"photo_id":"1332685931","filename":"file5"},{"photo_id":"1332685912","filename":"file2"},{"photo_id":"1332685920","filename":"file4"},{"photo_id":"1332685906","filename":"file1"},{"photo_id":"1332685899","filename":"file0"},{"photo_id":"1332685918","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332685931":["hashtag1","hashtag2"]},{"1332685918":["hashtag1","hashtag2"]},{"1332685912":["hashtag1","hashtag2"]},{"1332685906":["hashtag1","hashtag2"]},{"1332685899":["hashtag1","hashtag2"]},{"1332685920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332685931, 1332685918, 1332685912, 1332685906, 1332685899, 1332685920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.903087854385376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:22:32.276140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/13/image_28012025_19_13_34_9484.jpg', '/home/pi/Desktop/images/28012025/19/13/image_28012025_19_13_45_10360.jpg', '/home/pi/Desktop/images/28012025/19/13/image_28012025_19_13_54_9420.jpg', '/home/pi/Desktop/images/28012025/19/13/image_28012025_19_14_04_10360.jpg', '/home/pi/Desktop/images/28012025/19/14/image_28012025_19_14_15_10374.jpg', '/home/pi/Desktop/images/28012025/19/14/image_28012025_19_14_24_9460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/13/image_28012025_19_13_34_9484.jpg
/home/pi/Desktop/images/28012025/19/13/image_28012025_19_13_45_10360.jpg
/home/pi/Desktop/images/28012025/19/13/image_28012025_19_13_54_9420.jpg
/home/pi/Desktop/images/28012025/19/13/image_28012025_19_14_04_10360.jpg
/home/pi/Desktop/images/28012025/19/14/image_28012025_19_14_15_10374.jpg
/home/pi/Desktop/images/28012025/19/14/image_28012025_19_14_24_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":["1332686348","1332686359","1332686332","1332686329","1332686475","1332686343"],"photo_ids_order":["1332686329","1332686332","1332686343","1332686348","1332686359","1332686475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4eaacc8bb7803d465a7d99268cb24ca1.jpg","text":"TemporaryFile(/tmp/multipartBody170019664590878387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164214801,"filename":"image_28012025_19_14_04_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/29/4cdcad10b329cb2beecb62762deb876c.jpg","text":"TemporaryFile(/tmp/multipartBody4792601630186202099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164214801,"filename":"image_28012025_19_14_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/29/740f723282d531ed4dc8ee22417579c7.jpg","text":"TemporaryFile(/tmp/multipartBody8678563283596122261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164214801,"filename":"image_28012025_19_13_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/29/074b5547747bbeb5b989d1ac55f6f75f.jpg","text":"TemporaryFile(/tmp/multipartBody2721675408472218101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164214801,"filename":"image_28012025_19_13_34_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/29/6b97c1e0966f77ea15b410db31546aee.jpg","text":"TemporaryFile(/tmp/multipartBody2588404585941945866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164214801,"filename":"image_28012025_19_14_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/29/94a88db1f13a031fb5ed6646dbcc4673.jpg","text":"TemporaryFile(/tmp/multipartBody6709558074163297489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164214801,"filename":"image_28012025_19_13_54_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332686343","file1":"1332686332","file0":"1332686329","file4":"1332686359","file5":"1332686475","file3":"1332686348"},"map_files_photo_id_array":[{"photo_id":"1332686475","filename":"file5"},{"photo_id":"1332686343","filename":"file2"},{"photo_id":"1332686359","filename":"file4"},{"photo_id":"1332686332","filename":"file1"},{"photo_id":"1332686329","filename":"file0"},{"photo_id":"1332686348","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332686348":["hashtag1","hashtag2"]},{"1332686359":["hashtag1","hashtag2"]},{"1332686332":["hashtag1","hashtag2"]},{"1332686329":["hashtag1","hashtag2"]},{"1332686475":["hashtag1","hashtag2"]},{"1332686343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332686348, 1332686359, 1332686332, 1332686329, 1332686475, 1332686343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00401782989502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:23:32.475204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/14/image_28012025_19_14_35_10396.jpg', '/home/pi/Desktop/images/28012025/19/14/image_28012025_19_14_44_9361.jpg', '/home/pi/Desktop/images/28012025/19/14/image_28012025_19_14_54_10482.jpg', '/home/pi/Desktop/images/28012025/19/14/image_28012025_19_15_05_10346.jpg', '/home/pi/Desktop/images/28012025/19/15/image_28012025_19_15_14_9463.jpg', '/home/pi/Desktop/images/28012025/19/15/image_28012025_19_15_25_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/14/image_28012025_19_14_35_10396.jpg
/home/pi/Desktop/images/28012025/19/14/image_28012025_19_14_44_9361.jpg
/home/pi/Desktop/images/28012025/19/14/image_28012025_19_14_54_10482.jpg
/home/pi/Desktop/images/28012025/19/14/image_28012025_19_15_05_10346.jpg
/home/pi/Desktop/images/28012025/19/15/image_28012025_19_15_14_9463.jpg
/home/pi/Desktop/images/28012025/19/15/image_28012025_19_15_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":["1332686740","1332686713","1332686707","1332686716","1332686718","1332686613"],"photo_ids_order":["1332686613","1332686707","1332686713","1332686716","1332686718","1332686740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e5414e61c3794e70d05f3c8101a17f57.jpg","text":"TemporaryFile(/tmp/multipartBody7198311399314075203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164274983,"filename":"image_28012025_19_15_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/29/8fdce46f9afc59905ca2ea33050aab9b.jpg","text":"TemporaryFile(/tmp/multipartBody2835280219352722474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164274983,"filename":"image_28012025_19_14_54_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/29/0d32422092d73fa05ce399f30cb262fa.jpg","text":"TemporaryFile(/tmp/multipartBody5023236885720882892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164274983,"filename":"image_28012025_19_14_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/29/84df863e406568051f02e932b8f4ba3f.jpg","text":"TemporaryFile(/tmp/multipartBody6121496482875318896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164274983,"filename":"image_28012025_19_15_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/29/af1b1f85a9354525eeb31cbceb902e53.jpg","text":"TemporaryFile(/tmp/multipartBody5589350357768215844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164274983,"filename":"image_28012025_19_15_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/29/cb22238c9a2ce311132b0a7d81954122.jpg","text":"TemporaryFile(/tmp/multipartBody1929242038322349220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164274983,"filename":"image_28012025_19_14_35_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332686713","file1":"1332686707","file0":"1332686613","file4":"1332686718","file5":"1332686740","file3":"1332686716"},"map_files_photo_id_array":[{"photo_id":"1332686740","filename":"file5"},{"photo_id":"1332686713","filename":"file2"},{"photo_id":"1332686718","filename":"file4"},{"photo_id":"1332686707","filename":"file1"},{"photo_id":"1332686613","filename":"file0"},{"photo_id":"1332686716","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332686740":["hashtag1","hashtag2"]},{"1332686713":["hashtag1","hashtag2"]},{"1332686707":["hashtag1","hashtag2"]},{"1332686716":["hashtag1","hashtag2"]},{"1332686718":["hashtag1","hashtag2"]},{"1332686613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332686740, 1332686713, 1332686707, 1332686716, 1332686718, 1332686613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41436052322388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:24:32.777556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/15/image_28012025_19_15_34_9447.jpg', '/home/pi/Desktop/images/28012025/19/15/image_28012025_19_15_44_10466.jpg', '/home/pi/Desktop/images/28012025/19/15/image_28012025_19_15_55_10354.jpg', '/home/pi/Desktop/images/28012025/19/15/image_28012025_19_16_04_9449.jpg', '/home/pi/Desktop/images/28012025/19/16/image_28012025_19_16_15_10348.jpg', '/home/pi/Desktop/images/28012025/19/16/image_28012025_19_16_24_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/15/image_28012025_19_15_34_9447.jpg
/home/pi/Desktop/images/28012025/19/15/image_28012025_19_15_44_10466.jpg
/home/pi/Desktop/images/28012025/19/15/image_28012025_19_15_55_10354.jpg
/home/pi/Desktop/images/28012025/19/15/image_28012025_19_16_04_9449.jpg
/home/pi/Desktop/images/28012025/19/16/image_28012025_19_16_15_10348.jpg
/home/pi/Desktop/images/28012025/19/16/image_28012025_19_16_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":["1332686783","1332686786","1332686771","1332686759","1332686764","1332686778"],"photo_ids_order":["1332686759","1332686764","1332686771","1332686778","1332686783","1332686786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/da5e5842d83d3b42a90ed649c225ff8b.jpg","text":"TemporaryFile(/tmp/multipartBody5826571391384786980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164335312,"filename":"image_28012025_19_16_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/29/d9e73a6dde7f241b108991f02fc45ca6.jpg","text":"TemporaryFile(/tmp/multipartBody489746992325062909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164335312,"filename":"image_28012025_19_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/29/90c11e94c546b030ee487ef8d272959f.jpg","text":"TemporaryFile(/tmp/multipartBody1933471199497414364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164335312,"filename":"image_28012025_19_15_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/29/008d790a68181af7d6994883c0bcab20.jpg","text":"TemporaryFile(/tmp/multipartBody7219413821265046593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164335312,"filename":"image_28012025_19_15_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/29/bf8762897b1c1fab53757509ede9bf24.jpg","text":"TemporaryFile(/tmp/multipartBody1054070286611748579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164335312,"filename":"image_28012025_19_15_44_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/29/19740290bcd8d73ec10c8b2940e735ea.jpg","text":"TemporaryFile(/tmp/multipartBody4894852230202191051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164335312,"filename":"image_28012025_19_16_04_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332686771","file1":"1332686764","file0":"1332686759","file4":"1332686783","file5":"1332686786","file3":"1332686778"},"map_files_photo_id_array":[{"photo_id":"1332686786","filename":"file5"},{"photo_id":"1332686771","filename":"file2"},{"photo_id":"1332686783","filename":"file4"},{"photo_id":"1332686764","filename":"file1"},{"photo_id":"1332686759","filename":"file0"},{"photo_id":"1332686778","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332686783":["hashtag1","hashtag2"]},{"1332686786":["hashtag1","hashtag2"]},{"1332686771":["hashtag1","hashtag2"]},{"1332686759":["hashtag1","hashtag2"]},{"1332686764":["hashtag1","hashtag2"]},{"1332686778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332686783, 1332686786, 1332686771, 1332686759, 1332686764, 1332686778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08354210853577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:25:32.976156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/16/image_28012025_19_16_34_10443.jpg', '/home/pi/Desktop/images/28012025/19/16/image_28012025_19_16_45_10365.jpg', '/home/pi/Desktop/images/28012025/19/16/image_28012025_19_16_54_9486.jpg', '/home/pi/Desktop/images/28012025/19/16/image_28012025_19_17_05_10368.jpg', '/home/pi/Desktop/images/28012025/19/17/image_28012025_19_17_14_9322.jpg', '/home/pi/Desktop/images/28012025/19/17/image_28012025_19_17_24_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/16/image_28012025_19_16_34_10443.jpg
/home/pi/Desktop/images/28012025/19/16/image_28012025_19_16_45_10365.jpg
/home/pi/Desktop/images/28012025/19/16/image_28012025_19_16_54_9486.jpg
/home/pi/Desktop/images/28012025/19/16/image_28012025_19_17_05_10368.jpg
/home/pi/Desktop/images/28012025/19/17/image_28012025_19_17_14_9322.jpg
/home/pi/Desktop/images/28012025/19/17/image_28012025_19_17_24_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":["1332686836","1332686830","1332686806","1332686809","1332686820","1332686823"],"photo_ids_order":["1332686806","1332686809","1332686820","1332686823","1332686830","1332686836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/37d1e62d2940159a075fcd80e5c4d46b.jpg","text":"TemporaryFile(/tmp/multipartBody2447749629224647728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164395512,"filename":"image_28012025_19_17_24_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/29/fb2f958bc678e90989c6076798a76006.jpg","text":"TemporaryFile(/tmp/multipartBody1233439686900713007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164395512,"filename":"image_28012025_19_17_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/29/d69f6fc52c7347f4af82681535445e82.jpg","text":"TemporaryFile(/tmp/multipartBody5401856308340158217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164395512,"filename":"image_28012025_19_16_34_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/29/59a578d9ff6308e3e378c05ac07f345d.jpg","text":"TemporaryFile(/tmp/multipartBody8770306010513959476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164395512,"filename":"image_28012025_19_16_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/29/56b22b7fc74861f8ad765aa6f90d8572.jpg","text":"TemporaryFile(/tmp/multipartBody4161858425732675695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164395512,"filename":"image_28012025_19_16_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/29/71e560aaa8bf9ea7dd4d540c6a03c984.jpg","text":"TemporaryFile(/tmp/multipartBody7514820089465977571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164395512,"filename":"image_28012025_19_17_05_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332686820","file1":"1332686809","file0":"1332686806","file4":"1332686830","file5":"1332686836","file3":"1332686823"},"map_files_photo_id_array":[{"photo_id":"1332686836","filename":"file5"},{"photo_id":"1332686820","filename":"file2"},{"photo_id":"1332686830","filename":"file4"},{"photo_id":"1332686809","filename":"file1"},{"photo_id":"1332686806","filename":"file0"},{"photo_id":"1332686823","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332686836":["hashtag1","hashtag2"]},{"1332686830":["hashtag1","hashtag2"]},{"1332686806":["hashtag1","hashtag2"]},{"1332686809":["hashtag1","hashtag2"]},{"1332686820":["hashtag1","hashtag2"]},{"1332686823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332686836, 1332686830, 1332686806, 1332686809, 1332686820, 1332686823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.10825777053833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:26:32.174663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/17/image_28012025_19_17_35_10347.jpg', '/home/pi/Desktop/images/28012025/19/17/image_28012025_19_17_44_9481.jpg', '/home/pi/Desktop/images/28012025/19/18/image_28012025_19_18_14_10353.jpg', '/home/pi/Desktop/images/28012025/19/18/image_28012025_19_18_25_10335.jpg', '/home/pi/Desktop/images/28012025/19/18/image_28012025_19_18_34_9344.jpg', '/home/pi/Desktop/images/28012025/19/18/image_28012025_19_18_44_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/17/image_28012025_19_17_35_10347.jpg
/home/pi/Desktop/images/28012025/19/17/image_28012025_19_17_44_9481.jpg
/home/pi/Desktop/images/28012025/19/18/image_28012025_19_18_14_10353.jpg
/home/pi/Desktop/images/28012025/19/18/image_28012025_19_18_25_10335.jpg
/home/pi/Desktop/images/28012025/19/18/image_28012025_19_18_34_9344.jpg
/home/pi/Desktop/images/28012025/19/18/image_28012025_19_18_44_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332686855","1332686924","1332686863","1332687156","1332686859","1332687041"],"photo_ids_order":["1332686855","1332686859","1332686863","1332686924","1332687041","1332687156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/438675e647d2c069d99f2eab275daa14.jpg","text":"TemporaryFile(/tmp/multipartBody3030951384861860577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164454695,"filename":"image_28012025_19_17_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/29/a7ef48013c6b3a4e44536e0d53c67bcf.jpg","text":"TemporaryFile(/tmp/multipartBody1464952574057880119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164454695,"filename":"image_28012025_19_18_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/29/8e80d7b1cccd9b4342380c667458402f.jpg","text":"TemporaryFile(/tmp/multipartBody4159237104632550327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164454695,"filename":"image_28012025_19_18_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/29/70cecc565d82d3a7ffe2a6782cbce031.jpg","text":"TemporaryFile(/tmp/multipartBody7116479792551533627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164454695,"filename":"image_28012025_19_18_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/29/90db46bda738b4cbc8966dce7b4d2c71.jpg","text":"TemporaryFile(/tmp/multipartBody5975591960069178538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164454695,"filename":"image_28012025_19_17_44_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/270aa668d0c299b87ea7650434e9d129.jpg","text":"TemporaryFile(/tmp/multipartBody3942175729038158651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164454695,"filename":"image_28012025_19_18_34_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332686863","file1":"1332686859","file0":"1332686855","file4":"1332687041","file5":"1332687156","file3":"1332686924"},"map_files_photo_id_array":[{"photo_id":"1332687156","filename":"file5"},{"photo_id":"1332686863","filename":"file2"},{"photo_id":"1332687041","filename":"file4"},{"photo_id":"1332686859","filename":"file1"},{"photo_id":"1332686855","filename":"file0"},{"photo_id":"1332686924","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332686855":["hashtag1","hashtag2"]},{"1332686924":["hashtag1","hashtag2"]},{"1332686863":["hashtag1","hashtag2"]},{"1332687156":["hashtag1","hashtag2"]},{"1332686859":["hashtag1","hashtag2"]},{"1332687041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332686855, 1332686924, 1332686863, 1332687156, 1332686859, 1332687041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16819429397583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:27:32.504039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/18/image_28012025_19_18_55_10364.jpg', '/home/pi/Desktop/images/28012025/19/18/image_28012025_19_19_04_9453.jpg', '/home/pi/Desktop/images/28012025/19/19/image_28012025_19_19_15_10358.jpg', '/home/pi/Desktop/images/28012025/19/19/image_28012025_19_19_34_10386.jpg', '/home/pi/Desktop/images/28012025/19/19/image_28012025_19_19_45_10358.jpg', '/home/pi/Desktop/images/28012025/19/19/image_28012025_19_19_54_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/18/image_28012025_19_18_55_10364.jpg
/home/pi/Desktop/images/28012025/19/18/image_28012025_19_19_04_9453.jpg
/home/pi/Desktop/images/28012025/19/19/image_28012025_19_19_15_10358.jpg
/home/pi/Desktop/images/28012025/19/19/image_28012025_19_19_34_10386.jpg
/home/pi/Desktop/images/28012025/19/19/image_28012025_19_19_45_10358.jpg
/home/pi/Desktop/images/28012025/19/19/image_28012025_19_19_54_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":["1332687329","1332687320","1332687325","1332687334","1332687357","1332687279"],"photo_ids_order":["1332687279","1332687320","1332687325","1332687329","1332687334","1332687357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e38f7e8134289ca5f2b16035ba080968.jpg","text":"TemporaryFile(/tmp/multipartBody4619147706350692412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164515015,"filename":"image_28012025_19_19_34_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/29/c85238107fea41bdc8e590735619df56.jpg","text":"TemporaryFile(/tmp/multipartBody3475347927181695419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164515015,"filename":"image_28012025_19_19_04_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/29/5957cefb643c21dc32a396a95be7cc4f.jpg","text":"TemporaryFile(/tmp/multipartBody5125559698913952005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164515015,"filename":"image_28012025_19_19_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/29/1f787eeca10524f5a972c01087f870d7.jpg","text":"TemporaryFile(/tmp/multipartBody449595478471276408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164515015,"filename":"image_28012025_19_19_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/29/d1c096d5e1477842344ca1d361c4d4d9.jpg","text":"TemporaryFile(/tmp/multipartBody4173252096640610201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164515015,"filename":"image_28012025_19_19_54_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/29/e23f26a66d098f7e50f56af7ea7ca162.jpg","text":"TemporaryFile(/tmp/multipartBody1330172084862277128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164515015,"filename":"image_28012025_19_18_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332687325","file1":"1332687320","file0":"1332687279","file4":"1332687334","file5":"1332687357","file3":"1332687329"},"map_files_photo_id_array":[{"photo_id":"1332687357","filename":"file5"},{"photo_id":"1332687325","filename":"file2"},{"photo_id":"1332687334","filename":"file4"},{"photo_id":"1332687320","filename":"file1"},{"photo_id":"1332687279","filename":"file0"},{"photo_id":"1332687329","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332687329":["hashtag1","hashtag2"]},{"1332687320":["hashtag1","hashtag2"]},{"1332687325":["hashtag1","hashtag2"]},{"1332687334":["hashtag1","hashtag2"]},{"1332687357":["hashtag1","hashtag2"]},{"1332687279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332687329, 1332687320, 1332687325, 1332687334, 1332687357, 1332687279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43812322616577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:28:32.661602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/19/image_28012025_19_20_05_10436.jpg', '/home/pi/Desktop/images/28012025/19/20/image_28012025_19_20_14_9473.jpg', '/home/pi/Desktop/images/28012025/19/20/image_28012025_19_20_25_10414.jpg', '/home/pi/Desktop/images/28012025/19/20/image_28012025_19_20_34_9372.jpg', '/home/pi/Desktop/images/28012025/19/20/image_28012025_19_20_44_10458.jpg', '/home/pi/Desktop/images/28012025/19/20/image_28012025_19_21_04_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/19/image_28012025_19_20_05_10436.jpg
/home/pi/Desktop/images/28012025/19/20/image_28012025_19_20_14_9473.jpg
/home/pi/Desktop/images/28012025/19/20/image_28012025_19_20_25_10414.jpg
/home/pi/Desktop/images/28012025/19/20/image_28012025_19_20_34_9372.jpg
/home/pi/Desktop/images/28012025/19/20/image_28012025_19_20_44_10458.jpg
/home/pi/Desktop/images/28012025/19/20/image_28012025_19_21_04_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":["1332687472","1332687475","1332687469","1332687465","1332687459","1332687479"],"photo_ids_order":["1332687459","1332687465","1332687469","1332687472","1332687475","1332687479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/61759e534ac80caa2d1a232881b884dd.jpg","text":"TemporaryFile(/tmp/multipartBody6648753490293833837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164575205,"filename":"image_28012025_19_20_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/29/e4f0a5807f5ca88980be4eff2185cfef.jpg","text":"TemporaryFile(/tmp/multipartBody8391163466674662102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164575205,"filename":"image_28012025_19_20_44_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/29/023a352fa4762ebbc696571b75b7cc64.jpg","text":"TemporaryFile(/tmp/multipartBody7346934933877361529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164575205,"filename":"image_28012025_19_20_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/29/301547cc106525257656aaab58af972f.jpg","text":"TemporaryFile(/tmp/multipartBody7145111565935626930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164575205,"filename":"image_28012025_19_20_14_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/29/7a3a381bda2fb1a01d4bdc23cc20ab06.jpg","text":"TemporaryFile(/tmp/multipartBody2732875606579709755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164575205,"filename":"image_28012025_19_20_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/29/9c44dfef6ac78d6d6820ba0601cd4d40.jpg","text":"TemporaryFile(/tmp/multipartBody8225795248301438733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164575205,"filename":"image_28012025_19_21_04_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332687469","file1":"1332687465","file0":"1332687459","file4":"1332687475","file5":"1332687479","file3":"1332687472"},"map_files_photo_id_array":[{"photo_id":"1332687479","filename":"file5"},{"photo_id":"1332687469","filename":"file2"},{"photo_id":"1332687475","filename":"file4"},{"photo_id":"1332687465","filename":"file1"},{"photo_id":"1332687459","filename":"file0"},{"photo_id":"1332687472","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332687472":["hashtag1","hashtag2"]},{"1332687475":["hashtag1","hashtag2"]},{"1332687469":["hashtag1","hashtag2"]},{"1332687465":["hashtag1","hashtag2"]},{"1332687459":["hashtag1","hashtag2"]},{"1332687479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332687472, 1332687475, 1332687469, 1332687465, 1332687459, 1332687479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.18387222290039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:29:32.871949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/21/image_28012025_19_21_15_10344.jpg', '/home/pi/Desktop/images/28012025/19/21/image_28012025_19_21_24_9341.jpg', '/home/pi/Desktop/images/28012025/19/21/image_28012025_19_21_34_10433.jpg', '/home/pi/Desktop/images/28012025/19/21/image_28012025_19_21_45_10372.jpg', '/home/pi/Desktop/images/28012025/19/21/image_28012025_19_21_54_9346.jpg', '/home/pi/Desktop/images/28012025/19/21/image_28012025_19_22_05_10469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/21/image_28012025_19_21_15_10344.jpg
/home/pi/Desktop/images/28012025/19/21/image_28012025_19_21_24_9341.jpg
/home/pi/Desktop/images/28012025/19/21/image_28012025_19_21_34_10433.jpg
/home/pi/Desktop/images/28012025/19/21/image_28012025_19_21_45_10372.jpg
/home/pi/Desktop/images/28012025/19/21/image_28012025_19_21_54_9346.jpg
/home/pi/Desktop/images/28012025/19/21/image_28012025_19_22_05_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":["1332687553","1332687544","1332687558","1332687549","1332687534","1332687494"],"photo_ids_order":["1332687494","1332687534","1332687544","1332687549","1332687553","1332687558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/11bd3d2ed6861d2008ebdd9bd2cfda00.jpg","text":"TemporaryFile(/tmp/multipartBody1439776217759411025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164635408,"filename":"image_28012025_19_21_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/29/37eccc6318971b4de93ab5c451153355.jpg","text":"TemporaryFile(/tmp/multipartBody3269809161669888615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164635408,"filename":"image_28012025_19_21_34_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/29/1c6d5a479380ea59bb433cb8fdcb0146.jpg","text":"TemporaryFile(/tmp/multipartBody4079654673153999638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164635408,"filename":"image_28012025_19_22_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/29/a5880b7d021076b2fba8a8a1313c43a6.jpg","text":"TemporaryFile(/tmp/multipartBody1443866717581678869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164635408,"filename":"image_28012025_19_21_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/29/f8415fe5c538a244854b1691e6063559.jpg","text":"TemporaryFile(/tmp/multipartBody8350338745911490926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164635408,"filename":"image_28012025_19_21_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/29/ae08f4997eb1488f84c9188926b615d5.jpg","text":"TemporaryFile(/tmp/multipartBody3935192604885198817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164635408,"filename":"image_28012025_19_21_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332687544","file1":"1332687534","file0":"1332687494","file4":"1332687553","file5":"1332687558","file3":"1332687549"},"map_files_photo_id_array":[{"photo_id":"1332687558","filename":"file5"},{"photo_id":"1332687544","filename":"file2"},{"photo_id":"1332687553","filename":"file4"},{"photo_id":"1332687534","filename":"file1"},{"photo_id":"1332687494","filename":"file0"},{"photo_id":"1332687549","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332687553":["hashtag1","hashtag2"]},{"1332687544":["hashtag1","hashtag2"]},{"1332687558":["hashtag1","hashtag2"]},{"1332687549":["hashtag1","hashtag2"]},{"1332687534":["hashtag1","hashtag2"]},{"1332687494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332687553, 1332687544, 1332687558, 1332687549, 1332687534, 1332687494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76952815055847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:30:33.039231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/22/image_28012025_19_22_14_9343.jpg', '/home/pi/Desktop/images/28012025/19/22/image_28012025_19_22_24_10398.jpg', '/home/pi/Desktop/images/28012025/19/22/image_28012025_19_22_35_10345.jpg', '/home/pi/Desktop/images/28012025/19/22/image_28012025_19_22_44_9424.jpg', '/home/pi/Desktop/images/28012025/19/22/image_28012025_19_22_55_10470.jpg', '/home/pi/Desktop/images/28012025/19/22/image_28012025_19_23_05_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/22/image_28012025_19_22_14_9343.jpg
/home/pi/Desktop/images/28012025/19/22/image_28012025_19_22_24_10398.jpg
/home/pi/Desktop/images/28012025/19/22/image_28012025_19_22_35_10345.jpg
/home/pi/Desktop/images/28012025/19/22/image_28012025_19_22_44_9424.jpg
/home/pi/Desktop/images/28012025/19/22/image_28012025_19_22_55_10470.jpg
/home/pi/Desktop/images/28012025/19/22/image_28012025_19_23_05_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":["1332687688","1332687967","1332688391","1332688394","1332688385","1332688285"],"photo_ids_order":["1332687688","1332687967","1332688285","1332688385","1332688391","1332688394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/688a3dd98aa0bedfa5163c846c2cbfe6.jpg","text":"TemporaryFile(/tmp/multipartBody5336159277511251750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164695551,"filename":"image_28012025_19_22_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/29/a1cc43ee4d829145ad2c7cccb295afa8.jpg","text":"TemporaryFile(/tmp/multipartBody2102965644646904961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164695551,"filename":"image_28012025_19_22_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/29/3b3f7f4af728d585af9bd60f573495b1.jpg","text":"TemporaryFile(/tmp/multipartBody6675874518045091944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164695551,"filename":"image_28012025_19_22_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/29/ffa0cf14a3bfa34a4807c776dd578f3b.jpg","text":"TemporaryFile(/tmp/multipartBody3047437440183970502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164695551,"filename":"image_28012025_19_23_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/29/3412467e81257dce6dd217c4cbec6488.jpg","text":"TemporaryFile(/tmp/multipartBody738422319886724596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164695551,"filename":"image_28012025_19_22_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/29/f345dac8d8ac8406182269ad1031d0bd.jpg","text":"TemporaryFile(/tmp/multipartBody5633442360033662944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164695551,"filename":"image_28012025_19_22_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332688285","file1":"1332687967","file0":"1332687688","file4":"1332688391","file5":"1332688394","file3":"1332688385"},"map_files_photo_id_array":[{"photo_id":"1332688394","filename":"file5"},{"photo_id":"1332688285","filename":"file2"},{"photo_id":"1332688391","filename":"file4"},{"photo_id":"1332687967","filename":"file1"},{"photo_id":"1332687688","filename":"file0"},{"photo_id":"1332688385","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332687688":["hashtag1","hashtag2"]},{"1332687967":["hashtag1","hashtag2"]},{"1332688391":["hashtag1","hashtag2"]},{"1332688394":["hashtag1","hashtag2"]},{"1332688385":["hashtag1","hashtag2"]},{"1332688285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332687688, 1332687967, 1332688391, 1332688394, 1332688385, 1332688285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.620736598968506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:31:32.458255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/23/image_28012025_19_23_14_9352.jpg', '/home/pi/Desktop/images/28012025/19/23/image_28012025_19_23_25_10354.jpg', '/home/pi/Desktop/images/28012025/19/23/image_28012025_19_23_34_9334.jpg', '/home/pi/Desktop/images/28012025/19/23/image_28012025_19_23_44_10443.jpg', '/home/pi/Desktop/images/28012025/19/23/image_28012025_19_23_55_10362.jpg', '/home/pi/Desktop/images/28012025/19/23/image_28012025_19_24_04_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/23/image_28012025_19_23_14_9352.jpg
/home/pi/Desktop/images/28012025/19/23/image_28012025_19_23_25_10354.jpg
/home/pi/Desktop/images/28012025/19/23/image_28012025_19_23_34_9334.jpg
/home/pi/Desktop/images/28012025/19/23/image_28012025_19_23_44_10443.jpg
/home/pi/Desktop/images/28012025/19/23/image_28012025_19_23_55_10362.jpg
/home/pi/Desktop/images/28012025/19/23/image_28012025_19_24_04_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":["1332688753","1332688540","1332688501","1332688650","1332688949","1332688940"],"photo_ids_order":["1332688501","1332688540","1332688650","1332688753","1332688940","1332688949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0d267c9c9ac5877bf583d75fe4ef0a60.jpg","text":"TemporaryFile(/tmp/multipartBody7036890064661002021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164754994,"filename":"image_28012025_19_23_44_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/29/98f0b5017174512532a75a56b47e5d66.jpg","text":"TemporaryFile(/tmp/multipartBody3960447752347938118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164754994,"filename":"image_28012025_19_23_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/29/4454320a6a0f9477af05b20c10a9d6b4.jpg","text":"TemporaryFile(/tmp/multipartBody2774767003360363283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164754994,"filename":"image_28012025_19_23_14_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/29/c36a323d025ea4e62908e76e401b6915.jpg","text":"TemporaryFile(/tmp/multipartBody9074876686923936892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164754994,"filename":"image_28012025_19_23_34_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/29/e70a086990ab2e5e42f8278415407330.jpg","text":"TemporaryFile(/tmp/multipartBody8219838003455566534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164754994,"filename":"image_28012025_19_24_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/29/e72d99472a001480619b1b98d1b8f428.jpg","text":"TemporaryFile(/tmp/multipartBody4430483119578819914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164754994,"filename":"image_28012025_19_23_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332688650","file1":"1332688540","file0":"1332688501","file4":"1332688940","file5":"1332688949","file3":"1332688753"},"map_files_photo_id_array":[{"photo_id":"1332688949","filename":"file5"},{"photo_id":"1332688650","filename":"file2"},{"photo_id":"1332688940","filename":"file4"},{"photo_id":"1332688540","filename":"file1"},{"photo_id":"1332688501","filename":"file0"},{"photo_id":"1332688753","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332688753":["hashtag1","hashtag2"]},{"1332688540":["hashtag1","hashtag2"]},{"1332688501":["hashtag1","hashtag2"]},{"1332688650":["hashtag1","hashtag2"]},{"1332688949":["hashtag1","hashtag2"]},{"1332688940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332688753, 1332688540, 1332688501, 1332688650, 1332688949, 1332688940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.777289628982544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:32:32.579111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_14_10368.jpg', '/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_25_10362.jpg', '/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_34_9388.jpg', '/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_45_10413.jpg', '/home/pi/Desktop/images/28012025/19/24/image_28012025_19_25_04_10461.jpg', '/home/pi/Desktop/images/28012025/19/25/image_28012025_19_25_15_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_14_10368.jpg
/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_25_10362.jpg
/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_34_9388.jpg
/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_45_10413.jpg
/home/pi/Desktop/images/28012025/19/24/image_28012025_19_25_04_10461.jpg
/home/pi/Desktop/images/28012025/19/25/image_28012025_19_25_15_10362.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.139610767364502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 16:32:42.654544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_14_10368.jpg', '/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_25_10362.jpg', '/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_34_9388.jpg', '/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_45_10413.jpg', '/home/pi/Desktop/images/28012025/19/24/image_28012025_19_25_04_10461.jpg', '/home/pi/Desktop/images/28012025/19/25/image_28012025_19_25_15_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_14_10368.jpg
/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_25_10362.jpg
/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_34_9388.jpg
/home/pi/Desktop/images/28012025/19/24/image_28012025_19_24_45_10413.jpg
/home/pi/Desktop/images/28012025/19/24/image_28012025_19_25_04_10461.jpg
/home/pi/Desktop/images/28012025/19/25/image_28012025_19_25_15_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332689046","1332689060","1332689042","1332689048","1332689053","1332689056"],"photo_ids_order":["1332689042","1332689046","1332689048","1332689053","1332689056","1332689060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2f9a06b455b7531d9c0d0b1c7b25a7ce.jpg","text":"TemporaryFile(/tmp/multipartBody3057434145240488380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164824274,"filename":"image_28012025_19_24_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/29/84000d541d4c3436fb5fc6ecb23cf345.jpg","text":"TemporaryFile(/tmp/multipartBody1577854195918389726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164824274,"filename":"image_28012025_19_25_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/29/0b15b922b0ea7d6cd8ad960c27dd7fd7.jpg","text":"TemporaryFile(/tmp/multipartBody1895226097408205078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164824274,"filename":"image_28012025_19_24_14_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/29/0c5185fd7c507d88eed409acfaca0891.jpg","text":"TemporaryFile(/tmp/multipartBody3338358711610350378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164824274,"filename":"image_28012025_19_24_34_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/29/4308e28ef4d30ec29976ac6f2e2e28c3.jpg","text":"TemporaryFile(/tmp/multipartBody1315757742176815528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164824274,"filename":"image_28012025_19_24_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/29/9292b32d8a543ba11ff038b304072edc.jpg","text":"TemporaryFile(/tmp/multipartBody513076947276269033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164824274,"filename":"image_28012025_19_25_04_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689048","file1":"1332689046","file0":"1332689042","file4":"1332689056","file5":"1332689060","file3":"1332689053"},"map_files_photo_id_array":[{"photo_id":"1332689060","filename":"file5"},{"photo_id":"1332689048","filename":"file2"},{"photo_id":"1332689056","filename":"file4"},{"photo_id":"1332689046","filename":"file1"},{"photo_id":"1332689042","filename":"file0"},{"photo_id":"1332689053","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689046":["hashtag1","hashtag2"]},{"1332689060":["hashtag1","hashtag2"]},{"1332689042":["hashtag1","hashtag2"]},{"1332689048":["hashtag1","hashtag2"]},{"1332689053":["hashtag1","hashtag2"]},{"1332689056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689046, 1332689060, 1332689042, 1332689048, 1332689053, 1332689056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17821431159973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:33:32.774774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/25/image_28012025_19_25_24_9352.jpg', '/home/pi/Desktop/images/28012025/19/25/image_28012025_19_25_45_10352.jpg', '/home/pi/Desktop/images/28012025/19/25/image_28012025_19_25_54_9349.jpg', '/home/pi/Desktop/images/28012025/19/25/image_28012025_19_26_05_10355.jpg', '/home/pi/Desktop/images/28012025/19/26/image_28012025_19_26_14_9333.jpg', '/home/pi/Desktop/images/28012025/19/26/image_28012025_19_26_24_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/25/image_28012025_19_25_24_9352.jpg
/home/pi/Desktop/images/28012025/19/25/image_28012025_19_25_45_10352.jpg
/home/pi/Desktop/images/28012025/19/25/image_28012025_19_25_54_9349.jpg
/home/pi/Desktop/images/28012025/19/25/image_28012025_19_26_05_10355.jpg
/home/pi/Desktop/images/28012025/19/26/image_28012025_19_26_14_9333.jpg
/home/pi/Desktop/images/28012025/19/26/image_28012025_19_26_24_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":["1332689076","1332689079","1332689096","1332689099","1332689084","1332689071"],"photo_ids_order":["1332689071","1332689076","1332689079","1332689084","1332689096","1332689099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/eb00b6df1a4b3ea7ff29ff4619677ede.jpg","text":"TemporaryFile(/tmp/multipartBody3182230978782778404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164875285,"filename":"image_28012025_19_25_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/29/9e1d86d678b65c4d96e599d0b7653f06.jpg","text":"TemporaryFile(/tmp/multipartBody829768962445840332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164875285,"filename":"image_28012025_19_25_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/29/eef1420fa47c2fe08dc89b89c39c950d.jpg","text":"TemporaryFile(/tmp/multipartBody5518122682438527816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164875285,"filename":"image_28012025_19_26_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/29/c268bbfa55c92d10c9b298861371c995.jpg","text":"TemporaryFile(/tmp/multipartBody1989407047237131732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164875285,"filename":"image_28012025_19_26_24_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/29/9eb76315da7eecc0e8631052518307bf.jpg","text":"TemporaryFile(/tmp/multipartBody5019757447452161954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164875285,"filename":"image_28012025_19_26_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/29/458a14ef6aa7d1b9a1051ef34761f01b.jpg","text":"TemporaryFile(/tmp/multipartBody3319990206946034515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164875285,"filename":"image_28012025_19_25_24_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689079","file1":"1332689076","file0":"1332689071","file4":"1332689096","file5":"1332689099","file3":"1332689084"},"map_files_photo_id_array":[{"photo_id":"1332689099","filename":"file5"},{"photo_id":"1332689079","filename":"file2"},{"photo_id":"1332689096","filename":"file4"},{"photo_id":"1332689076","filename":"file1"},{"photo_id":"1332689071","filename":"file0"},{"photo_id":"1332689084","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689076":["hashtag1","hashtag2"]},{"1332689079":["hashtag1","hashtag2"]},{"1332689096":["hashtag1","hashtag2"]},{"1332689099":["hashtag1","hashtag2"]},{"1332689084":["hashtag1","hashtag2"]},{"1332689071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689076, 1332689079, 1332689096, 1332689099, 1332689084, 1332689071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.640225887298584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:34:33.010348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/26/image_28012025_19_26_35_10365.jpg', '/home/pi/Desktop/images/28012025/19/26/image_28012025_19_26_44_9496.jpg', '/home/pi/Desktop/images/28012025/19/26/image_28012025_19_26_55_10359.jpg', '/home/pi/Desktop/images/28012025/19/26/image_28012025_19_27_04_9351.jpg', '/home/pi/Desktop/images/28012025/19/27/image_28012025_19_27_14_10356.jpg', '/home/pi/Desktop/images/28012025/19/27/image_28012025_19_27_25_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/26/image_28012025_19_26_35_10365.jpg
/home/pi/Desktop/images/28012025/19/26/image_28012025_19_26_44_9496.jpg
/home/pi/Desktop/images/28012025/19/26/image_28012025_19_26_55_10359.jpg
/home/pi/Desktop/images/28012025/19/26/image_28012025_19_27_04_9351.jpg
/home/pi/Desktop/images/28012025/19/27/image_28012025_19_27_14_10356.jpg
/home/pi/Desktop/images/28012025/19/27/image_28012025_19_27_25_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":["1332689172","1332689168","1332689144","1332689164","1332689149","1332689140"],"photo_ids_order":["1332689140","1332689144","1332689149","1332689164","1332689168","1332689172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/81703610fd29eaac377983d900f967c0.jpg","text":"TemporaryFile(/tmp/multipartBody57220395804089214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164935534,"filename":"image_28012025_19_27_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/29/f3332e9630045c841971199e66ba9f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8409516933382031168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164935534,"filename":"image_28012025_19_27_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/29/54790a7d61c7412f4786d3e04e6e79f5.jpg","text":"TemporaryFile(/tmp/multipartBody2403224604373441626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164935534,"filename":"image_28012025_19_26_44_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/29/50e8d3178d13266ee9d730f449b33842.jpg","text":"TemporaryFile(/tmp/multipartBody6634635246621426212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164935534,"filename":"image_28012025_19_27_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/29/5d7b0177eb96f60f38a485122e9c8f3a.jpg","text":"TemporaryFile(/tmp/multipartBody5247131999445798339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164935534,"filename":"image_28012025_19_26_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/29/15c8d4dc205580ef9e5c47fe12fed41a.jpg","text":"TemporaryFile(/tmp/multipartBody2069260066708722948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164935534,"filename":"image_28012025_19_26_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689149","file1":"1332689144","file0":"1332689140","file4":"1332689168","file5":"1332689172","file3":"1332689164"},"map_files_photo_id_array":[{"photo_id":"1332689172","filename":"file5"},{"photo_id":"1332689149","filename":"file2"},{"photo_id":"1332689168","filename":"file4"},{"photo_id":"1332689144","filename":"file1"},{"photo_id":"1332689140","filename":"file0"},{"photo_id":"1332689164","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689172":["hashtag1","hashtag2"]},{"1332689168":["hashtag1","hashtag2"]},{"1332689144":["hashtag1","hashtag2"]},{"1332689164":["hashtag1","hashtag2"]},{"1332689149":["hashtag1","hashtag2"]},{"1332689140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689172, 1332689168, 1332689144, 1332689164, 1332689149, 1332689140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.539695024490356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:35:32.276475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/27/image_28012025_19_27_34_9411.jpg', '/home/pi/Desktop/images/28012025/19/27/image_28012025_19_27_44_10411.jpg', '/home/pi/Desktop/images/28012025/19/27/image_28012025_19_27_54_9427.jpg', '/home/pi/Desktop/images/28012025/19/27/image_28012025_19_28_04_10373.jpg', '/home/pi/Desktop/images/28012025/19/28/image_28012025_19_28_15_10354.jpg', '/home/pi/Desktop/images/28012025/19/28/image_28012025_19_28_24_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/27/image_28012025_19_27_34_9411.jpg
/home/pi/Desktop/images/28012025/19/27/image_28012025_19_27_44_10411.jpg
/home/pi/Desktop/images/28012025/19/27/image_28012025_19_27_54_9427.jpg
/home/pi/Desktop/images/28012025/19/27/image_28012025_19_28_04_10373.jpg
/home/pi/Desktop/images/28012025/19/28/image_28012025_19_28_15_10354.jpg
/home/pi/Desktop/images/28012025/19/28/image_28012025_19_28_24_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":["1332689215","1332689203","1332689200","1332689190","1332689219","1332689194"],"photo_ids_order":["1332689190","1332689194","1332689200","1332689203","1332689215","1332689219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6d99b0395aa34ddf3b423c38eaa497b0.jpg","text":"TemporaryFile(/tmp/multipartBody7705283236328129863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164994809,"filename":"image_28012025_19_28_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/29/b8f2c7986022b905deaba366e43c31d7.jpg","text":"TemporaryFile(/tmp/multipartBody4267451493293004171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164994809,"filename":"image_28012025_19_28_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/29/ac6d48384e9e92b7e603272968ceb04d.jpg","text":"TemporaryFile(/tmp/multipartBody6276399611126797122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164994809,"filename":"image_28012025_19_27_54_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/29/60ba075d776abe069ecde273b8e277d1.jpg","text":"TemporaryFile(/tmp/multipartBody4285899723398387103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164994809,"filename":"image_28012025_19_27_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/29/8e240267de17a225de81b4e4ac68427d.jpg","text":"TemporaryFile(/tmp/multipartBody4123253186029686104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164994809,"filename":"image_28012025_19_28_24_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/29/cca33137ffc3a93b3a0f501798d21b02.jpg","text":"TemporaryFile(/tmp/multipartBody6481240211057143672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738164994809,"filename":"image_28012025_19_27_44_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689200","file1":"1332689194","file0":"1332689190","file4":"1332689215","file5":"1332689219","file3":"1332689203"},"map_files_photo_id_array":[{"photo_id":"1332689219","filename":"file5"},{"photo_id":"1332689200","filename":"file2"},{"photo_id":"1332689215","filename":"file4"},{"photo_id":"1332689194","filename":"file1"},{"photo_id":"1332689190","filename":"file0"},{"photo_id":"1332689203","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689215":["hashtag1","hashtag2"]},{"1332689203":["hashtag1","hashtag2"]},{"1332689200":["hashtag1","hashtag2"]},{"1332689190":["hashtag1","hashtag2"]},{"1332689219":["hashtag1","hashtag2"]},{"1332689194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689215, 1332689203, 1332689200, 1332689190, 1332689219, 1332689194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.50004243850708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:36:32.426368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/28/image_28012025_19_28_34_10339.jpg', '/home/pi/Desktop/images/28012025/19/28/image_28012025_19_28_45_10336.jpg', '/home/pi/Desktop/images/28012025/19/28/image_28012025_19_28_54_9327.jpg', '/home/pi/Desktop/images/28012025/19/28/image_28012025_19_29_04_10371.jpg', '/home/pi/Desktop/images/28012025/19/29/image_28012025_19_29_15_10329.jpg', '/home/pi/Desktop/images/28012025/19/29/image_28012025_19_29_24_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/28/image_28012025_19_28_34_10339.jpg
/home/pi/Desktop/images/28012025/19/28/image_28012025_19_28_45_10336.jpg
/home/pi/Desktop/images/28012025/19/28/image_28012025_19_28_54_9327.jpg
/home/pi/Desktop/images/28012025/19/28/image_28012025_19_29_04_10371.jpg
/home/pi/Desktop/images/28012025/19/29/image_28012025_19_29_15_10329.jpg
/home/pi/Desktop/images/28012025/19/29/image_28012025_19_29_24_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":["1332689257","1332689280","1332689274","1332689262","1332689250","1332689268"],"photo_ids_order":["1332689250","1332689257","1332689262","1332689268","1332689274","1332689280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b6dd562e55afe189c9c3b29bafcb251d.jpg","text":"TemporaryFile(/tmp/multipartBody1773446667398588166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165054932,"filename":"image_28012025_19_28_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/29/a4b027973a3083117f04a517f38d44b0.jpg","text":"TemporaryFile(/tmp/multipartBody8158001123405333691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165054932,"filename":"image_28012025_19_29_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/29/21473cd920d6f91221a4acdff1946b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2924007407952242727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165054932,"filename":"image_28012025_19_29_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/29/62fee3052a14750ed7e9f3545dcd4b49.jpg","text":"TemporaryFile(/tmp/multipartBody1250206404246247526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165054932,"filename":"image_28012025_19_28_54_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/29/1fd226fbe468970c5c6fee83399d7b71.jpg","text":"TemporaryFile(/tmp/multipartBody3213415444003191825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165054932,"filename":"image_28012025_19_28_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/29/d2c776059257628faf2fde77f815bb7d.jpg","text":"TemporaryFile(/tmp/multipartBody7772729656135726199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165054932,"filename":"image_28012025_19_29_04_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689262","file1":"1332689257","file0":"1332689250","file4":"1332689274","file5":"1332689280","file3":"1332689268"},"map_files_photo_id_array":[{"photo_id":"1332689280","filename":"file5"},{"photo_id":"1332689262","filename":"file2"},{"photo_id":"1332689274","filename":"file4"},{"photo_id":"1332689257","filename":"file1"},{"photo_id":"1332689250","filename":"file0"},{"photo_id":"1332689268","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689257":["hashtag1","hashtag2"]},{"1332689280":["hashtag1","hashtag2"]},{"1332689274":["hashtag1","hashtag2"]},{"1332689262":["hashtag1","hashtag2"]},{"1332689250":["hashtag1","hashtag2"]},{"1332689268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689257, 1332689280, 1332689274, 1332689262, 1332689250, 1332689268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.22434735298157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:37:32.789515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/29/image_28012025_19_29_34_10331.jpg', '/home/pi/Desktop/images/28012025/19/29/image_28012025_19_29_45_10358.jpg', '/home/pi/Desktop/images/28012025/19/29/image_28012025_19_29_54_9356.jpg', '/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_15_10385.jpg', '/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_24_9399.jpg', '/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_35_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/29/image_28012025_19_29_34_10331.jpg
/home/pi/Desktop/images/28012025/19/29/image_28012025_19_29_45_10358.jpg
/home/pi/Desktop/images/28012025/19/29/image_28012025_19_29_54_9356.jpg
/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_15_10385.jpg
/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_24_9399.jpg
/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_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":["1332689308","1332689305","1332689291","1332689312","1332689296","1332689300"],"photo_ids_order":["1332689291","1332689296","1332689300","1332689305","1332689308","1332689312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a109b4fc5a12cf4ee5bb3ddd6d6ae255.jpg","text":"TemporaryFile(/tmp/multipartBody7227468519507540866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165115295,"filename":"image_28012025_19_30_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/29/136045e57e0369901b0323a815534931.jpg","text":"TemporaryFile(/tmp/multipartBody8981659461015065363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165115295,"filename":"image_28012025_19_30_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/29/61d3a2ce5f19a12e42a773d539ce3e5b.jpg","text":"TemporaryFile(/tmp/multipartBody4584556601652491098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165115295,"filename":"image_28012025_19_29_34_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/29/5d19f3f8e171275d59a9663ccde25c86.jpg","text":"TemporaryFile(/tmp/multipartBody3846792028064212045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165115295,"filename":"image_28012025_19_30_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/29/9d888075279fa0ba1365a695e8777490.jpg","text":"TemporaryFile(/tmp/multipartBody1238420876832745460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165115295,"filename":"image_28012025_19_29_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/29/9c119b2db8994e87929b11c33aa4ab2c.jpg","text":"TemporaryFile(/tmp/multipartBody2028789430370602359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165115295,"filename":"image_28012025_19_29_54_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689300","file1":"1332689296","file0":"1332689291","file4":"1332689308","file5":"1332689312","file3":"1332689305"},"map_files_photo_id_array":[{"photo_id":"1332689312","filename":"file5"},{"photo_id":"1332689300","filename":"file2"},{"photo_id":"1332689308","filename":"file4"},{"photo_id":"1332689296","filename":"file1"},{"photo_id":"1332689291","filename":"file0"},{"photo_id":"1332689305","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689308":["hashtag1","hashtag2"]},{"1332689305":["hashtag1","hashtag2"]},{"1332689291":["hashtag1","hashtag2"]},{"1332689312":["hashtag1","hashtag2"]},{"1332689296":["hashtag1","hashtag2"]},{"1332689300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689308, 1332689305, 1332689291, 1332689312, 1332689296, 1332689300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80581212043762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:38:32.887944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_45_10327.jpg', '/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_54_9481.jpg', '/home/pi/Desktop/images/28012025/19/30/image_28012025_19_31_05_10343.jpg', '/home/pi/Desktop/images/28012025/19/31/image_28012025_19_31_24_10467.jpg', '/home/pi/Desktop/images/28012025/19/31/image_28012025_19_31_35_10378.jpg', '/home/pi/Desktop/images/28012025/19/31/image_28012025_19_32_04_9478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_45_10327.jpg
/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_54_9481.jpg
/home/pi/Desktop/images/28012025/19/30/image_28012025_19_31_05_10343.jpg
/home/pi/Desktop/images/28012025/19/31/image_28012025_19_31_24_10467.jpg
/home/pi/Desktop/images/28012025/19/31/image_28012025_19_31_35_10378.jpg
/home/pi/Desktop/images/28012025/19/31/image_28012025_19_32_04_9478.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.1335296630859375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 16:38:42.901495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_45_10327.jpg', '/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_54_9481.jpg', '/home/pi/Desktop/images/28012025/19/30/image_28012025_19_31_05_10343.jpg', '/home/pi/Desktop/images/28012025/19/31/image_28012025_19_31_24_10467.jpg', '/home/pi/Desktop/images/28012025/19/31/image_28012025_19_31_35_10378.jpg', '/home/pi/Desktop/images/28012025/19/31/image_28012025_19_32_04_9478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_45_10327.jpg
/home/pi/Desktop/images/28012025/19/30/image_28012025_19_30_54_9481.jpg
/home/pi/Desktop/images/28012025/19/30/image_28012025_19_31_05_10343.jpg
/home/pi/Desktop/images/28012025/19/31/image_28012025_19_31_24_10467.jpg
/home/pi/Desktop/images/28012025/19/31/image_28012025_19_31_35_10378.jpg
/home/pi/Desktop/images/28012025/19/31/image_28012025_19_32_04_9478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332689356","1332689367","1332689369","1332689348","1332689342","1332689371"],"photo_ids_order":["1332689342","1332689348","1332689356","1332689367","1332689369","1332689371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4742b7151270182a23eb9df77cf41f97.jpg","text":"TemporaryFile(/tmp/multipartBody8090519493724253700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165184616,"filename":"image_28012025_19_31_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/29/3bedd18dd1841ed2d64115e5ff6639e1.jpg","text":"TemporaryFile(/tmp/multipartBody3019401056051530207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165184616,"filename":"image_28012025_19_31_24_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/29/664886e809d4db316f2550f7f8799656.jpg","text":"TemporaryFile(/tmp/multipartBody2606180066414682861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165184616,"filename":"image_28012025_19_31_35_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/29/9fb85c89d8498e18586e84a2609980fe.jpg","text":"TemporaryFile(/tmp/multipartBody3405638783775995866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165184616,"filename":"image_28012025_19_30_54_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5236a018cd05ba9bc0c78f17013bbf93.jpg","text":"TemporaryFile(/tmp/multipartBody971734948006261380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165184616,"filename":"image_28012025_19_30_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/29/5478b58a2c6de3df801f30a103486e67.jpg","text":"TemporaryFile(/tmp/multipartBody4473171603382730469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165184616,"filename":"image_28012025_19_32_04_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689356","file1":"1332689348","file0":"1332689342","file4":"1332689369","file5":"1332689371","file3":"1332689367"},"map_files_photo_id_array":[{"photo_id":"1332689371","filename":"file5"},{"photo_id":"1332689356","filename":"file2"},{"photo_id":"1332689369","filename":"file4"},{"photo_id":"1332689348","filename":"file1"},{"photo_id":"1332689342","filename":"file0"},{"photo_id":"1332689367","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689356":["hashtag1","hashtag2"]},{"1332689367":["hashtag1","hashtag2"]},{"1332689369":["hashtag1","hashtag2"]},{"1332689348":["hashtag1","hashtag2"]},{"1332689342":["hashtag1","hashtag2"]},{"1332689371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689356, 1332689367, 1332689369, 1332689348, 1332689342, 1332689371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23741841316223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:39:33.079560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/32/image_28012025_19_32_15_10328.jpg', '/home/pi/Desktop/images/28012025/19/32/image_28012025_19_32_25_10342.jpg', '/home/pi/Desktop/images/28012025/19/32/image_28012025_19_32_34_9473.jpg', '/home/pi/Desktop/images/28012025/19/32/image_28012025_19_32_45_10358.jpg', '/home/pi/Desktop/images/28012025/19/32/image_28012025_19_32_54_9351.jpg', '/home/pi/Desktop/images/28012025/19/32/image_28012025_19_33_04_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/32/image_28012025_19_32_15_10328.jpg
/home/pi/Desktop/images/28012025/19/32/image_28012025_19_32_25_10342.jpg
/home/pi/Desktop/images/28012025/19/32/image_28012025_19_32_34_9473.jpg
/home/pi/Desktop/images/28012025/19/32/image_28012025_19_32_45_10358.jpg
/home/pi/Desktop/images/28012025/19/32/image_28012025_19_32_54_9351.jpg
/home/pi/Desktop/images/28012025/19/32/image_28012025_19_33_04_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":["1332689428","1332689437","1332689445","1332689441","1332689392","1332689431"],"photo_ids_order":["1332689392","1332689428","1332689431","1332689437","1332689441","1332689445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2ddc347a33013427a71f0ea39eda53ba.jpg","text":"TemporaryFile(/tmp/multipartBody2924142612725756290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165235604,"filename":"image_28012025_19_32_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/29/bb190b3915a3496552e68f569d3acc64.jpg","text":"TemporaryFile(/tmp/multipartBody102158903107344681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165235604,"filename":"image_28012025_19_32_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/29/5f5c994cc967894769d21254a4cba30b.jpg","text":"TemporaryFile(/tmp/multipartBody1271080223940873112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165235604,"filename":"image_28012025_19_33_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/29/8f537f210424a214418089ca66e3e56f.jpg","text":"TemporaryFile(/tmp/multipartBody5647838495875561989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165235604,"filename":"image_28012025_19_32_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/29/ddd6f5d25003c0486c947c3b2ef0d7fc.jpg","text":"TemporaryFile(/tmp/multipartBody8800556191564199851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165235604,"filename":"image_28012025_19_32_15_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/29/11098a01e4c39acbae1f3ba3647539f4.jpg","text":"TemporaryFile(/tmp/multipartBody8269776657813770167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165235604,"filename":"image_28012025_19_32_34_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689431","file1":"1332689428","file0":"1332689392","file4":"1332689441","file5":"1332689445","file3":"1332689437"},"map_files_photo_id_array":[{"photo_id":"1332689445","filename":"file5"},{"photo_id":"1332689431","filename":"file2"},{"photo_id":"1332689441","filename":"file4"},{"photo_id":"1332689428","filename":"file1"},{"photo_id":"1332689392","filename":"file0"},{"photo_id":"1332689437","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689428":["hashtag1","hashtag2"]},{"1332689437":["hashtag1","hashtag2"]},{"1332689445":["hashtag1","hashtag2"]},{"1332689441":["hashtag1","hashtag2"]},{"1332689392":["hashtag1","hashtag2"]},{"1332689431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689428, 1332689437, 1332689445, 1332689441, 1332689392, 1332689431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42607140541077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:40:32.349829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/33/image_28012025_19_33_15_10340.jpg', '/home/pi/Desktop/images/28012025/19/33/image_28012025_19_33_24_9397.jpg', '/home/pi/Desktop/images/28012025/19/33/image_28012025_19_33_35_10374.jpg', '/home/pi/Desktop/images/28012025/19/33/image_28012025_19_33_44_9337.jpg', '/home/pi/Desktop/images/28012025/19/33/image_28012025_19_33_54_10365.jpg', '/home/pi/Desktop/images/28012025/19/33/image_28012025_19_34_05_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/33/image_28012025_19_33_15_10340.jpg
/home/pi/Desktop/images/28012025/19/33/image_28012025_19_33_24_9397.jpg
/home/pi/Desktop/images/28012025/19/33/image_28012025_19_33_35_10374.jpg
/home/pi/Desktop/images/28012025/19/33/image_28012025_19_33_44_9337.jpg
/home/pi/Desktop/images/28012025/19/33/image_28012025_19_33_54_10365.jpg
/home/pi/Desktop/images/28012025/19/33/image_28012025_19_34_05_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":["1332689553","1332689480","1332689627","1332689525","1332689557","1332689572"],"photo_ids_order":["1332689480","1332689525","1332689553","1332689557","1332689572","1332689627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9cd39b7037d04f9b829a7d8cf43e5e76.jpg","text":"TemporaryFile(/tmp/multipartBody241309904062959336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165294868,"filename":"image_28012025_19_33_35_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/29/7983810efe1f2451bdd9006b4eae89e8.jpg","text":"TemporaryFile(/tmp/multipartBody2354600117733910965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165294868,"filename":"image_28012025_19_33_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/29/37932219fe63cbdd9c8016e836f987a4.jpg","text":"TemporaryFile(/tmp/multipartBody2363159341687399110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165294868,"filename":"image_28012025_19_34_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/29/6e64d779bec839d1aae7de0bb670ac7c.jpg","text":"TemporaryFile(/tmp/multipartBody5841861707022652223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165294868,"filename":"image_28012025_19_33_24_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/29/141d7fd95ae2fc1c8c67435e36a9fda5.jpg","text":"TemporaryFile(/tmp/multipartBody6232358699203787960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165294868,"filename":"image_28012025_19_33_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/29/24e9788ef1022cecedd004b3439ced35.jpg","text":"TemporaryFile(/tmp/multipartBody9069136521272904277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165294868,"filename":"image_28012025_19_33_54_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689553","file1":"1332689525","file0":"1332689480","file4":"1332689572","file5":"1332689627","file3":"1332689557"},"map_files_photo_id_array":[{"photo_id":"1332689627","filename":"file5"},{"photo_id":"1332689553","filename":"file2"},{"photo_id":"1332689572","filename":"file4"},{"photo_id":"1332689525","filename":"file1"},{"photo_id":"1332689480","filename":"file0"},{"photo_id":"1332689557","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689553":["hashtag1","hashtag2"]},{"1332689480":["hashtag1","hashtag2"]},{"1332689627":["hashtag1","hashtag2"]},{"1332689525":["hashtag1","hashtag2"]},{"1332689557":["hashtag1","hashtag2"]},{"1332689572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689553, 1332689480, 1332689627, 1332689525, 1332689557, 1332689572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.022345781326294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:41:32.545146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/34/image_28012025_19_34_14_9337.jpg', '/home/pi/Desktop/images/28012025/19/34/image_28012025_19_34_24_10367.jpg', '/home/pi/Desktop/images/28012025/19/34/image_28012025_19_34_35_10341.jpg', '/home/pi/Desktop/images/28012025/19/34/image_28012025_19_34_44_9338.jpg', '/home/pi/Desktop/images/28012025/19/34/image_28012025_19_34_54_10454.jpg', '/home/pi/Desktop/images/28012025/19/34/image_28012025_19_35_05_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/34/image_28012025_19_34_14_9337.jpg
/home/pi/Desktop/images/28012025/19/34/image_28012025_19_34_24_10367.jpg
/home/pi/Desktop/images/28012025/19/34/image_28012025_19_34_35_10341.jpg
/home/pi/Desktop/images/28012025/19/34/image_28012025_19_34_44_9338.jpg
/home/pi/Desktop/images/28012025/19/34/image_28012025_19_34_54_10454.jpg
/home/pi/Desktop/images/28012025/19/34/image_28012025_19_35_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":["1332689691","1332689657","1332689672","1332689689","1332689677","1332689650"],"photo_ids_order":["1332689650","1332689657","1332689672","1332689677","1332689689","1332689691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/49d7459478d0b4c17018b2201a3b5f0f.jpg","text":"TemporaryFile(/tmp/multipartBody2226088267741216690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165355066,"filename":"image_28012025_19_35_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/29/378816b7f95a8450809684b9a27fc9c4.jpg","text":"TemporaryFile(/tmp/multipartBody1702827603158346867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165355066,"filename":"image_28012025_19_34_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/29/2d3164bbc8e7e596d59309fe1b5f3275.jpg","text":"TemporaryFile(/tmp/multipartBody7851189225641835627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165355066,"filename":"image_28012025_19_34_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/29/5741992a81fa6fbb56bbf064561bed19.jpg","text":"TemporaryFile(/tmp/multipartBody272632931259381573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165355066,"filename":"image_28012025_19_34_54_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/29/f2d6c05837fb6c4d50f81f407d01501e.jpg","text":"TemporaryFile(/tmp/multipartBody3609457827735749725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165355066,"filename":"image_28012025_19_34_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/29/79e325c584beefcbc7eaac7a1f281b97.jpg","text":"TemporaryFile(/tmp/multipartBody4967912510644078404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165355066,"filename":"image_28012025_19_34_14_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689672","file1":"1332689657","file0":"1332689650","file4":"1332689689","file5":"1332689691","file3":"1332689677"},"map_files_photo_id_array":[{"photo_id":"1332689691","filename":"file5"},{"photo_id":"1332689672","filename":"file2"},{"photo_id":"1332689689","filename":"file4"},{"photo_id":"1332689657","filename":"file1"},{"photo_id":"1332689650","filename":"file0"},{"photo_id":"1332689677","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689691":["hashtag1","hashtag2"]},{"1332689657":["hashtag1","hashtag2"]},{"1332689672":["hashtag1","hashtag2"]},{"1332689689":["hashtag1","hashtag2"]},{"1332689677":["hashtag1","hashtag2"]},{"1332689650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689691, 1332689657, 1332689672, 1332689689, 1332689677, 1332689650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28045296669006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:42:32.735592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/35/image_28012025_19_35_14_9467.jpg', '/home/pi/Desktop/images/28012025/19/35/image_28012025_19_35_25_10354.jpg', '/home/pi/Desktop/images/28012025/19/35/image_28012025_19_35_34_9348.jpg', '/home/pi/Desktop/images/28012025/19/35/image_28012025_19_35_44_10454.jpg', '/home/pi/Desktop/images/28012025/19/35/image_28012025_19_35_55_10370.jpg', '/home/pi/Desktop/images/28012025/19/36/image_28012025_19_36_15_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/35/image_28012025_19_35_14_9467.jpg
/home/pi/Desktop/images/28012025/19/35/image_28012025_19_35_25_10354.jpg
/home/pi/Desktop/images/28012025/19/35/image_28012025_19_35_34_9348.jpg
/home/pi/Desktop/images/28012025/19/35/image_28012025_19_35_44_10454.jpg
/home/pi/Desktop/images/28012025/19/35/image_28012025_19_35_55_10370.jpg
/home/pi/Desktop/images/28012025/19/36/image_28012025_19_36_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":["1332689769","1332689762","1332689771","1332689765","1332689753","1332689758"],"photo_ids_order":["1332689753","1332689758","1332689762","1332689765","1332689769","1332689771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/007be46be4924154fcfccd9810a802fc.jpg","text":"TemporaryFile(/tmp/multipartBody6118694565617909555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165415280,"filename":"image_28012025_19_35_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/29/2d8caa404b15131085af9ac293a0376a.jpg","text":"TemporaryFile(/tmp/multipartBody1229309448591325962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165415280,"filename":"image_28012025_19_35_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/29/ed2734f5bcd7c32b4361c929b6353f1c.jpg","text":"TemporaryFile(/tmp/multipartBody5315655376205427079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165415280,"filename":"image_28012025_19_36_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/29/5381f724bb06c42d7d06a867ffc9cbf1.jpg","text":"TemporaryFile(/tmp/multipartBody3378935896654684218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165415280,"filename":"image_28012025_19_35_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/29/9799001ed4121b1f19ed298b5dac88d7.jpg","text":"TemporaryFile(/tmp/multipartBody3183005258590559155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165415280,"filename":"image_28012025_19_35_14_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/29/55212ede1c89a32aabee7400cb755c22.jpg","text":"TemporaryFile(/tmp/multipartBody8669108528359724565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165415280,"filename":"image_28012025_19_35_25_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689762","file1":"1332689758","file0":"1332689753","file4":"1332689769","file5":"1332689771","file3":"1332689765"},"map_files_photo_id_array":[{"photo_id":"1332689771","filename":"file5"},{"photo_id":"1332689762","filename":"file2"},{"photo_id":"1332689769","filename":"file4"},{"photo_id":"1332689758","filename":"file1"},{"photo_id":"1332689753","filename":"file0"},{"photo_id":"1332689765","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689769":["hashtag1","hashtag2"]},{"1332689762":["hashtag1","hashtag2"]},{"1332689771":["hashtag1","hashtag2"]},{"1332689765":["hashtag1","hashtag2"]},{"1332689753":["hashtag1","hashtag2"]},{"1332689758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689769, 1332689762, 1332689771, 1332689765, 1332689753, 1332689758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83098816871643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:43:33.160077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/36/image_28012025_19_36_24_9457.jpg', '/home/pi/Desktop/images/28012025/19/36/image_28012025_19_36_35_10428.jpg', '/home/pi/Desktop/images/28012025/19/36/image_28012025_19_36_45_10345.jpg', '/home/pi/Desktop/images/28012025/19/36/image_28012025_19_36_54_9382.jpg', '/home/pi/Desktop/images/28012025/19/36/image_28012025_19_37_05_10342.jpg', '/home/pi/Desktop/images/28012025/19/37/image_28012025_19_37_14_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/36/image_28012025_19_36_24_9457.jpg
/home/pi/Desktop/images/28012025/19/36/image_28012025_19_36_35_10428.jpg
/home/pi/Desktop/images/28012025/19/36/image_28012025_19_36_45_10345.jpg
/home/pi/Desktop/images/28012025/19/36/image_28012025_19_36_54_9382.jpg
/home/pi/Desktop/images/28012025/19/36/image_28012025_19_37_05_10342.jpg
/home/pi/Desktop/images/28012025/19/37/image_28012025_19_37_14_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":["1332689806","1332689809","1332689799","1332689789","1332689804","1332689794"],"photo_ids_order":["1332689789","1332689794","1332689799","1332689804","1332689806","1332689809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7fbcfa54fc1fd8db329e2540ccbdf7af.jpg","text":"TemporaryFile(/tmp/multipartBody923561397476951235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165475675,"filename":"image_28012025_19_37_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/29/eb0a22a763d910957406d14e4f7f77d7.jpg","text":"TemporaryFile(/tmp/multipartBody8354400538094632727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165475675,"filename":"image_28012025_19_37_14_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/29/1e5d27458540dc99879711d369dd048c.jpg","text":"TemporaryFile(/tmp/multipartBody4756894710339700453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165475675,"filename":"image_28012025_19_36_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/29/0062da23fb8e40b93fe6d8d233d4ef8b.jpg","text":"TemporaryFile(/tmp/multipartBody8721058279721149672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165475675,"filename":"image_28012025_19_36_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/29/5c0e9e34ffeb15e04e111162c4f76a39.jpg","text":"TemporaryFile(/tmp/multipartBody3503253224278380389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165475675,"filename":"image_28012025_19_36_54_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/29/6d0d398ed299c506fa9518bc2bfcb0ee.jpg","text":"TemporaryFile(/tmp/multipartBody1864987792706981588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165475675,"filename":"image_28012025_19_36_35_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689799","file1":"1332689794","file0":"1332689789","file4":"1332689806","file5":"1332689809","file3":"1332689804"},"map_files_photo_id_array":[{"photo_id":"1332689809","filename":"file5"},{"photo_id":"1332689799","filename":"file2"},{"photo_id":"1332689806","filename":"file4"},{"photo_id":"1332689794","filename":"file1"},{"photo_id":"1332689789","filename":"file0"},{"photo_id":"1332689804","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689806":["hashtag1","hashtag2"]},{"1332689809":["hashtag1","hashtag2"]},{"1332689799":["hashtag1","hashtag2"]},{"1332689789":["hashtag1","hashtag2"]},{"1332689804":["hashtag1","hashtag2"]},{"1332689794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689806, 1332689809, 1332689799, 1332689789, 1332689804, 1332689794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38397789001465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:44:32.277415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/37/image_28012025_19_37_24_10474.jpg', '/home/pi/Desktop/images/28012025/19/37/image_28012025_19_37_35_10354.jpg', '/home/pi/Desktop/images/28012025/19/37/image_28012025_19_37_44_9403.jpg', '/home/pi/Desktop/images/28012025/19/37/image_28012025_19_37_55_10359.jpg', '/home/pi/Desktop/images/28012025/19/37/image_28012025_19_38_05_10332.jpg', '/home/pi/Desktop/images/28012025/19/38/image_28012025_19_38_14_9473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/37/image_28012025_19_37_24_10474.jpg
/home/pi/Desktop/images/28012025/19/37/image_28012025_19_37_35_10354.jpg
/home/pi/Desktop/images/28012025/19/37/image_28012025_19_37_44_9403.jpg
/home/pi/Desktop/images/28012025/19/37/image_28012025_19_37_55_10359.jpg
/home/pi/Desktop/images/28012025/19/37/image_28012025_19_38_05_10332.jpg
/home/pi/Desktop/images/28012025/19/38/image_28012025_19_38_14_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":["1332689850","1332689838","1332690009","1332690000","1332689843","1332690024"],"photo_ids_order":["1332689838","1332689843","1332689850","1332690000","1332690009","1332690024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8e68f423b6ea008859564b67f7bd5541.jpg","text":"TemporaryFile(/tmp/multipartBody4219708097962881842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165534824,"filename":"image_28012025_19_37_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/29/fa1c44d298e9e63dfd97b47013ea9d40.jpg","text":"TemporaryFile(/tmp/multipartBody6454638098956215321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165534824,"filename":"image_28012025_19_37_24_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/29/f85c9872ce693dddb559a42868d5a657.jpg","text":"TemporaryFile(/tmp/multipartBody233951060133884878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165534824,"filename":"image_28012025_19_38_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/29/abdf14667c7ab51af691d6116d573867.jpg","text":"TemporaryFile(/tmp/multipartBody2075983117275112900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165534824,"filename":"image_28012025_19_37_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/29/38e3ceb546567b7acc9541c24a45698c.jpg","text":"TemporaryFile(/tmp/multipartBody6089123809038913798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165534824,"filename":"image_28012025_19_37_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/29/13ae61b3bc73ce0ed4ceed6cf7ff497f.jpg","text":"TemporaryFile(/tmp/multipartBody2717529921366014958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165534824,"filename":"image_28012025_19_38_14_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332689850","file1":"1332689843","file0":"1332689838","file4":"1332690009","file5":"1332690024","file3":"1332690000"},"map_files_photo_id_array":[{"photo_id":"1332690024","filename":"file5"},{"photo_id":"1332689850","filename":"file2"},{"photo_id":"1332690009","filename":"file4"},{"photo_id":"1332689843","filename":"file1"},{"photo_id":"1332689838","filename":"file0"},{"photo_id":"1332690000","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332689850":["hashtag1","hashtag2"]},{"1332689838":["hashtag1","hashtag2"]},{"1332690009":["hashtag1","hashtag2"]},{"1332690000":["hashtag1","hashtag2"]},{"1332689843":["hashtag1","hashtag2"]},{"1332690024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332689850, 1332689838, 1332690009, 1332690000, 1332689843, 1332690024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.27153182029724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:45:32.486087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/38/image_28012025_19_38_25_10381.jpg', '/home/pi/Desktop/images/28012025/19/38/image_28012025_19_38_34_9348.jpg', '/home/pi/Desktop/images/28012025/19/38/image_28012025_19_38_45_10438.jpg', '/home/pi/Desktop/images/28012025/19/38/image_28012025_19_38_54_9369.jpg', '/home/pi/Desktop/images/28012025/19/38/image_28012025_19_39_04_10375.jpg', '/home/pi/Desktop/images/28012025/19/39/image_28012025_19_39_15_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/38/image_28012025_19_38_25_10381.jpg
/home/pi/Desktop/images/28012025/19/38/image_28012025_19_38_34_9348.jpg
/home/pi/Desktop/images/28012025/19/38/image_28012025_19_38_45_10438.jpg
/home/pi/Desktop/images/28012025/19/38/image_28012025_19_38_54_9369.jpg
/home/pi/Desktop/images/28012025/19/38/image_28012025_19_39_04_10375.jpg
/home/pi/Desktop/images/28012025/19/39/image_28012025_19_39_15_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":["1332690308","1332690067","1332690273","1332690237","1332690137","1332690196"],"photo_ids_order":["1332690067","1332690137","1332690196","1332690237","1332690273","1332690308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a3c40f21c249fac0c2a2e0f42eb35337.jpg","text":"TemporaryFile(/tmp/multipartBody5142558956306662327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165595008,"filename":"image_28012025_19_39_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/29/b4679f489a82c0a3495db04299ce1f8b.jpg","text":"TemporaryFile(/tmp/multipartBody9004781015278048745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165595008,"filename":"image_28012025_19_38_25_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/29/97274fc232db3eb3c0fefe6c6ce1aa46.jpg","text":"TemporaryFile(/tmp/multipartBody2787279737719023194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165595008,"filename":"image_28012025_19_39_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/29/df4e784ca6b9377e6d4262546ff4c1b7.jpg","text":"TemporaryFile(/tmp/multipartBody2989360827917869566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165595008,"filename":"image_28012025_19_38_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/29/d72a009e3fd89a278fa9d2b404b20508.jpg","text":"TemporaryFile(/tmp/multipartBody843858687738762595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165595008,"filename":"image_28012025_19_38_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/29/0ca1597b1f4ade9a9040b95c1754767d.jpg","text":"TemporaryFile(/tmp/multipartBody4398550652551546079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165595008,"filename":"image_28012025_19_38_45_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332690196","file1":"1332690137","file0":"1332690067","file4":"1332690273","file5":"1332690308","file3":"1332690237"},"map_files_photo_id_array":[{"photo_id":"1332690308","filename":"file5"},{"photo_id":"1332690196","filename":"file2"},{"photo_id":"1332690273","filename":"file4"},{"photo_id":"1332690137","filename":"file1"},{"photo_id":"1332690067","filename":"file0"},{"photo_id":"1332690237","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332690308":["hashtag1","hashtag2"]},{"1332690067":["hashtag1","hashtag2"]},{"1332690273":["hashtag1","hashtag2"]},{"1332690237":["hashtag1","hashtag2"]},{"1332690137":["hashtag1","hashtag2"]},{"1332690196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332690308, 1332690067, 1332690273, 1332690237, 1332690137, 1332690196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.69540214538574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:46:32.714428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/39/image_28012025_19_39_24_9338.jpg', '/home/pi/Desktop/images/28012025/19/39/image_28012025_19_39_34_10474.jpg', '/home/pi/Desktop/images/28012025/19/39/image_28012025_19_39_45_10401.jpg', '/home/pi/Desktop/images/28012025/19/39/image_28012025_19_39_54_9551.jpg', '/home/pi/Desktop/images/28012025/19/39/image_28012025_19_40_05_10348.jpg', '/home/pi/Desktop/images/28012025/19/40/image_28012025_19_40_14_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/39/image_28012025_19_39_24_9338.jpg
/home/pi/Desktop/images/28012025/19/39/image_28012025_19_39_34_10474.jpg
/home/pi/Desktop/images/28012025/19/39/image_28012025_19_39_45_10401.jpg
/home/pi/Desktop/images/28012025/19/39/image_28012025_19_39_54_9551.jpg
/home/pi/Desktop/images/28012025/19/39/image_28012025_19_40_05_10348.jpg
/home/pi/Desktop/images/28012025/19/40/image_28012025_19_40_14_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":["1332690382","1332690412","1332690387","1332690429","1332690395","1332690377"],"photo_ids_order":["1332690377","1332690382","1332690387","1332690395","1332690412","1332690429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4d26c68d0f8a5eb4dc66687819afbe25.jpg","text":"TemporaryFile(/tmp/multipartBody1786467389546081710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165655247,"filename":"image_28012025_19_39_34_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/29/a564e2e40b0ee6cfb2fb2746820b5bab.jpg","text":"TemporaryFile(/tmp/multipartBody6273991951586796552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165655247,"filename":"image_28012025_19_40_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/29/08fc4cbd7a067f0bd91f8f497d0e6bf9.jpg","text":"TemporaryFile(/tmp/multipartBody8992864869859659625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165655247,"filename":"image_28012025_19_39_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/29/d7ca9124f52b82bc59ba3e5427240a1e.jpg","text":"TemporaryFile(/tmp/multipartBody7142063388453772168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165655247,"filename":"image_28012025_19_40_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/29/f92c763d51f42ac32bd3958eeac3669a.jpg","text":"TemporaryFile(/tmp/multipartBody6051952323344448955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165655247,"filename":"image_28012025_19_39_54_9551.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/da120db470fb48d7633b413a8b3bf50b.jpg","text":"TemporaryFile(/tmp/multipartBody2336932649301967235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165655247,"filename":"image_28012025_19_39_24_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332690387","file1":"1332690382","file0":"1332690377","file4":"1332690412","file5":"1332690429","file3":"1332690395"},"map_files_photo_id_array":[{"photo_id":"1332690429","filename":"file5"},{"photo_id":"1332690387","filename":"file2"},{"photo_id":"1332690412","filename":"file4"},{"photo_id":"1332690382","filename":"file1"},{"photo_id":"1332690377","filename":"file0"},{"photo_id":"1332690395","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332690382":["hashtag1","hashtag2"]},{"1332690412":["hashtag1","hashtag2"]},{"1332690387":["hashtag1","hashtag2"]},{"1332690429":["hashtag1","hashtag2"]},{"1332690395":["hashtag1","hashtag2"]},{"1332690377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332690382, 1332690412, 1332690387, 1332690429, 1332690395, 1332690377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.53966307640076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:47:32.926376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/40/image_28012025_19_40_25_10437.jpg', '/home/pi/Desktop/images/28012025/19/40/image_28012025_19_40_34_9464.jpg', '/home/pi/Desktop/images/28012025/19/40/image_28012025_19_40_44_10353.jpg', '/home/pi/Desktop/images/28012025/19/40/image_28012025_19_40_55_10362.jpg', '/home/pi/Desktop/images/28012025/19/40/image_28012025_19_41_04_9403.jpg', '/home/pi/Desktop/images/28012025/19/41/image_28012025_19_41_15_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/40/image_28012025_19_40_25_10437.jpg
/home/pi/Desktop/images/28012025/19/40/image_28012025_19_40_34_9464.jpg
/home/pi/Desktop/images/28012025/19/40/image_28012025_19_40_44_10353.jpg
/home/pi/Desktop/images/28012025/19/40/image_28012025_19_40_55_10362.jpg
/home/pi/Desktop/images/28012025/19/40/image_28012025_19_41_04_9403.jpg
/home/pi/Desktop/images/28012025/19/41/image_28012025_19_41_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":["1332690465","1332690456","1332690459","1332690450","1332690446","1332690461"],"photo_ids_order":["1332690446","1332690450","1332690456","1332690459","1332690461","1332690465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5c65f0005c8b4b3d192eb67a3f114545.jpg","text":"TemporaryFile(/tmp/multipartBody1480998640413587705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165715457,"filename":"image_28012025_19_41_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/29/bec3c2bd0ca02b29fe2248f53bbbc046.jpg","text":"TemporaryFile(/tmp/multipartBody767384444426814149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165715457,"filename":"image_28012025_19_40_44_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/29/7ff94664cf681157e996a68778a6a07d.jpg","text":"TemporaryFile(/tmp/multipartBody3900929701239068050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165715457,"filename":"image_28012025_19_40_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/29/6fc21b1c7dd9b799bdb9524abd5ccfe4.jpg","text":"TemporaryFile(/tmp/multipartBody226101149016689693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165715457,"filename":"image_28012025_19_40_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/29/ac3353d6a471e0a88a334e643a2850bd.jpg","text":"TemporaryFile(/tmp/multipartBody5237669936564601143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165715457,"filename":"image_28012025_19_40_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/29/828407119f022a995a3b27a8f9aaa982.jpg","text":"TemporaryFile(/tmp/multipartBody328423740593429159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165715457,"filename":"image_28012025_19_41_04_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332690456","file1":"1332690450","file0":"1332690446","file4":"1332690461","file5":"1332690465","file3":"1332690459"},"map_files_photo_id_array":[{"photo_id":"1332690465","filename":"file5"},{"photo_id":"1332690456","filename":"file2"},{"photo_id":"1332690461","filename":"file4"},{"photo_id":"1332690450","filename":"file1"},{"photo_id":"1332690446","filename":"file0"},{"photo_id":"1332690459","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332690465":["hashtag1","hashtag2"]},{"1332690456":["hashtag1","hashtag2"]},{"1332690459":["hashtag1","hashtag2"]},{"1332690450":["hashtag1","hashtag2"]},{"1332690446":["hashtag1","hashtag2"]},{"1332690461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332690465, 1332690456, 1332690459, 1332690450, 1332690446, 1332690461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.686827659606934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:48:32.165955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/41/image_28012025_19_41_24_9353.jpg', '/home/pi/Desktop/images/28012025/19/41/image_28012025_19_41_34_10452.jpg', '/home/pi/Desktop/images/28012025/19/41/image_28012025_19_41_45_10360.jpg', '/home/pi/Desktop/images/28012025/19/41/image_28012025_19_41_54_9339.jpg', '/home/pi/Desktop/images/28012025/19/41/image_28012025_19_42_04_10423.jpg', '/home/pi/Desktop/images/28012025/19/42/image_28012025_19_42_15_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/41/image_28012025_19_41_24_9353.jpg
/home/pi/Desktop/images/28012025/19/41/image_28012025_19_41_34_10452.jpg
/home/pi/Desktop/images/28012025/19/41/image_28012025_19_41_45_10360.jpg
/home/pi/Desktop/images/28012025/19/41/image_28012025_19_41_54_9339.jpg
/home/pi/Desktop/images/28012025/19/41/image_28012025_19_42_04_10423.jpg
/home/pi/Desktop/images/28012025/19/42/image_28012025_19_42_15_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":["1332690498","1332690502","1332690486","1332690489","1332690494","1332690506"],"photo_ids_order":["1332690486","1332690489","1332690494","1332690498","1332690502","1332690506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3b10c7b97157f21fd1448d32013e912b.jpg","text":"TemporaryFile(/tmp/multipartBody5574613280365379323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165774678,"filename":"image_28012025_19_41_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/29/d3aacd86084a7eb36ae1b87101bee381.jpg","text":"TemporaryFile(/tmp/multipartBody1779112330252431436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165774678,"filename":"image_28012025_19_42_04_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/29/260b49ba21a04f4cde713d3b585aedf6.jpg","text":"TemporaryFile(/tmp/multipartBody4196845789111785973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165774678,"filename":"image_28012025_19_41_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/29/38d932122718536419eec07b645f229a.jpg","text":"TemporaryFile(/tmp/multipartBody2064829247579494514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165774678,"filename":"image_28012025_19_41_34_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/29/610a5aca3c80a8588b979443d87e6418.jpg","text":"TemporaryFile(/tmp/multipartBody5460475653565065255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165774678,"filename":"image_28012025_19_41_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/29/cb44435dce253c3edddeb0354d66d328.jpg","text":"TemporaryFile(/tmp/multipartBody96464689720353606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165774678,"filename":"image_28012025_19_42_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332690494","file1":"1332690489","file0":"1332690486","file4":"1332690502","file5":"1332690506","file3":"1332690498"},"map_files_photo_id_array":[{"photo_id":"1332690506","filename":"file5"},{"photo_id":"1332690494","filename":"file2"},{"photo_id":"1332690502","filename":"file4"},{"photo_id":"1332690489","filename":"file1"},{"photo_id":"1332690486","filename":"file0"},{"photo_id":"1332690498","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332690498":["hashtag1","hashtag2"]},{"1332690502":["hashtag1","hashtag2"]},{"1332690486":["hashtag1","hashtag2"]},{"1332690489":["hashtag1","hashtag2"]},{"1332690494":["hashtag1","hashtag2"]},{"1332690506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332690498, 1332690502, 1332690486, 1332690489, 1332690494, 1332690506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.153964042663574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:49:32.393138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/42/image_28012025_19_43_05_10346.jpg', '/home/pi/Desktop/images/28012025/19/43/image_28012025_19_43_14_9342.jpg', '/home/pi/Desktop/images/28012025/19/43/image_28012025_19_43_24_10426.jpg', '/home/pi/Desktop/images/28012025/19/43/image_28012025_19_43_35_10446.jpg', '/home/pi/Desktop/images/28012025/19/43/image_28012025_19_43_44_9478.jpg', '/home/pi/Desktop/images/28012025/19/43/image_28012025_19_44_04_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/42/image_28012025_19_43_05_10346.jpg
/home/pi/Desktop/images/28012025/19/43/image_28012025_19_43_14_9342.jpg
/home/pi/Desktop/images/28012025/19/43/image_28012025_19_43_24_10426.jpg
/home/pi/Desktop/images/28012025/19/43/image_28012025_19_43_35_10446.jpg
/home/pi/Desktop/images/28012025/19/43/image_28012025_19_43_44_9478.jpg
/home/pi/Desktop/images/28012025/19/43/image_28012025_19_44_04_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":["1332690913","1332690700","1332690918","1332690822","1332690866","1332690895"],"photo_ids_order":["1332690700","1332690822","1332690866","1332690895","1332690913","1332690918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/742c81ba6d519f38611de96ee53b424d.jpg","text":"TemporaryFile(/tmp/multipartBody47340377132084869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165834920,"filename":"image_28012025_19_43_44_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/29/3a8752f08208a8f2abdb7c9a8c2f4947.jpg","text":"TemporaryFile(/tmp/multipartBody7292056232452553560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165834920,"filename":"image_28012025_19_43_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/29/e8dc984c52f783026ae9dcca61a6fe8a.jpg","text":"TemporaryFile(/tmp/multipartBody5514466104194116227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165834920,"filename":"image_28012025_19_44_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/29/4e4bff00d3200d801c50e1d276827562.jpg","text":"TemporaryFile(/tmp/multipartBody7224475149135109215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165834920,"filename":"image_28012025_19_43_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/29/d3f1c4ff09e88b8ec6f88f7c5fb7b78a.jpg","text":"TemporaryFile(/tmp/multipartBody2087691058290066178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165834920,"filename":"image_28012025_19_43_24_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/29/fe1925791a1b7ed42b61295bf82c16cc.jpg","text":"TemporaryFile(/tmp/multipartBody2778448231718512536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165834920,"filename":"image_28012025_19_43_35_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332690866","file1":"1332690822","file0":"1332690700","file4":"1332690913","file5":"1332690918","file3":"1332690895"},"map_files_photo_id_array":[{"photo_id":"1332690918","filename":"file5"},{"photo_id":"1332690866","filename":"file2"},{"photo_id":"1332690913","filename":"file4"},{"photo_id":"1332690822","filename":"file1"},{"photo_id":"1332690700","filename":"file0"},{"photo_id":"1332690895","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332690913":["hashtag1","hashtag2"]},{"1332690700":["hashtag1","hashtag2"]},{"1332690918":["hashtag1","hashtag2"]},{"1332690822":["hashtag1","hashtag2"]},{"1332690866":["hashtag1","hashtag2"]},{"1332690895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332690913, 1332690700, 1332690918, 1332690822, 1332690866, 1332690895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.52156662940979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:50:32.582662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/44/image_28012025_19_44_14_10387.jpg', '/home/pi/Desktop/images/28012025/19/44/image_28012025_19_44_24_9442.jpg', '/home/pi/Desktop/images/28012025/19/44/image_28012025_19_44_34_10450.jpg', '/home/pi/Desktop/images/28012025/19/44/image_28012025_19_44_45_10368.jpg', '/home/pi/Desktop/images/28012025/19/44/image_28012025_19_45_05_10449.jpg', '/home/pi/Desktop/images/28012025/19/45/image_28012025_19_45_15_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/44/image_28012025_19_44_14_10387.jpg
/home/pi/Desktop/images/28012025/19/44/image_28012025_19_44_24_9442.jpg
/home/pi/Desktop/images/28012025/19/44/image_28012025_19_44_34_10450.jpg
/home/pi/Desktop/images/28012025/19/44/image_28012025_19_44_45_10368.jpg
/home/pi/Desktop/images/28012025/19/44/image_28012025_19_45_05_10449.jpg
/home/pi/Desktop/images/28012025/19/45/image_28012025_19_45_15_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":["1332691132","1332691158","1332691193","1332691190","1332691172","1332691168"],"photo_ids_order":["1332691132","1332691158","1332691168","1332691172","1332691190","1332691193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/49aecf758e708fa7299ca3de659022a0.jpg","text":"TemporaryFile(/tmp/multipartBody2795990074128487415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165895105,"filename":"image_28012025_19_44_14_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/29/fb0d280fd04b3bbdd0141746a079d999.jpg","text":"TemporaryFile(/tmp/multipartBody4874481924204094404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165895105,"filename":"image_28012025_19_44_24_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/29/746408d9fd49d84e9009b3af0a7efeb7.jpg","text":"TemporaryFile(/tmp/multipartBody7358490140710775664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165895105,"filename":"image_28012025_19_45_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/29/d91639e8c40c5a8015b6f47acd69f5fb.jpg","text":"TemporaryFile(/tmp/multipartBody358697595830895222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165895105,"filename":"image_28012025_19_45_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/29/74fd4063731c25aefad23b5a68dfb49d.jpg","text":"TemporaryFile(/tmp/multipartBody3606784816712668288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165895105,"filename":"image_28012025_19_44_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/29/758b4606401ca528f9b2b0a02495cfdd.jpg","text":"TemporaryFile(/tmp/multipartBody5713969872743679798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165895105,"filename":"image_28012025_19_44_34_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332691168","file1":"1332691158","file0":"1332691132","file4":"1332691190","file5":"1332691193","file3":"1332691172"},"map_files_photo_id_array":[{"photo_id":"1332691193","filename":"file5"},{"photo_id":"1332691168","filename":"file2"},{"photo_id":"1332691190","filename":"file4"},{"photo_id":"1332691158","filename":"file1"},{"photo_id":"1332691132","filename":"file0"},{"photo_id":"1332691172","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332691132":["hashtag1","hashtag2"]},{"1332691158":["hashtag1","hashtag2"]},{"1332691193":["hashtag1","hashtag2"]},{"1332691190":["hashtag1","hashtag2"]},{"1332691172":["hashtag1","hashtag2"]},{"1332691168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332691132, 1332691158, 1332691193, 1332691190, 1332691172, 1332691168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.12641644477844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:51:32.799918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/45/image_28012025_19_45_24_9375.jpg', '/home/pi/Desktop/images/28012025/19/45/image_28012025_19_45_35_10358.jpg', '/home/pi/Desktop/images/28012025/19/45/image_28012025_19_45_44_9341.jpg', '/home/pi/Desktop/images/28012025/19/45/image_28012025_19_45_54_10358.jpg', '/home/pi/Desktop/images/28012025/19/45/image_28012025_19_46_05_10353.jpg', '/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_14_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/45/image_28012025_19_45_24_9375.jpg
/home/pi/Desktop/images/28012025/19/45/image_28012025_19_45_35_10358.jpg
/home/pi/Desktop/images/28012025/19/45/image_28012025_19_45_44_9341.jpg
/home/pi/Desktop/images/28012025/19/45/image_28012025_19_45_54_10358.jpg
/home/pi/Desktop/images/28012025/19/45/image_28012025_19_46_05_10353.jpg
/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_14_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":["1332691219","1332691215","1332691224","1332691227","1332691212","1332691249"],"photo_ids_order":["1332691212","1332691215","1332691219","1332691224","1332691227","1332691249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/41ef71ec061f6cc554c5d7ff016b9233.jpg","text":"TemporaryFile(/tmp/multipartBody7117275563445784809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165955333,"filename":"image_28012025_19_45_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/29/3a506209750031bc922ad4ad24681336.jpg","text":"TemporaryFile(/tmp/multipartBody4704246136294369276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165955333,"filename":"image_28012025_19_45_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/29/08ddc9627eddf87d3e2abf389550eee8.jpg","text":"TemporaryFile(/tmp/multipartBody6461791715738784405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165955333,"filename":"image_28012025_19_45_54_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/29/9d76f70737f79e533d9f5336e7f461b7.jpg","text":"TemporaryFile(/tmp/multipartBody1133667892509993252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165955333,"filename":"image_28012025_19_46_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/29/23a23605ea7760089e14f7fc6b03d693.jpg","text":"TemporaryFile(/tmp/multipartBody6718183391110516318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165955333,"filename":"image_28012025_19_45_24_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/29/6802522473777f498b77fdb20b8e295d.jpg","text":"TemporaryFile(/tmp/multipartBody2179413236636069303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738165955333,"filename":"image_28012025_19_46_14_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332691219","file1":"1332691215","file0":"1332691212","file4":"1332691227","file5":"1332691249","file3":"1332691224"},"map_files_photo_id_array":[{"photo_id":"1332691249","filename":"file5"},{"photo_id":"1332691219","filename":"file2"},{"photo_id":"1332691227","filename":"file4"},{"photo_id":"1332691215","filename":"file1"},{"photo_id":"1332691212","filename":"file0"},{"photo_id":"1332691224","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332691219":["hashtag1","hashtag2"]},{"1332691215":["hashtag1","hashtag2"]},{"1332691224":["hashtag1","hashtag2"]},{"1332691227":["hashtag1","hashtag2"]},{"1332691212":["hashtag1","hashtag2"]},{"1332691249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332691219, 1332691215, 1332691224, 1332691227, 1332691212, 1332691249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83183288574219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:52:33.009217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_24_10347.jpg', '/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_35_10352.jpg', '/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_44_9565.jpg', '/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_55_10359.jpg', '/home/pi/Desktop/images/28012025/19/46/image_28012025_19_47_04_9351.jpg', '/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_14_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_24_10347.jpg
/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_35_10352.jpg
/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_44_9565.jpg
/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_55_10359.jpg
/home/pi/Desktop/images/28012025/19/46/image_28012025_19_47_04_9351.jpg
/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_14_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: 2.119582176208496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 16:52:42.977022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_24_10347.jpg', '/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_35_10352.jpg', '/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_44_9565.jpg', '/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_55_10359.jpg', '/home/pi/Desktop/images/28012025/19/46/image_28012025_19_47_04_9351.jpg', '/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_14_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_24_10347.jpg
/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_35_10352.jpg
/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_44_9565.jpg
/home/pi/Desktop/images/28012025/19/46/image_28012025_19_46_55_10359.jpg
/home/pi/Desktop/images/28012025/19/46/image_28012025_19_47_04_9351.jpg
/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_14_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332691299","1332691293","1332691317","1332691343","1332691340","1332691322"],"photo_ids_order":["1332691293","1332691299","1332691317","1332691322","1332691340","1332691343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8861fdda7f17e9d1eac8181f8283708d.jpg","text":"TemporaryFile(/tmp/multipartBody5894237212526548851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166024614,"filename":"image_28012025_19_46_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/29/8c2a157bc4f96c29d58f070b4a7f1839.jpg","text":"TemporaryFile(/tmp/multipartBody5816001648195916258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166024614,"filename":"image_28012025_19_46_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/29/471fcb268693b4e8624ca2aa899c01a2.jpg","text":"TemporaryFile(/tmp/multipartBody1222359502758148986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166024614,"filename":"image_28012025_19_46_44_9565.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/17d7f31db3770d541eae590f7b7f8da6.jpg","text":"TemporaryFile(/tmp/multipartBody7502717084901195568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166024614,"filename":"image_28012025_19_47_14_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/29/d64ec70982de2a592eeb6fef857e5d97.jpg","text":"TemporaryFile(/tmp/multipartBody3783237254966165567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166024614,"filename":"image_28012025_19_47_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/29/df31a4792f3b6a9f942f18a9cbd8d5d6.jpg","text":"TemporaryFile(/tmp/multipartBody6750706573933908278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166024614,"filename":"image_28012025_19_46_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332691317","file1":"1332691299","file0":"1332691293","file4":"1332691340","file5":"1332691343","file3":"1332691322"},"map_files_photo_id_array":[{"photo_id":"1332691343","filename":"file5"},{"photo_id":"1332691317","filename":"file2"},{"photo_id":"1332691340","filename":"file4"},{"photo_id":"1332691299","filename":"file1"},{"photo_id":"1332691293","filename":"file0"},{"photo_id":"1332691322","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332691299":["hashtag1","hashtag2"]},{"1332691293":["hashtag1","hashtag2"]},{"1332691317":["hashtag1","hashtag2"]},{"1332691343":["hashtag1","hashtag2"]},{"1332691340":["hashtag1","hashtag2"]},{"1332691322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332691299, 1332691293, 1332691317, 1332691343, 1332691340, 1332691322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.733579874038696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:53:32.192508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_25_10344.jpg', '/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_34_9749.jpg', '/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_45_10368.jpg', '/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_54_9463.jpg', '/home/pi/Desktop/images/28012025/19/47/image_28012025_19_48_05_10356.jpg', '/home/pi/Desktop/images/28012025/19/48/image_28012025_19_48_14_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_25_10344.jpg
/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_34_9749.jpg
/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_45_10368.jpg
/home/pi/Desktop/images/28012025/19/47/image_28012025_19_47_54_9463.jpg
/home/pi/Desktop/images/28012025/19/47/image_28012025_19_48_05_10356.jpg
/home/pi/Desktop/images/28012025/19/48/image_28012025_19_48_14_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":["1332691417","1332691374","1332691382","1332691412","1332691387","1332691366"],"photo_ids_order":["1332691366","1332691374","1332691382","1332691387","1332691412","1332691417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8d495d9c927146439b55d4d4ac93cf37.jpg","text":"TemporaryFile(/tmp/multipartBody365711684345124116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166074723,"filename":"image_28012025_19_48_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/29/c37e7a6eb5694d55b48709ec2bad689d.jpg","text":"TemporaryFile(/tmp/multipartBody2088943465156965648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166074723,"filename":"image_28012025_19_47_34_9749.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c5da6ca2a14ebaf1ba8c2ea0afb1e8ae.jpg","text":"TemporaryFile(/tmp/multipartBody8739525487574861250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166074723,"filename":"image_28012025_19_47_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/29/15dd2621d5ce061cc0679c1128bf2408.jpg","text":"TemporaryFile(/tmp/multipartBody2281047685250483490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166074723,"filename":"image_28012025_19_48_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/29/fa10558e1b4876120a5b2dcd6da563b8.jpg","text":"TemporaryFile(/tmp/multipartBody8299162829731190748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166074723,"filename":"image_28012025_19_47_54_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/29/2f2f327f3e0309747b645ced9b1be3f2.jpg","text":"TemporaryFile(/tmp/multipartBody7600651467372473359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166074723,"filename":"image_28012025_19_47_25_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332691382","file1":"1332691374","file0":"1332691366","file4":"1332691412","file5":"1332691417","file3":"1332691387"},"map_files_photo_id_array":[{"photo_id":"1332691417","filename":"file5"},{"photo_id":"1332691382","filename":"file2"},{"photo_id":"1332691412","filename":"file4"},{"photo_id":"1332691374","filename":"file1"},{"photo_id":"1332691366","filename":"file0"},{"photo_id":"1332691387","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332691417":["hashtag1","hashtag2"]},{"1332691374":["hashtag1","hashtag2"]},{"1332691382":["hashtag1","hashtag2"]},{"1332691412":["hashtag1","hashtag2"]},{"1332691387":["hashtag1","hashtag2"]},{"1332691366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332691417, 1332691374, 1332691382, 1332691412, 1332691387, 1332691366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.56351447105408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:54:32.446391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/48/image_28012025_19_48_24_10358.jpg', '/home/pi/Desktop/images/28012025/19/48/image_28012025_19_48_35_10354.jpg', '/home/pi/Desktop/images/28012025/19/48/image_28012025_19_48_44_9348.jpg', '/home/pi/Desktop/images/28012025/19/48/image_28012025_19_49_05_10336.jpg', '/home/pi/Desktop/images/28012025/19/49/image_28012025_19_49_14_9409.jpg', '/home/pi/Desktop/images/28012025/19/49/image_28012025_19_49_25_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/48/image_28012025_19_48_24_10358.jpg
/home/pi/Desktop/images/28012025/19/48/image_28012025_19_48_35_10354.jpg
/home/pi/Desktop/images/28012025/19/48/image_28012025_19_48_44_9348.jpg
/home/pi/Desktop/images/28012025/19/48/image_28012025_19_49_05_10336.jpg
/home/pi/Desktop/images/28012025/19/49/image_28012025_19_49_14_9409.jpg
/home/pi/Desktop/images/28012025/19/49/image_28012025_19_49_25_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":["1332691476","1332691461","1332691467","1332691452","1332691472","1332691456"],"photo_ids_order":["1332691452","1332691456","1332691461","1332691467","1332691472","1332691476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/881de2ea13730470e651035842b16ac6.jpg","text":"TemporaryFile(/tmp/multipartBody4851562221929052458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166134960,"filename":"image_28012025_19_49_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/29/91431041cf5ffa9d56e18673ff88a7a3.jpg","text":"TemporaryFile(/tmp/multipartBody2288594662450090946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166134960,"filename":"image_28012025_19_48_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/29/64f6683aa73c9a8e3c89f2c75d981714.jpg","text":"TemporaryFile(/tmp/multipartBody3957508630510301831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166134960,"filename":"image_28012025_19_49_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/29/fdd067f811864edb798be38e005703c4.jpg","text":"TemporaryFile(/tmp/multipartBody1016364413801523998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166134960,"filename":"image_28012025_19_48_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/29/ed72f90ec5c587dfce27a87f27a9850a.jpg","text":"TemporaryFile(/tmp/multipartBody5160741191480860187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166134960,"filename":"image_28012025_19_49_14_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/29/6615b456f594dc81419b5de3c5595e01.jpg","text":"TemporaryFile(/tmp/multipartBody5878760936457587238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166134960,"filename":"image_28012025_19_48_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332691461","file1":"1332691456","file0":"1332691452","file4":"1332691472","file5":"1332691476","file3":"1332691467"},"map_files_photo_id_array":[{"photo_id":"1332691476","filename":"file5"},{"photo_id":"1332691461","filename":"file2"},{"photo_id":"1332691472","filename":"file4"},{"photo_id":"1332691456","filename":"file1"},{"photo_id":"1332691452","filename":"file0"},{"photo_id":"1332691467","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332691476":["hashtag1","hashtag2"]},{"1332691461":["hashtag1","hashtag2"]},{"1332691467":["hashtag1","hashtag2"]},{"1332691452":["hashtag1","hashtag2"]},{"1332691472":["hashtag1","hashtag2"]},{"1332691456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332691476, 1332691461, 1332691467, 1332691452, 1332691472, 1332691456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.09076809883118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:55:32.676530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/49/image_28012025_19_49_34_9342.jpg', '/home/pi/Desktop/images/28012025/19/49/image_28012025_19_49_44_10452.jpg', '/home/pi/Desktop/images/28012025/19/49/image_28012025_19_49_55_10402.jpg', '/home/pi/Desktop/images/28012025/19/49/image_28012025_19_50_04_9388.jpg', '/home/pi/Desktop/images/28012025/19/50/image_28012025_19_50_15_10478.jpg', '/home/pi/Desktop/images/28012025/19/50/image_28012025_19_50_24_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/49/image_28012025_19_49_34_9342.jpg
/home/pi/Desktop/images/28012025/19/49/image_28012025_19_49_44_10452.jpg
/home/pi/Desktop/images/28012025/19/49/image_28012025_19_49_55_10402.jpg
/home/pi/Desktop/images/28012025/19/49/image_28012025_19_50_04_9388.jpg
/home/pi/Desktop/images/28012025/19/50/image_28012025_19_50_15_10478.jpg
/home/pi/Desktop/images/28012025/19/50/image_28012025_19_50_24_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":["1332691513","1332691507","1332691521","1332691500","1332691518","1332691493"],"photo_ids_order":["1332691493","1332691500","1332691507","1332691513","1332691518","1332691521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/53076e0e41b33c406c1d6f231d50601d.jpg","text":"TemporaryFile(/tmp/multipartBody2519768582561139928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166195225,"filename":"image_28012025_19_50_04_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/29/be1a0eb07765bf807c5443819eddbf7d.jpg","text":"TemporaryFile(/tmp/multipartBody2978224999482468845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166195225,"filename":"image_28012025_19_49_55_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/29/bd33297299a2a712c3e3a0bebec6f922.jpg","text":"TemporaryFile(/tmp/multipartBody5692631355516379844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166195225,"filename":"image_28012025_19_50_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/29/19cf0fb378dca7c330dcb75d7073ae39.jpg","text":"TemporaryFile(/tmp/multipartBody2380950042210852213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166195225,"filename":"image_28012025_19_49_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/29/0f493c63a6fff553e52c38b5bb97c8cb.jpg","text":"TemporaryFile(/tmp/multipartBody2451485976326509058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166195225,"filename":"image_28012025_19_50_15_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/29/3300e18b03d212a4e4ecf8b7a3256fed.jpg","text":"TemporaryFile(/tmp/multipartBody7215325592562143245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166195225,"filename":"image_28012025_19_49_34_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332691507","file1":"1332691500","file0":"1332691493","file4":"1332691518","file5":"1332691521","file3":"1332691513"},"map_files_photo_id_array":[{"photo_id":"1332691521","filename":"file5"},{"photo_id":"1332691507","filename":"file2"},{"photo_id":"1332691518","filename":"file4"},{"photo_id":"1332691500","filename":"file1"},{"photo_id":"1332691493","filename":"file0"},{"photo_id":"1332691513","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332691513":["hashtag1","hashtag2"]},{"1332691507":["hashtag1","hashtag2"]},{"1332691521":["hashtag1","hashtag2"]},{"1332691500":["hashtag1","hashtag2"]},{"1332691518":["hashtag1","hashtag2"]},{"1332691493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332691513, 1332691507, 1332691521, 1332691500, 1332691518, 1332691493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.31120562553406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:56:32.882698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/50/image_28012025_19_50_35_10461.jpg', '/home/pi/Desktop/images/28012025/19/50/image_28012025_19_50_54_10461.jpg', '/home/pi/Desktop/images/28012025/19/50/image_28012025_19_51_05_10356.jpg', '/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_24_10426.jpg', '/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_35_10413.jpg', '/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_44_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/50/image_28012025_19_50_35_10461.jpg
/home/pi/Desktop/images/28012025/19/50/image_28012025_19_50_54_10461.jpg
/home/pi/Desktop/images/28012025/19/50/image_28012025_19_51_05_10356.jpg
/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_24_10426.jpg
/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_35_10413.jpg
/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_44_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":["1332691584","1332691572","1332691548","1332691602","1332691580","1332691561"],"photo_ids_order":["1332691548","1332691561","1332691572","1332691580","1332691584","1332691602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2e96240f585e2ccdd963f7a7d5ec0bf9.jpg","text":"TemporaryFile(/tmp/multipartBody133815553750433118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166255400,"filename":"image_28012025_19_51_35_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/29/883e089fc91c42dec3528b8c53c2406b.jpg","text":"TemporaryFile(/tmp/multipartBody3070909270422569763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166255400,"filename":"image_28012025_19_51_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/29/666dcc1511f971bbf461c3f43c6d1b6b.jpg","text":"TemporaryFile(/tmp/multipartBody4335033011539942776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166255400,"filename":"image_28012025_19_50_35_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/29/7abb84a8a445d741273abe7c2a743099.jpg","text":"TemporaryFile(/tmp/multipartBody4680773673454152303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166255400,"filename":"image_28012025_19_51_44_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/29/ed6813e31aaf851dcea7286ed4c0981d.jpg","text":"TemporaryFile(/tmp/multipartBody6439533217437362306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166255400,"filename":"image_28012025_19_51_24_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/29/96b640484bf1927a2aebde6fc590759e.jpg","text":"TemporaryFile(/tmp/multipartBody6146589306173904182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166255400,"filename":"image_28012025_19_50_54_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332691572","file1":"1332691561","file0":"1332691548","file4":"1332691584","file5":"1332691602","file3":"1332691580"},"map_files_photo_id_array":[{"photo_id":"1332691602","filename":"file5"},{"photo_id":"1332691572","filename":"file2"},{"photo_id":"1332691584","filename":"file4"},{"photo_id":"1332691561","filename":"file1"},{"photo_id":"1332691548","filename":"file0"},{"photo_id":"1332691580","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332691584":["hashtag1","hashtag2"]},{"1332691572":["hashtag1","hashtag2"]},{"1332691548":["hashtag1","hashtag2"]},{"1332691602":["hashtag1","hashtag2"]},{"1332691580":["hashtag1","hashtag2"]},{"1332691561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332691584, 1332691572, 1332691548, 1332691602, 1332691580, 1332691561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.84970140457153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 16:57:33.053957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_55_10366.jpg', '/home/pi/Desktop/images/28012025/19/51/image_28012025_19_52_04_9453.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_14_10366.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_25_10370.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_34_9389.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_45_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_55_10366.jpg
/home/pi/Desktop/images/28012025/19/51/image_28012025_19_52_04_9453.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_14_10366.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_25_10370.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_34_9389.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_45_10458.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.1358835697174072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 16:57:43.141296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_55_10366.jpg', '/home/pi/Desktop/images/28012025/19/51/image_28012025_19_52_04_9453.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_14_10366.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_25_10370.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_34_9389.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_45_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_55_10366.jpg
/home/pi/Desktop/images/28012025/19/51/image_28012025_19_52_04_9453.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_14_10366.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_25_10370.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_34_9389.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_45_10458.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-29 16:59:03.324462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_55_10366.jpg', '/home/pi/Desktop/images/28012025/19/51/image_28012025_19_52_04_9453.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_14_10366.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_25_10370.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_34_9389.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_45_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/51/image_28012025_19_51_55_10366.jpg
/home/pi/Desktop/images/28012025/19/51/image_28012025_19_52_04_9453.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_14_10366.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_25_10370.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_34_9389.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_45_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332691773","1332691781","1332691799","1332691763","1332691820","1332691792"],"photo_ids_order":["1332691763","1332691773","1332691781","1332691792","1332691799","1332691820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4e11030a43d7409505c389bd2500aa62.jpg","text":"TemporaryFile(/tmp/multipartBody3165182806754250198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166405065,"filename":"image_28012025_19_52_04_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/29/2e394384296e38779727ed77c92bc3bd.jpg","text":"TemporaryFile(/tmp/multipartBody4979802973964166963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166405065,"filename":"image_28012025_19_52_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/29/d76d85b00ad391ef79efad3cb0a6b14b.jpg","text":"TemporaryFile(/tmp/multipartBody3004156996906788203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166405065,"filename":"image_28012025_19_52_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/29/3318475f51b55e4945550db37812e47f.jpg","text":"TemporaryFile(/tmp/multipartBody5565644628920757238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166405065,"filename":"image_28012025_19_51_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/29/3947ef94191e80d2954d4f34a301c177.jpg","text":"TemporaryFile(/tmp/multipartBody2036689339259998259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166405065,"filename":"image_28012025_19_52_45_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/29/482e8dd5aff7e60251fc5daea137f62c.jpg","text":"TemporaryFile(/tmp/multipartBody2826749090364410583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166405065,"filename":"image_28012025_19_52_25_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332691781","file1":"1332691773","file0":"1332691763","file4":"1332691799","file5":"1332691820","file3":"1332691792"},"map_files_photo_id_array":[{"photo_id":"1332691820","filename":"file5"},{"photo_id":"1332691781","filename":"file2"},{"photo_id":"1332691799","filename":"file4"},{"photo_id":"1332691773","filename":"file1"},{"photo_id":"1332691763","filename":"file0"},{"photo_id":"1332691792","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332691773":["hashtag1","hashtag2"]},{"1332691781":["hashtag1","hashtag2"]},{"1332691799":["hashtag1","hashtag2"]},{"1332691763":["hashtag1","hashtag2"]},{"1332691820":["hashtag1","hashtag2"]},{"1332691792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332691773, 1332691781, 1332691799, 1332691763, 1332691820, 1332691792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05290246009827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-29 16:59:52.530813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_54_9416.jpg', '/home/pi/Desktop/images/28012025/19/52/image_28012025_19_53_04_10353.jpg', '/home/pi/Desktop/images/28012025/19/53/image_28012025_19_53_15_10369.jpg', '/home/pi/Desktop/images/28012025/19/53/image_28012025_19_53_24_9482.jpg', '/home/pi/Desktop/images/28012025/19/53/image_28012025_19_53_35_10356.jpg', '/home/pi/Desktop/images/28012025/19/53/image_28012025_19_53_44_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_52_54_9416.jpg
/home/pi/Desktop/images/28012025/19/52/image_28012025_19_53_04_10353.jpg
/home/pi/Desktop/images/28012025/19/53/image_28012025_19_53_15_10369.jpg
/home/pi/Desktop/images/28012025/19/53/image_28012025_19_53_24_9482.jpg
/home/pi/Desktop/images/28012025/19/53/image_28012025_19_53_35_10356.jpg
/home/pi/Desktop/images/28012025/19/53/image_28012025_19_53_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":["1332691840","1332691834","1332692511","1332692519","1332692201","1332691837"],"photo_ids_order":["1332691834","1332691837","1332691840","1332692201","1332692511","1332692519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dc2a8432e78477382230989a5bbc114e.jpg","text":"TemporaryFile(/tmp/multipartBody5438966553938299695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166455061,"filename":"image_28012025_19_53_15_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/29/abad459cd21aa2d442b836eb6fc28192.jpg","text":"TemporaryFile(/tmp/multipartBody886650508004587923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166455061,"filename":"image_28012025_19_52_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/29/861f9d6b983a2af7f500e5ac90b45d93.jpg","text":"TemporaryFile(/tmp/multipartBody7712861781426071625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166455061,"filename":"image_28012025_19_53_35_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/29/17a187421220ede1e881bf0f7bd5c65f.jpg","text":"TemporaryFile(/tmp/multipartBody4145920874713148241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166455061,"filename":"image_28012025_19_53_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/29/fe324f19ae25a2f59c0d66fe406aa189.jpg","text":"TemporaryFile(/tmp/multipartBody8650340424821849088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166455061,"filename":"image_28012025_19_53_24_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/29/f73f8a9a2f9ced882a820f84aa451503.jpg","text":"TemporaryFile(/tmp/multipartBody6476887275524742527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166455061,"filename":"image_28012025_19_53_04_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332691840","file1":"1332691837","file0":"1332691834","file4":"1332692511","file5":"1332692519","file3":"1332692201"},"map_files_photo_id_array":[{"photo_id":"1332692519","filename":"file5"},{"photo_id":"1332691840","filename":"file2"},{"photo_id":"1332692511","filename":"file4"},{"photo_id":"1332691837","filename":"file1"},{"photo_id":"1332691834","filename":"file0"},{"photo_id":"1332692201","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332691840":["hashtag1","hashtag2"]},{"1332691834":["hashtag1","hashtag2"]},{"1332692511":["hashtag1","hashtag2"]},{"1332692519":["hashtag1","hashtag2"]},{"1332692201":["hashtag1","hashtag2"]},{"1332691837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332691840, 1332691834, 1332692511, 1332692519, 1332692201, 1332691837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.637235164642334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 17:00:42.814714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/54/image_28012025_19_54_14_9468.jpg', '/home/pi/Desktop/images/28012025/19/54/image_28012025_19_54_25_10364.jpg', '/home/pi/Desktop/images/28012025/19/54/image_28012025_19_54_34_9364.jpg', '/home/pi/Desktop/images/28012025/19/54/image_28012025_19_54_44_10363.jpg', '/home/pi/Desktop/images/28012025/19/54/image_28012025_19_55_04_9349.jpg', '/home/pi/Desktop/images/28012025/19/55/image_28012025_19_55_14_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/54/image_28012025_19_54_14_9468.jpg
/home/pi/Desktop/images/28012025/19/54/image_28012025_19_54_25_10364.jpg
/home/pi/Desktop/images/28012025/19/54/image_28012025_19_54_34_9364.jpg
/home/pi/Desktop/images/28012025/19/54/image_28012025_19_54_44_10363.jpg
/home/pi/Desktop/images/28012025/19/54/image_28012025_19_55_04_9349.jpg
/home/pi/Desktop/images/28012025/19/55/image_28012025_19_55_14_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332692544","1332692750","1332692546","1332692540","1332692623","1332692536"],"photo_ids_order":["1332692536","1332692540","1332692544","1332692546","1332692623","1332692750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4b8df4164da1e081a2a6725899a63a18.jpg","text":"TemporaryFile(/tmp/multipartBody3076752581467597695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166504546,"filename":"image_28012025_19_54_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/29/e2947291e1eda5a923ba8ccee59b81d5.jpg","text":"TemporaryFile(/tmp/multipartBody2818740941301610434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166504546,"filename":"image_28012025_19_55_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/29/0cf22f206674616d8e70c9c672b73210.jpg","text":"TemporaryFile(/tmp/multipartBody3152748188850967048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166504546,"filename":"image_28012025_19_54_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/29/6b99a908017547ceaddcddc5612a2e62.jpg","text":"TemporaryFile(/tmp/multipartBody8895957487974808542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166504546,"filename":"image_28012025_19_54_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/29/c685baf45640623d7e288023f7b82abf.jpg","text":"TemporaryFile(/tmp/multipartBody977422619047343575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166504546,"filename":"image_28012025_19_55_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/29/b47bd22c199b45d6d9df8ba3a2353d27.jpg","text":"TemporaryFile(/tmp/multipartBody2983530900445600025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166504546,"filename":"image_28012025_19_54_14_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332692544","file1":"1332692540","file0":"1332692536","file4":"1332692623","file5":"1332692750","file3":"1332692546"},"map_files_photo_id_array":[{"photo_id":"1332692750","filename":"file5"},{"photo_id":"1332692544","filename":"file2"},{"photo_id":"1332692623","filename":"file4"},{"photo_id":"1332692540","filename":"file1"},{"photo_id":"1332692536","filename":"file0"},{"photo_id":"1332692546","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332692544":["hashtag1","hashtag2"]},{"1332692750":["hashtag1","hashtag2"]},{"1332692546":["hashtag1","hashtag2"]},{"1332692540":["hashtag1","hashtag2"]},{"1332692623":["hashtag1","hashtag2"]},{"1332692536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332692544, 1332692750, 1332692546, 1332692540, 1332692623, 1332692536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.31878852844238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:01:33.025257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/56/image_28012025_19_56_24_9399.jpg', '/home/pi/Desktop/images/28012025/19/56/image_28012025_19_56_35_10372.jpg', '/home/pi/Desktop/images/28012025/19/56/image_28012025_19_56_44_9338.jpg', '/home/pi/Desktop/images/28012025/19/56/image_28012025_19_57_05_10390.jpg', '/home/pi/Desktop/images/28012025/19/57/image_28012025_19_57_14_9365.jpg', '/home/pi/Desktop/images/28012025/19/57/image_28012025_19_57_35_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/56/image_28012025_19_56_24_9399.jpg
/home/pi/Desktop/images/28012025/19/56/image_28012025_19_56_35_10372.jpg
/home/pi/Desktop/images/28012025/19/56/image_28012025_19_56_44_9338.jpg
/home/pi/Desktop/images/28012025/19/56/image_28012025_19_57_05_10390.jpg
/home/pi/Desktop/images/28012025/19/57/image_28012025_19_57_14_9365.jpg
/home/pi/Desktop/images/28012025/19/57/image_28012025_19_57_35_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":["1332692871","1332692865","1332692873","1332692899","1332692869","1332692848"],"photo_ids_order":["1332692848","1332692865","1332692869","1332692871","1332692873","1332692899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/50a11ef66feff7b457c151cf562f0ed0.jpg","text":"TemporaryFile(/tmp/multipartBody6168287839022681397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166555553,"filename":"image_28012025_19_57_05_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/29/2dc0bc441450bcb057d19bd4c4fa1d0e.jpg","text":"TemporaryFile(/tmp/multipartBody2982631740455497123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166555553,"filename":"image_28012025_19_56_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/29/de5d3dd4b1407fbeb0b18ed0956f76d5.jpg","text":"TemporaryFile(/tmp/multipartBody1048361345871578990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166555553,"filename":"image_28012025_19_57_14_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/29/f5047d1ecf614f560a578fea7a2fab1d.jpg","text":"TemporaryFile(/tmp/multipartBody1797456124712869139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166555553,"filename":"image_28012025_19_57_35_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/29/cbf284d5d123821c18831e99519b5ecb.jpg","text":"TemporaryFile(/tmp/multipartBody3550131273235021018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166555553,"filename":"image_28012025_19_56_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/29/dc095d3527a5dadbadb0f93d9a5a2f77.jpg","text":"TemporaryFile(/tmp/multipartBody1724272525578912753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166555553,"filename":"image_28012025_19_56_24_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332692869","file1":"1332692865","file0":"1332692848","file4":"1332692873","file5":"1332692899","file3":"1332692871"},"map_files_photo_id_array":[{"photo_id":"1332692899","filename":"file5"},{"photo_id":"1332692869","filename":"file2"},{"photo_id":"1332692873","filename":"file4"},{"photo_id":"1332692865","filename":"file1"},{"photo_id":"1332692848","filename":"file0"},{"photo_id":"1332692871","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332692871":["hashtag1","hashtag2"]},{"1332692865":["hashtag1","hashtag2"]},{"1332692873":["hashtag1","hashtag2"]},{"1332692899":["hashtag1","hashtag2"]},{"1332692869":["hashtag1","hashtag2"]},{"1332692848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332692871, 1332692865, 1332692873, 1332692899, 1332692869, 1332692848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90137720108032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:02:32.196471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/57/image_28012025_19_57_44_9497.jpg', '/home/pi/Desktop/images/28012025/19/57/image_28012025_19_57_55_10356.jpg', '/home/pi/Desktop/images/28012025/19/57/image_28012025_19_58_04_9416.jpg', '/home/pi/Desktop/images/28012025/19/58/image_28012025_19_58_14_10357.jpg', '/home/pi/Desktop/images/28012025/19/58/image_28012025_19_58_25_10380.jpg', '/home/pi/Desktop/images/28012025/19/58/image_28012025_19_58_34_9497.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/57/image_28012025_19_57_44_9497.jpg
/home/pi/Desktop/images/28012025/19/57/image_28012025_19_57_55_10356.jpg
/home/pi/Desktop/images/28012025/19/57/image_28012025_19_58_04_9416.jpg
/home/pi/Desktop/images/28012025/19/58/image_28012025_19_58_14_10357.jpg
/home/pi/Desktop/images/28012025/19/58/image_28012025_19_58_25_10380.jpg
/home/pi/Desktop/images/28012025/19/58/image_28012025_19_58_34_9497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332693398","1332693467","1332693283","1332693412","1332693393","1332693357"],"photo_ids_order":["1332693283","1332693357","1332693393","1332693398","1332693412","1332693467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/86ab07da63a9397f9f9ad1cb2f664f7e.jpg","text":"TemporaryFile(/tmp/multipartBody1181980781618973769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166614714,"filename":"image_28012025_19_58_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/29/d15551345f7e62ce6c8b07a4f370f89d.jpg","text":"TemporaryFile(/tmp/multipartBody5650275605445026262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166614714,"filename":"image_28012025_19_58_34_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b15e07aca19d3a64a46d6dd3b71fa546.jpg","text":"TemporaryFile(/tmp/multipartBody3168781125852381200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166614714,"filename":"image_28012025_19_57_44_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cdfdb0ee1a5c3bc578dfb15738b74041.jpg","text":"TemporaryFile(/tmp/multipartBody8748063217234816766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166614714,"filename":"image_28012025_19_58_25_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/29/1237c935849986c376b3f569d58578da.jpg","text":"TemporaryFile(/tmp/multipartBody7958878527090550902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166614714,"filename":"image_28012025_19_58_04_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/29/432f6e89c2791b80e951b1a51d0e70ae.jpg","text":"TemporaryFile(/tmp/multipartBody255750691774835518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166614714,"filename":"image_28012025_19_57_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332693393","file1":"1332693357","file0":"1332693283","file4":"1332693412","file5":"1332693467","file3":"1332693398"},"map_files_photo_id_array":[{"photo_id":"1332693467","filename":"file5"},{"photo_id":"1332693393","filename":"file2"},{"photo_id":"1332693412","filename":"file4"},{"photo_id":"1332693357","filename":"file1"},{"photo_id":"1332693283","filename":"file0"},{"photo_id":"1332693398","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332693398":["hashtag1","hashtag2"]},{"1332693467":["hashtag1","hashtag2"]},{"1332693283":["hashtag1","hashtag2"]},{"1332693412":["hashtag1","hashtag2"]},{"1332693393":["hashtag1","hashtag2"]},{"1332693357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332693398, 1332693467, 1332693283, 1332693412, 1332693393, 1332693357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.628894329071045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:03:32.467216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/58/image_28012025_19_58_45_10380.jpg', '/home/pi/Desktop/images/28012025/19/58/image_28012025_19_58_54_9348.jpg', '/home/pi/Desktop/images/28012025/19/58/image_28012025_19_59_04_10373.jpg', '/home/pi/Desktop/images/28012025/19/59/image_28012025_19_59_24_9448.jpg', '/home/pi/Desktop/images/28012025/19/59/image_28012025_19_59_35_10355.jpg', '/home/pi/Desktop/images/28012025/19/59/image_28012025_19_59_44_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/58/image_28012025_19_58_45_10380.jpg
/home/pi/Desktop/images/28012025/19/58/image_28012025_19_58_54_9348.jpg
/home/pi/Desktop/images/28012025/19/58/image_28012025_19_59_04_10373.jpg
/home/pi/Desktop/images/28012025/19/59/image_28012025_19_59_24_9448.jpg
/home/pi/Desktop/images/28012025/19/59/image_28012025_19_59_35_10355.jpg
/home/pi/Desktop/images/28012025/19/59/image_28012025_19_59_44_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332693702","1332693705","1332693683","1332693664","1332693673","1332693721"],"photo_ids_order":["1332693664","1332693673","1332693683","1332693702","1332693705","1332693721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bf966475363d857836645de0a752ab30.jpg","text":"TemporaryFile(/tmp/multipartBody2251283925266207796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166675020,"filename":"image_28012025_19_59_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/29/5f0c75485944fead8bd7fed1d7f25e06.jpg","text":"TemporaryFile(/tmp/multipartBody8751109528072944011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166675020,"filename":"image_28012025_19_59_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/29/d04b3462a50728e4cb89ba53f368471d.jpg","text":"TemporaryFile(/tmp/multipartBody2314013264812830686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166675020,"filename":"image_28012025_19_59_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/29/0fab110e5a5b055ca4bbe7a0a12d8cd4.jpg","text":"TemporaryFile(/tmp/multipartBody4101288878351221843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166675020,"filename":"image_28012025_19_58_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/29/98bd9860ce9df4048b7a0811144ece1c.jpg","text":"TemporaryFile(/tmp/multipartBody2083946894579920652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166675020,"filename":"image_28012025_19_58_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/29/914fdf4e4fb5ce526d8da61938102360.jpg","text":"TemporaryFile(/tmp/multipartBody7188268035401127332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166675020,"filename":"image_28012025_19_59_44_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332693683","file1":"1332693673","file0":"1332693664","file4":"1332693705","file5":"1332693721","file3":"1332693702"},"map_files_photo_id_array":[{"photo_id":"1332693721","filename":"file5"},{"photo_id":"1332693683","filename":"file2"},{"photo_id":"1332693705","filename":"file4"},{"photo_id":"1332693673","filename":"file1"},{"photo_id":"1332693664","filename":"file0"},{"photo_id":"1332693702","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332693702":["hashtag1","hashtag2"]},{"1332693705":["hashtag1","hashtag2"]},{"1332693683":["hashtag1","hashtag2"]},{"1332693664":["hashtag1","hashtag2"]},{"1332693673":["hashtag1","hashtag2"]},{"1332693721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332693702, 1332693705, 1332693683, 1332693664, 1332693673, 1332693721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.41819763183594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:04:32.644074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/19/59/image_28012025_19_59_54_10387.jpg', '/home/pi/Desktop/images/28012025/20/01/image_28012025_20_01_15_10078.jpg', '/home/pi/Desktop/images/28012025/20/01/image_28012025_20_01_25_10449.jpg', '/home/pi/Desktop/images/28012025/20/01/image_28012025_20_01_35_10353.jpg', '/home/pi/Desktop/images/28012025/20/01/image_28012025_20_01_45_9344.jpg', '/home/pi/Desktop/images/28012025/20/01/image_28012025_20_01_55_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/19/59/image_28012025_19_59_54_10387.jpg
/home/pi/Desktop/images/28012025/20/01/image_28012025_20_01_15_10078.jpg
/home/pi/Desktop/images/28012025/20/01/image_28012025_20_01_25_10449.jpg
/home/pi/Desktop/images/28012025/20/01/image_28012025_20_01_35_10353.jpg
/home/pi/Desktop/images/28012025/20/01/image_28012025_20_01_45_9344.jpg
/home/pi/Desktop/images/28012025/20/01/image_28012025_20_01_55_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":["1332693791","1332693781","1332693793","1332693787","1332693795","1332693798"],"photo_ids_order":["1332693781","1332693787","1332693791","1332693793","1332693795","1332693798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8a999f7f278ea69a86100e5e7b575bc7.jpg","text":"TemporaryFile(/tmp/multipartBody3040580114506215916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166735184,"filename":"image_28012025_20_01_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/29/cfe1ef8b00612020fdfa45e8c9757578.jpg","text":"TemporaryFile(/tmp/multipartBody8859141675281843257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166735184,"filename":"image_28012025_19_59_54_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/29/8535b675672e9a8d41b91b1f78b895b2.jpg","text":"TemporaryFile(/tmp/multipartBody1478570863451418143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166735184,"filename":"image_28012025_20_01_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/29/f954cebe35f4ed373a03db9349b78365.jpg","text":"TemporaryFile(/tmp/multipartBody8973442216131926675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166735184,"filename":"image_28012025_20_01_15_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b216d4650d9df53c1b4b614e72073146.jpg","text":"TemporaryFile(/tmp/multipartBody7329063042379902908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166735184,"filename":"image_28012025_20_01_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/29/80af9a3c5a619deb2403f782ccc129e5.jpg","text":"TemporaryFile(/tmp/multipartBody3475071956145112912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166735184,"filename":"image_28012025_20_01_55_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332693791","file1":"1332693787","file0":"1332693781","file4":"1332693795","file5":"1332693798","file3":"1332693793"},"map_files_photo_id_array":[{"photo_id":"1332693798","filename":"file5"},{"photo_id":"1332693791","filename":"file2"},{"photo_id":"1332693795","filename":"file4"},{"photo_id":"1332693787","filename":"file1"},{"photo_id":"1332693781","filename":"file0"},{"photo_id":"1332693793","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332693791":["hashtag1","hashtag2"]},{"1332693781":["hashtag1","hashtag2"]},{"1332693793":["hashtag1","hashtag2"]},{"1332693787":["hashtag1","hashtag2"]},{"1332693795":["hashtag1","hashtag2"]},{"1332693798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332693791, 1332693781, 1332693793, 1332693787, 1332693795, 1332693798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.23061442375183 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:05:32.880522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/20/02/image_28012025_20_02_15_10361.jpg', '/home/pi/Desktop/images/28012025/20/02/image_28012025_20_02_25_10369.jpg', '/home/pi/Desktop/images/28012025/20/02/image_28012025_20_02_35_9350.jpg', '/home/pi/Desktop/images/28012025/20/02/image_28012025_20_02_45_10451.jpg', '/home/pi/Desktop/images/28012025/20/02/image_28012025_20_02_54_9416.jpg', '/home/pi/Desktop/images/28012025/20/02/image_28012025_20_03_05_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/20/02/image_28012025_20_02_15_10361.jpg
/home/pi/Desktop/images/28012025/20/02/image_28012025_20_02_25_10369.jpg
/home/pi/Desktop/images/28012025/20/02/image_28012025_20_02_35_9350.jpg
/home/pi/Desktop/images/28012025/20/02/image_28012025_20_02_45_10451.jpg
/home/pi/Desktop/images/28012025/20/02/image_28012025_20_02_54_9416.jpg
/home/pi/Desktop/images/28012025/20/02/image_28012025_20_03_05_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":["1332694478","1332694489","1332694474","1332694491","1332694482","1332694493"],"photo_ids_order":["1332694474","1332694478","1332694482","1332694489","1332694491","1332694493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/252a0196d809739b7f4b5514beaa9893.jpg","text":"TemporaryFile(/tmp/multipartBody1696617190652306790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166795432,"filename":"image_28012025_20_02_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/29/b6d75dc367b286e92275e980fb9cfcbe.jpg","text":"TemporaryFile(/tmp/multipartBody6973290236052458454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166795432,"filename":"image_28012025_20_02_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/29/ef0d6e3383dcd2b12a690e9f68d64437.jpg","text":"TemporaryFile(/tmp/multipartBody8668070029087929000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166795432,"filename":"image_28012025_20_02_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/29/9feb26a03a97fe1a8c8bc9e791a62b52.jpg","text":"TemporaryFile(/tmp/multipartBody8815142583298275043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166795432,"filename":"image_28012025_20_02_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/29/72974868b5bb77411f9d37299b5e3c49.jpg","text":"TemporaryFile(/tmp/multipartBody2788092185063631361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166795432,"filename":"image_28012025_20_02_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/29/84c392ac3be2bf2e1e3f87ac23402e71.jpg","text":"TemporaryFile(/tmp/multipartBody241238902298254902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166795432,"filename":"image_28012025_20_03_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332694482","file1":"1332694478","file0":"1332694474","file4":"1332694491","file5":"1332694493","file3":"1332694489"},"map_files_photo_id_array":[{"photo_id":"1332694493","filename":"file5"},{"photo_id":"1332694482","filename":"file2"},{"photo_id":"1332694491","filename":"file4"},{"photo_id":"1332694478","filename":"file1"},{"photo_id":"1332694474","filename":"file0"},{"photo_id":"1332694489","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332694478":["hashtag1","hashtag2"]},{"1332694489":["hashtag1","hashtag2"]},{"1332694474":["hashtag1","hashtag2"]},{"1332694491":["hashtag1","hashtag2"]},{"1332694482":["hashtag1","hashtag2"]},{"1332694493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332694478, 1332694489, 1332694474, 1332694491, 1332694482, 1332694493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.373154163360596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:06:33.128628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/20/03/image_28012025_20_03_15_10387.jpg', '/home/pi/Desktop/images/28012025/20/03/image_28012025_20_03_25_9352.jpg', '/home/pi/Desktop/images/28012025/20/03/image_28012025_20_03_45_10448.jpg', '/home/pi/Desktop/images/28012025/20/03/image_28012025_20_03_55_9344.jpg', '/home/pi/Desktop/images/28012025/20/03/image_28012025_20_04_05_10360.jpg', '/home/pi/Desktop/images/28012025/20/04/image_28012025_20_04_15_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/20/03/image_28012025_20_03_15_10387.jpg
/home/pi/Desktop/images/28012025/20/03/image_28012025_20_03_25_9352.jpg
/home/pi/Desktop/images/28012025/20/03/image_28012025_20_03_45_10448.jpg
/home/pi/Desktop/images/28012025/20/03/image_28012025_20_03_55_9344.jpg
/home/pi/Desktop/images/28012025/20/03/image_28012025_20_04_05_10360.jpg
/home/pi/Desktop/images/28012025/20/04/image_28012025_20_04_15_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":["1332694820","1332694817","1332694780","1332694755","1332694824","1332694784"],"photo_ids_order":["1332694755","1332694780","1332694784","1332694817","1332694820","1332694824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0762ba307c5db35d4f73b9bfb2c1819d.jpg","text":"TemporaryFile(/tmp/multipartBody4727170763854991441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166855699,"filename":"image_28012025_20_04_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/29/88f798e7ecb2fa2b71c786ac886a328f.jpg","text":"TemporaryFile(/tmp/multipartBody2514829021875039523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166855699,"filename":"image_28012025_20_03_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/29/e175ae9bbe1bce6f19c8f2d3396848d4.jpg","text":"TemporaryFile(/tmp/multipartBody1307913987803042577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166855699,"filename":"image_28012025_20_03_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/29/6152f2e7c987ad5e11aeac83879e662b.jpg","text":"TemporaryFile(/tmp/multipartBody2040825288371237193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166855699,"filename":"image_28012025_20_03_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/29/bea2f4ebc2f05b1b6552a33e68192e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3922863055421119818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166855699,"filename":"image_28012025_20_04_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/29/5548f86852e9febf59965b9a683aa1f3.jpg","text":"TemporaryFile(/tmp/multipartBody3078464994582433440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166855699,"filename":"image_28012025_20_03_45_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332694784","file1":"1332694780","file0":"1332694755","file4":"1332694820","file5":"1332694824","file3":"1332694817"},"map_files_photo_id_array":[{"photo_id":"1332694824","filename":"file5"},{"photo_id":"1332694784","filename":"file2"},{"photo_id":"1332694820","filename":"file4"},{"photo_id":"1332694780","filename":"file1"},{"photo_id":"1332694755","filename":"file0"},{"photo_id":"1332694817","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332694820":["hashtag1","hashtag2"]},{"1332694817":["hashtag1","hashtag2"]},{"1332694780":["hashtag1","hashtag2"]},{"1332694755":["hashtag1","hashtag2"]},{"1332694824":["hashtag1","hashtag2"]},{"1332694784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332694820, 1332694817, 1332694780, 1332694755, 1332694824, 1332694784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1131808757782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:07:32.238281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/20/04/image_28012025_20_04_25_9438.jpg', '/home/pi/Desktop/images/28012025/20/04/image_28012025_20_04_35_10430.jpg', '/home/pi/Desktop/images/28012025/20/04/image_28012025_20_04_45_9363.jpg', '/home/pi/Desktop/images/28012025/20/04/image_28012025_20_04_55_10403.jpg', '/home/pi/Desktop/images/28012025/20/04/image_28012025_20_05_05_10350.jpg', '/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_15_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/20/04/image_28012025_20_04_25_9438.jpg
/home/pi/Desktop/images/28012025/20/04/image_28012025_20_04_35_10430.jpg
/home/pi/Desktop/images/28012025/20/04/image_28012025_20_04_45_9363.jpg
/home/pi/Desktop/images/28012025/20/04/image_28012025_20_04_55_10403.jpg
/home/pi/Desktop/images/28012025/20/04/image_28012025_20_05_05_10350.jpg
/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_15_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":["1332694865","1332694891","1332694887","1332694883","1332694862","1332694856"],"photo_ids_order":["1332694856","1332694862","1332694865","1332694883","1332694887","1332694891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f8fb3060459fbe90a8d0f8a6664cd17c.jpg","text":"TemporaryFile(/tmp/multipartBody8078838126774781284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166914763,"filename":"image_28012025_20_04_45_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/29/1f698fd3942f970bbab9cd674b0ab6cf.jpg","text":"TemporaryFile(/tmp/multipartBody4324156346074130907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166914763,"filename":"image_28012025_20_05_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/29/9a6c650fe6528c41ba2c13447300acc9.jpg","text":"TemporaryFile(/tmp/multipartBody3106984796618766005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166914763,"filename":"image_28012025_20_05_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/29/5b99b8e8d764385b0285eec9ea1f76d6.jpg","text":"TemporaryFile(/tmp/multipartBody2286038353183125823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166914763,"filename":"image_28012025_20_04_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/29/88374d97b0b223d63fccbf4eac8421d7.jpg","text":"TemporaryFile(/tmp/multipartBody630240037710919749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166914763,"filename":"image_28012025_20_04_35_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/29/2c0eca13af0bb82f7d6322edda7e8cbc.jpg","text":"TemporaryFile(/tmp/multipartBody5856383309000170639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166914763,"filename":"image_28012025_20_04_25_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332694865","file1":"1332694862","file0":"1332694856","file4":"1332694887","file5":"1332694891","file3":"1332694883"},"map_files_photo_id_array":[{"photo_id":"1332694891","filename":"file5"},{"photo_id":"1332694865","filename":"file2"},{"photo_id":"1332694887","filename":"file4"},{"photo_id":"1332694862","filename":"file1"},{"photo_id":"1332694856","filename":"file0"},{"photo_id":"1332694883","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332694865":["hashtag1","hashtag2"]},{"1332694891":["hashtag1","hashtag2"]},{"1332694887":["hashtag1","hashtag2"]},{"1332694883":["hashtag1","hashtag2"]},{"1332694862":["hashtag1","hashtag2"]},{"1332694856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332694865, 1332694891, 1332694887, 1332694883, 1332694862, 1332694856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50696659088135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:08:32.501270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_25_10464.jpg', '/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_35_9421.jpg', '/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_45_10348.jpg', '/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_55_10469.jpg', '/home/pi/Desktop/images/28012025/20/05/image_28012025_20_06_05_9340.jpg', '/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_15_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_25_10464.jpg
/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_35_9421.jpg
/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_45_10348.jpg
/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_55_10469.jpg
/home/pi/Desktop/images/28012025/20/05/image_28012025_20_06_05_9340.jpg
/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_15_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: 2.132140636444092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 17:08:42.543464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_25_10464.jpg', '/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_35_9421.jpg', '/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_45_10348.jpg', '/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_55_10469.jpg', '/home/pi/Desktop/images/28012025/20/05/image_28012025_20_06_05_9340.jpg', '/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_15_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_25_10464.jpg
/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_35_9421.jpg
/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_45_10348.jpg
/home/pi/Desktop/images/28012025/20/05/image_28012025_20_05_55_10469.jpg
/home/pi/Desktop/images/28012025/20/05/image_28012025_20_06_05_9340.jpg
/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_15_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":["1332694958","1332694967","1332694972","1332694954","1332694948","1332694961"],"photo_ids_order":["1332694948","1332694954","1332694958","1332694961","1332694967","1332694972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9072062f15406514aee536a017ccd515.jpg","text":"TemporaryFile(/tmp/multipartBody6177833299000624468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166984164,"filename":"image_28012025_20_05_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/29/72b04cf0256c1c23f4a017b5eafec180.jpg","text":"TemporaryFile(/tmp/multipartBody3537301630033566484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166984164,"filename":"image_28012025_20_06_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/29/e246b59b0368653a1cb827cf07733a25.jpg","text":"TemporaryFile(/tmp/multipartBody8128490657696247935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166984164,"filename":"image_28012025_20_06_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/29/0683fd6100e0d787789bf3a97af3fa37.jpg","text":"TemporaryFile(/tmp/multipartBody2494488668631751972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166984164,"filename":"image_28012025_20_05_35_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/29/cbac31d40a827d9503db99bd4fff619b.jpg","text":"TemporaryFile(/tmp/multipartBody5601230269999689193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166984164,"filename":"image_28012025_20_05_25_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/29/ca14e33c3bf59a95aab7e6f61722c4be.jpg","text":"TemporaryFile(/tmp/multipartBody7127271915865072410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738166984164,"filename":"image_28012025_20_05_55_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332694958","file1":"1332694954","file0":"1332694948","file4":"1332694967","file5":"1332694972","file3":"1332694961"},"map_files_photo_id_array":[{"photo_id":"1332694972","filename":"file5"},{"photo_id":"1332694958","filename":"file2"},{"photo_id":"1332694967","filename":"file4"},{"photo_id":"1332694954","filename":"file1"},{"photo_id":"1332694948","filename":"file0"},{"photo_id":"1332694961","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332694958":["hashtag1","hashtag2"]},{"1332694967":["hashtag1","hashtag2"]},{"1332694972":["hashtag1","hashtag2"]},{"1332694954":["hashtag1","hashtag2"]},{"1332694948":["hashtag1","hashtag2"]},{"1332694961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332694958, 1332694967, 1332694972, 1332694954, 1332694948, 1332694961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.401270627975464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:09:32.722221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_25_9349.jpg', '/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_35_10440.jpg', '/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_45_10363.jpg', '/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_55_9348.jpg', '/home/pi/Desktop/images/28012025/20/06/image_28012025_20_07_05_10453.jpg', '/home/pi/Desktop/images/28012025/20/07/image_28012025_20_07_15_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_25_9349.jpg
/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_35_10440.jpg
/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_45_10363.jpg
/home/pi/Desktop/images/28012025/20/06/image_28012025_20_06_55_9348.jpg
/home/pi/Desktop/images/28012025/20/06/image_28012025_20_07_05_10453.jpg
/home/pi/Desktop/images/28012025/20/07/image_28012025_20_07_15_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":["1332694999","1332695023","1332694989","1332695001","1332694994","1332694997"],"photo_ids_order":["1332694989","1332694994","1332694997","1332694999","1332695001","1332695023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c13a9e2df6415a4bb48d25a4976ad085.jpg","text":"TemporaryFile(/tmp/multipartBody2489338561456111854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167035242,"filename":"image_28012025_20_06_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/29/61f2ec40c6f4a3b1086e4ef40b67fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody2511451050464010513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167035242,"filename":"image_28012025_20_07_15_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/29/dab5c4aa48ff0a336dc0c6b66e9fdc57.jpg","text":"TemporaryFile(/tmp/multipartBody6967656634227342183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167035242,"filename":"image_28012025_20_06_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/29/65a21c996b4f6914bb64eebafff724e2.jpg","text":"TemporaryFile(/tmp/multipartBody6050938938947185711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167035242,"filename":"image_28012025_20_07_05_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/29/c01da641c7a5b79e5a61ee7a73eb8ebb.jpg","text":"TemporaryFile(/tmp/multipartBody1583110586518849502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167035242,"filename":"image_28012025_20_06_35_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/29/0dd823edea0b2eb18c40959063e84369.jpg","text":"TemporaryFile(/tmp/multipartBody7364394460595542360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167035242,"filename":"image_28012025_20_06_45_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332694997","file1":"1332694994","file0":"1332694989","file4":"1332695001","file5":"1332695023","file3":"1332694999"},"map_files_photo_id_array":[{"photo_id":"1332695023","filename":"file5"},{"photo_id":"1332694997","filename":"file2"},{"photo_id":"1332695001","filename":"file4"},{"photo_id":"1332694994","filename":"file1"},{"photo_id":"1332694989","filename":"file0"},{"photo_id":"1332694999","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332694999":["hashtag1","hashtag2"]},{"1332695023":["hashtag1","hashtag2"]},{"1332694989":["hashtag1","hashtag2"]},{"1332695001":["hashtag1","hashtag2"]},{"1332694994":["hashtag1","hashtag2"]},{"1332694997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332694999, 1332695023, 1332694989, 1332695001, 1332694994, 1332694997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98198437690735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:10:32.898203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/20/07/image_28012025_20_07_25_10403.jpg', '/home/pi/Desktop/images/28012025/20/07/image_28012025_20_07_35_10350.jpg', '/home/pi/Desktop/images/28012025/20/07/image_28012025_20_07_45_9365.jpg', '/home/pi/Desktop/images/28012025/20/07/image_28012025_20_07_55_10344.jpg', '/home/pi/Desktop/images/28012025/20/07/image_28012025_20_08_05_10348.jpg', '/home/pi/Desktop/images/28012025/20/08/image_28012025_20_08_15_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/20/07/image_28012025_20_07_25_10403.jpg
/home/pi/Desktop/images/28012025/20/07/image_28012025_20_07_35_10350.jpg
/home/pi/Desktop/images/28012025/20/07/image_28012025_20_07_45_9365.jpg
/home/pi/Desktop/images/28012025/20/07/image_28012025_20_07_55_10344.jpg
/home/pi/Desktop/images/28012025/20/07/image_28012025_20_08_05_10348.jpg
/home/pi/Desktop/images/28012025/20/08/image_28012025_20_08_15_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":["1332695111","1332695105","1332695080","1332695068","1332695113","1332695073"],"photo_ids_order":["1332695068","1332695073","1332695080","1332695105","1332695111","1332695113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3940c53ac0a88f44f52118989b4388c9.jpg","text":"TemporaryFile(/tmp/multipartBody3055625651613052564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167095431,"filename":"image_28012025_20_08_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/29/b4f10c7b13182b463fa1f05d268a18c2.jpg","text":"TemporaryFile(/tmp/multipartBody3575351930761376540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167095431,"filename":"image_28012025_20_07_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/29/84f2a90def7e15af889513fde3397ddd.jpg","text":"TemporaryFile(/tmp/multipartBody5523269598418629602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167095431,"filename":"image_28012025_20_07_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/29/8e25f628e170a67f7894620e2d5a0d1a.jpg","text":"TemporaryFile(/tmp/multipartBody1556408799270901427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167095431,"filename":"image_28012025_20_07_25_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/29/193db176c4354f30d4d6bfd423b545b7.jpg","text":"TemporaryFile(/tmp/multipartBody4345060194706624606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167095431,"filename":"image_28012025_20_08_15_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/29/5a313f89361787377c7c5592b9d7141f.jpg","text":"TemporaryFile(/tmp/multipartBody7805106515613525903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167095431,"filename":"image_28012025_20_07_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332695080","file1":"1332695073","file0":"1332695068","file4":"1332695111","file5":"1332695113","file3":"1332695105"},"map_files_photo_id_array":[{"photo_id":"1332695113","filename":"file5"},{"photo_id":"1332695080","filename":"file2"},{"photo_id":"1332695111","filename":"file4"},{"photo_id":"1332695073","filename":"file1"},{"photo_id":"1332695068","filename":"file0"},{"photo_id":"1332695105","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332695111":["hashtag1","hashtag2"]},{"1332695105":["hashtag1","hashtag2"]},{"1332695080":["hashtag1","hashtag2"]},{"1332695068":["hashtag1","hashtag2"]},{"1332695113":["hashtag1","hashtag2"]},{"1332695073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332695111, 1332695105, 1332695080, 1332695068, 1332695113, 1332695073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08664345741272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:11:33.049895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/20/08/image_28012025_20_08_25_10414.jpg', '/home/pi/Desktop/images/28012025/20/08/image_28012025_20_08_35_10351.jpg', '/home/pi/Desktop/images/28012025/20/08/image_28012025_20_08_45_9395.jpg', '/home/pi/Desktop/images/28012025/20/08/image_28012025_20_08_55_10472.jpg', '/home/pi/Desktop/images/28012025/20/08/image_28012025_20_09_05_9325.jpg', '/home/pi/Desktop/images/28012025/20/09/image_28012025_20_09_15_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/20/08/image_28012025_20_08_25_10414.jpg
/home/pi/Desktop/images/28012025/20/08/image_28012025_20_08_35_10351.jpg
/home/pi/Desktop/images/28012025/20/08/image_28012025_20_08_45_9395.jpg
/home/pi/Desktop/images/28012025/20/08/image_28012025_20_08_55_10472.jpg
/home/pi/Desktop/images/28012025/20/08/image_28012025_20_09_05_9325.jpg
/home/pi/Desktop/images/28012025/20/09/image_28012025_20_09_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":["1332695201","1332695146","1332695175","1332695169","1332695172","1332695177"],"photo_ids_order":["1332695146","1332695169","1332695172","1332695175","1332695177","1332695201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a25e8d6e31e39700460b47a881594340.jpg","text":"TemporaryFile(/tmp/multipartBody6201711168522512959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167155584,"filename":"image_28012025_20_09_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/29/c1fac5f81bca80579575b509a5c3f240.jpg","text":"TemporaryFile(/tmp/multipartBody1931033951775871220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167155584,"filename":"image_28012025_20_08_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/29/11ccd19c2d52fdd60fda8139992f8563.jpg","text":"TemporaryFile(/tmp/multipartBody5179275109342809756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167155584,"filename":"image_28012025_20_08_55_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/29/f709b8aa187140c07f1c7a69cf6403d1.jpg","text":"TemporaryFile(/tmp/multipartBody3671125846698003660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167155584,"filename":"image_28012025_20_08_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/29/c78f48d2a2dd9f5809e00e4feef465f6.jpg","text":"TemporaryFile(/tmp/multipartBody6280362275855723783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167155584,"filename":"image_28012025_20_08_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/29/63a362b60d97be70c94e9f84718e7c84.jpg","text":"TemporaryFile(/tmp/multipartBody6603353533668200855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167155584,"filename":"image_28012025_20_09_05_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332695172","file1":"1332695169","file0":"1332695146","file4":"1332695177","file5":"1332695201","file3":"1332695175"},"map_files_photo_id_array":[{"photo_id":"1332695201","filename":"file5"},{"photo_id":"1332695172","filename":"file2"},{"photo_id":"1332695177","filename":"file4"},{"photo_id":"1332695169","filename":"file1"},{"photo_id":"1332695146","filename":"file0"},{"photo_id":"1332695175","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332695201":["hashtag1","hashtag2"]},{"1332695146":["hashtag1","hashtag2"]},{"1332695175":["hashtag1","hashtag2"]},{"1332695169":["hashtag1","hashtag2"]},{"1332695172":["hashtag1","hashtag2"]},{"1332695177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332695201, 1332695146, 1332695175, 1332695169, 1332695172, 1332695177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29382848739624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:12:32.329803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/20/09/image_28012025_20_09_45_10348.jpg', '/home/pi/Desktop/images/28012025/20/09/image_28012025_20_09_54_9353.jpg', '/home/pi/Desktop/images/28012025/20/09/image_28012025_20_10_05_10359.jpg', '/home/pi/Desktop/images/28012025/20/10/image_28012025_20_10_15_10438.jpg', '/home/pi/Desktop/images/28012025/20/10/image_28012025_20_10_25_9819.jpg', '/home/pi/Desktop/images/28012025/20/10/image_28012025_20_10_35_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/20/09/image_28012025_20_09_45_10348.jpg
/home/pi/Desktop/images/28012025/20/09/image_28012025_20_09_54_9353.jpg
/home/pi/Desktop/images/28012025/20/09/image_28012025_20_10_05_10359.jpg
/home/pi/Desktop/images/28012025/20/10/image_28012025_20_10_15_10438.jpg
/home/pi/Desktop/images/28012025/20/10/image_28012025_20_10_25_9819.jpg
/home/pi/Desktop/images/28012025/20/10/image_28012025_20_10_35_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":["1332695257","1332695250","1332695253","1332695247","1332695255","1332695243"],"photo_ids_order":["1332695243","1332695247","1332695250","1332695253","1332695255","1332695257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5f35db9f51110f357a84e9b7f00520e2.jpg","text":"TemporaryFile(/tmp/multipartBody1416299929649991278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167214860,"filename":"image_28012025_20_10_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/29/a9936f01d97b8dcec3139e0dcd87bd3a.jpg","text":"TemporaryFile(/tmp/multipartBody5484766864057538225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167214860,"filename":"image_28012025_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/29/8156a13a24693e0060b78700c1c685f9.jpg","text":"TemporaryFile(/tmp/multipartBody3186869447907333952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167214860,"filename":"image_28012025_20_10_15_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/29/ac418c7af2bf6b01cc1fa10fec15ceac.jpg","text":"TemporaryFile(/tmp/multipartBody1760035570090033903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167214860,"filename":"image_28012025_20_09_54_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/29/15ade28b610eff8c07ed80bbbc14e232.jpg","text":"TemporaryFile(/tmp/multipartBody2550505304773459525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167214860,"filename":"image_28012025_20_10_25_9819.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f716c56918645e1ad5a10eb4db15c468.jpg","text":"TemporaryFile(/tmp/multipartBody1260902604073308331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167214860,"filename":"image_28012025_20_09_45_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332695250","file1":"1332695247","file0":"1332695243","file4":"1332695255","file5":"1332695257","file3":"1332695253"},"map_files_photo_id_array":[{"photo_id":"1332695257","filename":"file5"},{"photo_id":"1332695250","filename":"file2"},{"photo_id":"1332695255","filename":"file4"},{"photo_id":"1332695247","filename":"file1"},{"photo_id":"1332695243","filename":"file0"},{"photo_id":"1332695253","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332695257":["hashtag1","hashtag2"]},{"1332695250":["hashtag1","hashtag2"]},{"1332695253":["hashtag1","hashtag2"]},{"1332695247":["hashtag1","hashtag2"]},{"1332695255":["hashtag1","hashtag2"]},{"1332695243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332695257, 1332695250, 1332695253, 1332695247, 1332695255, 1332695243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85388374328613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:13:32.531138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/20/10/image_28012025_20_10_45_9346.jpg', '/home/pi/Desktop/images/28012025/20/10/image_28012025_20_10_55_10410.jpg', '/home/pi/Desktop/images/28012025/20/10/image_28012025_20_11_05_9355.jpg', '/home/pi/Desktop/images/28012025/20/11/image_28012025_20_11_15_10377.jpg', '/home/pi/Desktop/images/28012025/20/11/image_28012025_20_11_25_10425.jpg', '/home/pi/Desktop/images/28012025/20/11/image_28012025_20_11_35_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/20/10/image_28012025_20_10_45_9346.jpg
/home/pi/Desktop/images/28012025/20/10/image_28012025_20_10_55_10410.jpg
/home/pi/Desktop/images/28012025/20/10/image_28012025_20_11_05_9355.jpg
/home/pi/Desktop/images/28012025/20/11/image_28012025_20_11_15_10377.jpg
/home/pi/Desktop/images/28012025/20/11/image_28012025_20_11_25_10425.jpg
/home/pi/Desktop/images/28012025/20/11/image_28012025_20_11_35_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":["1332696037","1332695803","1332695506","1332696165","1332695675","1332695918"],"photo_ids_order":["1332695506","1332695675","1332695803","1332695918","1332696037","1332696165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a08401d6943db749d913c2d4458c3b70.jpg","text":"TemporaryFile(/tmp/multipartBody7673143759687295460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167275051,"filename":"image_28012025_20_11_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/29/98430abc9348d7fbaef7f0ea5dcf680b.jpg","text":"TemporaryFile(/tmp/multipartBody4764372742514508885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167275051,"filename":"image_28012025_20_11_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/29/7344aa636865672ba9aeac145fcc36b6.jpg","text":"TemporaryFile(/tmp/multipartBody6694097837249358618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167275051,"filename":"image_28012025_20_10_45_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/29/5afad4824ced01eebc2ed1060ad44b77.jpg","text":"TemporaryFile(/tmp/multipartBody2827063733617171599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167275051,"filename":"image_28012025_20_11_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/29/59a3a388d4e581a48d6c528aeb738433.jpg","text":"TemporaryFile(/tmp/multipartBody4607895843733869563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167275051,"filename":"image_28012025_20_10_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/29/9b203c06a6f7ee8c21f7e28590f9da79.jpg","text":"TemporaryFile(/tmp/multipartBody3168178360342953575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167275051,"filename":"image_28012025_20_11_15_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332695803","file1":"1332695675","file0":"1332695506","file4":"1332696037","file5":"1332696165","file3":"1332695918"},"map_files_photo_id_array":[{"photo_id":"1332696165","filename":"file5"},{"photo_id":"1332695803","filename":"file2"},{"photo_id":"1332696037","filename":"file4"},{"photo_id":"1332695675","filename":"file1"},{"photo_id":"1332695506","filename":"file0"},{"photo_id":"1332695918","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332696037":["hashtag1","hashtag2"]},{"1332695803":["hashtag1","hashtag2"]},{"1332695506":["hashtag1","hashtag2"]},{"1332696165":["hashtag1","hashtag2"]},{"1332695675":["hashtag1","hashtag2"]},{"1332695918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332696037, 1332695803, 1332695506, 1332696165, 1332695675, 1332695918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.83768916130066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:14:32.280535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/20/11/image_28012025_20_11_45_10530.jpg', '/home/pi/Desktop/images/28012025/20/11/image_28012025_20_11_55_9374.jpg', '/home/pi/Desktop/images/28012025/20/11/image_28012025_20_12_05_10390.jpg', '/home/pi/Desktop/images/28012025/20/12/image_28012025_20_12_15_10357.jpg', '/home/pi/Desktop/images/28012025/20/12/image_28012025_20_12_25_9368.jpg', '/home/pi/Desktop/images/28012025/20/12/image_28012025_20_12_35_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/20/11/image_28012025_20_11_45_10530.jpg
/home/pi/Desktop/images/28012025/20/11/image_28012025_20_11_55_9374.jpg
/home/pi/Desktop/images/28012025/20/11/image_28012025_20_12_05_10390.jpg
/home/pi/Desktop/images/28012025/20/12/image_28012025_20_12_15_10357.jpg
/home/pi/Desktop/images/28012025/20/12/image_28012025_20_12_25_9368.jpg
/home/pi/Desktop/images/28012025/20/12/image_28012025_20_12_35_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":["1332696907","1332696921","1332696750","1332696831","1332696909","1332696905"],"photo_ids_order":["1332696750","1332696831","1332696905","1332696907","1332696909","1332696921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/32b86411cbd3798026724b966b36233a.jpg","text":"TemporaryFile(/tmp/multipartBody8724340663822932143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167334803,"filename":"image_28012025_20_12_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/29/876092e1bc793e04613b9591fee72935.jpg","text":"TemporaryFile(/tmp/multipartBody3783066109506531777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167334803,"filename":"image_28012025_20_12_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/29/bb2bd5c616eca1493b9587e672c27007.jpg","text":"TemporaryFile(/tmp/multipartBody9067259953124458620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167334803,"filename":"image_28012025_20_11_45_10530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/991aa89790a7321d2fb2a08cd6cf8cad.jpg","text":"TemporaryFile(/tmp/multipartBody6193190444272285173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167334803,"filename":"image_28012025_20_11_55_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/29/b7f441306ce0cb6149f648e96beb63e8.jpg","text":"TemporaryFile(/tmp/multipartBody7940315796440398496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167334803,"filename":"image_28012025_20_12_25_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/29/ee1d21e715c1488fb3292154c32c9730.jpg","text":"TemporaryFile(/tmp/multipartBody8124955451170440695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167334803,"filename":"image_28012025_20_12_05_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332696905","file1":"1332696831","file0":"1332696750","file4":"1332696909","file5":"1332696921","file3":"1332696907"},"map_files_photo_id_array":[{"photo_id":"1332696921","filename":"file5"},{"photo_id":"1332696905","filename":"file2"},{"photo_id":"1332696909","filename":"file4"},{"photo_id":"1332696831","filename":"file1"},{"photo_id":"1332696750","filename":"file0"},{"photo_id":"1332696907","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1332696907":["hashtag1","hashtag2"]},{"1332696921":["hashtag1","hashtag2"]},{"1332696750":["hashtag1","hashtag2"]},{"1332696831":["hashtag1","hashtag2"]},{"1332696909":["hashtag1","hashtag2"]},{"1332696905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1332696907, 1332696921, 1332696750, 1332696831, 1332696909, 1332696905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.046306848526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:15:32.469467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_56_10358.jpg', '/home/pi/Desktop/images/29012025/11/39/image_29012025_11_40_07_10447.jpg', '/home/pi/Desktop/images/29012025/11/40/image_29012025_11_40_16_9470.jpg', '/home/pi/Desktop/images/29012025/11/40/image_29012025_11_40_27_10370.jpg', '/home/pi/Desktop/images/29012025/11/40/image_29012025_11_40_36_9344.jpg', '/home/pi/Desktop/images/29012025/11/40/image_29012025_11_40_46_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/39/image_29012025_11_39_56_10358.jpg
/home/pi/Desktop/images/29012025/11/39/image_29012025_11_40_07_10447.jpg
/home/pi/Desktop/images/29012025/11/40/image_29012025_11_40_16_9470.jpg
/home/pi/Desktop/images/29012025/11/40/image_29012025_11_40_27_10370.jpg
/home/pi/Desktop/images/29012025/11/40/image_29012025_11_40_36_9344.jpg
/home/pi/Desktop/images/29012025/11/40/image_29012025_11_40_46_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332697035","1332697031","1332697040","1332697039","1332697024","1332697018"],"photo_ids_order":["1332697018","1332697024","1332697031","1332697035","1332697039","1332697040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c04a240714a0821b385bd31e599cdef3.jpg","text":"TemporaryFile(/tmp/multipartBody364933211513666522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167393389,"filename":"image_29012025_11_40_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/29/65e76a9242a4b4c7867d03ccceb4b18a.jpg","text":"TemporaryFile(/tmp/multipartBody235220758322446795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167393389,"filename":"image_29012025_11_40_16_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/29/d37c11c090581d741dfe2344780a165f.jpg","text":"TemporaryFile(/tmp/multipartBody446338250804088713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167393389,"filename":"image_29012025_11_40_46_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/29/982664065daf757e87ec07c84fe452ad.jpg","text":"TemporaryFile(/tmp/multipartBody1247313243432623027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167393389,"filename":"image_29012025_11_40_36_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/29/99af70f1221890edf8a5bd6a111aaa05.jpg","text":"TemporaryFile(/tmp/multipartBody2295607769722045832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167393389,"filename":"image_29012025_11_40_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/29/ab4806bd15dfe60b4939d7deabf685af.jpg","text":"TemporaryFile(/tmp/multipartBody7930512804475076818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167393389,"filename":"image_29012025_11_39_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332697031","file1":"1332697024","file0":"1332697018","file4":"1332697039","file5":"1332697040","file3":"1332697035"},"map_files_photo_id_array":[{"photo_id":"1332697040","filename":"file5"},{"photo_id":"1332697031","filename":"file2"},{"photo_id":"1332697039","filename":"file4"},{"photo_id":"1332697024","filename":"file1"},{"photo_id":"1332697018","filename":"file0"},{"photo_id":"1332697035","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332697035":["hashtag1","hashtag2"]},{"1332697031":["hashtag1","hashtag2"]},{"1332697040":["hashtag1","hashtag2"]},{"1332697039":["hashtag1","hashtag2"]},{"1332697024":["hashtag1","hashtag2"]},{"1332697018":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332697035, 1332697031, 1332697040, 1332697039, 1332697024, 1332697018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.384490966796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:16:32.796869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/40/image_29012025_11_40_57_10404.jpg', '/home/pi/Desktop/images/29012025/11/40/image_29012025_11_41_06_9431.jpg', '/home/pi/Desktop/images/29012025/11/41/image_29012025_11_41_16_10345.jpg', '/home/pi/Desktop/images/29012025/11/41/image_29012025_11_41_26_9350.jpg', '/home/pi/Desktop/images/29012025/11/41/image_29012025_11_41_36_10354.jpg', '/home/pi/Desktop/images/29012025/11/41/image_29012025_11_41_47_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/40/image_29012025_11_40_57_10404.jpg
/home/pi/Desktop/images/29012025/11/40/image_29012025_11_41_06_9431.jpg
/home/pi/Desktop/images/29012025/11/41/image_29012025_11_41_16_10345.jpg
/home/pi/Desktop/images/29012025/11/41/image_29012025_11_41_26_9350.jpg
/home/pi/Desktop/images/29012025/11/41/image_29012025_11_41_36_10354.jpg
/home/pi/Desktop/images/29012025/11/41/image_29012025_11_41_47_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":["1332697479","1332697493","1332697466","1332697475","1332697543","1332697546"],"photo_ids_order":["1332697466","1332697475","1332697479","1332697493","1332697543","1332697546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b63f9ac0809bd600452f0c982e386688.jpg","text":"TemporaryFile(/tmp/multipartBody7789851191168379221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167453701,"filename":"image_29012025_11_41_16_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/29/f6cda17a0b630bbfe293b39673bc5c77.jpg","text":"TemporaryFile(/tmp/multipartBody131734815947479406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167453701,"filename":"image_29012025_11_41_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/29/eb54b600488b7ac5e4d4567c54c7e65d.jpg","text":"TemporaryFile(/tmp/multipartBody4239671228104588129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167453701,"filename":"image_29012025_11_40_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/29/398e601f47253ead1f2ebf81a89b6144.jpg","text":"TemporaryFile(/tmp/multipartBody4520663715403238397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167453701,"filename":"image_29012025_11_41_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/29/2f988579060105227796e475a42e7192.jpg","text":"TemporaryFile(/tmp/multipartBody1783228226592961525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167453701,"filename":"image_29012025_11_41_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/29/8e3f2f2b6ef0884e42db9b4f16643f2c.jpg","text":"TemporaryFile(/tmp/multipartBody784938139795148233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167453701,"filename":"image_29012025_11_41_47_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332697479","file1":"1332697475","file0":"1332697466","file4":"1332697543","file5":"1332697546","file3":"1332697493"},"map_files_photo_id_array":[{"photo_id":"1332697546","filename":"file5"},{"photo_id":"1332697479","filename":"file2"},{"photo_id":"1332697543","filename":"file4"},{"photo_id":"1332697475","filename":"file1"},{"photo_id":"1332697466","filename":"file0"},{"photo_id":"1332697493","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332697479":["hashtag1","hashtag2"]},{"1332697493":["hashtag1","hashtag2"]},{"1332697466":["hashtag1","hashtag2"]},{"1332697475":["hashtag1","hashtag2"]},{"1332697543":["hashtag1","hashtag2"]},{"1332697546":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332697479, 1332697493, 1332697466, 1332697475, 1332697543, 1332697546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14978313446045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:17:32.942633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/41/image_29012025_11_41_56_9434.jpg', '/home/pi/Desktop/images/29012025/11/41/image_29012025_11_42_06_10353.jpg', '/home/pi/Desktop/images/29012025/11/42/image_29012025_11_42_17_10366.jpg', '/home/pi/Desktop/images/29012025/11/42/image_29012025_11_42_26_9474.jpg', '/home/pi/Desktop/images/29012025/11/42/image_29012025_11_42_37_10371.jpg', '/home/pi/Desktop/images/29012025/11/42/image_29012025_11_42_46_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/41/image_29012025_11_41_56_9434.jpg
/home/pi/Desktop/images/29012025/11/41/image_29012025_11_42_06_10353.jpg
/home/pi/Desktop/images/29012025/11/42/image_29012025_11_42_17_10366.jpg
/home/pi/Desktop/images/29012025/11/42/image_29012025_11_42_26_9474.jpg
/home/pi/Desktop/images/29012025/11/42/image_29012025_11_42_37_10371.jpg
/home/pi/Desktop/images/29012025/11/42/image_29012025_11_42_46_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":["1332697785","1332697793","1332697796","1332697799","1332697679","1332697789"],"photo_ids_order":["1332697679","1332697785","1332697789","1332697793","1332697796","1332697799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f29574fce82ad8c15d6724f5ad7e0bc5.jpg","text":"TemporaryFile(/tmp/multipartBody836184389106204466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167513847,"filename":"image_29012025_11_42_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/29/f46a8a182d95f59fbef5e0085eb9d303.jpg","text":"TemporaryFile(/tmp/multipartBody8894797455591278619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167513847,"filename":"image_29012025_11_42_26_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/29/af8b7316954ef187c1f13b49ebe6cd69.jpg","text":"TemporaryFile(/tmp/multipartBody7181013048835442172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167513847,"filename":"image_29012025_11_42_37_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/29/98d3ca69fbf6ccf0a06a2cdf7dc7d3a8.jpg","text":"TemporaryFile(/tmp/multipartBody492913502437146669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167513847,"filename":"image_29012025_11_42_46_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/29/783523d6f496b3cda846249f4ccfde94.jpg","text":"TemporaryFile(/tmp/multipartBody8843614240469187466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167513847,"filename":"image_29012025_11_41_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/29/084ade2593a18bc35154005fed0cb2f0.jpg","text":"TemporaryFile(/tmp/multipartBody4003694691067779461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167513847,"filename":"image_29012025_11_42_17_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332697789","file1":"1332697785","file0":"1332697679","file4":"1332697796","file5":"1332697799","file3":"1332697793"},"map_files_photo_id_array":[{"photo_id":"1332697799","filename":"file5"},{"photo_id":"1332697789","filename":"file2"},{"photo_id":"1332697796","filename":"file4"},{"photo_id":"1332697785","filename":"file1"},{"photo_id":"1332697679","filename":"file0"},{"photo_id":"1332697793","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332697785":["hashtag1","hashtag2"]},{"1332697793":["hashtag1","hashtag2"]},{"1332697796":["hashtag1","hashtag2"]},{"1332697799":["hashtag1","hashtag2"]},{"1332697679":["hashtag1","hashtag2"]},{"1332697789":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332697785, 1332697793, 1332697796, 1332697799, 1332697679, 1332697789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02076435089111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:18:32.335407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/42/image_29012025_11_42_56_10378.jpg', '/home/pi/Desktop/images/29012025/11/42/image_29012025_11_43_07_10396.jpg', '/home/pi/Desktop/images/29012025/11/43/image_29012025_11_43_16_9401.jpg', '/home/pi/Desktop/images/29012025/11/43/image_29012025_11_43_26_10358.jpg', '/home/pi/Desktop/images/29012025/11/43/image_29012025_11_43_36_9336.jpg', '/home/pi/Desktop/images/29012025/11/43/image_29012025_11_43_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/42/image_29012025_11_42_56_10378.jpg
/home/pi/Desktop/images/29012025/11/42/image_29012025_11_43_07_10396.jpg
/home/pi/Desktop/images/29012025/11/43/image_29012025_11_43_16_9401.jpg
/home/pi/Desktop/images/29012025/11/43/image_29012025_11_43_26_10358.jpg
/home/pi/Desktop/images/29012025/11/43/image_29012025_11_43_36_9336.jpg
/home/pi/Desktop/images/29012025/11/43/image_29012025_11_43_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":["1332697959","1332698084","1332697833","1332697824","1332697840","1332697819"],"photo_ids_order":["1332697819","1332697824","1332697833","1332697840","1332697959","1332698084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8168d6916c72cd17add4ffb79d925650.jpg","text":"TemporaryFile(/tmp/multipartBody3962490117058634381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167573256,"filename":"image_29012025_11_43_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/29/7f5dac791583af9becfbf95155824d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3619162142972754290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167573256,"filename":"image_29012025_11_43_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/29/c0b57fe53a9f9492a7ab8de74b0b05a7.jpg","text":"TemporaryFile(/tmp/multipartBody5661108925177521622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167573256,"filename":"image_29012025_11_43_16_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/29/16d05b79b0ef96d6fc1136eba7ad5072.jpg","text":"TemporaryFile(/tmp/multipartBody4248124230820420307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167573256,"filename":"image_29012025_11_43_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/29/69daae5fffad7b2fb9b8288b8102cab4.jpg","text":"TemporaryFile(/tmp/multipartBody126010006927299316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167573256,"filename":"image_29012025_11_43_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/29/efd3fdaaa4507aa0109da7b5f53936f8.jpg","text":"TemporaryFile(/tmp/multipartBody8961695471823592575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167573256,"filename":"image_29012025_11_42_56_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332697833","file1":"1332697824","file0":"1332697819","file4":"1332697959","file5":"1332698084","file3":"1332697840"},"map_files_photo_id_array":[{"photo_id":"1332698084","filename":"file5"},{"photo_id":"1332697833","filename":"file2"},{"photo_id":"1332697959","filename":"file4"},{"photo_id":"1332697824","filename":"file1"},{"photo_id":"1332697819","filename":"file0"},{"photo_id":"1332697840","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332697959":["hashtag1","hashtag2"]},{"1332698084":["hashtag1","hashtag2"]},{"1332697833":["hashtag1","hashtag2"]},{"1332697824":["hashtag1","hashtag2"]},{"1332697840":["hashtag1","hashtag2"]},{"1332697819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332697959, 1332698084, 1332697833, 1332697824, 1332697840, 1332697819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74453568458557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:19:32.562591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/43/image_29012025_11_43_57_10366.jpg', '/home/pi/Desktop/images/29012025/11/43/image_29012025_11_44_06_9387.jpg', '/home/pi/Desktop/images/29012025/11/44/image_29012025_11_44_16_10431.jpg', '/home/pi/Desktop/images/29012025/11/44/image_29012025_11_44_27_10380.jpg', '/home/pi/Desktop/images/29012025/11/44/image_29012025_11_44_36_9449.jpg', '/home/pi/Desktop/images/29012025/11/44/image_29012025_11_44_47_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/43/image_29012025_11_43_57_10366.jpg
/home/pi/Desktop/images/29012025/11/43/image_29012025_11_44_06_9387.jpg
/home/pi/Desktop/images/29012025/11/44/image_29012025_11_44_16_10431.jpg
/home/pi/Desktop/images/29012025/11/44/image_29012025_11_44_27_10380.jpg
/home/pi/Desktop/images/29012025/11/44/image_29012025_11_44_36_9449.jpg
/home/pi/Desktop/images/29012025/11/44/image_29012025_11_44_47_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":["1332698262","1332698279","1332698276","1332698272","1332698280","1332698268"],"photo_ids_order":["1332698262","1332698268","1332698272","1332698276","1332698279","1332698280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f669f7d66a2048b4bc10bd3099526be7.jpg","text":"TemporaryFile(/tmp/multipartBody5296677485648831082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167633461,"filename":"image_29012025_11_43_57_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/29/d9eb6bfb422b8d58d6adff5df2155a3f.jpg","text":"TemporaryFile(/tmp/multipartBody89190074664467741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167633461,"filename":"image_29012025_11_44_36_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/29/f0494f73757f18d4ee4e387a1939c8db.jpg","text":"TemporaryFile(/tmp/multipartBody417938290991047639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167633461,"filename":"image_29012025_11_44_27_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/29/b0e67e4cd2353471b0e0ec405e897687.jpg","text":"TemporaryFile(/tmp/multipartBody4597787282664248992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167633461,"filename":"image_29012025_11_44_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/29/727efcc4217b5b691e89950b856d43e2.jpg","text":"TemporaryFile(/tmp/multipartBody8843444459925228381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167633461,"filename":"image_29012025_11_44_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/29/1373b97769edb1304f6ada61be9ab6cb.jpg","text":"TemporaryFile(/tmp/multipartBody1663230279246315927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167633461,"filename":"image_29012025_11_44_06_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332698272","file1":"1332698268","file0":"1332698262","file4":"1332698279","file5":"1332698280","file3":"1332698276"},"map_files_photo_id_array":[{"photo_id":"1332698280","filename":"file5"},{"photo_id":"1332698272","filename":"file2"},{"photo_id":"1332698279","filename":"file4"},{"photo_id":"1332698268","filename":"file1"},{"photo_id":"1332698262","filename":"file0"},{"photo_id":"1332698276","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332698262":["hashtag1","hashtag2"]},{"1332698279":["hashtag1","hashtag2"]},{"1332698276":["hashtag1","hashtag2"]},{"1332698272":["hashtag1","hashtag2"]},{"1332698280":["hashtag1","hashtag2"]},{"1332698268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332698262, 1332698279, 1332698276, 1332698272, 1332698280, 1332698268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.541085958480835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:20:32.882534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/44/image_29012025_11_44_56_9433.jpg', '/home/pi/Desktop/images/29012025/11/44/image_29012025_11_45_06_10343.jpg', '/home/pi/Desktop/images/29012025/11/45/image_29012025_11_45_17_10409.jpg', '/home/pi/Desktop/images/29012025/11/45/image_29012025_11_45_26_9402.jpg', '/home/pi/Desktop/images/29012025/11/45/image_29012025_11_45_36_10357.jpg', '/home/pi/Desktop/images/29012025/11/45/image_29012025_11_45_46_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/44/image_29012025_11_44_56_9433.jpg
/home/pi/Desktop/images/29012025/11/44/image_29012025_11_45_06_10343.jpg
/home/pi/Desktop/images/29012025/11/45/image_29012025_11_45_17_10409.jpg
/home/pi/Desktop/images/29012025/11/45/image_29012025_11_45_26_9402.jpg
/home/pi/Desktop/images/29012025/11/45/image_29012025_11_45_36_10357.jpg
/home/pi/Desktop/images/29012025/11/45/image_29012025_11_45_46_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":["1332698319","1332698310","1332698297","1332698315","1332698300","1332698305"],"photo_ids_order":["1332698297","1332698300","1332698305","1332698310","1332698315","1332698319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/12a13079ca9c5cf0ee0848ae394fc14e.jpg","text":"TemporaryFile(/tmp/multipartBody8562599892095963622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167693782,"filename":"image_29012025_11_45_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/29/aed4a91cd2b4a30dfcbabe22bf9f4456.jpg","text":"TemporaryFile(/tmp/multipartBody2472136746975738816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167693782,"filename":"image_29012025_11_45_26_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/29/418968abfe1f9bb5cbdc66720660c107.jpg","text":"TemporaryFile(/tmp/multipartBody469313204611873382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167693782,"filename":"image_29012025_11_44_56_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/29/2a56d51a1ad4e77b992a391a5b797cea.jpg","text":"TemporaryFile(/tmp/multipartBody3950636123414364387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167693782,"filename":"image_29012025_11_45_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/29/cf4d680531e5e545fce1e61a7b01122b.jpg","text":"TemporaryFile(/tmp/multipartBody3428885760139780726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167693782,"filename":"image_29012025_11_45_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/29/0a7796e14ede310fe5d6a6fb16c5f1b6.jpg","text":"TemporaryFile(/tmp/multipartBody2391663247257930061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167693782,"filename":"image_29012025_11_45_17_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332698305","file1":"1332698300","file0":"1332698297","file4":"1332698315","file5":"1332698319","file3":"1332698310"},"map_files_photo_id_array":[{"photo_id":"1332698319","filename":"file5"},{"photo_id":"1332698305","filename":"file2"},{"photo_id":"1332698315","filename":"file4"},{"photo_id":"1332698300","filename":"file1"},{"photo_id":"1332698297","filename":"file0"},{"photo_id":"1332698310","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332698319":["hashtag1","hashtag2"]},{"1332698310":["hashtag1","hashtag2"]},{"1332698297":["hashtag1","hashtag2"]},{"1332698315":["hashtag1","hashtag2"]},{"1332698300":["hashtag1","hashtag2"]},{"1332698305":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332698319, 1332698310, 1332698297, 1332698315, 1332698300, 1332698305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65044546127319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:21:33.080819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/45/image_29012025_11_46_07_10336.jpg', '/home/pi/Desktop/images/29012025/11/46/image_29012025_11_46_16_9341.jpg', '/home/pi/Desktop/images/29012025/11/46/image_29012025_11_46_26_10390.jpg', '/home/pi/Desktop/images/29012025/11/46/image_29012025_11_46_37_10348.jpg', '/home/pi/Desktop/images/29012025/11/46/image_29012025_11_46_46_9500.jpg', '/home/pi/Desktop/images/29012025/11/46/image_29012025_11_46_57_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/45/image_29012025_11_46_07_10336.jpg
/home/pi/Desktop/images/29012025/11/46/image_29012025_11_46_16_9341.jpg
/home/pi/Desktop/images/29012025/11/46/image_29012025_11_46_26_10390.jpg
/home/pi/Desktop/images/29012025/11/46/image_29012025_11_46_37_10348.jpg
/home/pi/Desktop/images/29012025/11/46/image_29012025_11_46_46_9500.jpg
/home/pi/Desktop/images/29012025/11/46/image_29012025_11_46_57_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332698376","1332698358","1332698346","1332698372","1332698386","1332698350"],"photo_ids_order":["1332698346","1332698350","1332698358","1332698372","1332698376","1332698386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c42e75d3f46309252d1673ffa1ab02c7.jpg","text":"TemporaryFile(/tmp/multipartBody3483643117958272666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167753986,"filename":"image_29012025_11_46_46_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5e13d772398805326207e90922e9bbdc.jpg","text":"TemporaryFile(/tmp/multipartBody8699921050142724898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167753986,"filename":"image_29012025_11_46_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/29/dfc87291996717b31a8b74d23a2a496d.jpg","text":"TemporaryFile(/tmp/multipartBody1467507487614535246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167753986,"filename":"image_29012025_11_46_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/29/96b7531471e0c0b25dc6854c9bf88b06.jpg","text":"TemporaryFile(/tmp/multipartBody8901723373551200307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167753986,"filename":"image_29012025_11_46_37_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/29/9f9ea34a365f25d5284b8c3ce0ed7e5c.jpg","text":"TemporaryFile(/tmp/multipartBody3308646544658455484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167753986,"filename":"image_29012025_11_46_57_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/29/68fc872cf025b206022679e4e0b544d7.jpg","text":"TemporaryFile(/tmp/multipartBody7408396028242351256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167753986,"filename":"image_29012025_11_46_16_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332698358","file1":"1332698350","file0":"1332698346","file4":"1332698376","file5":"1332698386","file3":"1332698372"},"map_files_photo_id_array":[{"photo_id":"1332698386","filename":"file5"},{"photo_id":"1332698358","filename":"file2"},{"photo_id":"1332698376","filename":"file4"},{"photo_id":"1332698350","filename":"file1"},{"photo_id":"1332698346","filename":"file0"},{"photo_id":"1332698372","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332698376":["hashtag1","hashtag2"]},{"1332698358":["hashtag1","hashtag2"]},{"1332698346":["hashtag1","hashtag2"]},{"1332698372":["hashtag1","hashtag2"]},{"1332698386":["hashtag1","hashtag2"]},{"1332698350":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332698376, 1332698358, 1332698346, 1332698372, 1332698386, 1332698350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35902667045593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:22:32.327852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/46/image_29012025_11_47_06_9331.jpg', '/home/pi/Desktop/images/29012025/11/47/image_29012025_11_47_16_10417.jpg', '/home/pi/Desktop/images/29012025/11/47/image_29012025_11_47_56_9465.jpg', '/home/pi/Desktop/images/29012025/11/47/image_29012025_11_48_06_10408.jpg', '/home/pi/Desktop/images/29012025/11/48/image_29012025_11_48_16_9422.jpg', '/home/pi/Desktop/images/29012025/11/48/image_29012025_11_48_26_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/46/image_29012025_11_47_06_9331.jpg
/home/pi/Desktop/images/29012025/11/47/image_29012025_11_47_16_10417.jpg
/home/pi/Desktop/images/29012025/11/47/image_29012025_11_47_56_9465.jpg
/home/pi/Desktop/images/29012025/11/47/image_29012025_11_48_06_10408.jpg
/home/pi/Desktop/images/29012025/11/48/image_29012025_11_48_16_9422.jpg
/home/pi/Desktop/images/29012025/11/48/image_29012025_11_48_26_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":["1332699231","1332699542","1332698987","1332699626","1332698729","1332698926"],"photo_ids_order":["1332698729","1332698926","1332698987","1332699231","1332699542","1332699626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ef8de00346432e0be0991dc04981ddd9.jpg","text":"TemporaryFile(/tmp/multipartBody3562449552316411896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167813228,"filename":"image_29012025_11_48_06_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/29/330e46457e8f4fe1827a61c078cf7215.jpg","text":"TemporaryFile(/tmp/multipartBody3406115802322720551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167813228,"filename":"image_29012025_11_48_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/29/d939ccc2f672efe70d247b241320f985.jpg","text":"TemporaryFile(/tmp/multipartBody151215485194373318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167813228,"filename":"image_29012025_11_47_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/29/db0b9923a4091c1d07b71c5787625955.jpg","text":"TemporaryFile(/tmp/multipartBody5998868885612041468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167813228,"filename":"image_29012025_11_48_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/29/b84464b836a6bbbc5b2d2c8aa01c7c87.jpg","text":"TemporaryFile(/tmp/multipartBody8582171296464923366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167813228,"filename":"image_29012025_11_47_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/29/22f60dda2b09167e3a1f41bd75846445.jpg","text":"TemporaryFile(/tmp/multipartBody4417413632197679768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167813228,"filename":"image_29012025_11_47_16_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332698987","file1":"1332698926","file0":"1332698729","file4":"1332699542","file5":"1332699626","file3":"1332699231"},"map_files_photo_id_array":[{"photo_id":"1332699626","filename":"file5"},{"photo_id":"1332698987","filename":"file2"},{"photo_id":"1332699542","filename":"file4"},{"photo_id":"1332698926","filename":"file1"},{"photo_id":"1332698729","filename":"file0"},{"photo_id":"1332699231","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332699231":["hashtag1","hashtag2"]},{"1332699542":["hashtag1","hashtag2"]},{"1332698987":["hashtag1","hashtag2"]},{"1332699626":["hashtag1","hashtag2"]},{"1332698729":["hashtag1","hashtag2"]},{"1332698926":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332699231, 1332699542, 1332698987, 1332699626, 1332698729, 1332698926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.07261800765991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:23:32.448295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/48/image_29012025_11_48_37_10346.jpg', '/home/pi/Desktop/images/29012025/11/48/image_29012025_11_48_46_9463.jpg', '/home/pi/Desktop/images/29012025/11/48/image_29012025_11_48_56_10358.jpg', '/home/pi/Desktop/images/29012025/11/48/image_29012025_11_49_06_9340.jpg', '/home/pi/Desktop/images/29012025/11/49/image_29012025_11_49_27_10364.jpg', '/home/pi/Desktop/images/29012025/11/49/image_29012025_11_49_36_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/48/image_29012025_11_48_37_10346.jpg
/home/pi/Desktop/images/29012025/11/48/image_29012025_11_48_46_9463.jpg
/home/pi/Desktop/images/29012025/11/48/image_29012025_11_48_56_10358.jpg
/home/pi/Desktop/images/29012025/11/48/image_29012025_11_49_06_9340.jpg
/home/pi/Desktop/images/29012025/11/49/image_29012025_11_49_27_10364.jpg
/home/pi/Desktop/images/29012025/11/49/image_29012025_11_49_36_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":["1332699729","1332699702","1332699725","1332699713","1332699751","1332699721"],"photo_ids_order":["1332699702","1332699713","1332699721","1332699725","1332699729","1332699751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/41ee23770dde666a05a0d8f5e751a7ee.jpg","text":"TemporaryFile(/tmp/multipartBody2665648017688310927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167873351,"filename":"image_29012025_11_49_27_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/29/64e210189cfafe23983b48be40e9e624.jpg","text":"TemporaryFile(/tmp/multipartBody429594205955870669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167873351,"filename":"image_29012025_11_48_37_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/29/197a1332a9c8aff26618229a0b233c73.jpg","text":"TemporaryFile(/tmp/multipartBody7721389595773725805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167873351,"filename":"image_29012025_11_49_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/29/5d55f90ff6658a4f5e246d10c7f78e35.jpg","text":"TemporaryFile(/tmp/multipartBody2701892570802015089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167873351,"filename":"image_29012025_11_48_46_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/29/4fba1479c521a3db9a5d9e20429d4ded.jpg","text":"TemporaryFile(/tmp/multipartBody6367289755941685488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167873351,"filename":"image_29012025_11_49_36_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/29/69ea1f793e917f0f72133d7859eb295d.jpg","text":"TemporaryFile(/tmp/multipartBody1313905337907983543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167873351,"filename":"image_29012025_11_48_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332699721","file1":"1332699713","file0":"1332699702","file4":"1332699729","file5":"1332699751","file3":"1332699725"},"map_files_photo_id_array":[{"photo_id":"1332699751","filename":"file5"},{"photo_id":"1332699721","filename":"file2"},{"photo_id":"1332699729","filename":"file4"},{"photo_id":"1332699713","filename":"file1"},{"photo_id":"1332699702","filename":"file0"},{"photo_id":"1332699725","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332699729":["hashtag1","hashtag2"]},{"1332699702":["hashtag1","hashtag2"]},{"1332699725":["hashtag1","hashtag2"]},{"1332699713":["hashtag1","hashtag2"]},{"1332699751":["hashtag1","hashtag2"]},{"1332699721":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332699729, 1332699702, 1332699725, 1332699713, 1332699751, 1332699721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.288437843322754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:24:32.766603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/49/image_29012025_11_49_46_10340.jpg', '/home/pi/Desktop/images/29012025/11/49/image_29012025_11_49_57_10374.jpg', '/home/pi/Desktop/images/29012025/11/49/image_29012025_11_50_06_9444.jpg', '/home/pi/Desktop/images/29012025/11/50/image_29012025_11_50_16_10374.jpg', '/home/pi/Desktop/images/29012025/11/50/image_29012025_11_50_26_9358.jpg', '/home/pi/Desktop/images/29012025/11/50/image_29012025_11_50_36_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/49/image_29012025_11_49_46_10340.jpg
/home/pi/Desktop/images/29012025/11/49/image_29012025_11_49_57_10374.jpg
/home/pi/Desktop/images/29012025/11/49/image_29012025_11_50_06_9444.jpg
/home/pi/Desktop/images/29012025/11/50/image_29012025_11_50_16_10374.jpg
/home/pi/Desktop/images/29012025/11/50/image_29012025_11_50_26_9358.jpg
/home/pi/Desktop/images/29012025/11/50/image_29012025_11_50_36_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":["1332699772","1332700242","1332700224","1332699855","1332700247","1332700121"],"photo_ids_order":["1332699772","1332699855","1332700121","1332700224","1332700242","1332700247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fe71e099206091e725debf3265af60b5.jpg","text":"TemporaryFile(/tmp/multipartBody4430673165237493495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167933673,"filename":"image_29012025_11_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/29/a87ece578b788461b5fa0cb98912840d.jpg","text":"TemporaryFile(/tmp/multipartBody325215108086348461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167933673,"filename":"image_29012025_11_50_26_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/29/cc691598a6453593654243ac8c18429c.jpg","text":"TemporaryFile(/tmp/multipartBody6252533332520499872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167933673,"filename":"image_29012025_11_50_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/29/c2fe07143f8fe661f7126b9606112587.jpg","text":"TemporaryFile(/tmp/multipartBody3421413848683186795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167933673,"filename":"image_29012025_11_49_57_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/29/dac24edca6fa2b000662a33861eb166f.jpg","text":"TemporaryFile(/tmp/multipartBody1049506049183089354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167933673,"filename":"image_29012025_11_50_36_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/29/4ac104104712b9ef4bcf6441869516df.jpg","text":"TemporaryFile(/tmp/multipartBody8237385005122022517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167933673,"filename":"image_29012025_11_50_06_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332700121","file1":"1332699855","file0":"1332699772","file4":"1332700242","file5":"1332700247","file3":"1332700224"},"map_files_photo_id_array":[{"photo_id":"1332700247","filename":"file5"},{"photo_id":"1332700121","filename":"file2"},{"photo_id":"1332700242","filename":"file4"},{"photo_id":"1332699855","filename":"file1"},{"photo_id":"1332699772","filename":"file0"},{"photo_id":"1332700224","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332699772":["hashtag1","hashtag2"]},{"1332700242":["hashtag1","hashtag2"]},{"1332700224":["hashtag1","hashtag2"]},{"1332699855":["hashtag1","hashtag2"]},{"1332700247":["hashtag1","hashtag2"]},{"1332700121":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332699772, 1332700242, 1332700224, 1332699855, 1332700247, 1332700121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90515971183777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:25:32.862213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/50/image_29012025_11_50_47_10411.jpg', '/home/pi/Desktop/images/29012025/11/50/image_29012025_11_50_56_9488.jpg', '/home/pi/Desktop/images/29012025/11/50/image_29012025_11_51_07_10347.jpg', '/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_16_9353.jpg', '/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_26_10414.jpg', '/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_37_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/50/image_29012025_11_50_47_10411.jpg
/home/pi/Desktop/images/29012025/11/50/image_29012025_11_50_56_9488.jpg
/home/pi/Desktop/images/29012025/11/50/image_29012025_11_51_07_10347.jpg
/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_16_9353.jpg
/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_26_10414.jpg
/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_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":["1332700442","1332700436","1332700432","1332700426","1332700414","1332700440"],"photo_ids_order":["1332700414","1332700426","1332700432","1332700436","1332700440","1332700442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4e6495a2ff3dbe73f6f581922787cf85.jpg","text":"TemporaryFile(/tmp/multipartBody3601617613593192533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167993768,"filename":"image_29012025_11_51_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/29/b17a16e1014bb70550192c952f722170.jpg","text":"TemporaryFile(/tmp/multipartBody3842929595709771681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167993768,"filename":"image_29012025_11_51_16_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/29/62f27abd143d152c1c9b70a1a46985c9.jpg","text":"TemporaryFile(/tmp/multipartBody3267175390141763180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167993768,"filename":"image_29012025_11_51_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/29/d8a592694d2a5cb060dadf45996ad36b.jpg","text":"TemporaryFile(/tmp/multipartBody2142562612215261535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167993768,"filename":"image_29012025_11_50_56_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/29/770037babf23afe013ead22c96e54967.jpg","text":"TemporaryFile(/tmp/multipartBody7509474593438735114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167993768,"filename":"image_29012025_11_50_47_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/29/0bd38dba259646b1b356086df4403cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3010316578517097257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738167993768,"filename":"image_29012025_11_51_26_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332700432","file1":"1332700426","file0":"1332700414","file4":"1332700440","file5":"1332700442","file3":"1332700436"},"map_files_photo_id_array":[{"photo_id":"1332700442","filename":"file5"},{"photo_id":"1332700432","filename":"file2"},{"photo_id":"1332700440","filename":"file4"},{"photo_id":"1332700426","filename":"file1"},{"photo_id":"1332700414","filename":"file0"},{"photo_id":"1332700436","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332700442":["hashtag1","hashtag2"]},{"1332700436":["hashtag1","hashtag2"]},{"1332700432":["hashtag1","hashtag2"]},{"1332700426":["hashtag1","hashtag2"]},{"1332700414":["hashtag1","hashtag2"]},{"1332700440":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332700442, 1332700436, 1332700432, 1332700426, 1332700414, 1332700440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26548099517822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:26:33.035000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_46_9466.jpg', '/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_56_10369.jpg', '/home/pi/Desktop/images/29012025/11/51/image_29012025_11_52_06_9336.jpg', '/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_16_10415.jpg', '/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_27_10431.jpg', '/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_36_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_46_9466.jpg
/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_56_10369.jpg
/home/pi/Desktop/images/29012025/11/51/image_29012025_11_52_06_9336.jpg
/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_16_10415.jpg
/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_27_10431.jpg
/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_36_9346.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.5371475219726562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 17:26:43.090582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_46_9466.jpg', '/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_56_10369.jpg', '/home/pi/Desktop/images/29012025/11/51/image_29012025_11_52_06_9336.jpg', '/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_16_10415.jpg', '/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_27_10431.jpg', '/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_36_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_46_9466.jpg
/home/pi/Desktop/images/29012025/11/51/image_29012025_11_51_56_10369.jpg
/home/pi/Desktop/images/29012025/11/51/image_29012025_11_52_06_9336.jpg
/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_16_10415.jpg
/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_27_10431.jpg
/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_36_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":["1332700613","1332700606","1332700497","1332700609","1332700599","1332700501"],"photo_ids_order":["1332700497","1332700501","1332700599","1332700606","1332700609","1332700613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5fc3c29f846fb3e21b74bb87d3a8eba0.jpg","text":"TemporaryFile(/tmp/multipartBody1998034616987879458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168064017,"filename":"image_29012025_11_52_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/29/7be4b6b0cead38a330a7351caa65fbce.jpg","text":"TemporaryFile(/tmp/multipartBody6742038258869081423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168064017,"filename":"image_29012025_11_52_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/29/ef65c485be2f50d7dba144fb093b594f.jpg","text":"TemporaryFile(/tmp/multipartBody2209764134739474828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168064017,"filename":"image_29012025_11_51_46_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/29/4cac242321e82a881f4764bad8e40432.jpg","text":"TemporaryFile(/tmp/multipartBody4827458331899816666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168064017,"filename":"image_29012025_11_52_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/29/5d2b6cc986f1ad0eb296a0a82ad26afa.jpg","text":"TemporaryFile(/tmp/multipartBody7044403130589801012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168064017,"filename":"image_29012025_11_52_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/29/9c4c2e19702d331e18c36819c3b942be.jpg","text":"TemporaryFile(/tmp/multipartBody3015489824814420437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168064017,"filename":"image_29012025_11_51_56_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332700599","file1":"1332700501","file0":"1332700497","file4":"1332700609","file5":"1332700613","file3":"1332700606"},"map_files_photo_id_array":[{"photo_id":"1332700613","filename":"file5"},{"photo_id":"1332700599","filename":"file2"},{"photo_id":"1332700609","filename":"file4"},{"photo_id":"1332700501","filename":"file1"},{"photo_id":"1332700497","filename":"file0"},{"photo_id":"1332700606","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332700613":["hashtag1","hashtag2"]},{"1332700606":["hashtag1","hashtag2"]},{"1332700497":["hashtag1","hashtag2"]},{"1332700609":["hashtag1","hashtag2"]},{"1332700599":["hashtag1","hashtag2"]},{"1332700501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332700613, 1332700606, 1332700497, 1332700609, 1332700599, 1332700501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10915184020996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:27:32.381996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_46_10349.jpg', '/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_57_10361.jpg', '/home/pi/Desktop/images/29012025/11/52/image_29012025_11_53_06_9433.jpg', '/home/pi/Desktop/images/29012025/11/53/image_29012025_11_53_16_10351.jpg', '/home/pi/Desktop/images/29012025/11/53/image_29012025_11_53_26_9413.jpg', '/home/pi/Desktop/images/29012025/11/53/image_29012025_11_53_36_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_46_10349.jpg
/home/pi/Desktop/images/29012025/11/52/image_29012025_11_52_57_10361.jpg
/home/pi/Desktop/images/29012025/11/52/image_29012025_11_53_06_9433.jpg
/home/pi/Desktop/images/29012025/11/53/image_29012025_11_53_16_10351.jpg
/home/pi/Desktop/images/29012025/11/53/image_29012025_11_53_26_9413.jpg
/home/pi/Desktop/images/29012025/11/53/image_29012025_11_53_36_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":["1332700640","1332700684","1332700669","1332700653","1332700637","1332700631"],"photo_ids_order":["1332700631","1332700637","1332700640","1332700653","1332700669","1332700684"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c3bacb0380157ac6afd924073ead009a.jpg","text":"TemporaryFile(/tmp/multipartBody5157751678709464099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168113305,"filename":"image_29012025_11_53_06_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/29/052a6a44eeb017c72513be7c1223bf00.jpg","text":"TemporaryFile(/tmp/multipartBody2302103323766919840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168113305,"filename":"image_29012025_11_53_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/29/27e526a9612834a154cb0707c14cb2dd.jpg","text":"TemporaryFile(/tmp/multipartBody8919625483627995547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168113305,"filename":"image_29012025_11_53_26_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/29/d1cd0318c6f3c3366634b3b9d5ea21f2.jpg","text":"TemporaryFile(/tmp/multipartBody8609183906702340309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168113305,"filename":"image_29012025_11_53_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/29/2134b44e14a2c6fde042acf3b77c2a14.jpg","text":"TemporaryFile(/tmp/multipartBody3873117079033640317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168113305,"filename":"image_29012025_11_52_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/29/bbcb3200d260ba877bde1a4fdee4e074.jpg","text":"TemporaryFile(/tmp/multipartBody4326199017924244376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168113305,"filename":"image_29012025_11_52_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332700640","file1":"1332700637","file0":"1332700631","file4":"1332700669","file5":"1332700684","file3":"1332700653"},"map_files_photo_id_array":[{"photo_id":"1332700684","filename":"file5"},{"photo_id":"1332700640","filename":"file2"},{"photo_id":"1332700669","filename":"file4"},{"photo_id":"1332700637","filename":"file1"},{"photo_id":"1332700631","filename":"file0"},{"photo_id":"1332700653","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332700640":["hashtag1","hashtag2"]},{"1332700684":["hashtag1","hashtag2"]},{"1332700669":["hashtag1","hashtag2"]},{"1332700653":["hashtag1","hashtag2"]},{"1332700637":["hashtag1","hashtag2"]},{"1332700631":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332700640, 1332700684, 1332700669, 1332700653, 1332700637, 1332700631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70126271247864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:28:32.631254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/53/image_29012025_11_53_47_10363.jpg', '/home/pi/Desktop/images/29012025/11/53/image_29012025_11_53_56_9356.jpg', '/home/pi/Desktop/images/29012025/11/53/image_29012025_11_54_06_10424.jpg', '/home/pi/Desktop/images/29012025/11/54/image_29012025_11_54_17_10341.jpg', '/home/pi/Desktop/images/29012025/11/54/image_29012025_11_54_26_9461.jpg', '/home/pi/Desktop/images/29012025/11/54/image_29012025_11_54_37_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/53/image_29012025_11_53_47_10363.jpg
/home/pi/Desktop/images/29012025/11/53/image_29012025_11_53_56_9356.jpg
/home/pi/Desktop/images/29012025/11/53/image_29012025_11_54_06_10424.jpg
/home/pi/Desktop/images/29012025/11/54/image_29012025_11_54_17_10341.jpg
/home/pi/Desktop/images/29012025/11/54/image_29012025_11_54_26_9461.jpg
/home/pi/Desktop/images/29012025/11/54/image_29012025_11_54_37_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":["1332700732","1332700735","1332700729","1332700720","1332700812","1332700724"],"photo_ids_order":["1332700720","1332700724","1332700729","1332700732","1332700735","1332700812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8fc7385be6d768db4a047c28fc414034.jpg","text":"TemporaryFile(/tmp/multipartBody4321776343151301251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168173526,"filename":"image_29012025_11_54_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/29/075aa0a5a62259d6b8500b9a5f7802a2.jpg","text":"TemporaryFile(/tmp/multipartBody7764079601477363827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168173526,"filename":"image_29012025_11_54_26_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/29/296b0f844b3c4d6584926d149ae6d071.jpg","text":"TemporaryFile(/tmp/multipartBody3538982665967045451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168173526,"filename":"image_29012025_11_54_06_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/29/7946571d9464ea9304d93ee2b9d5fb01.jpg","text":"TemporaryFile(/tmp/multipartBody692390411918302843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168173526,"filename":"image_29012025_11_53_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/29/163d2ea08352b1c11c4f10b61c4f513a.jpg","text":"TemporaryFile(/tmp/multipartBody2885469014283286304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168173526,"filename":"image_29012025_11_54_37_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/29/6b88d0310bc80b533b354ca40916fa29.jpg","text":"TemporaryFile(/tmp/multipartBody247738745901635206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168173526,"filename":"image_29012025_11_53_56_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332700729","file1":"1332700724","file0":"1332700720","file4":"1332700735","file5":"1332700812","file3":"1332700732"},"map_files_photo_id_array":[{"photo_id":"1332700812","filename":"file5"},{"photo_id":"1332700729","filename":"file2"},{"photo_id":"1332700735","filename":"file4"},{"photo_id":"1332700724","filename":"file1"},{"photo_id":"1332700720","filename":"file0"},{"photo_id":"1332700732","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332700732":["hashtag1","hashtag2"]},{"1332700735":["hashtag1","hashtag2"]},{"1332700729":["hashtag1","hashtag2"]},{"1332700720":["hashtag1","hashtag2"]},{"1332700812":["hashtag1","hashtag2"]},{"1332700724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332700732, 1332700735, 1332700729, 1332700720, 1332700812, 1332700724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83896541595459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:29:36.035494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/54/image_29012025_11_54_46_9335.jpg', '/home/pi/Desktop/images/29012025/11/54/image_29012025_11_54_56_10400.jpg', '/home/pi/Desktop/images/29012025/11/54/image_29012025_11_55_06_9414.jpg', '/home/pi/Desktop/images/29012025/11/55/image_29012025_11_55_16_10437.jpg', '/home/pi/Desktop/images/29012025/11/55/image_29012025_11_55_27_10404.jpg', '/home/pi/Desktop/images/29012025/11/55/image_29012025_11_55_36_9368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/54/image_29012025_11_54_46_9335.jpg
/home/pi/Desktop/images/29012025/11/54/image_29012025_11_54_56_10400.jpg
/home/pi/Desktop/images/29012025/11/54/image_29012025_11_55_06_9414.jpg
/home/pi/Desktop/images/29012025/11/55/image_29012025_11_55_16_10437.jpg
/home/pi/Desktop/images/29012025/11/55/image_29012025_11_55_27_10404.jpg
/home/pi/Desktop/images/29012025/11/55/image_29012025_11_55_36_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332700852","1332700834","1332700843","1332700839","1332700854","1332700847"],"photo_ids_order":["1332700834","1332700839","1332700843","1332700847","1332700852","1332700854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/40ba67ca91aeda615a1ef07c161c5acc.jpg","text":"TemporaryFile(/tmp/multipartBody483173574009190111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168236928,"filename":"image_29012025_11_55_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/29/8c5e52cb6264328360f40d3a5e06a631.jpg","text":"TemporaryFile(/tmp/multipartBody1957838627244336143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168236928,"filename":"image_29012025_11_54_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/29/ba61a28968216a25f0cca2d5d81ba829.jpg","text":"TemporaryFile(/tmp/multipartBody7959471020204099705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168236928,"filename":"image_29012025_11_55_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/29/9eab4dab43c6067ba74e056e55e90c2a.jpg","text":"TemporaryFile(/tmp/multipartBody2133948502960448550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168236928,"filename":"image_29012025_11_54_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/29/fa2046740c8519ded9aab9ff2857b355.jpg","text":"TemporaryFile(/tmp/multipartBody2814430757202838535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168236928,"filename":"image_29012025_11_55_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/29/ea0a12bfd1191d5316403c86a6f55deb.jpg","text":"TemporaryFile(/tmp/multipartBody5858335645696363698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168236928,"filename":"image_29012025_11_55_16_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332700843","file1":"1332700839","file0":"1332700834","file4":"1332700852","file5":"1332700854","file3":"1332700847"},"map_files_photo_id_array":[{"photo_id":"1332700854","filename":"file5"},{"photo_id":"1332700843","filename":"file2"},{"photo_id":"1332700852","filename":"file4"},{"photo_id":"1332700839","filename":"file1"},{"photo_id":"1332700834","filename":"file0"},{"photo_id":"1332700847","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332700852":["hashtag1","hashtag2"]},{"1332700834":["hashtag1","hashtag2"]},{"1332700843":["hashtag1","hashtag2"]},{"1332700839":["hashtag1","hashtag2"]},{"1332700854":["hashtag1","hashtag2"]},{"1332700847":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332700852, 1332700834, 1332700843, 1332700839, 1332700854, 1332700847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49177026748657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:30:33.149441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/55/image_29012025_11_55_46_10342.jpg', '/home/pi/Desktop/images/29012025/11/55/image_29012025_11_55_57_10349.jpg', '/home/pi/Desktop/images/29012025/11/56/image_29012025_11_56_16_10360.jpg', '/home/pi/Desktop/images/29012025/11/56/image_29012025_11_56_26_9433.jpg', '/home/pi/Desktop/images/29012025/11/56/image_29012025_11_56_36_10453.jpg', '/home/pi/Desktop/images/29012025/11/56/image_29012025_11_56_47_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/55/image_29012025_11_55_46_10342.jpg
/home/pi/Desktop/images/29012025/11/55/image_29012025_11_55_57_10349.jpg
/home/pi/Desktop/images/29012025/11/56/image_29012025_11_56_16_10360.jpg
/home/pi/Desktop/images/29012025/11/56/image_29012025_11_56_26_9433.jpg
/home/pi/Desktop/images/29012025/11/56/image_29012025_11_56_36_10453.jpg
/home/pi/Desktop/images/29012025/11/56/image_29012025_11_56_47_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":["1332700913","1332700885","1332700878","1332700923","1332700889","1332700868"],"photo_ids_order":["1332700868","1332700878","1332700885","1332700889","1332700913","1332700923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/97deca89a31f24589ac423131a277f52.jpg","text":"TemporaryFile(/tmp/multipartBody6780072203023473442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168294053,"filename":"image_29012025_11_56_36_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/29/cfe46be15d172b4698e7da429763528b.jpg","text":"TemporaryFile(/tmp/multipartBody8633109042641796290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168294053,"filename":"image_29012025_11_56_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/29/9d363a7f9a02d6a407f6809c269a5c84.jpg","text":"TemporaryFile(/tmp/multipartBody1392644861652121805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168294053,"filename":"image_29012025_11_55_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/29/526898bf5da1ead7d6eeb767854fc802.jpg","text":"TemporaryFile(/tmp/multipartBody8791001623483378856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168294053,"filename":"image_29012025_11_56_47_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/29/27ed03c9a78b479c9586e8dd9f1759ed.jpg","text":"TemporaryFile(/tmp/multipartBody544367485267722922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168294053,"filename":"image_29012025_11_56_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/29/248f3785bd7958ad77de77c82e199026.jpg","text":"TemporaryFile(/tmp/multipartBody1541959381686846431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168294053,"filename":"image_29012025_11_55_46_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332700885","file1":"1332700878","file0":"1332700868","file4":"1332700913","file5":"1332700923","file3":"1332700889"},"map_files_photo_id_array":[{"photo_id":"1332700923","filename":"file5"},{"photo_id":"1332700885","filename":"file2"},{"photo_id":"1332700913","filename":"file4"},{"photo_id":"1332700878","filename":"file1"},{"photo_id":"1332700868","filename":"file0"},{"photo_id":"1332700889","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332700913":["hashtag1","hashtag2"]},{"1332700885":["hashtag1","hashtag2"]},{"1332700878":["hashtag1","hashtag2"]},{"1332700923":["hashtag1","hashtag2"]},{"1332700889":["hashtag1","hashtag2"]},{"1332700868":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332700913, 1332700885, 1332700878, 1332700923, 1332700889, 1332700868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15431356430054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:31:32.506790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/56/image_29012025_11_56_56_9420.jpg', '/home/pi/Desktop/images/29012025/11/57/image_29012025_11_57_16_9427.jpg', '/home/pi/Desktop/images/29012025/11/57/image_29012025_11_57_37_10342.jpg', '/home/pi/Desktop/images/29012025/11/57/image_29012025_11_57_46_9356.jpg', '/home/pi/Desktop/images/29012025/11/57/image_29012025_11_57_56_10431.jpg', '/home/pi/Desktop/images/29012025/11/57/image_29012025_11_58_06_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/56/image_29012025_11_56_56_9420.jpg
/home/pi/Desktop/images/29012025/11/57/image_29012025_11_57_16_9427.jpg
/home/pi/Desktop/images/29012025/11/57/image_29012025_11_57_37_10342.jpg
/home/pi/Desktop/images/29012025/11/57/image_29012025_11_57_46_9356.jpg
/home/pi/Desktop/images/29012025/11/57/image_29012025_11_57_56_10431.jpg
/home/pi/Desktop/images/29012025/11/57/image_29012025_11_58_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":["1332700966","1332700971","1332700980","1332700983","1332700982","1332700976"],"photo_ids_order":["1332700966","1332700971","1332700976","1332700980","1332700982","1332700983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e4f996492305f5b6e62167a02f9b26a8.jpg","text":"TemporaryFile(/tmp/multipartBody6978362439246922399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168353430,"filename":"image_29012025_11_56_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/29/36329dbc8fbce1454fd09127356648a9.jpg","text":"TemporaryFile(/tmp/multipartBody1845760202042861654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168353430,"filename":"image_29012025_11_57_16_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/29/0354d3ea36c41b187039ae5dbef0d5fd.jpg","text":"TemporaryFile(/tmp/multipartBody2209844506054944989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168353430,"filename":"image_29012025_11_57_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/29/daebb9e0ff6802fdd416eaad3c4cbc7c.jpg","text":"TemporaryFile(/tmp/multipartBody5956052756181353540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168353430,"filename":"image_29012025_11_58_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/29/744c708256a2e694fdc3843caa4f8d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1490470372401916977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168353430,"filename":"image_29012025_11_57_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/29/87f2ec32130dc9b490dd8a91dae8db05.jpg","text":"TemporaryFile(/tmp/multipartBody593654547679877721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168353430,"filename":"image_29012025_11_57_37_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332700976","file1":"1332700971","file0":"1332700966","file4":"1332700982","file5":"1332700983","file3":"1332700980"},"map_files_photo_id_array":[{"photo_id":"1332700983","filename":"file5"},{"photo_id":"1332700976","filename":"file2"},{"photo_id":"1332700982","filename":"file4"},{"photo_id":"1332700971","filename":"file1"},{"photo_id":"1332700966","filename":"file0"},{"photo_id":"1332700980","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332700966":["hashtag1","hashtag2"]},{"1332700971":["hashtag1","hashtag2"]},{"1332700980":["hashtag1","hashtag2"]},{"1332700983":["hashtag1","hashtag2"]},{"1332700982":["hashtag1","hashtag2"]},{"1332700976":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332700966, 1332700971, 1332700980, 1332700983, 1332700982, 1332700976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.838541984558105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:32:32.655066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/58/image_29012025_11_58_16_10497.jpg', '/home/pi/Desktop/images/29012025/11/58/image_29012025_11_58_27_10368.jpg', '/home/pi/Desktop/images/29012025/11/58/image_29012025_11_58_36_9377.jpg', '/home/pi/Desktop/images/29012025/11/58/image_29012025_11_58_46_10349.jpg', '/home/pi/Desktop/images/29012025/11/58/image_29012025_11_58_56_9434.jpg', '/home/pi/Desktop/images/29012025/11/58/image_29012025_11_59_06_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/58/image_29012025_11_58_16_10497.jpg
/home/pi/Desktop/images/29012025/11/58/image_29012025_11_58_27_10368.jpg
/home/pi/Desktop/images/29012025/11/58/image_29012025_11_58_36_9377.jpg
/home/pi/Desktop/images/29012025/11/58/image_29012025_11_58_46_10349.jpg
/home/pi/Desktop/images/29012025/11/58/image_29012025_11_58_56_9434.jpg
/home/pi/Desktop/images/29012025/11/58/image_29012025_11_59_06_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":["1332701494","1332701463","1332701535","1332701486","1332701497","1332701080"],"photo_ids_order":["1332701080","1332701463","1332701486","1332701494","1332701497","1332701535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ce0504da3efee0f9574b5ffd77a5a2a2.jpg","text":"TemporaryFile(/tmp/multipartBody1606063476573593185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168413570,"filename":"image_29012025_11_58_46_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/29/532d8fe7ed4a1985f951a117caae52dd.jpg","text":"TemporaryFile(/tmp/multipartBody8056470651870442189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168413570,"filename":"image_29012025_11_58_27_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/29/3b8b4da6373e68466beb43cfdd88afa2.jpg","text":"TemporaryFile(/tmp/multipartBody167732070201048474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168413570,"filename":"image_29012025_11_59_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/29/e4dc3e58d5132b7500317565fead6fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3803694013518220926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168413570,"filename":"image_29012025_11_58_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/29/8258a9387709ca4fd379daf81eb2ddb4.jpg","text":"TemporaryFile(/tmp/multipartBody6879579331914508705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168413570,"filename":"image_29012025_11_58_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/29/ccb7f258d944d9fc2d2caeba19189d28.jpg","text":"TemporaryFile(/tmp/multipartBody4986936777223832048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168413570,"filename":"image_29012025_11_58_16_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332701486","file1":"1332701463","file0":"1332701080","file4":"1332701497","file5":"1332701535","file3":"1332701494"},"map_files_photo_id_array":[{"photo_id":"1332701535","filename":"file5"},{"photo_id":"1332701486","filename":"file2"},{"photo_id":"1332701497","filename":"file4"},{"photo_id":"1332701463","filename":"file1"},{"photo_id":"1332701080","filename":"file0"},{"photo_id":"1332701494","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332701494":["hashtag1","hashtag2"]},{"1332701463":["hashtag1","hashtag2"]},{"1332701535":["hashtag1","hashtag2"]},{"1332701486":["hashtag1","hashtag2"]},{"1332701497":["hashtag1","hashtag2"]},{"1332701080":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332701494, 1332701463, 1332701535, 1332701486, 1332701497, 1332701080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70165991783142 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:33:32.910771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/11/59/image_29012025_11_59_17_10358.jpg', '/home/pi/Desktop/images/29012025/11/59/image_29012025_11_59_26_9520.jpg', '/home/pi/Desktop/images/29012025/11/59/image_29012025_11_59_36_10357.jpg', '/home/pi/Desktop/images/29012025/11/59/image_29012025_11_59_46_9356.jpg', '/home/pi/Desktop/images/29012025/11/59/image_29012025_11_59_56_10357.jpg', '/home/pi/Desktop/images/29012025/12/01/image_29012025_12_01_14_10087.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/11/59/image_29012025_11_59_17_10358.jpg
/home/pi/Desktop/images/29012025/11/59/image_29012025_11_59_26_9520.jpg
/home/pi/Desktop/images/29012025/11/59/image_29012025_11_59_36_10357.jpg
/home/pi/Desktop/images/29012025/11/59/image_29012025_11_59_46_9356.jpg
/home/pi/Desktop/images/29012025/11/59/image_29012025_11_59_56_10357.jpg
/home/pi/Desktop/images/29012025/12/01/image_29012025_12_01_14_10087.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332701908","1332701889","1332701868","1332701879","1332701954","1332701924"],"photo_ids_order":["1332701868","1332701879","1332701889","1332701908","1332701924","1332701954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2c4dd9d44ebd1e218d9ac163452d1523.jpg","text":"TemporaryFile(/tmp/multipartBody3735773815564001853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168473833,"filename":"image_29012025_11_59_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/29/195b54fcc950118204a9297c4e40fa6a.jpg","text":"TemporaryFile(/tmp/multipartBody4299956920890667470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168473833,"filename":"image_29012025_11_59_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/29/66bfe15e737c2bfac490aae985ae200a.jpg","text":"TemporaryFile(/tmp/multipartBody6355485498910479864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168473833,"filename":"image_29012025_11_59_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/29/6ea85414baedf64e89396a20202f06b2.jpg","text":"TemporaryFile(/tmp/multipartBody4584500317700796498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168473833,"filename":"image_29012025_11_59_26_9520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/20f2176f08cb48a8969037986315f1bc.jpg","text":"TemporaryFile(/tmp/multipartBody6381751176257096120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168473833,"filename":"image_29012025_12_01_14_10087.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aaf477e16485953f9d2eb467eb96b843.jpg","text":"TemporaryFile(/tmp/multipartBody5957389354465315791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168473833,"filename":"image_29012025_11_59_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332701889","file1":"1332701879","file0":"1332701868","file4":"1332701924","file5":"1332701954","file3":"1332701908"},"map_files_photo_id_array":[{"photo_id":"1332701954","filename":"file5"},{"photo_id":"1332701889","filename":"file2"},{"photo_id":"1332701924","filename":"file4"},{"photo_id":"1332701879","filename":"file1"},{"photo_id":"1332701868","filename":"file0"},{"photo_id":"1332701908","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332701908":["hashtag1","hashtag2"]},{"1332701889":["hashtag1","hashtag2"]},{"1332701868":["hashtag1","hashtag2"]},{"1332701879":["hashtag1","hashtag2"]},{"1332701954":["hashtag1","hashtag2"]},{"1332701924":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332701908, 1332701889, 1332701868, 1332701879, 1332701954, 1332701924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17589068412781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:34:33.129206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/01/image_29012025_12_01_24_10364.jpg', '/home/pi/Desktop/images/29012025/12/01/image_29012025_12_01_35_10358.jpg', '/home/pi/Desktop/images/29012025/12/01/image_29012025_12_01_44_9475.jpg', '/home/pi/Desktop/images/29012025/12/01/image_29012025_12_01_55_10366.jpg', '/home/pi/Desktop/images/29012025/12/01/image_29012025_12_02_05_10345.jpg', '/home/pi/Desktop/images/29012025/12/02/image_29012025_12_02_14_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/01/image_29012025_12_01_24_10364.jpg
/home/pi/Desktop/images/29012025/12/01/image_29012025_12_01_35_10358.jpg
/home/pi/Desktop/images/29012025/12/01/image_29012025_12_01_44_9475.jpg
/home/pi/Desktop/images/29012025/12/01/image_29012025_12_01_55_10366.jpg
/home/pi/Desktop/images/29012025/12/01/image_29012025_12_02_05_10345.jpg
/home/pi/Desktop/images/29012025/12/02/image_29012025_12_02_14_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":["1332702238","1332702225","1332702240","1332702242","1332702245","1332702229"],"photo_ids_order":["1332702225","1332702229","1332702238","1332702240","1332702242","1332702245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5a57714ef1f8d84fd67000c066e44031.jpg","text":"TemporaryFile(/tmp/multipartBody6031442007629598344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168534060,"filename":"image_29012025_12_01_44_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/29/5fcfc1fddbb3af2657b677922909c141.jpg","text":"TemporaryFile(/tmp/multipartBody5654829164415474195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168534060,"filename":"image_29012025_12_01_24_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/29/3b617e67edb6e2c762df20257821e770.jpg","text":"TemporaryFile(/tmp/multipartBody1622194893673555541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168534060,"filename":"image_29012025_12_01_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/29/da9e8537568957232e712010b182cc6e.jpg","text":"TemporaryFile(/tmp/multipartBody7114389499321605795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168534060,"filename":"image_29012025_12_02_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/29/98d8b1636be2cb78c2315508f6ead7d7.jpg","text":"TemporaryFile(/tmp/multipartBody5528321716544900494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168534060,"filename":"image_29012025_12_02_14_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/29/3c7f9b67fc4afc94a598ef6ac806ad55.jpg","text":"TemporaryFile(/tmp/multipartBody5644989257072860551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168534060,"filename":"image_29012025_12_01_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332702238","file1":"1332702229","file0":"1332702225","file4":"1332702242","file5":"1332702245","file3":"1332702240"},"map_files_photo_id_array":[{"photo_id":"1332702245","filename":"file5"},{"photo_id":"1332702238","filename":"file2"},{"photo_id":"1332702242","filename":"file4"},{"photo_id":"1332702229","filename":"file1"},{"photo_id":"1332702225","filename":"file0"},{"photo_id":"1332702240","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332702238":["hashtag1","hashtag2"]},{"1332702225":["hashtag1","hashtag2"]},{"1332702240":["hashtag1","hashtag2"]},{"1332702242":["hashtag1","hashtag2"]},{"1332702245":["hashtag1","hashtag2"]},{"1332702229":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332702238, 1332702225, 1332702240, 1332702242, 1332702245, 1332702229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.536370038986206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:35:32.334754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/02/image_29012025_12_02_25_10350.jpg', '/home/pi/Desktop/images/29012025/12/02/image_29012025_12_02_34_9407.jpg', '/home/pi/Desktop/images/29012025/12/02/image_29012025_12_02_44_10434.jpg', '/home/pi/Desktop/images/29012025/12/02/image_29012025_12_02_55_10378.jpg', '/home/pi/Desktop/images/29012025/12/02/image_29012025_12_03_04_9366.jpg', '/home/pi/Desktop/images/29012025/12/03/image_29012025_12_03_15_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/02/image_29012025_12_02_25_10350.jpg
/home/pi/Desktop/images/29012025/12/02/image_29012025_12_02_34_9407.jpg
/home/pi/Desktop/images/29012025/12/02/image_29012025_12_02_44_10434.jpg
/home/pi/Desktop/images/29012025/12/02/image_29012025_12_02_55_10378.jpg
/home/pi/Desktop/images/29012025/12/02/image_29012025_12_03_04_9366.jpg
/home/pi/Desktop/images/29012025/12/03/image_29012025_12_03_15_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332702435","1332702450","1332702444","1332702429","1332702449","1332702440"],"photo_ids_order":["1332702429","1332702435","1332702440","1332702444","1332702449","1332702450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/df9ccd34f5dc95590b5f43f7580ba257.jpg","text":"TemporaryFile(/tmp/multipartBody1510018561396567956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168593225,"filename":"image_29012025_12_02_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/29/6f3fe45fc523afd03a62e21aa86589b7.jpg","text":"TemporaryFile(/tmp/multipartBody4012933203230648071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168593225,"filename":"image_29012025_12_03_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/29/ef65edd2948f92ad1e64c6c479e2759c.jpg","text":"TemporaryFile(/tmp/multipartBody1006103261580042080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168593225,"filename":"image_29012025_12_02_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/29/52b7803a79de7962d6569cb178b7ac57.jpg","text":"TemporaryFile(/tmp/multipartBody7822286528653661394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168593225,"filename":"image_29012025_12_02_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/29/39b2afe76c4b548fb7f51920d629d084.jpg","text":"TemporaryFile(/tmp/multipartBody1652543294995272134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168593225,"filename":"image_29012025_12_03_04_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/29/aa3af2e11b0ab97864a542f4a4780c07.jpg","text":"TemporaryFile(/tmp/multipartBody5444614893849134450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168593225,"filename":"image_29012025_12_02_44_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332702440","file1":"1332702435","file0":"1332702429","file4":"1332702449","file5":"1332702450","file3":"1332702444"},"map_files_photo_id_array":[{"photo_id":"1332702450","filename":"file5"},{"photo_id":"1332702440","filename":"file2"},{"photo_id":"1332702449","filename":"file4"},{"photo_id":"1332702435","filename":"file1"},{"photo_id":"1332702429","filename":"file0"},{"photo_id":"1332702444","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332702435":["hashtag1","hashtag2"]},{"1332702450":["hashtag1","hashtag2"]},{"1332702444":["hashtag1","hashtag2"]},{"1332702429":["hashtag1","hashtag2"]},{"1332702449":["hashtag1","hashtag2"]},{"1332702440":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332702435, 1332702450, 1332702444, 1332702429, 1332702449, 1332702440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.264962911605835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:36:32.691625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/03/image_29012025_12_03_24_9361.jpg', '/home/pi/Desktop/images/29012025/12/03/image_29012025_12_03_34_10363.jpg', '/home/pi/Desktop/images/29012025/12/03/image_29012025_12_03_45_10431.jpg', '/home/pi/Desktop/images/29012025/12/03/image_29012025_12_03_54_9452.jpg', '/home/pi/Desktop/images/29012025/12/03/image_29012025_12_04_05_10367.jpg', '/home/pi/Desktop/images/29012025/12/04/image_29012025_12_04_14_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/03/image_29012025_12_03_24_9361.jpg
/home/pi/Desktop/images/29012025/12/03/image_29012025_12_03_34_10363.jpg
/home/pi/Desktop/images/29012025/12/03/image_29012025_12_03_45_10431.jpg
/home/pi/Desktop/images/29012025/12/03/image_29012025_12_03_54_9452.jpg
/home/pi/Desktop/images/29012025/12/03/image_29012025_12_04_05_10367.jpg
/home/pi/Desktop/images/29012025/12/04/image_29012025_12_04_14_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":["1332702474","1332702482","1332702488","1332702458","1332702493","1332702466"],"photo_ids_order":["1332702458","1332702466","1332702474","1332702482","1332702488","1332702493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/09b1f77e838f69abce059922f9ab251c.jpg","text":"TemporaryFile(/tmp/multipartBody4014053875916248874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168653598,"filename":"image_29012025_12_03_45_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/29/1694f2056a39c13e1c00b30a493c1659.jpg","text":"TemporaryFile(/tmp/multipartBody9067648487053324652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168653598,"filename":"image_29012025_12_03_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/29/74a0ab0d1f0aaf96e9d9891b194d2c78.jpg","text":"TemporaryFile(/tmp/multipartBody4574977649469028699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168653598,"filename":"image_29012025_12_04_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/29/2d28d6739ca31edaea64055ce56a7ba4.jpg","text":"TemporaryFile(/tmp/multipartBody1848667736262055582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168653598,"filename":"image_29012025_12_03_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/29/006f39bd1098d594a2a8ca218c0a57f9.jpg","text":"TemporaryFile(/tmp/multipartBody4606556175788339532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168653598,"filename":"image_29012025_12_04_14_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/29/8cd4b091f009656a70cf33c77f993549.jpg","text":"TemporaryFile(/tmp/multipartBody4582182168558811743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168653598,"filename":"image_29012025_12_03_34_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332702474","file1":"1332702466","file0":"1332702458","file4":"1332702488","file5":"1332702493","file3":"1332702482"},"map_files_photo_id_array":[{"photo_id":"1332702493","filename":"file5"},{"photo_id":"1332702474","filename":"file2"},{"photo_id":"1332702488","filename":"file4"},{"photo_id":"1332702466","filename":"file1"},{"photo_id":"1332702458","filename":"file0"},{"photo_id":"1332702482","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332702474":["hashtag1","hashtag2"]},{"1332702482":["hashtag1","hashtag2"]},{"1332702488":["hashtag1","hashtag2"]},{"1332702458":["hashtag1","hashtag2"]},{"1332702493":["hashtag1","hashtag2"]},{"1332702466":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332702474, 1332702482, 1332702488, 1332702458, 1332702493, 1332702466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.28038740158081 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:37:32.828269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/04/image_29012025_12_04_24_10418.jpg', '/home/pi/Desktop/images/29012025/12/04/image_29012025_12_04_35_10378.jpg', '/home/pi/Desktop/images/29012025/12/04/image_29012025_12_04_44_9528.jpg', '/home/pi/Desktop/images/29012025/12/04/image_29012025_12_04_55_10448.jpg', '/home/pi/Desktop/images/29012025/12/05/image_29012025_12_05_15_10380.jpg', '/home/pi/Desktop/images/29012025/12/05/image_29012025_12_05_24_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/04/image_29012025_12_04_24_10418.jpg
/home/pi/Desktop/images/29012025/12/04/image_29012025_12_04_35_10378.jpg
/home/pi/Desktop/images/29012025/12/04/image_29012025_12_04_44_9528.jpg
/home/pi/Desktop/images/29012025/12/04/image_29012025_12_04_55_10448.jpg
/home/pi/Desktop/images/29012025/12/05/image_29012025_12_05_15_10380.jpg
/home/pi/Desktop/images/29012025/12/05/image_29012025_12_05_24_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":["1332702522","1332702516","1332702527","1332702536","1332702512","1332702532"],"photo_ids_order":["1332702512","1332702516","1332702522","1332702527","1332702532","1332702536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6b0eed1ab46ef9817efd33510d73ede8.jpg","text":"TemporaryFile(/tmp/multipartBody9166335669551800264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168713733,"filename":"image_29012025_12_04_44_9528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f213b2be53f0488b9af69ad46b007d51.jpg","text":"TemporaryFile(/tmp/multipartBody2449895101839037567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168713733,"filename":"image_29012025_12_04_35_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/29/9b0ae5d7a65447fb894081f58fe9dcae.jpg","text":"TemporaryFile(/tmp/multipartBody3642148711501417181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168713733,"filename":"image_29012025_12_04_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/29/bd9832fc4e0f60e2e0f7f9bb8dfd63f3.jpg","text":"TemporaryFile(/tmp/multipartBody534031735018498403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168713733,"filename":"image_29012025_12_05_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/29/3ff5d9b1850455500458dff5ed10697f.jpg","text":"TemporaryFile(/tmp/multipartBody4765382102304645494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168713733,"filename":"image_29012025_12_04_24_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/29/f1b832d4db9268822fbf88907b775d37.jpg","text":"TemporaryFile(/tmp/multipartBody3309375022338091596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168713733,"filename":"image_29012025_12_05_15_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332702522","file1":"1332702516","file0":"1332702512","file4":"1332702532","file5":"1332702536","file3":"1332702527"},"map_files_photo_id_array":[{"photo_id":"1332702536","filename":"file5"},{"photo_id":"1332702522","filename":"file2"},{"photo_id":"1332702532","filename":"file4"},{"photo_id":"1332702516","filename":"file1"},{"photo_id":"1332702512","filename":"file0"},{"photo_id":"1332702527","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332702522":["hashtag1","hashtag2"]},{"1332702516":["hashtag1","hashtag2"]},{"1332702527":["hashtag1","hashtag2"]},{"1332702536":["hashtag1","hashtag2"]},{"1332702512":["hashtag1","hashtag2"]},{"1332702532":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332702522, 1332702516, 1332702527, 1332702536, 1332702512, 1332702532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.373942613601685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:38:33.089429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/05/image_29012025_12_05_34_10358.jpg', '/home/pi/Desktop/images/29012025/12/05/image_29012025_12_05_45_10422.jpg', '/home/pi/Desktop/images/29012025/12/05/image_29012025_12_05_54_9463.jpg', '/home/pi/Desktop/images/29012025/12/05/image_29012025_12_06_05_10355.jpg', '/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_14_9402.jpg', '/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_24_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/05/image_29012025_12_05_34_10358.jpg
/home/pi/Desktop/images/29012025/12/05/image_29012025_12_05_45_10422.jpg
/home/pi/Desktop/images/29012025/12/05/image_29012025_12_05_54_9463.jpg
/home/pi/Desktop/images/29012025/12/05/image_29012025_12_06_05_10355.jpg
/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_14_9402.jpg
/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_24_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332702597","1332702632","1332702569","1332702641","1332702574","1332702637"],"photo_ids_order":["1332702569","1332702574","1332702597","1332702632","1332702637","1332702641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d757565d90e0a30f32bfcbafaed33465.jpg","text":"TemporaryFile(/tmp/multipartBody1439155229388858714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168773988,"filename":"image_29012025_12_05_54_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/29/c4ff45e01d1f3af1c09c1be22e11fb4c.jpg","text":"TemporaryFile(/tmp/multipartBody6566631887104274252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168773988,"filename":"image_29012025_12_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/29/470192307940ab80d253f49f3c774b20.jpg","text":"TemporaryFile(/tmp/multipartBody4531971162999173056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168773988,"filename":"image_29012025_12_05_34_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/29/7fd92c5f9d9c35d27499791d75b46b70.jpg","text":"TemporaryFile(/tmp/multipartBody5871105558884741319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168773988,"filename":"image_29012025_12_06_24_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/29/0371005393146fe78120a026e3c994a9.jpg","text":"TemporaryFile(/tmp/multipartBody3010093652572870465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168773988,"filename":"image_29012025_12_05_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/29/218e523e76636ae7e2f067b8f8344d0a.jpg","text":"TemporaryFile(/tmp/multipartBody7918922675705058216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168773988,"filename":"image_29012025_12_06_14_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332702597","file1":"1332702574","file0":"1332702569","file4":"1332702637","file5":"1332702641","file3":"1332702632"},"map_files_photo_id_array":[{"photo_id":"1332702641","filename":"file5"},{"photo_id":"1332702597","filename":"file2"},{"photo_id":"1332702637","filename":"file4"},{"photo_id":"1332702574","filename":"file1"},{"photo_id":"1332702569","filename":"file0"},{"photo_id":"1332702632","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332702597":["hashtag1","hashtag2"]},{"1332702632":["hashtag1","hashtag2"]},{"1332702569":["hashtag1","hashtag2"]},{"1332702641":["hashtag1","hashtag2"]},{"1332702574":["hashtag1","hashtag2"]},{"1332702637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332702597, 1332702632, 1332702569, 1332702641, 1332702574, 1332702637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.538195848464966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:39:32.359791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_35_10365.jpg', '/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_44_9388.jpg', '/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_54_10364.jpg', '/home/pi/Desktop/images/29012025/12/06/image_29012025_12_07_05_10356.jpg', '/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_14_9431.jpg', '/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_25_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_35_10365.jpg
/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_44_9388.jpg
/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_54_10364.jpg
/home/pi/Desktop/images/29012025/12/06/image_29012025_12_07_05_10356.jpg
/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_14_9431.jpg
/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_25_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.5098316669464111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 17:39:42.301118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_35_10365.jpg', '/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_44_9388.jpg', '/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_54_10364.jpg', '/home/pi/Desktop/images/29012025/12/06/image_29012025_12_07_05_10356.jpg', '/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_14_9431.jpg', '/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_25_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_35_10365.jpg
/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_44_9388.jpg
/home/pi/Desktop/images/29012025/12/06/image_29012025_12_06_54_10364.jpg
/home/pi/Desktop/images/29012025/12/06/image_29012025_12_07_05_10356.jpg
/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_14_9431.jpg
/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_25_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":["1332702732","1332702741","1332702720","1332702726","1332702764","1332702737"],"photo_ids_order":["1332702720","1332702726","1332702732","1332702737","1332702741","1332702764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f2fe74289b9c58b8e3837c6f6406f90b.jpg","text":"TemporaryFile(/tmp/multipartBody5469061944468539290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168843227,"filename":"image_29012025_12_06_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/29/94d81edfd52337ed33f0c4cf6fe1b432.jpg","text":"TemporaryFile(/tmp/multipartBody441799856762760897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168843227,"filename":"image_29012025_12_07_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/29/c5f2ed9b87ace1496211a9a338167f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5562412512271942658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168843227,"filename":"image_29012025_12_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/29/f13fae01bf830d7e0d274f7cb9a1aa50.jpg","text":"TemporaryFile(/tmp/multipartBody9163942560240163221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168843227,"filename":"image_29012025_12_06_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/29/a00c3e019e9521b38678423d8e65e497.jpg","text":"TemporaryFile(/tmp/multipartBody6555068411531910869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168843227,"filename":"image_29012025_12_07_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/29/b9ad46db653748094fc08e36869eac77.jpg","text":"TemporaryFile(/tmp/multipartBody102924089453295627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168843227,"filename":"image_29012025_12_07_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332702732","file1":"1332702726","file0":"1332702720","file4":"1332702741","file5":"1332702764","file3":"1332702737"},"map_files_photo_id_array":[{"photo_id":"1332702764","filename":"file5"},{"photo_id":"1332702732","filename":"file2"},{"photo_id":"1332702741","filename":"file4"},{"photo_id":"1332702726","filename":"file1"},{"photo_id":"1332702720","filename":"file0"},{"photo_id":"1332702737","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332702732":["hashtag1","hashtag2"]},{"1332702741":["hashtag1","hashtag2"]},{"1332702720":["hashtag1","hashtag2"]},{"1332702726":["hashtag1","hashtag2"]},{"1332702764":["hashtag1","hashtag2"]},{"1332702737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332702732, 1332702741, 1332702720, 1332702726, 1332702764, 1332702737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67581915855408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:40:32.513930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_34_9465.jpg', '/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_45_10428.jpg', '/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_55_10342.jpg', '/home/pi/Desktop/images/29012025/12/07/image_29012025_12_08_04_9431.jpg', '/home/pi/Desktop/images/29012025/12/08/image_29012025_12_08_15_10412.jpg', '/home/pi/Desktop/images/29012025/12/08/image_29012025_12_08_24_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_34_9465.jpg
/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_45_10428.jpg
/home/pi/Desktop/images/29012025/12/07/image_29012025_12_07_55_10342.jpg
/home/pi/Desktop/images/29012025/12/07/image_29012025_12_08_04_9431.jpg
/home/pi/Desktop/images/29012025/12/08/image_29012025_12_08_15_10412.jpg
/home/pi/Desktop/images/29012025/12/08/image_29012025_12_08_24_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":["1332702805","1332702783","1332702777","1332702773","1332702878","1332702944"],"photo_ids_order":["1332702773","1332702777","1332702783","1332702805","1332702878","1332702944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f90b84c8f8b0502f608dc272c2fab630.jpg","text":"TemporaryFile(/tmp/multipartBody6420585359092658043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168893430,"filename":"image_29012025_12_08_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/29/d7b44327da56079340170db246a16f5d.jpg","text":"TemporaryFile(/tmp/multipartBody8329062510079583568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168893430,"filename":"image_29012025_12_07_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/29/edf1ec778ab089a1e70554067584e6c7.jpg","text":"TemporaryFile(/tmp/multipartBody8714548242170196595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168893430,"filename":"image_29012025_12_07_45_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/29/8926770a34bab38833ef7a5dba2b7606.jpg","text":"TemporaryFile(/tmp/multipartBody5960184258791806212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168893430,"filename":"image_29012025_12_07_34_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/29/17685e7ccab94dae1b1fc4f26b2e2bcf.jpg","text":"TemporaryFile(/tmp/multipartBody8284890760254626062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168893430,"filename":"image_29012025_12_08_15_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/29/a7c6b7c69f28571ec6259bd5fa5fd7f7.jpg","text":"TemporaryFile(/tmp/multipartBody6359477169759075798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168893430,"filename":"image_29012025_12_08_24_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332702783","file1":"1332702777","file0":"1332702773","file4":"1332702878","file5":"1332702944","file3":"1332702805"},"map_files_photo_id_array":[{"photo_id":"1332702944","filename":"file5"},{"photo_id":"1332702783","filename":"file2"},{"photo_id":"1332702878","filename":"file4"},{"photo_id":"1332702777","filename":"file1"},{"photo_id":"1332702773","filename":"file0"},{"photo_id":"1332702805","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332702805":["hashtag1","hashtag2"]},{"1332702783":["hashtag1","hashtag2"]},{"1332702777":["hashtag1","hashtag2"]},{"1332702773":["hashtag1","hashtag2"]},{"1332702878":["hashtag1","hashtag2"]},{"1332702944":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332702805, 1332702783, 1332702777, 1332702773, 1332702878, 1332702944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.67271089553833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:41:32.690801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/08/image_29012025_12_08_34_10364.jpg', '/home/pi/Desktop/images/29012025/12/08/image_29012025_12_08_45_10354.jpg', '/home/pi/Desktop/images/29012025/12/08/image_29012025_12_08_54_9432.jpg', '/home/pi/Desktop/images/29012025/12/08/image_29012025_12_09_05_10361.jpg', '/home/pi/Desktop/images/29012025/12/09/image_29012025_12_09_14_9449.jpg', '/home/pi/Desktop/images/29012025/12/09/image_29012025_12_09_24_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/08/image_29012025_12_08_34_10364.jpg
/home/pi/Desktop/images/29012025/12/08/image_29012025_12_08_45_10354.jpg
/home/pi/Desktop/images/29012025/12/08/image_29012025_12_08_54_9432.jpg
/home/pi/Desktop/images/29012025/12/08/image_29012025_12_09_05_10361.jpg
/home/pi/Desktop/images/29012025/12/09/image_29012025_12_09_14_9449.jpg
/home/pi/Desktop/images/29012025/12/09/image_29012025_12_09_24_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":["1332703008","1332703073","1332703064","1332703013","1332702997","1332703068"],"photo_ids_order":["1332702997","1332703008","1332703013","1332703064","1332703068","1332703073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f918d8e916352fbabc39c62865714d61.jpg","text":"TemporaryFile(/tmp/multipartBody749183096103121830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168953586,"filename":"image_29012025_12_08_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/29/d30efb1649ad86cb37676442d4aac7ce.jpg","text":"TemporaryFile(/tmp/multipartBody5499082380203311946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168953586,"filename":"image_29012025_12_09_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/29/ccc8fcee8984e01eb494b0a3e7f33c7f.jpg","text":"TemporaryFile(/tmp/multipartBody4138550415552398273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168953586,"filename":"image_29012025_12_09_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/29/78d62efe2260b0e74d5dff6208c16049.jpg","text":"TemporaryFile(/tmp/multipartBody7859967460452999450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168953586,"filename":"image_29012025_12_08_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/29/6a05d19f55d74c2ab56ef873a5854b94.jpg","text":"TemporaryFile(/tmp/multipartBody2390498292697593132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168953586,"filename":"image_29012025_12_08_34_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/29/8b22a7b1e2e829367cb4e4c2e6c37a8b.jpg","text":"TemporaryFile(/tmp/multipartBody7414475707575648998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738168953586,"filename":"image_29012025_12_09_14_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332703013","file1":"1332703008","file0":"1332702997","file4":"1332703068","file5":"1332703073","file3":"1332703064"},"map_files_photo_id_array":[{"photo_id":"1332703073","filename":"file5"},{"photo_id":"1332703013","filename":"file2"},{"photo_id":"1332703068","filename":"file4"},{"photo_id":"1332703008","filename":"file1"},{"photo_id":"1332702997","filename":"file0"},{"photo_id":"1332703064","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332703008":["hashtag1","hashtag2"]},{"1332703073":["hashtag1","hashtag2"]},{"1332703064":["hashtag1","hashtag2"]},{"1332703013":["hashtag1","hashtag2"]},{"1332702997":["hashtag1","hashtag2"]},{"1332703068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332703008, 1332703073, 1332703064, 1332703013, 1332702997, 1332703068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.877748012542725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:42:32.908731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/09/image_29012025_12_09_35_10346.jpg', '/home/pi/Desktop/images/29012025/12/09/image_29012025_12_09_44_9458.jpg', '/home/pi/Desktop/images/29012025/12/09/image_29012025_12_09_55_10443.jpg', '/home/pi/Desktop/images/29012025/12/09/image_29012025_12_10_04_9411.jpg', '/home/pi/Desktop/images/29012025/12/10/image_29012025_12_10_14_10380.jpg', '/home/pi/Desktop/images/29012025/12/10/image_29012025_12_10_25_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/09/image_29012025_12_09_35_10346.jpg
/home/pi/Desktop/images/29012025/12/09/image_29012025_12_09_44_9458.jpg
/home/pi/Desktop/images/29012025/12/09/image_29012025_12_09_55_10443.jpg
/home/pi/Desktop/images/29012025/12/09/image_29012025_12_10_04_9411.jpg
/home/pi/Desktop/images/29012025/12/10/image_29012025_12_10_14_10380.jpg
/home/pi/Desktop/images/29012025/12/10/image_29012025_12_10_25_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":["1332703166","1332703211","1332703396","1332703162","1332703432","1332703386"],"photo_ids_order":["1332703162","1332703166","1332703211","1332703386","1332703396","1332703432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c141deac368bbf96cc5c12059e7a1513.jpg","text":"TemporaryFile(/tmp/multipartBody6000569026721488546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169013830,"filename":"image_29012025_12_09_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/29/828ca2201ae6709e0b226eea0c7a457e.jpg","text":"TemporaryFile(/tmp/multipartBody3717868139684019738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169013830,"filename":"image_29012025_12_09_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/29/387885145e22defa52771ab26a71b4f6.jpg","text":"TemporaryFile(/tmp/multipartBody7859596184301338649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169013830,"filename":"image_29012025_12_10_14_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/29/2574ec07557402fc71fb1b2f18de9fff.jpg","text":"TemporaryFile(/tmp/multipartBody6716531364365758531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169013830,"filename":"image_29012025_12_09_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/29/c3c5da142a02bc9fa3268238eda56006.jpg","text":"TemporaryFile(/tmp/multipartBody6399711127686750694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169013830,"filename":"image_29012025_12_10_25_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/29/e6bd2c288c00340e990f98bb27ac03eb.jpg","text":"TemporaryFile(/tmp/multipartBody8678238198693146534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169013830,"filename":"image_29012025_12_10_04_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332703211","file1":"1332703166","file0":"1332703162","file4":"1332703396","file5":"1332703432","file3":"1332703386"},"map_files_photo_id_array":[{"photo_id":"1332703432","filename":"file5"},{"photo_id":"1332703211","filename":"file2"},{"photo_id":"1332703396","filename":"file4"},{"photo_id":"1332703166","filename":"file1"},{"photo_id":"1332703162","filename":"file0"},{"photo_id":"1332703386","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332703166":["hashtag1","hashtag2"]},{"1332703211":["hashtag1","hashtag2"]},{"1332703396":["hashtag1","hashtag2"]},{"1332703162":["hashtag1","hashtag2"]},{"1332703432":["hashtag1","hashtag2"]},{"1332703386":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332703166, 1332703211, 1332703396, 1332703162, 1332703432, 1332703386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.472195625305176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:43:32.153762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/10/image_29012025_12_10_34_9352.jpg', '/home/pi/Desktop/images/29012025/12/10/image_29012025_12_10_45_10364.jpg', '/home/pi/Desktop/images/29012025/12/10/image_29012025_12_10_54_9348.jpg', '/home/pi/Desktop/images/29012025/12/10/image_29012025_12_11_04_10350.jpg', '/home/pi/Desktop/images/29012025/12/11/image_29012025_12_11_15_10429.jpg', '/home/pi/Desktop/images/29012025/12/11/image_29012025_12_11_24_9469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/10/image_29012025_12_10_34_9352.jpg
/home/pi/Desktop/images/29012025/12/10/image_29012025_12_10_45_10364.jpg
/home/pi/Desktop/images/29012025/12/10/image_29012025_12_10_54_9348.jpg
/home/pi/Desktop/images/29012025/12/10/image_29012025_12_11_04_10350.jpg
/home/pi/Desktop/images/29012025/12/11/image_29012025_12_11_15_10429.jpg
/home/pi/Desktop/images/29012025/12/11/image_29012025_12_11_24_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":["1332703518","1332703490","1332703523","1332703498","1332703486","1332703494"],"photo_ids_order":["1332703486","1332703490","1332703494","1332703498","1332703518","1332703523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e9088b0cda57a72bbc408ad88853febb.jpg","text":"TemporaryFile(/tmp/multipartBody1536123498483657270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169073064,"filename":"image_29012025_12_11_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/29/a7bcdfd6493fa6271744919dc1a2497c.jpg","text":"TemporaryFile(/tmp/multipartBody7629553513626031311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169073064,"filename":"image_29012025_12_10_45_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/29/7925908e52f69f4633e94621711eb790.jpg","text":"TemporaryFile(/tmp/multipartBody426470134297130227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169073064,"filename":"image_29012025_12_11_24_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/29/f32a21a51b189acc6bac74ba7c221b54.jpg","text":"TemporaryFile(/tmp/multipartBody5634877432767378490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169073064,"filename":"image_29012025_12_11_04_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/29/6b0b1e0a56efea7c106cb02d81c82a82.jpg","text":"TemporaryFile(/tmp/multipartBody8278347246073100387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169073064,"filename":"image_29012025_12_10_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/29/4661224d180df69f329245eab8488214.jpg","text":"TemporaryFile(/tmp/multipartBody4156456963535931356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169073064,"filename":"image_29012025_12_10_54_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332703494","file1":"1332703490","file0":"1332703486","file4":"1332703518","file5":"1332703523","file3":"1332703498"},"map_files_photo_id_array":[{"photo_id":"1332703523","filename":"file5"},{"photo_id":"1332703494","filename":"file2"},{"photo_id":"1332703518","filename":"file4"},{"photo_id":"1332703490","filename":"file1"},{"photo_id":"1332703486","filename":"file0"},{"photo_id":"1332703498","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332703518":["hashtag1","hashtag2"]},{"1332703490":["hashtag1","hashtag2"]},{"1332703523":["hashtag1","hashtag2"]},{"1332703498":["hashtag1","hashtag2"]},{"1332703486":["hashtag1","hashtag2"]},{"1332703494":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332703518, 1332703490, 1332703523, 1332703498, 1332703486, 1332703494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.64998531341553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:44:32.430997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/11/image_29012025_12_11_35_10365.jpg', '/home/pi/Desktop/images/29012025/12/11/image_29012025_12_11_44_9480.jpg', '/home/pi/Desktop/images/29012025/12/11/image_29012025_12_11_54_10444.jpg', '/home/pi/Desktop/images/29012025/12/11/image_29012025_12_12_05_10372.jpg', '/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_14_9419.jpg', '/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_25_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/11/image_29012025_12_11_35_10365.jpg
/home/pi/Desktop/images/29012025/12/11/image_29012025_12_11_44_9480.jpg
/home/pi/Desktop/images/29012025/12/11/image_29012025_12_11_54_10444.jpg
/home/pi/Desktop/images/29012025/12/11/image_29012025_12_12_05_10372.jpg
/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_14_9419.jpg
/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_25_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332703566","1332703574","1332703570","1332703561","1332703581","1332703578"],"photo_ids_order":["1332703561","1332703566","1332703570","1332703574","1332703578","1332703581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/935cee59126a2c0cf52e0a46390b5ac0.jpg","text":"TemporaryFile(/tmp/multipartBody1088053973964119349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169133347,"filename":"image_29012025_12_11_44_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/29/20642dc042b2404dfe6a56dd43f24b64.jpg","text":"TemporaryFile(/tmp/multipartBody1880224935879274643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169133347,"filename":"image_29012025_12_12_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/29/d059018b79ea1f3aad443cc7ffa359f4.jpg","text":"TemporaryFile(/tmp/multipartBody2120107926011106992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169133347,"filename":"image_29012025_12_11_54_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/29/3f71192b9910d1248b2b520b9ea43a0b.jpg","text":"TemporaryFile(/tmp/multipartBody5661234361285678917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169133347,"filename":"image_29012025_12_11_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/29/11e30bf58880db1dcd560c49bf376cdb.jpg","text":"TemporaryFile(/tmp/multipartBody7856292944487423010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169133347,"filename":"image_29012025_12_12_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/29/26b2fdad19006e036b8f6ecc17c3356b.jpg","text":"TemporaryFile(/tmp/multipartBody3090945257796727051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169133347,"filename":"image_29012025_12_12_14_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332703570","file1":"1332703566","file0":"1332703561","file4":"1332703578","file5":"1332703581","file3":"1332703574"},"map_files_photo_id_array":[{"photo_id":"1332703581","filename":"file5"},{"photo_id":"1332703570","filename":"file2"},{"photo_id":"1332703578","filename":"file4"},{"photo_id":"1332703566","filename":"file1"},{"photo_id":"1332703561","filename":"file0"},{"photo_id":"1332703574","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332703566":["hashtag1","hashtag2"]},{"1332703574":["hashtag1","hashtag2"]},{"1332703570":["hashtag1","hashtag2"]},{"1332703561":["hashtag1","hashtag2"]},{"1332703581":["hashtag1","hashtag2"]},{"1332703578":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332703566, 1332703574, 1332703570, 1332703561, 1332703581, 1332703578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35570788383484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:45:32.741545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_34_9467.jpg', '/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_45_10360.jpg', '/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_55_10359.jpg', '/home/pi/Desktop/images/29012025/12/12/image_29012025_12_13_04_9112.jpg', '/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_14_10338.jpg', '/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_25_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_34_9467.jpg
/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_45_10360.jpg
/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_55_10359.jpg
/home/pi/Desktop/images/29012025/12/12/image_29012025_12_13_04_9112.jpg
/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_14_10338.jpg
/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_25_10424.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.5111753940582275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 17:45:42.760582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_34_9467.jpg', '/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_45_10360.jpg', '/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_55_10359.jpg', '/home/pi/Desktop/images/29012025/12/12/image_29012025_12_13_04_9112.jpg', '/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_14_10338.jpg', '/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_25_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_34_9467.jpg
/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_45_10360.jpg
/home/pi/Desktop/images/29012025/12/12/image_29012025_12_12_55_10359.jpg
/home/pi/Desktop/images/29012025/12/12/image_29012025_12_13_04_9112.jpg
/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_14_10338.jpg
/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_25_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":["1332703671","1332703871","1332703811","1332703774","1332703834","1332703869"],"photo_ids_order":["1332703671","1332703774","1332703811","1332703834","1332703869","1332703871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d515615627786f9bf26ea1adac60f218.jpg","text":"TemporaryFile(/tmp/multipartBody7638694263148645701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169203657,"filename":"image_29012025_12_12_34_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/29/9a0e0364b7095dab185e250a356afa8f.jpg","text":"TemporaryFile(/tmp/multipartBody7081036491319622938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169203657,"filename":"image_29012025_12_13_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/29/7cdaf811a09806de898b48d5c2314abb.jpg","text":"TemporaryFile(/tmp/multipartBody3852889599742036395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169203657,"filename":"image_29012025_12_12_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/29/becd94d9ff4112d5f1f3a9b9b16a9266.jpg","text":"TemporaryFile(/tmp/multipartBody8171446846550983092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169203657,"filename":"image_29012025_12_12_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/29/f889b7bc842ab14bb6eedd150cc7e801.jpg","text":"TemporaryFile(/tmp/multipartBody5200337866720631330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169203657,"filename":"image_29012025_12_13_04_9112.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9c8072252ee82d4b74369980ec0ae8af.jpg","text":"TemporaryFile(/tmp/multipartBody6725255255743468184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169203657,"filename":"image_29012025_12_13_14_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332703811","file1":"1332703774","file0":"1332703671","file4":"1332703869","file5":"1332703871","file3":"1332703834"},"map_files_photo_id_array":[{"photo_id":"1332703871","filename":"file5"},{"photo_id":"1332703811","filename":"file2"},{"photo_id":"1332703869","filename":"file4"},{"photo_id":"1332703774","filename":"file1"},{"photo_id":"1332703671","filename":"file0"},{"photo_id":"1332703834","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332703671":["hashtag1","hashtag2"]},{"1332703871":["hashtag1","hashtag2"]},{"1332703811":["hashtag1","hashtag2"]},{"1332703774":["hashtag1","hashtag2"]},{"1332703834":["hashtag1","hashtag2"]},{"1332703869":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332703671, 1332703871, 1332703811, 1332703774, 1332703834, 1332703869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44801449775696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:46:33.023100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_34_9434.jpg', '/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_45_10340.jpg', '/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_55_10353.jpg', '/home/pi/Desktop/images/29012025/12/13/image_29012025_12_14_04_9338.jpg', '/home/pi/Desktop/images/29012025/12/14/image_29012025_12_14_15_10377.jpg', '/home/pi/Desktop/images/29012025/12/14/image_29012025_12_14_24_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_34_9434.jpg
/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_45_10340.jpg
/home/pi/Desktop/images/29012025/12/13/image_29012025_12_13_55_10353.jpg
/home/pi/Desktop/images/29012025/12/13/image_29012025_12_14_04_9338.jpg
/home/pi/Desktop/images/29012025/12/14/image_29012025_12_14_15_10377.jpg
/home/pi/Desktop/images/29012025/12/14/image_29012025_12_14_24_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":["1332704399","1332704130","1332704336","1332704060","1332704347","1332704355"],"photo_ids_order":["1332704060","1332704130","1332704336","1332704347","1332704355","1332704399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/411debc84b8b2a1edd6e1f18c32ef23b.jpg","text":"TemporaryFile(/tmp/multipartBody2108462089991757587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169253920,"filename":"image_29012025_12_14_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/29/76b3a116e4ada3cc24d066c95267ad9f.jpg","text":"TemporaryFile(/tmp/multipartBody8942496202333297311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169253920,"filename":"image_29012025_12_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/29/33c74220177e26df7e8a29f7f55093b6.jpg","text":"TemporaryFile(/tmp/multipartBody2376735922708911847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169253920,"filename":"image_29012025_12_13_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/29/089cfdb9e2732c7a25fc4ae5510b4563.jpg","text":"TemporaryFile(/tmp/multipartBody1872945146683975283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169253920,"filename":"image_29012025_12_13_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/29/007e4c09a378f4fda8a84588a39d957f.jpg","text":"TemporaryFile(/tmp/multipartBody3673095628386436483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169253920,"filename":"image_29012025_12_14_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/29/84658f08d8efff107dd256d6d6be7f4c.jpg","text":"TemporaryFile(/tmp/multipartBody3845822513794942819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169253920,"filename":"image_29012025_12_14_15_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332704336","file1":"1332704130","file0":"1332704060","file4":"1332704355","file5":"1332704399","file3":"1332704347"},"map_files_photo_id_array":[{"photo_id":"1332704399","filename":"file5"},{"photo_id":"1332704336","filename":"file2"},{"photo_id":"1332704355","filename":"file4"},{"photo_id":"1332704130","filename":"file1"},{"photo_id":"1332704060","filename":"file0"},{"photo_id":"1332704347","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332704399":["hashtag1","hashtag2"]},{"1332704130":["hashtag1","hashtag2"]},{"1332704336":["hashtag1","hashtag2"]},{"1332704060":["hashtag1","hashtag2"]},{"1332704347":["hashtag1","hashtag2"]},{"1332704355":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332704399, 1332704130, 1332704336, 1332704060, 1332704347, 1332704355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.923635482788086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:47:32.207806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/14/image_29012025_12_14_34_10416.jpg', '/home/pi/Desktop/images/29012025/12/14/image_29012025_12_14_45_10369.jpg', '/home/pi/Desktop/images/29012025/12/14/image_29012025_12_14_54_9354.jpg', '/home/pi/Desktop/images/29012025/12/14/image_29012025_12_15_05_10413.jpg', '/home/pi/Desktop/images/29012025/12/15/image_29012025_12_15_15_10353.jpg', '/home/pi/Desktop/images/29012025/12/15/image_29012025_12_15_24_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/14/image_29012025_12_14_34_10416.jpg
/home/pi/Desktop/images/29012025/12/14/image_29012025_12_14_45_10369.jpg
/home/pi/Desktop/images/29012025/12/14/image_29012025_12_14_54_9354.jpg
/home/pi/Desktop/images/29012025/12/14/image_29012025_12_15_05_10413.jpg
/home/pi/Desktop/images/29012025/12/15/image_29012025_12_15_15_10353.jpg
/home/pi/Desktop/images/29012025/12/15/image_29012025_12_15_24_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":["1332704601","1332704648","1332704689","1332704572","1332704688","1332704605"],"photo_ids_order":["1332704572","1332704601","1332704605","1332704648","1332704688","1332704689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cb616feac912cbc16d349a6c5164e856.jpg","text":"TemporaryFile(/tmp/multipartBody9219799920557257674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169313117,"filename":"image_29012025_12_14_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/29/cf9b1be9eadb186113218995ac5a3af4.jpg","text":"TemporaryFile(/tmp/multipartBody1162985293155713340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169313117,"filename":"image_29012025_12_15_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/29/606044172ec319cb057a793809f4bc9f.jpg","text":"TemporaryFile(/tmp/multipartBody8842712030137283248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169313117,"filename":"image_29012025_12_15_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/29/6ff1d53208dd279544963b15026cd1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2831951296997842385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169313117,"filename":"image_29012025_12_14_34_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/29/5c79c6bc6b23950587032a7dd6b800c0.jpg","text":"TemporaryFile(/tmp/multipartBody9116427777882394511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169313117,"filename":"image_29012025_12_15_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/29/21c49c318844132ec4a494280d2adeeb.jpg","text":"TemporaryFile(/tmp/multipartBody8913183923192638680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169313117,"filename":"image_29012025_12_14_54_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332704605","file1":"1332704601","file0":"1332704572","file4":"1332704688","file5":"1332704689","file3":"1332704648"},"map_files_photo_id_array":[{"photo_id":"1332704689","filename":"file5"},{"photo_id":"1332704605","filename":"file2"},{"photo_id":"1332704688","filename":"file4"},{"photo_id":"1332704601","filename":"file1"},{"photo_id":"1332704572","filename":"file0"},{"photo_id":"1332704648","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332704601":["hashtag1","hashtag2"]},{"1332704648":["hashtag1","hashtag2"]},{"1332704689":["hashtag1","hashtag2"]},{"1332704572":["hashtag1","hashtag2"]},{"1332704688":["hashtag1","hashtag2"]},{"1332704605":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332704601, 1332704648, 1332704689, 1332704572, 1332704688, 1332704605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.17006969451904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:48:33.510867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/15/image_29012025_12_15_35_10352.jpg', '/home/pi/Desktop/images/29012025/12/15/image_29012025_12_15_44_9403.jpg', '/home/pi/Desktop/images/29012025/12/15/image_29012025_12_15_54_10359.jpg', '/home/pi/Desktop/images/29012025/12/15/image_29012025_12_16_05_10385.jpg', '/home/pi/Desktop/images/29012025/12/16/image_29012025_12_16_14_9487.jpg', '/home/pi/Desktop/images/29012025/12/16/image_29012025_12_16_25_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/15/image_29012025_12_15_35_10352.jpg
/home/pi/Desktop/images/29012025/12/15/image_29012025_12_15_44_9403.jpg
/home/pi/Desktop/images/29012025/12/15/image_29012025_12_15_54_10359.jpg
/home/pi/Desktop/images/29012025/12/15/image_29012025_12_16_05_10385.jpg
/home/pi/Desktop/images/29012025/12/16/image_29012025_12_16_14_9487.jpg
/home/pi/Desktop/images/29012025/12/16/image_29012025_12_16_25_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":["1332704771","1332704774","1332704778","1332704766","1332704769","1332704763"],"photo_ids_order":["1332704763","1332704766","1332704769","1332704771","1332704774","1332704778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4ab667894a8478bda4109d3ea754c2b6.jpg","text":"TemporaryFile(/tmp/multipartBody734199315900368955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169374409,"filename":"image_29012025_12_16_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/29/50a11d0e0c4e0ff62dfe4f5d7e22930e.jpg","text":"TemporaryFile(/tmp/multipartBody5932084098995008017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169374409,"filename":"image_29012025_12_16_14_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/29/0a85ac6b82bbb8a3eb9fd359ec16fa26.jpg","text":"TemporaryFile(/tmp/multipartBody3072868821793479314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169374409,"filename":"image_29012025_12_16_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/29/0ca0805216dfe626b7bd092cb950cb7c.jpg","text":"TemporaryFile(/tmp/multipartBody8278465383266345631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169374409,"filename":"image_29012025_12_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/29/6017ca38c272e1c7e85aab94b012f7fc.jpg","text":"TemporaryFile(/tmp/multipartBody7254298824614485415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169374409,"filename":"image_29012025_12_15_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/29/b2e1b6c49dd9af6839300c3c5e6c58ab.jpg","text":"TemporaryFile(/tmp/multipartBody5018262025710894032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169374409,"filename":"image_29012025_12_15_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332704769","file1":"1332704766","file0":"1332704763","file4":"1332704774","file5":"1332704778","file3":"1332704771"},"map_files_photo_id_array":[{"photo_id":"1332704778","filename":"file5"},{"photo_id":"1332704769","filename":"file2"},{"photo_id":"1332704774","filename":"file4"},{"photo_id":"1332704766","filename":"file1"},{"photo_id":"1332704763","filename":"file0"},{"photo_id":"1332704771","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332704771":["hashtag1","hashtag2"]},{"1332704774":["hashtag1","hashtag2"]},{"1332704778":["hashtag1","hashtag2"]},{"1332704766":["hashtag1","hashtag2"]},{"1332704769":["hashtag1","hashtag2"]},{"1332704763":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332704771, 1332704774, 1332704778, 1332704766, 1332704769, 1332704763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69293975830078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:49:33.025497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/16/image_29012025_12_16_34_9383.jpg', '/home/pi/Desktop/images/29012025/12/16/image_29012025_12_16_44_10352.jpg', '/home/pi/Desktop/images/29012025/12/16/image_29012025_12_16_55_10570.jpg', '/home/pi/Desktop/images/29012025/12/16/image_29012025_12_17_04_9427.jpg', '/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_15_10440.jpg', '/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_24_9541.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/16/image_29012025_12_16_34_9383.jpg
/home/pi/Desktop/images/29012025/12/16/image_29012025_12_16_44_10352.jpg
/home/pi/Desktop/images/29012025/12/16/image_29012025_12_16_55_10570.jpg
/home/pi/Desktop/images/29012025/12/16/image_29012025_12_17_04_9427.jpg
/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_15_10440.jpg
/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_24_9541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332704808","1332704828","1332704815","1332704800","1332704829","1332704823"],"photo_ids_order":["1332704800","1332704808","1332704815","1332704823","1332704828","1332704829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0da2c1dbf05effd0e74e2df7c9551261.jpg","text":"TemporaryFile(/tmp/multipartBody198787518586831285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169433946,"filename":"image_29012025_12_16_44_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/29/8e530034567c2e4e8e1b6495036ee5c4.jpg","text":"TemporaryFile(/tmp/multipartBody7027731339804272418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169433946,"filename":"image_29012025_12_17_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/29/bf030c2fe96896d594a17e6c3bf6bc60.jpg","text":"TemporaryFile(/tmp/multipartBody3515272010608679840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169433946,"filename":"image_29012025_12_16_55_10570.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2f66c256e591a131431479e014ee0ab4.jpg","text":"TemporaryFile(/tmp/multipartBody1535754577959889101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169433946,"filename":"image_29012025_12_16_34_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/29/675829301241b60bec188d9859a31937.jpg","text":"TemporaryFile(/tmp/multipartBody803302584691592067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169433946,"filename":"image_29012025_12_17_24_9541.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2d6d4fb36d4a1e8ddc915c76bc67cda4.jpg","text":"TemporaryFile(/tmp/multipartBody3815736850002716600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169433946,"filename":"image_29012025_12_17_04_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332704815","file1":"1332704808","file0":"1332704800","file4":"1332704828","file5":"1332704829","file3":"1332704823"},"map_files_photo_id_array":[{"photo_id":"1332704829","filename":"file5"},{"photo_id":"1332704815","filename":"file2"},{"photo_id":"1332704828","filename":"file4"},{"photo_id":"1332704808","filename":"file1"},{"photo_id":"1332704800","filename":"file0"},{"photo_id":"1332704823","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332704808":["hashtag1","hashtag2"]},{"1332704828":["hashtag1","hashtag2"]},{"1332704815":["hashtag1","hashtag2"]},{"1332704800":["hashtag1","hashtag2"]},{"1332704829":["hashtag1","hashtag2"]},{"1332704823":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332704808, 1332704828, 1332704815, 1332704800, 1332704829, 1332704823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.447256088256836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:50:32.210775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_35_10350.jpg', '/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_44_9445.jpg', '/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_54_10416.jpg', '/home/pi/Desktop/images/29012025/12/17/image_29012025_12_18_05_10392.jpg', '/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_14_9439.jpg', '/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_25_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_35_10350.jpg
/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_44_9445.jpg
/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_54_10416.jpg
/home/pi/Desktop/images/29012025/12/17/image_29012025_12_18_05_10392.jpg
/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_14_9439.jpg
/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_25_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.5260052680969238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 17:50:42.180246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_35_10350.jpg', '/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_44_9445.jpg', '/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_54_10416.jpg', '/home/pi/Desktop/images/29012025/12/17/image_29012025_12_18_05_10392.jpg', '/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_14_9439.jpg', '/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_25_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_35_10350.jpg
/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_44_9445.jpg
/home/pi/Desktop/images/29012025/12/17/image_29012025_12_17_54_10416.jpg
/home/pi/Desktop/images/29012025/12/17/image_29012025_12_18_05_10392.jpg
/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_14_9439.jpg
/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_25_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":["1332704876","1332704867","1332704915","1332704903","1332704872","1332704905"],"photo_ids_order":["1332704867","1332704872","1332704876","1332704903","1332704905","1332704915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/619a4a092f6f0d0142404bdf4aee2fe4.jpg","text":"TemporaryFile(/tmp/multipartBody4001096775970200767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169503094,"filename":"image_29012025_12_17_54_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/29/3c22c9ed11e0c648debe2b07bd015049.jpg","text":"TemporaryFile(/tmp/multipartBody7176895595653254764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169503094,"filename":"image_29012025_12_17_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/29/e2ede52ecf314199e0a42f398b9f888e.jpg","text":"TemporaryFile(/tmp/multipartBody696964323095783525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169503094,"filename":"image_29012025_12_18_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/29/a353ca4fd79cd93d4c2a9fe1d1d11422.jpg","text":"TemporaryFile(/tmp/multipartBody4030016782013284633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169503094,"filename":"image_29012025_12_18_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/29/3765b66c26e7356ae2921837569c1414.jpg","text":"TemporaryFile(/tmp/multipartBody8546558911114698194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169503094,"filename":"image_29012025_12_17_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/29/2be8cd5a0f9401e372bfe90c15ff6bbc.jpg","text":"TemporaryFile(/tmp/multipartBody543572815469904580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169503094,"filename":"image_29012025_12_18_14_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332704876","file1":"1332704872","file0":"1332704867","file4":"1332704905","file5":"1332704915","file3":"1332704903"},"map_files_photo_id_array":[{"photo_id":"1332704915","filename":"file5"},{"photo_id":"1332704876","filename":"file2"},{"photo_id":"1332704905","filename":"file4"},{"photo_id":"1332704872","filename":"file1"},{"photo_id":"1332704867","filename":"file0"},{"photo_id":"1332704903","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332704876":["hashtag1","hashtag2"]},{"1332704867":["hashtag1","hashtag2"]},{"1332704915":["hashtag1","hashtag2"]},{"1332704903":["hashtag1","hashtag2"]},{"1332704872":["hashtag1","hashtag2"]},{"1332704905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332704876, 1332704867, 1332704915, 1332704903, 1332704872, 1332704905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33263874053955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:51:32.447873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_34_9437.jpg', '/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_44_10360.jpg', '/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_55_10363.jpg', '/home/pi/Desktop/images/29012025/12/18/image_29012025_12_19_04_9406.jpg', '/home/pi/Desktop/images/29012025/12/19/image_29012025_12_19_15_10397.jpg', '/home/pi/Desktop/images/29012025/12/19/image_29012025_12_19_24_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_34_9437.jpg
/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_44_10360.jpg
/home/pi/Desktop/images/29012025/12/18/image_29012025_12_18_55_10363.jpg
/home/pi/Desktop/images/29012025/12/18/image_29012025_12_19_04_9406.jpg
/home/pi/Desktop/images/29012025/12/19/image_29012025_12_19_15_10397.jpg
/home/pi/Desktop/images/29012025/12/19/image_29012025_12_19_24_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":["1332704960","1332704963","1332704966","1332704956","1332704952","1332704946"],"photo_ids_order":["1332704946","1332704952","1332704956","1332704960","1332704963","1332704966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/71e59a677a17ee0752941d7318868a0b.jpg","text":"TemporaryFile(/tmp/multipartBody7725218625181250659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169553338,"filename":"image_29012025_12_19_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/29/5b4aff68a3e97a668938c34b3b7c3631.jpg","text":"TemporaryFile(/tmp/multipartBody9112882861753667336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169553338,"filename":"image_29012025_12_19_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/29/7d2ed596155d86d1e66962cc55cfba82.jpg","text":"TemporaryFile(/tmp/multipartBody6323860478439912644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169553338,"filename":"image_29012025_12_19_24_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/29/a531ee7c789f30772a9270dc55763b2c.jpg","text":"TemporaryFile(/tmp/multipartBody6347768757510052380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169553338,"filename":"image_29012025_12_18_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/29/b9dc013f83fcc87165e6ee0967aeb392.jpg","text":"TemporaryFile(/tmp/multipartBody2858023449773165795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169553338,"filename":"image_29012025_12_18_44_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/29/a960a873c4690c93028e76618c1c954a.jpg","text":"TemporaryFile(/tmp/multipartBody8869583772803931599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169553338,"filename":"image_29012025_12_18_34_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332704956","file1":"1332704952","file0":"1332704946","file4":"1332704963","file5":"1332704966","file3":"1332704960"},"map_files_photo_id_array":[{"photo_id":"1332704966","filename":"file5"},{"photo_id":"1332704956","filename":"file2"},{"photo_id":"1332704963","filename":"file4"},{"photo_id":"1332704952","filename":"file1"},{"photo_id":"1332704946","filename":"file0"},{"photo_id":"1332704960","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332704960":["hashtag1","hashtag2"]},{"1332704963":["hashtag1","hashtag2"]},{"1332704966":["hashtag1","hashtag2"]},{"1332704956":["hashtag1","hashtag2"]},{"1332704952":["hashtag1","hashtag2"]},{"1332704946":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332704960, 1332704963, 1332704966, 1332704956, 1332704952, 1332704946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.489017963409424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:52:32.649974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/19/image_29012025_12_19_35_10426.jpg', '/home/pi/Desktop/images/29012025/12/19/image_29012025_12_19_44_9383.jpg', '/home/pi/Desktop/images/29012025/12/19/image_29012025_12_19_54_10441.jpg', '/home/pi/Desktop/images/29012025/12/19/image_29012025_12_20_05_10359.jpg', '/home/pi/Desktop/images/29012025/12/20/image_29012025_12_20_14_9431.jpg', '/home/pi/Desktop/images/29012025/12/20/image_29012025_12_20_24_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/19/image_29012025_12_19_35_10426.jpg
/home/pi/Desktop/images/29012025/12/19/image_29012025_12_19_44_9383.jpg
/home/pi/Desktop/images/29012025/12/19/image_29012025_12_19_54_10441.jpg
/home/pi/Desktop/images/29012025/12/19/image_29012025_12_20_05_10359.jpg
/home/pi/Desktop/images/29012025/12/20/image_29012025_12_20_14_9431.jpg
/home/pi/Desktop/images/29012025/12/20/image_29012025_12_20_24_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":["1332705863","1332705452","1332705583","1332705372","1332705294","1332705788"],"photo_ids_order":["1332705294","1332705372","1332705452","1332705583","1332705788","1332705863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f0f1e4a2d006eea6dce8d5cdac7a3135.jpg","text":"TemporaryFile(/tmp/multipartBody5659851071433509403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169613551,"filename":"image_29012025_12_20_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/29/fb892a06239f3bd7a9cd1d6afa46d465.jpg","text":"TemporaryFile(/tmp/multipartBody8221800397437492327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169613551,"filename":"image_29012025_12_19_54_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/29/2b40408e44d6afa8e7ff3a9619d1e41c.jpg","text":"TemporaryFile(/tmp/multipartBody5909216765659946346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169613551,"filename":"image_29012025_12_20_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/29/4d3b0443e6c1c42ac759d19e5f5b4a04.jpg","text":"TemporaryFile(/tmp/multipartBody858221580158315024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169613551,"filename":"image_29012025_12_19_44_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/29/23a6bb1f35f47d9f2a8e324872ef47ea.jpg","text":"TemporaryFile(/tmp/multipartBody4167022559070932125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169613551,"filename":"image_29012025_12_19_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/29/1365a88c8c975a451b40866fee1ecb0d.jpg","text":"TemporaryFile(/tmp/multipartBody5351024850320099020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169613551,"filename":"image_29012025_12_20_14_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332705452","file1":"1332705372","file0":"1332705294","file4":"1332705788","file5":"1332705863","file3":"1332705583"},"map_files_photo_id_array":[{"photo_id":"1332705863","filename":"file5"},{"photo_id":"1332705452","filename":"file2"},{"photo_id":"1332705788","filename":"file4"},{"photo_id":"1332705372","filename":"file1"},{"photo_id":"1332705294","filename":"file0"},{"photo_id":"1332705583","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332705863":["hashtag1","hashtag2"]},{"1332705452":["hashtag1","hashtag2"]},{"1332705583":["hashtag1","hashtag2"]},{"1332705372":["hashtag1","hashtag2"]},{"1332705294":["hashtag1","hashtag2"]},{"1332705788":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332705863, 1332705452, 1332705583, 1332705372, 1332705294, 1332705788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.085042238235474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:53:32.992922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/20/image_29012025_12_20_35_10360.jpg', '/home/pi/Desktop/images/29012025/12/20/image_29012025_12_20_44_9438.jpg', '/home/pi/Desktop/images/29012025/12/20/image_29012025_12_20_55_10363.jpg', '/home/pi/Desktop/images/29012025/12/20/image_29012025_12_21_04_9457.jpg', '/home/pi/Desktop/images/29012025/12/21/image_29012025_12_21_25_10359.jpg', '/home/pi/Desktop/images/29012025/12/21/image_29012025_12_21_34_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/20/image_29012025_12_20_35_10360.jpg
/home/pi/Desktop/images/29012025/12/20/image_29012025_12_20_44_9438.jpg
/home/pi/Desktop/images/29012025/12/20/image_29012025_12_20_55_10363.jpg
/home/pi/Desktop/images/29012025/12/20/image_29012025_12_21_04_9457.jpg
/home/pi/Desktop/images/29012025/12/21/image_29012025_12_21_25_10359.jpg
/home/pi/Desktop/images/29012025/12/21/image_29012025_12_21_34_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":["1332706195","1332706198","1332706204","1332706181","1332706190","1332706145"],"photo_ids_order":["1332706145","1332706181","1332706190","1332706195","1332706198","1332706204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/33dd8b06ea3873aa8fa765b3f888f5e6.jpg","text":"TemporaryFile(/tmp/multipartBody6622854585235105511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169673881,"filename":"image_29012025_12_21_04_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/29/61218fb29234fedc98b0771b31039076.jpg","text":"TemporaryFile(/tmp/multipartBody4502432657553032867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169673881,"filename":"image_29012025_12_21_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/29/7e4df30ed1c6a284306fa79b1ebdd9ab.jpg","text":"TemporaryFile(/tmp/multipartBody1656553822460493593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169673881,"filename":"image_29012025_12_21_34_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/29/00d63b07f136a842078d2a09611d1e2e.jpg","text":"TemporaryFile(/tmp/multipartBody5421234895517784206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169673881,"filename":"image_29012025_12_20_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/29/77a7aa8d14d8b26ec24ff0d92d1f806b.jpg","text":"TemporaryFile(/tmp/multipartBody8190753229010180274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169673881,"filename":"image_29012025_12_20_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/29/5f98cf75fb3043824b5f1f29776c6a61.jpg","text":"TemporaryFile(/tmp/multipartBody8396318577305712397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169673881,"filename":"image_29012025_12_20_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332706190","file1":"1332706181","file0":"1332706145","file4":"1332706198","file5":"1332706204","file3":"1332706195"},"map_files_photo_id_array":[{"photo_id":"1332706204","filename":"file5"},{"photo_id":"1332706190","filename":"file2"},{"photo_id":"1332706198","filename":"file4"},{"photo_id":"1332706181","filename":"file1"},{"photo_id":"1332706145","filename":"file0"},{"photo_id":"1332706195","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332706195":["hashtag1","hashtag2"]},{"1332706198":["hashtag1","hashtag2"]},{"1332706204":["hashtag1","hashtag2"]},{"1332706181":["hashtag1","hashtag2"]},{"1332706190":["hashtag1","hashtag2"]},{"1332706145":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332706195, 1332706198, 1332706204, 1332706181, 1332706190, 1332706145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.618043184280396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:54:33.098614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/21/image_29012025_12_21_45_10368.jpg', '/home/pi/Desktop/images/29012025/12/21/image_29012025_12_21_54_9439.jpg', '/home/pi/Desktop/images/29012025/12/21/image_29012025_12_22_04_10399.jpg', '/home/pi/Desktop/images/29012025/12/22/image_29012025_12_22_14_9432.jpg', '/home/pi/Desktop/images/29012025/12/22/image_29012025_12_22_24_10411.jpg', '/home/pi/Desktop/images/29012025/12/22/image_29012025_12_22_35_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/21/image_29012025_12_21_45_10368.jpg
/home/pi/Desktop/images/29012025/12/21/image_29012025_12_21_54_9439.jpg
/home/pi/Desktop/images/29012025/12/21/image_29012025_12_22_04_10399.jpg
/home/pi/Desktop/images/29012025/12/22/image_29012025_12_22_14_9432.jpg
/home/pi/Desktop/images/29012025/12/22/image_29012025_12_22_24_10411.jpg
/home/pi/Desktop/images/29012025/12/22/image_29012025_12_22_35_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":["1332706480","1332706561","1332706501","1332706568","1332706506","1332706544"],"photo_ids_order":["1332706480","1332706501","1332706506","1332706544","1332706561","1332706568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5a18341a410838b4dbe95d5ee0fb5b7e.jpg","text":"TemporaryFile(/tmp/multipartBody3055445447134449487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169734000,"filename":"image_29012025_12_21_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/29/748e9e8578c38b431b00aa384977357a.jpg","text":"TemporaryFile(/tmp/multipartBody2772367011715537059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169734000,"filename":"image_29012025_12_22_24_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/29/3c53060a88257507cf08254a4384dddf.jpg","text":"TemporaryFile(/tmp/multipartBody8745955146058752647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169734000,"filename":"image_29012025_12_21_54_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/29/30b053ade3f0b8c8ec108bcdb6660495.jpg","text":"TemporaryFile(/tmp/multipartBody8872005184304891740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169734000,"filename":"image_29012025_12_22_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/29/099b4ca45bc9e6eaf3a8504bbf25f4b8.jpg","text":"TemporaryFile(/tmp/multipartBody1381547952791116959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169734000,"filename":"image_29012025_12_22_04_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/29/e8690d5f086dc01b130bb94b9f54e280.jpg","text":"TemporaryFile(/tmp/multipartBody8448689330143898944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169734000,"filename":"image_29012025_12_22_14_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332706506","file1":"1332706501","file0":"1332706480","file4":"1332706561","file5":"1332706568","file3":"1332706544"},"map_files_photo_id_array":[{"photo_id":"1332706568","filename":"file5"},{"photo_id":"1332706506","filename":"file2"},{"photo_id":"1332706561","filename":"file4"},{"photo_id":"1332706501","filename":"file1"},{"photo_id":"1332706480","filename":"file0"},{"photo_id":"1332706544","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332706480":["hashtag1","hashtag2"]},{"1332706561":["hashtag1","hashtag2"]},{"1332706501":["hashtag1","hashtag2"]},{"1332706568":["hashtag1","hashtag2"]},{"1332706506":["hashtag1","hashtag2"]},{"1332706544":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332706480, 1332706561, 1332706501, 1332706568, 1332706506, 1332706544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17094135284424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:55:32.291162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/22/image_29012025_12_22_44_9444.jpg', '/home/pi/Desktop/images/29012025/12/22/image_29012025_12_22_55_10448.jpg', '/home/pi/Desktop/images/29012025/12/22/image_29012025_12_23_05_10343.jpg', '/home/pi/Desktop/images/29012025/12/23/image_29012025_12_23_14_9356.jpg', '/home/pi/Desktop/images/29012025/12/23/image_29012025_12_23_25_10394.jpg', '/home/pi/Desktop/images/29012025/12/23/image_29012025_12_23_34_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/22/image_29012025_12_22_44_9444.jpg
/home/pi/Desktop/images/29012025/12/22/image_29012025_12_22_55_10448.jpg
/home/pi/Desktop/images/29012025/12/22/image_29012025_12_23_05_10343.jpg
/home/pi/Desktop/images/29012025/12/23/image_29012025_12_23_14_9356.jpg
/home/pi/Desktop/images/29012025/12/23/image_29012025_12_23_25_10394.jpg
/home/pi/Desktop/images/29012025/12/23/image_29012025_12_23_34_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":["1332706795","1332706709","1332706615","1332706773","1332706824","1332706718"],"photo_ids_order":["1332706615","1332706709","1332706718","1332706773","1332706795","1332706824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4efc3417d895251b24a5ebc1076e9f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3217139770184234892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169793272,"filename":"image_29012025_12_23_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/29/0b9aa101128767a95d1c5c0772b44e42.jpg","text":"TemporaryFile(/tmp/multipartBody830972070023162563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169793272,"filename":"image_29012025_12_22_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/29/bd8120ee149e186f26f76dcd074a6ec6.jpg","text":"TemporaryFile(/tmp/multipartBody1383193569102313123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169793272,"filename":"image_29012025_12_22_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/29/b1261b91838bfca038ac13110f882277.jpg","text":"TemporaryFile(/tmp/multipartBody4122893260180351721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169793272,"filename":"image_29012025_12_23_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/29/c5ede11ee20b9f4fe18af8b4e9338a67.jpg","text":"TemporaryFile(/tmp/multipartBody5427394750167775319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169793272,"filename":"image_29012025_12_23_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/29/6ff41a785141e240510d8d0bc17672a6.jpg","text":"TemporaryFile(/tmp/multipartBody8527167834473718971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169793272,"filename":"image_29012025_12_23_05_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332706718","file1":"1332706709","file0":"1332706615","file4":"1332706795","file5":"1332706824","file3":"1332706773"},"map_files_photo_id_array":[{"photo_id":"1332706824","filename":"file5"},{"photo_id":"1332706718","filename":"file2"},{"photo_id":"1332706795","filename":"file4"},{"photo_id":"1332706709","filename":"file1"},{"photo_id":"1332706615","filename":"file0"},{"photo_id":"1332706773","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332706795":["hashtag1","hashtag2"]},{"1332706709":["hashtag1","hashtag2"]},{"1332706615":["hashtag1","hashtag2"]},{"1332706773":["hashtag1","hashtag2"]},{"1332706824":["hashtag1","hashtag2"]},{"1332706718":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332706795, 1332706709, 1332706615, 1332706773, 1332706824, 1332706718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.39703345298767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:56:32.591074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/23/image_29012025_12_23_44_10356.jpg', '/home/pi/Desktop/images/29012025/12/23/image_29012025_12_24_04_9354.jpg', '/home/pi/Desktop/images/29012025/12/24/image_29012025_12_24_15_10403.jpg', '/home/pi/Desktop/images/29012025/12/24/image_29012025_12_24_25_10341.jpg', '/home/pi/Desktop/images/29012025/12/24/image_29012025_12_25_04_10423.jpg', '/home/pi/Desktop/images/29012025/12/25/image_29012025_12_25_15_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/23/image_29012025_12_23_44_10356.jpg
/home/pi/Desktop/images/29012025/12/23/image_29012025_12_24_04_9354.jpg
/home/pi/Desktop/images/29012025/12/24/image_29012025_12_24_15_10403.jpg
/home/pi/Desktop/images/29012025/12/24/image_29012025_12_24_25_10341.jpg
/home/pi/Desktop/images/29012025/12/24/image_29012025_12_25_04_10423.jpg
/home/pi/Desktop/images/29012025/12/25/image_29012025_12_25_15_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":["1332706885","1332706903","1332707010","1332706851","1332706845","1332706891"],"photo_ids_order":["1332706845","1332706851","1332706885","1332706891","1332706903","1332707010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d090b3cb66229cde70ffca556c296f10.jpg","text":"TemporaryFile(/tmp/multipartBody2221718288857805526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169853567,"filename":"image_29012025_12_24_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/29/bb50a1a8bdc0ea3e465189b9ef4359a5.jpg","text":"TemporaryFile(/tmp/multipartBody3551560136902264174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169853567,"filename":"image_29012025_12_25_04_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/29/e02964375820cd5cb61e1df292794c69.jpg","text":"TemporaryFile(/tmp/multipartBody3928086782495707486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169853567,"filename":"image_29012025_12_25_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/29/ac6583b1d34ea4d4086cddb836c3f18f.jpg","text":"TemporaryFile(/tmp/multipartBody1782867937156809243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169853567,"filename":"image_29012025_12_24_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/29/ce9b2bea580da073576e1af6ed397b62.jpg","text":"TemporaryFile(/tmp/multipartBody319174800839112701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169853567,"filename":"image_29012025_12_23_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/29/7da1c4f1de2e873582c23c0bd43db6b5.jpg","text":"TemporaryFile(/tmp/multipartBody4387441793051480379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738169853567,"filename":"image_29012025_12_24_25_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332706885","file1":"1332706851","file0":"1332706845","file4":"1332706903","file5":"1332707010","file3":"1332706891"},"map_files_photo_id_array":[{"photo_id":"1332707010","filename":"file5"},{"photo_id":"1332706885","filename":"file2"},{"photo_id":"1332706903","filename":"file4"},{"photo_id":"1332706851","filename":"file1"},{"photo_id":"1332706845","filename":"file0"},{"photo_id":"1332706891","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332706885":["hashtag1","hashtag2"]},{"1332706903":["hashtag1","hashtag2"]},{"1332707010":["hashtag1","hashtag2"]},{"1332706851":["hashtag1","hashtag2"]},{"1332706845":["hashtag1","hashtag2"]},{"1332706891":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332706885, 1332706903, 1332707010, 1332706851, 1332706845, 1332706891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.774131298065186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:57:32.937931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/25/image_29012025_12_25_54_9400.jpg', '/home/pi/Desktop/images/29012025/12/25/image_29012025_12_26_05_10393.jpg', '/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_35_10349.jpg', '/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_44_9385.jpg', '/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_14_9426.jpg', '/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_25_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/25/image_29012025_12_25_54_9400.jpg
/home/pi/Desktop/images/29012025/12/25/image_29012025_12_26_05_10393.jpg
/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_35_10349.jpg
/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_44_9385.jpg
/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_14_9426.jpg
/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_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-29 17:59:03.954496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/25/image_29012025_12_25_54_9400.jpg', '/home/pi/Desktop/images/29012025/12/25/image_29012025_12_26_05_10393.jpg', '/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_35_10349.jpg', '/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_44_9385.jpg', '/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_14_9426.jpg', '/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_25_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/25/image_29012025_12_25_54_9400.jpg
/home/pi/Desktop/images/29012025/12/25/image_29012025_12_26_05_10393.jpg
/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_35_10349.jpg
/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_44_9385.jpg
/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_14_9426.jpg
/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_25_10373.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.5994994640350342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 17:59:32.439912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/25/image_29012025_12_25_54_9400.jpg', '/home/pi/Desktop/images/29012025/12/25/image_29012025_12_26_05_10393.jpg', '/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_35_10349.jpg', '/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_44_9385.jpg', '/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_14_9426.jpg', '/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_25_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/25/image_29012025_12_25_54_9400.jpg
/home/pi/Desktop/images/29012025/12/25/image_29012025_12_26_05_10393.jpg
/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_35_10349.jpg
/home/pi/Desktop/images/29012025/12/26/image_29012025_12_26_44_9385.jpg
/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_14_9426.jpg
/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_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":["1332708525","1332708530","1332708611","1332708521","1332708518","1332708535"],"photo_ids_order":["1332708518","1332708521","1332708525","1332708530","1332708535","1332708611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dcbc27cfc5d40974f169f89d46a11140.jpg","text":"TemporaryFile(/tmp/multipartBody7999812651643001583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170033332,"filename":"image_29012025_12_26_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/29/f34776e09eccff5f2eeceb7dc556c13d.jpg","text":"TemporaryFile(/tmp/multipartBody7278902590106847948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170033332,"filename":"image_29012025_12_26_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/29/1b221ea3138296e2b51cba8ea6d3b497.jpg","text":"TemporaryFile(/tmp/multipartBody935443451523896507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170033332,"filename":"image_29012025_12_27_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/29/70772e55678368781e282d562e30c659.jpg","text":"TemporaryFile(/tmp/multipartBody666000024524469575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170033332,"filename":"image_29012025_12_26_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/29/13875b7c9c99575416a4bca356ab39c3.jpg","text":"TemporaryFile(/tmp/multipartBody1523062357412051272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170033332,"filename":"image_29012025_12_25_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/29/67b993a4341ca3cd1aa23295988b7165.jpg","text":"TemporaryFile(/tmp/multipartBody5905858229453420110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170033332,"filename":"image_29012025_12_27_14_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332708525","file1":"1332708521","file0":"1332708518","file4":"1332708535","file5":"1332708611","file3":"1332708530"},"map_files_photo_id_array":[{"photo_id":"1332708611","filename":"file5"},{"photo_id":"1332708525","filename":"file2"},{"photo_id":"1332708535","filename":"file4"},{"photo_id":"1332708521","filename":"file1"},{"photo_id":"1332708518","filename":"file0"},{"photo_id":"1332708530","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332708525":["hashtag1","hashtag2"]},{"1332708530":["hashtag1","hashtag2"]},{"1332708611":["hashtag1","hashtag2"]},{"1332708521":["hashtag1","hashtag2"]},{"1332708518":["hashtag1","hashtag2"]},{"1332708535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332708525, 1332708530, 1332708611, 1332708521, 1332708518, 1332708535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54997491836548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:00:32.445244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_34_9460.jpg', '/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_44_10354.jpg', '/home/pi/Desktop/images/29012025/12/28/image_29012025_12_28_15_10422.jpg', '/home/pi/Desktop/images/29012025/12/28/image_29012025_12_28_24_9327.jpg', '/home/pi/Desktop/images/29012025/12/28/image_29012025_12_28_34_10415.jpg', '/home/pi/Desktop/images/29012025/12/28/image_29012025_12_29_04_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_34_9460.jpg
/home/pi/Desktop/images/29012025/12/27/image_29012025_12_27_44_10354.jpg
/home/pi/Desktop/images/29012025/12/28/image_29012025_12_28_15_10422.jpg
/home/pi/Desktop/images/29012025/12/28/image_29012025_12_28_24_9327.jpg
/home/pi/Desktop/images/29012025/12/28/image_29012025_12_28_34_10415.jpg
/home/pi/Desktop/images/29012025/12/28/image_29012025_12_29_04_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":["1332708744","1332708948","1332708752","1332708746","1332708877","1332708742"],"photo_ids_order":["1332708742","1332708744","1332708746","1332708752","1332708877","1332708948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d901787b979daedd116e4d882df7e8ee.jpg","text":"TemporaryFile(/tmp/multipartBody8075882598646599359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170093417,"filename":"image_29012025_12_27_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/29/5dce06ed2111d816c0e484a32b76cd38.jpg","text":"TemporaryFile(/tmp/multipartBody6024016022854594750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170093417,"filename":"image_29012025_12_29_04_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/29/a0a486fd0426e90f51022dc95b9b56bc.jpg","text":"TemporaryFile(/tmp/multipartBody7795984206283661350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170093417,"filename":"image_29012025_12_28_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/29/e93f06fc806db3ed4106756882b515c2.jpg","text":"TemporaryFile(/tmp/multipartBody25502477320218861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170093417,"filename":"image_29012025_12_28_15_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/29/ad64b8f390dfac7ffce3b2521a3644af.jpg","text":"TemporaryFile(/tmp/multipartBody2372630092709563327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170093417,"filename":"image_29012025_12_28_34_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/29/2d75a8dfe39a0162a884cf75bdbf2bf9.jpg","text":"TemporaryFile(/tmp/multipartBody8855004443766653742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170093417,"filename":"image_29012025_12_27_34_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332708746","file1":"1332708744","file0":"1332708742","file4":"1332708877","file5":"1332708948","file3":"1332708752"},"map_files_photo_id_array":[{"photo_id":"1332708948","filename":"file5"},{"photo_id":"1332708746","filename":"file2"},{"photo_id":"1332708877","filename":"file4"},{"photo_id":"1332708744","filename":"file1"},{"photo_id":"1332708742","filename":"file0"},{"photo_id":"1332708752","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332708744":["hashtag1","hashtag2"]},{"1332708948":["hashtag1","hashtag2"]},{"1332708752":["hashtag1","hashtag2"]},{"1332708746":["hashtag1","hashtag2"]},{"1332708877":["hashtag1","hashtag2"]},{"1332708742":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332708744, 1332708948, 1332708752, 1332708746, 1332708877, 1332708742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.81595468521118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:01:32.719139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/29/image_29012025_12_29_15_10375.jpg', '/home/pi/Desktop/images/29012025/12/29/image_29012025_12_29_24_9415.jpg', '/home/pi/Desktop/images/29012025/12/29/image_29012025_12_29_35_10432.jpg', '/home/pi/Desktop/images/29012025/12/29/image_29012025_12_29_44_9393.jpg', '/home/pi/Desktop/images/29012025/12/29/image_29012025_12_29_54_10347.jpg', '/home/pi/Desktop/images/29012025/12/29/image_29012025_12_30_05_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/29/image_29012025_12_29_15_10375.jpg
/home/pi/Desktop/images/29012025/12/29/image_29012025_12_29_24_9415.jpg
/home/pi/Desktop/images/29012025/12/29/image_29012025_12_29_35_10432.jpg
/home/pi/Desktop/images/29012025/12/29/image_29012025_12_29_44_9393.jpg
/home/pi/Desktop/images/29012025/12/29/image_29012025_12_29_54_10347.jpg
/home/pi/Desktop/images/29012025/12/29/image_29012025_12_30_05_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332708987","1332708998","1332709214","1332709084","1332708994","1332709138"],"photo_ids_order":["1332708987","1332708994","1332708998","1332709084","1332709138","1332709214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/22aa3a2945880f299ec0d28de046b0da.jpg","text":"TemporaryFile(/tmp/multipartBody7583607021497625800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170153693,"filename":"image_29012025_12_29_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/29/a1ba2b7c496d75057348a45425d8fa33.jpg","text":"TemporaryFile(/tmp/multipartBody6587700660829373776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170153693,"filename":"image_29012025_12_29_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/29/20b0c8e0d50744ba9267661961bb5c9b.jpg","text":"TemporaryFile(/tmp/multipartBody2858659530512942056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170153693,"filename":"image_29012025_12_30_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/29/43eaa8be680c6d8be475729de8e57b5c.jpg","text":"TemporaryFile(/tmp/multipartBody2702692455117979345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170153693,"filename":"image_29012025_12_29_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/29/fe2959cdb1d46829d13f6c0af4386dd6.jpg","text":"TemporaryFile(/tmp/multipartBody1853067663269133716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170153693,"filename":"image_29012025_12_29_24_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/29/71eea2eaa7b13f2f945e7e74c8a33a5f.jpg","text":"TemporaryFile(/tmp/multipartBody9208112561233087910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170153693,"filename":"image_29012025_12_29_54_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332708998","file1":"1332708994","file0":"1332708987","file4":"1332709138","file5":"1332709214","file3":"1332709084"},"map_files_photo_id_array":[{"photo_id":"1332709214","filename":"file5"},{"photo_id":"1332708998","filename":"file2"},{"photo_id":"1332709138","filename":"file4"},{"photo_id":"1332708994","filename":"file1"},{"photo_id":"1332708987","filename":"file0"},{"photo_id":"1332709084","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332708987":["hashtag1","hashtag2"]},{"1332708998":["hashtag1","hashtag2"]},{"1332709214":["hashtag1","hashtag2"]},{"1332709084":["hashtag1","hashtag2"]},{"1332708994":["hashtag1","hashtag2"]},{"1332709138":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332708987, 1332708998, 1332709214, 1332709084, 1332708994, 1332709138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29943132400513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:02:32.930512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/30/image_29012025_12_30_14_9352.jpg', '/home/pi/Desktop/images/29012025/12/30/image_29012025_12_30_25_10345.jpg', '/home/pi/Desktop/images/29012025/12/30/image_29012025_12_30_34_9498.jpg', '/home/pi/Desktop/images/29012025/12/30/image_29012025_12_30_44_10335.jpg', '/home/pi/Desktop/images/29012025/12/30/image_29012025_12_30_55_10336.jpg', '/home/pi/Desktop/images/29012025/12/30/image_29012025_12_31_04_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/30/image_29012025_12_30_14_9352.jpg
/home/pi/Desktop/images/29012025/12/30/image_29012025_12_30_25_10345.jpg
/home/pi/Desktop/images/29012025/12/30/image_29012025_12_30_34_9498.jpg
/home/pi/Desktop/images/29012025/12/30/image_29012025_12_30_44_10335.jpg
/home/pi/Desktop/images/29012025/12/30/image_29012025_12_30_55_10336.jpg
/home/pi/Desktop/images/29012025/12/30/image_29012025_12_31_04_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":["1332709404","1332709469","1332709399","1332709471","1332709459","1332709366"],"photo_ids_order":["1332709366","1332709399","1332709404","1332709459","1332709469","1332709471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c4d0666eb85d0683e4fd1c03dc413272.jpg","text":"TemporaryFile(/tmp/multipartBody1320382981378057033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170213899,"filename":"image_29012025_12_30_34_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/29/c152c6fbd7f047c5641f87ed4b9c0be2.jpg","text":"TemporaryFile(/tmp/multipartBody3037865581488784864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170213899,"filename":"image_29012025_12_30_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/29/29f38830e47625d31e1bf2bba35c162c.jpg","text":"TemporaryFile(/tmp/multipartBody1772918720125746414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170213899,"filename":"image_29012025_12_30_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/29/18fdd617a1a1be90d63e3391cfd68c77.jpg","text":"TemporaryFile(/tmp/multipartBody5499426691584656051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170213899,"filename":"image_29012025_12_31_04_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/29/49f4f5b86a75a08101cfc826aa9339c5.jpg","text":"TemporaryFile(/tmp/multipartBody6567547975777072048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170213899,"filename":"image_29012025_12_30_44_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/29/6f8f15b78a35eb61c8fdc607503b8a48.jpg","text":"TemporaryFile(/tmp/multipartBody9308282878412534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170213899,"filename":"image_29012025_12_30_14_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332709404","file1":"1332709399","file0":"1332709366","file4":"1332709469","file5":"1332709471","file3":"1332709459"},"map_files_photo_id_array":[{"photo_id":"1332709471","filename":"file5"},{"photo_id":"1332709404","filename":"file2"},{"photo_id":"1332709469","filename":"file4"},{"photo_id":"1332709399","filename":"file1"},{"photo_id":"1332709366","filename":"file0"},{"photo_id":"1332709459","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332709404":["hashtag1","hashtag2"]},{"1332709469":["hashtag1","hashtag2"]},{"1332709399":["hashtag1","hashtag2"]},{"1332709471":["hashtag1","hashtag2"]},{"1332709459":["hashtag1","hashtag2"]},{"1332709366":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332709404, 1332709469, 1332709399, 1332709471, 1332709459, 1332709366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.805224895477295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:03:32.227870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/31/image_29012025_12_31_15_10449.jpg', '/home/pi/Desktop/images/29012025/12/31/image_29012025_12_31_24_9405.jpg', '/home/pi/Desktop/images/29012025/12/31/image_29012025_12_31_34_10390.jpg', '/home/pi/Desktop/images/29012025/12/31/image_29012025_12_31_45_10410.jpg', '/home/pi/Desktop/images/29012025/12/31/image_29012025_12_32_05_10331.jpg', '/home/pi/Desktop/images/29012025/12/32/image_29012025_12_32_15_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/31/image_29012025_12_31_15_10449.jpg
/home/pi/Desktop/images/29012025/12/31/image_29012025_12_31_24_9405.jpg
/home/pi/Desktop/images/29012025/12/31/image_29012025_12_31_34_10390.jpg
/home/pi/Desktop/images/29012025/12/31/image_29012025_12_31_45_10410.jpg
/home/pi/Desktop/images/29012025/12/31/image_29012025_12_32_05_10331.jpg
/home/pi/Desktop/images/29012025/12/32/image_29012025_12_32_15_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":["1332710901","1332710907","1332710876","1332710684","1332710879","1332710905"],"photo_ids_order":["1332710684","1332710876","1332710879","1332710901","1332710905","1332710907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/501f40164180bad8d7e9474f03c6b99c.jpg","text":"TemporaryFile(/tmp/multipartBody8919483859713693431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170273205,"filename":"image_29012025_12_31_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/29/794d23b1a02825b4b32286c1232f9cff.jpg","text":"TemporaryFile(/tmp/multipartBody4202284779965113071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170273205,"filename":"image_29012025_12_32_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/29/e7fd9f75fd16979ae68c09d11b0f0f84.jpg","text":"TemporaryFile(/tmp/multipartBody5504824733652209845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170273205,"filename":"image_29012025_12_31_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/29/7311a5a0bc2ee984bf74d2a6243c2c8b.jpg","text":"TemporaryFile(/tmp/multipartBody8828011587113476941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170273205,"filename":"image_29012025_12_31_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/29/27c5ab2e2c091bf09755c65280c081e9.jpg","text":"TemporaryFile(/tmp/multipartBody4289458806601649693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170273205,"filename":"image_29012025_12_31_34_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/29/9235b39cab7e25fb05b5f29388ad097e.jpg","text":"TemporaryFile(/tmp/multipartBody4256153125227982268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170273205,"filename":"image_29012025_12_32_05_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332710879","file1":"1332710876","file0":"1332710684","file4":"1332710905","file5":"1332710907","file3":"1332710901"},"map_files_photo_id_array":[{"photo_id":"1332710907","filename":"file5"},{"photo_id":"1332710879","filename":"file2"},{"photo_id":"1332710905","filename":"file4"},{"photo_id":"1332710876","filename":"file1"},{"photo_id":"1332710684","filename":"file0"},{"photo_id":"1332710901","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332710901":["hashtag1","hashtag2"]},{"1332710907":["hashtag1","hashtag2"]},{"1332710876":["hashtag1","hashtag2"]},{"1332710684":["hashtag1","hashtag2"]},{"1332710879":["hashtag1","hashtag2"]},{"1332710905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332710901, 1332710907, 1332710876, 1332710684, 1332710879, 1332710905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.893009424209595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:04:32.440625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/32/image_29012025_12_32_24_9433.jpg', '/home/pi/Desktop/images/29012025/12/32/image_29012025_12_32_35_10368.jpg', '/home/pi/Desktop/images/29012025/12/32/image_29012025_12_32_44_9435.jpg', '/home/pi/Desktop/images/29012025/12/32/image_29012025_12_32_54_10359.jpg', '/home/pi/Desktop/images/29012025/12/32/image_29012025_12_33_05_10350.jpg', '/home/pi/Desktop/images/29012025/12/33/image_29012025_12_33_14_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/32/image_29012025_12_32_24_9433.jpg
/home/pi/Desktop/images/29012025/12/32/image_29012025_12_32_35_10368.jpg
/home/pi/Desktop/images/29012025/12/32/image_29012025_12_32_44_9435.jpg
/home/pi/Desktop/images/29012025/12/32/image_29012025_12_32_54_10359.jpg
/home/pi/Desktop/images/29012025/12/32/image_29012025_12_33_05_10350.jpg
/home/pi/Desktop/images/29012025/12/33/image_29012025_12_33_14_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332710958","1332710955","1332710957","1332710951","1332710947","1332710959"],"photo_ids_order":["1332710947","1332710951","1332710955","1332710957","1332710958","1332710959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ff08a21db9cabc3c0d61c0b6dcd3ce7c.jpg","text":"TemporaryFile(/tmp/multipartBody2825281085101921445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170333407,"filename":"image_29012025_12_33_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/29/d843eb77b205d0186211dc8f57789367.jpg","text":"TemporaryFile(/tmp/multipartBody1860143004820081392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170333407,"filename":"image_29012025_12_32_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/29/70b4547a000abd2bddd11a580390c28b.jpg","text":"TemporaryFile(/tmp/multipartBody2341752562209930949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170333407,"filename":"image_29012025_12_32_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/29/ddde86f5cf7685d92274cbecceec2192.jpg","text":"TemporaryFile(/tmp/multipartBody2372731779045057166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170333407,"filename":"image_29012025_12_32_35_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/29/44606b300c8e70a3a008cfcd5ff13be7.jpg","text":"TemporaryFile(/tmp/multipartBody8802979699787196047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170333407,"filename":"image_29012025_12_32_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/29/974f9a36a4a76c7905f999f57753478b.jpg","text":"TemporaryFile(/tmp/multipartBody69586083274162728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170333407,"filename":"image_29012025_12_33_14_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332710955","file1":"1332710951","file0":"1332710947","file4":"1332710958","file5":"1332710959","file3":"1332710957"},"map_files_photo_id_array":[{"photo_id":"1332710959","filename":"file5"},{"photo_id":"1332710955","filename":"file2"},{"photo_id":"1332710958","filename":"file4"},{"photo_id":"1332710951","filename":"file1"},{"photo_id":"1332710947","filename":"file0"},{"photo_id":"1332710957","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332710958":["hashtag1","hashtag2"]},{"1332710955":["hashtag1","hashtag2"]},{"1332710957":["hashtag1","hashtag2"]},{"1332710951":["hashtag1","hashtag2"]},{"1332710947":["hashtag1","hashtag2"]},{"1332710959":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332710958, 1332710955, 1332710957, 1332710951, 1332710947, 1332710959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.977094411849976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:05:32.748739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/33/image_29012025_12_33_25_10334.jpg', '/home/pi/Desktop/images/29012025/12/33/image_29012025_12_33_34_9456.jpg', '/home/pi/Desktop/images/29012025/12/33/image_29012025_12_33_44_10412.jpg', '/home/pi/Desktop/images/29012025/12/33/image_29012025_12_33_55_10351.jpg', '/home/pi/Desktop/images/29012025/12/33/image_29012025_12_34_04_9354.jpg', '/home/pi/Desktop/images/29012025/12/34/image_29012025_12_34_15_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/33/image_29012025_12_33_25_10334.jpg
/home/pi/Desktop/images/29012025/12/33/image_29012025_12_33_34_9456.jpg
/home/pi/Desktop/images/29012025/12/33/image_29012025_12_33_44_10412.jpg
/home/pi/Desktop/images/29012025/12/33/image_29012025_12_33_55_10351.jpg
/home/pi/Desktop/images/29012025/12/33/image_29012025_12_34_04_9354.jpg
/home/pi/Desktop/images/29012025/12/34/image_29012025_12_34_15_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":["1332712212","1332712199","1332712151","1332712214","1332711863","1332712216"],"photo_ids_order":["1332711863","1332712151","1332712199","1332712212","1332712214","1332712216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e5de5da6f1e9a8d51df490144018a6a5.jpg","text":"TemporaryFile(/tmp/multipartBody2874069417155173868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170393710,"filename":"image_29012025_12_33_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/29/ef411d484e399e5b8d9a3d59918c5370.jpg","text":"TemporaryFile(/tmp/multipartBody108229851892260726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170393710,"filename":"image_29012025_12_33_44_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/29/5e54e208f2f8b27ab0183a97e7aed29f.jpg","text":"TemporaryFile(/tmp/multipartBody716978962011231362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170393710,"filename":"image_29012025_12_33_34_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/29/dc5fbbd5bd6a351a3ca748d80464b69b.jpg","text":"TemporaryFile(/tmp/multipartBody1064084379314870851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170393710,"filename":"image_29012025_12_34_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/29/44f08d38f18948b416d7775cd678d8d7.jpg","text":"TemporaryFile(/tmp/multipartBody1791066396928676681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170393710,"filename":"image_29012025_12_33_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/29/f0244d7c59ea337b8d7bc17bc6e0df9f.jpg","text":"TemporaryFile(/tmp/multipartBody4492815014748448245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170393710,"filename":"image_29012025_12_34_15_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332712199","file1":"1332712151","file0":"1332711863","file4":"1332712214","file5":"1332712216","file3":"1332712212"},"map_files_photo_id_array":[{"photo_id":"1332712216","filename":"file5"},{"photo_id":"1332712199","filename":"file2"},{"photo_id":"1332712214","filename":"file4"},{"photo_id":"1332712151","filename":"file1"},{"photo_id":"1332711863","filename":"file0"},{"photo_id":"1332712212","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332712212":["hashtag1","hashtag2"]},{"1332712199":["hashtag1","hashtag2"]},{"1332712151":["hashtag1","hashtag2"]},{"1332712214":["hashtag1","hashtag2"]},{"1332711863":["hashtag1","hashtag2"]},{"1332712216":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332712212, 1332712199, 1332712151, 1332712214, 1332711863, 1332712216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.52698469161987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:06:32.976313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/34/image_29012025_12_34_24_9396.jpg', '/home/pi/Desktop/images/29012025/12/34/image_29012025_12_34_34_10341.jpg', '/home/pi/Desktop/images/29012025/12/34/image_29012025_12_34_45_10338.jpg', '/home/pi/Desktop/images/29012025/12/34/image_29012025_12_34_54_9339.jpg', '/home/pi/Desktop/images/29012025/12/34/image_29012025_12_35_04_10363.jpg', '/home/pi/Desktop/images/29012025/12/35/image_29012025_12_35_15_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/34/image_29012025_12_34_24_9396.jpg
/home/pi/Desktop/images/29012025/12/34/image_29012025_12_34_34_10341.jpg
/home/pi/Desktop/images/29012025/12/34/image_29012025_12_34_45_10338.jpg
/home/pi/Desktop/images/29012025/12/34/image_29012025_12_34_54_9339.jpg
/home/pi/Desktop/images/29012025/12/34/image_29012025_12_35_04_10363.jpg
/home/pi/Desktop/images/29012025/12/35/image_29012025_12_35_15_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":["1332712817","1332712789","1332712858","1332712843","1332712930","1332712608"],"photo_ids_order":["1332712608","1332712789","1332712817","1332712843","1332712858","1332712930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/29a351201413ddfefc6fe9944e9ce9c5.jpg","text":"TemporaryFile(/tmp/multipartBody1427191059163912654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170453957,"filename":"image_29012025_12_34_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/29/c5bbfb54a3c3b6bd9f8f27c975f60d35.jpg","text":"TemporaryFile(/tmp/multipartBody2221803099297191889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170453957,"filename":"image_29012025_12_34_34_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/29/2430cb2b4734bf729427270af4c862b2.jpg","text":"TemporaryFile(/tmp/multipartBody5589572208365721129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170453957,"filename":"image_29012025_12_35_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/29/e7d779c2f5813c20e118213c1ebd44ce.jpg","text":"TemporaryFile(/tmp/multipartBody5858009434858037538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170453957,"filename":"image_29012025_12_34_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/29/d1d782ae402eafac571c36dec1c5e0bc.jpg","text":"TemporaryFile(/tmp/multipartBody2679977245896494300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170453957,"filename":"image_29012025_12_35_15_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/29/17c8e84b43d99eea28e4b5a1d86de19c.jpg","text":"TemporaryFile(/tmp/multipartBody5099087073774440166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170453957,"filename":"image_29012025_12_34_24_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332712817","file1":"1332712789","file0":"1332712608","file4":"1332712858","file5":"1332712930","file3":"1332712843"},"map_files_photo_id_array":[{"photo_id":"1332712930","filename":"file5"},{"photo_id":"1332712817","filename":"file2"},{"photo_id":"1332712858","filename":"file4"},{"photo_id":"1332712789","filename":"file1"},{"photo_id":"1332712608","filename":"file0"},{"photo_id":"1332712843","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332712817":["hashtag1","hashtag2"]},{"1332712789":["hashtag1","hashtag2"]},{"1332712858":["hashtag1","hashtag2"]},{"1332712843":["hashtag1","hashtag2"]},{"1332712930":["hashtag1","hashtag2"]},{"1332712608":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332712817, 1332712789, 1332712858, 1332712843, 1332712930, 1332712608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.41085720062256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:07:32.258599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/35/image_29012025_12_35_24_9464.jpg', '/home/pi/Desktop/images/29012025/12/35/image_29012025_12_35_35_10443.jpg', '/home/pi/Desktop/images/29012025/12/35/image_29012025_12_35_44_9351.jpg', '/home/pi/Desktop/images/29012025/12/35/image_29012025_12_35_54_10353.jpg', '/home/pi/Desktop/images/29012025/12/35/image_29012025_12_36_05_10358.jpg', '/home/pi/Desktop/images/29012025/12/36/image_29012025_12_36_14_9454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/35/image_29012025_12_35_24_9464.jpg
/home/pi/Desktop/images/29012025/12/35/image_29012025_12_35_35_10443.jpg
/home/pi/Desktop/images/29012025/12/35/image_29012025_12_35_44_9351.jpg
/home/pi/Desktop/images/29012025/12/35/image_29012025_12_35_54_10353.jpg
/home/pi/Desktop/images/29012025/12/35/image_29012025_12_36_05_10358.jpg
/home/pi/Desktop/images/29012025/12/36/image_29012025_12_36_14_9454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332712961","1332712952","1332712948","1332712965","1332712968","1332712956"],"photo_ids_order":["1332712948","1332712952","1332712956","1332712961","1332712965","1332712968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/682f99d852b458de71ab80aec22edf78.jpg","text":"TemporaryFile(/tmp/multipartBody7895940095711536967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170513229,"filename":"image_29012025_12_35_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/29/dd3bbeeeb8cf4e4a41e7eb4e2f88175f.jpg","text":"TemporaryFile(/tmp/multipartBody7726324818997298352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170513229,"filename":"image_29012025_12_35_35_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/29/5b8c958b9f7b1b97182dbcda8de6da90.jpg","text":"TemporaryFile(/tmp/multipartBody8613534668044425401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170513229,"filename":"image_29012025_12_35_24_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/29/1d4a3d52ea3636acc7a83e165e5521ea.jpg","text":"TemporaryFile(/tmp/multipartBody621769327441561221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170513229,"filename":"image_29012025_12_36_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/29/276ee819ec5de8ef71fb85bd41a1c590.jpg","text":"TemporaryFile(/tmp/multipartBody8850516396280798073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170513229,"filename":"image_29012025_12_36_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/29/bab300d4b90f757d8a40dfd89fc49e4e.jpg","text":"TemporaryFile(/tmp/multipartBody1889679234966144292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170513229,"filename":"image_29012025_12_35_44_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332712956","file1":"1332712952","file0":"1332712948","file4":"1332712965","file5":"1332712968","file3":"1332712961"},"map_files_photo_id_array":[{"photo_id":"1332712968","filename":"file5"},{"photo_id":"1332712956","filename":"file2"},{"photo_id":"1332712965","filename":"file4"},{"photo_id":"1332712952","filename":"file1"},{"photo_id":"1332712948","filename":"file0"},{"photo_id":"1332712961","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332712961":["hashtag1","hashtag2"]},{"1332712952":["hashtag1","hashtag2"]},{"1332712948":["hashtag1","hashtag2"]},{"1332712965":["hashtag1","hashtag2"]},{"1332712968":["hashtag1","hashtag2"]},{"1332712956":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332712961, 1332712952, 1332712948, 1332712965, 1332712968, 1332712956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75776767730713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:08:32.457396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/36/image_29012025_12_36_24_10336.jpg', '/home/pi/Desktop/images/29012025/12/36/image_29012025_12_36_35_10458.jpg', '/home/pi/Desktop/images/29012025/12/36/image_29012025_12_36_44_9443.jpg', '/home/pi/Desktop/images/29012025/12/36/image_29012025_12_36_55_10387.jpg', '/home/pi/Desktop/images/29012025/12/36/image_29012025_12_37_04_9493.jpg', '/home/pi/Desktop/images/29012025/12/37/image_29012025_12_37_15_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/36/image_29012025_12_36_24_10336.jpg
/home/pi/Desktop/images/29012025/12/36/image_29012025_12_36_35_10458.jpg
/home/pi/Desktop/images/29012025/12/36/image_29012025_12_36_44_9443.jpg
/home/pi/Desktop/images/29012025/12/36/image_29012025_12_36_55_10387.jpg
/home/pi/Desktop/images/29012025/12/36/image_29012025_12_37_04_9493.jpg
/home/pi/Desktop/images/29012025/12/37/image_29012025_12_37_15_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":["1332713051","1332713054","1332713036","1332713041","1332713067","1332713022"],"photo_ids_order":["1332713022","1332713036","1332713041","1332713051","1332713054","1332713067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/89c47cb8bba825867e67b88ae14dad5e.jpg","text":"TemporaryFile(/tmp/multipartBody9130155043334749805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170573437,"filename":"image_29012025_12_36_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/29/83d9e3b231477b0fb61784cf29616d67.jpg","text":"TemporaryFile(/tmp/multipartBody4242668330607687131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170573437,"filename":"image_29012025_12_37_04_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/29/9a87ccbc42ff99f78f7690aea1df12ba.jpg","text":"TemporaryFile(/tmp/multipartBody7612694054528625310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170573437,"filename":"image_29012025_12_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/29/c303e8fb99a375a6d49aa9bdc2d3d730.jpg","text":"TemporaryFile(/tmp/multipartBody7179097009291645007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170573437,"filename":"image_29012025_12_36_44_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/29/5dc7479a9ae17808671ef37d9f340ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4946510672679243782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170573437,"filename":"image_29012025_12_37_15_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/29/0a449c0850d35d640740f4f2c7192dff.jpg","text":"TemporaryFile(/tmp/multipartBody6565843898257916797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170573437,"filename":"image_29012025_12_36_24_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332713041","file1":"1332713036","file0":"1332713022","file4":"1332713054","file5":"1332713067","file3":"1332713051"},"map_files_photo_id_array":[{"photo_id":"1332713067","filename":"file5"},{"photo_id":"1332713041","filename":"file2"},{"photo_id":"1332713054","filename":"file4"},{"photo_id":"1332713036","filename":"file1"},{"photo_id":"1332713022","filename":"file0"},{"photo_id":"1332713051","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332713051":["hashtag1","hashtag2"]},{"1332713054":["hashtag1","hashtag2"]},{"1332713036":["hashtag1","hashtag2"]},{"1332713041":["hashtag1","hashtag2"]},{"1332713067":["hashtag1","hashtag2"]},{"1332713022":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332713051, 1332713054, 1332713036, 1332713041, 1332713067, 1332713022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.056275367736816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:09:32.852680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/37/image_29012025_12_37_24_9349.jpg', '/home/pi/Desktop/images/29012025/12/37/image_29012025_12_37_34_10399.jpg', '/home/pi/Desktop/images/29012025/12/37/image_29012025_12_37_45_10406.jpg', '/home/pi/Desktop/images/29012025/12/37/image_29012025_12_37_54_9475.jpg', '/home/pi/Desktop/images/29012025/12/37/image_29012025_12_38_05_10383.jpg', '/home/pi/Desktop/images/29012025/12/38/image_29012025_12_38_14_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/37/image_29012025_12_37_24_9349.jpg
/home/pi/Desktop/images/29012025/12/37/image_29012025_12_37_34_10399.jpg
/home/pi/Desktop/images/29012025/12/37/image_29012025_12_37_45_10406.jpg
/home/pi/Desktop/images/29012025/12/37/image_29012025_12_37_54_9475.jpg
/home/pi/Desktop/images/29012025/12/37/image_29012025_12_38_05_10383.jpg
/home/pi/Desktop/images/29012025/12/38/image_29012025_12_38_14_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":["1332713270","1332713108","1332713315","1332713275","1332713113","1332713118"],"photo_ids_order":["1332713108","1332713113","1332713118","1332713270","1332713275","1332713315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/012a7db492081c325207e631c73e2674.jpg","text":"TemporaryFile(/tmp/multipartBody4327180025785622824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170633807,"filename":"image_29012025_12_37_54_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/29/e4f7dac98a7d10f7ed374269ca0c5e22.jpg","text":"TemporaryFile(/tmp/multipartBody6590632427375131905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170633807,"filename":"image_29012025_12_37_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/29/bd71cd9c7ed45b735541bb480cdbaa2d.jpg","text":"TemporaryFile(/tmp/multipartBody2854990129414770537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170633807,"filename":"image_29012025_12_38_14_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/29/f40dc920f6f64b425b782bd0e9c0f6d0.jpg","text":"TemporaryFile(/tmp/multipartBody5564810573240933267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170633807,"filename":"image_29012025_12_38_05_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/29/f4b4eb2c4613898af764d47dbe2fbe7a.jpg","text":"TemporaryFile(/tmp/multipartBody2964518413371059500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170633807,"filename":"image_29012025_12_37_34_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/29/155cc84f10eb715fe61967541c1720cb.jpg","text":"TemporaryFile(/tmp/multipartBody6512495163593224243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170633807,"filename":"image_29012025_12_37_45_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332713118","file1":"1332713113","file0":"1332713108","file4":"1332713275","file5":"1332713315","file3":"1332713270"},"map_files_photo_id_array":[{"photo_id":"1332713315","filename":"file5"},{"photo_id":"1332713118","filename":"file2"},{"photo_id":"1332713275","filename":"file4"},{"photo_id":"1332713113","filename":"file1"},{"photo_id":"1332713108","filename":"file0"},{"photo_id":"1332713270","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332713270":["hashtag1","hashtag2"]},{"1332713108":["hashtag1","hashtag2"]},{"1332713315":["hashtag1","hashtag2"]},{"1332713275":["hashtag1","hashtag2"]},{"1332713113":["hashtag1","hashtag2"]},{"1332713118":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332713270, 1332713108, 1332713315, 1332713275, 1332713113, 1332713118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46653413772583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:10:33.110702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/38/image_29012025_12_38_24_10344.jpg', '/home/pi/Desktop/images/29012025/12/38/image_29012025_12_38_35_10400.jpg', '/home/pi/Desktop/images/29012025/12/38/image_29012025_12_38_44_9402.jpg', '/home/pi/Desktop/images/29012025/12/38/image_29012025_12_38_54_10334.jpg', '/home/pi/Desktop/images/29012025/12/38/image_29012025_12_39_05_10362.jpg', '/home/pi/Desktop/images/29012025/12/39/image_29012025_12_39_14_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/38/image_29012025_12_38_24_10344.jpg
/home/pi/Desktop/images/29012025/12/38/image_29012025_12_38_35_10400.jpg
/home/pi/Desktop/images/29012025/12/38/image_29012025_12_38_44_9402.jpg
/home/pi/Desktop/images/29012025/12/38/image_29012025_12_38_54_10334.jpg
/home/pi/Desktop/images/29012025/12/38/image_29012025_12_39_05_10362.jpg
/home/pi/Desktop/images/29012025/12/39/image_29012025_12_39_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":["1332713441","1332713423","1332713417","1332713443","1332713431","1332713436"],"photo_ids_order":["1332713417","1332713423","1332713431","1332713436","1332713441","1332713443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c4b073ca5d7117206bc35db52ea6cfaa.jpg","text":"TemporaryFile(/tmp/multipartBody7765338394806698842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170694073,"filename":"image_29012025_12_39_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/29/6b77ec96442d80564e8f437047e3ec0f.jpg","text":"TemporaryFile(/tmp/multipartBody3883936151953971707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170694073,"filename":"image_29012025_12_38_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/29/6003305e1afff6420c37514c2e0ab980.jpg","text":"TemporaryFile(/tmp/multipartBody6373681745442886789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170694073,"filename":"image_29012025_12_38_24_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/29/d0ebadcfa85c33114c60a4620c7b1f40.jpg","text":"TemporaryFile(/tmp/multipartBody3506409079777129515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170694073,"filename":"image_29012025_12_39_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/29/8f002079ab2c455692c982b0b82914f9.jpg","text":"TemporaryFile(/tmp/multipartBody2307733093598094402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170694073,"filename":"image_29012025_12_38_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/29/13e2406edb58d099fc2c0428d6e81263.jpg","text":"TemporaryFile(/tmp/multipartBody7454529002204792108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170694073,"filename":"image_29012025_12_38_54_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332713431","file1":"1332713423","file0":"1332713417","file4":"1332713441","file5":"1332713443","file3":"1332713436"},"map_files_photo_id_array":[{"photo_id":"1332713443","filename":"file5"},{"photo_id":"1332713431","filename":"file2"},{"photo_id":"1332713441","filename":"file4"},{"photo_id":"1332713423","filename":"file1"},{"photo_id":"1332713417","filename":"file0"},{"photo_id":"1332713436","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332713441":["hashtag1","hashtag2"]},{"1332713423":["hashtag1","hashtag2"]},{"1332713417":["hashtag1","hashtag2"]},{"1332713443":["hashtag1","hashtag2"]},{"1332713431":["hashtag1","hashtag2"]},{"1332713436":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332713441, 1332713423, 1332713417, 1332713443, 1332713431, 1332713436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60767650604248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:11:32.226102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/39/image_29012025_12_39_25_10342.jpg', '/home/pi/Desktop/images/29012025/12/39/image_29012025_12_39_34_9447.jpg', '/home/pi/Desktop/images/29012025/12/39/image_29012025_12_39_44_10345.jpg', '/home/pi/Desktop/images/29012025/12/39/image_29012025_12_39_55_10346.jpg', '/home/pi/Desktop/images/29012025/12/39/image_29012025_12_40_04_9336.jpg', '/home/pi/Desktop/images/29012025/12/40/image_29012025_12_40_14_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/39/image_29012025_12_39_25_10342.jpg
/home/pi/Desktop/images/29012025/12/39/image_29012025_12_39_34_9447.jpg
/home/pi/Desktop/images/29012025/12/39/image_29012025_12_39_44_10345.jpg
/home/pi/Desktop/images/29012025/12/39/image_29012025_12_39_55_10346.jpg
/home/pi/Desktop/images/29012025/12/39/image_29012025_12_40_04_9336.jpg
/home/pi/Desktop/images/29012025/12/40/image_29012025_12_40_14_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":["1332713654","1332713801","1332713527","1332713769","1332713798","1332713531"],"photo_ids_order":["1332713527","1332713531","1332713654","1332713769","1332713798","1332713801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8ea25fbfc5ad020cd25a19a9ee893d3f.jpg","text":"TemporaryFile(/tmp/multipartBody7351117605663733946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170753176,"filename":"image_29012025_12_39_44_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/29/e703fd8b93e1241423940486109ff1ee.jpg","text":"TemporaryFile(/tmp/multipartBody9165816889033813693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170753176,"filename":"image_29012025_12_40_14_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/29/6981eddb5aba6f4487f82997e591a314.jpg","text":"TemporaryFile(/tmp/multipartBody5405107442256443696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170753176,"filename":"image_29012025_12_39_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/29/70d868185f1686b0f2e944b9983a5524.jpg","text":"TemporaryFile(/tmp/multipartBody2674512943531024505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170753176,"filename":"image_29012025_12_39_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/29/432b3f0895f1cf495e36c1d6c308c0d9.jpg","text":"TemporaryFile(/tmp/multipartBody2449128367331909223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170753176,"filename":"image_29012025_12_40_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/29/d1dad8935f5a5fb216b0a1a3918911c1.jpg","text":"TemporaryFile(/tmp/multipartBody6678844217137273421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170753176,"filename":"image_29012025_12_39_34_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332713654","file1":"1332713531","file0":"1332713527","file4":"1332713798","file5":"1332713801","file3":"1332713769"},"map_files_photo_id_array":[{"photo_id":"1332713801","filename":"file5"},{"photo_id":"1332713654","filename":"file2"},{"photo_id":"1332713798","filename":"file4"},{"photo_id":"1332713531","filename":"file1"},{"photo_id":"1332713527","filename":"file0"},{"photo_id":"1332713769","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332713654":["hashtag1","hashtag2"]},{"1332713801":["hashtag1","hashtag2"]},{"1332713527":["hashtag1","hashtag2"]},{"1332713769":["hashtag1","hashtag2"]},{"1332713798":["hashtag1","hashtag2"]},{"1332713531":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332713654, 1332713801, 1332713527, 1332713769, 1332713798, 1332713531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25726771354675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:12:32.612483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/40/image_29012025_12_40_25_10419.jpg', '/home/pi/Desktop/images/29012025/12/40/image_29012025_12_40_34_9410.jpg', '/home/pi/Desktop/images/29012025/12/40/image_29012025_12_40_45_10404.jpg', '/home/pi/Desktop/images/29012025/12/40/image_29012025_12_40_54_9401.jpg', '/home/pi/Desktop/images/29012025/12/40/image_29012025_12_41_04_10340.jpg', '/home/pi/Desktop/images/29012025/12/41/image_29012025_12_41_15_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/40/image_29012025_12_40_25_10419.jpg
/home/pi/Desktop/images/29012025/12/40/image_29012025_12_40_34_9410.jpg
/home/pi/Desktop/images/29012025/12/40/image_29012025_12_40_45_10404.jpg
/home/pi/Desktop/images/29012025/12/40/image_29012025_12_40_54_9401.jpg
/home/pi/Desktop/images/29012025/12/40/image_29012025_12_41_04_10340.jpg
/home/pi/Desktop/images/29012025/12/41/image_29012025_12_41_15_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332714024","1332714018","1332714029","1332714023","1332714026","1332713957"],"photo_ids_order":["1332713957","1332714018","1332714023","1332714024","1332714026","1332714029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d6d1e0bcf1d08833eb80b2c1510bdb1a.jpg","text":"TemporaryFile(/tmp/multipartBody8124699500553975104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170813591,"filename":"image_29012025_12_40_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/29/cdb9b1a16d981c30676ac061e15402b4.jpg","text":"TemporaryFile(/tmp/multipartBody5487897390407141677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170813591,"filename":"image_29012025_12_40_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/29/304e635a4272d08dd3ce2db71ce77d09.jpg","text":"TemporaryFile(/tmp/multipartBody6301585986409103253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170813591,"filename":"image_29012025_12_41_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/29/573ecdaa4e2c242ca2623f9938e8857c.jpg","text":"TemporaryFile(/tmp/multipartBody8158637943773451818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170813591,"filename":"image_29012025_12_40_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/29/0a2ef48417818f7a98213dea7729e93e.jpg","text":"TemporaryFile(/tmp/multipartBody5462847636214556417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170813591,"filename":"image_29012025_12_41_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/29/ff858e96d8b04702c18761cf3597b0a5.jpg","text":"TemporaryFile(/tmp/multipartBody667358078720936941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170813591,"filename":"image_29012025_12_40_25_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332714023","file1":"1332714018","file0":"1332713957","file4":"1332714026","file5":"1332714029","file3":"1332714024"},"map_files_photo_id_array":[{"photo_id":"1332714029","filename":"file5"},{"photo_id":"1332714023","filename":"file2"},{"photo_id":"1332714026","filename":"file4"},{"photo_id":"1332714018","filename":"file1"},{"photo_id":"1332713957","filename":"file0"},{"photo_id":"1332714024","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332714024":["hashtag1","hashtag2"]},{"1332714018":["hashtag1","hashtag2"]},{"1332714029":["hashtag1","hashtag2"]},{"1332714023":["hashtag1","hashtag2"]},{"1332714026":["hashtag1","hashtag2"]},{"1332713957":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332714024, 1332714018, 1332714029, 1332714023, 1332714026, 1332713957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.963141441345215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:13:32.764209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/41/image_29012025_12_41_24_9354.jpg', '/home/pi/Desktop/images/29012025/12/41/image_29012025_12_41_35_10396.jpg', '/home/pi/Desktop/images/29012025/12/41/image_29012025_12_41_44_9348.jpg', '/home/pi/Desktop/images/29012025/12/41/image_29012025_12_41_54_10405.jpg', '/home/pi/Desktop/images/29012025/12/41/image_29012025_12_42_05_10380.jpg', '/home/pi/Desktop/images/29012025/12/42/image_29012025_12_42_14_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/41/image_29012025_12_41_24_9354.jpg
/home/pi/Desktop/images/29012025/12/41/image_29012025_12_41_35_10396.jpg
/home/pi/Desktop/images/29012025/12/41/image_29012025_12_41_44_9348.jpg
/home/pi/Desktop/images/29012025/12/41/image_29012025_12_41_54_10405.jpg
/home/pi/Desktop/images/29012025/12/41/image_29012025_12_42_05_10380.jpg
/home/pi/Desktop/images/29012025/12/42/image_29012025_12_42_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":["1332714070","1332714064","1332714067","1332714052","1332714061","1332714056"],"photo_ids_order":["1332714052","1332714056","1332714061","1332714064","1332714067","1332714070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/960867f73b648d813aaeacd5b1feb22d.jpg","text":"TemporaryFile(/tmp/multipartBody7323755980051129285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170873721,"filename":"image_29012025_12_42_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/29/0750de38975a40eaaccb816e36c59062.jpg","text":"TemporaryFile(/tmp/multipartBody2220996382210965522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170873721,"filename":"image_29012025_12_41_54_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/29/80e10e299a027d654c93fd21a9f201fe.jpg","text":"TemporaryFile(/tmp/multipartBody7973678969975729520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170873721,"filename":"image_29012025_12_42_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/29/222ba377a388ec200ccea1ba4ec7fa12.jpg","text":"TemporaryFile(/tmp/multipartBody6148528572355097678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170873721,"filename":"image_29012025_12_41_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/29/3072ab764a9e5bc4f4d7fdc0a8070be8.jpg","text":"TemporaryFile(/tmp/multipartBody7241633048113214538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170873721,"filename":"image_29012025_12_41_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/29/5b4cd0be9ddb62b3d3aae8044f8cc44c.jpg","text":"TemporaryFile(/tmp/multipartBody1269594605653464342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170873721,"filename":"image_29012025_12_41_35_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332714061","file1":"1332714056","file0":"1332714052","file4":"1332714067","file5":"1332714070","file3":"1332714064"},"map_files_photo_id_array":[{"photo_id":"1332714070","filename":"file5"},{"photo_id":"1332714061","filename":"file2"},{"photo_id":"1332714067","filename":"file4"},{"photo_id":"1332714056","filename":"file1"},{"photo_id":"1332714052","filename":"file0"},{"photo_id":"1332714064","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332714070":["hashtag1","hashtag2"]},{"1332714064":["hashtag1","hashtag2"]},{"1332714067":["hashtag1","hashtag2"]},{"1332714052":["hashtag1","hashtag2"]},{"1332714061":["hashtag1","hashtag2"]},{"1332714056":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332714070, 1332714064, 1332714067, 1332714052, 1332714061, 1332714056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55764174461365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:14:32.912147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/42/image_29012025_12_42_25_10413.jpg', '/home/pi/Desktop/images/29012025/12/42/image_29012025_12_42_34_9444.jpg', '/home/pi/Desktop/images/29012025/12/42/image_29012025_12_42_44_10418.jpg', '/home/pi/Desktop/images/29012025/12/42/image_29012025_12_42_55_10408.jpg', '/home/pi/Desktop/images/29012025/12/42/image_29012025_12_43_04_9354.jpg', '/home/pi/Desktop/images/29012025/12/43/image_29012025_12_43_15_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/42/image_29012025_12_42_25_10413.jpg
/home/pi/Desktop/images/29012025/12/42/image_29012025_12_42_34_9444.jpg
/home/pi/Desktop/images/29012025/12/42/image_29012025_12_42_44_10418.jpg
/home/pi/Desktop/images/29012025/12/42/image_29012025_12_42_55_10408.jpg
/home/pi/Desktop/images/29012025/12/42/image_29012025_12_43_04_9354.jpg
/home/pi/Desktop/images/29012025/12/43/image_29012025_12_43_15_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":["1332714101","1332714111","1332714105","1332714108","1332714098","1332714117"],"photo_ids_order":["1332714098","1332714101","1332714105","1332714108","1332714111","1332714117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/863e073d24c0befeff1d38176091f77a.jpg","text":"TemporaryFile(/tmp/multipartBody6170524633520090451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170934009,"filename":"image_29012025_12_42_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/29/c9c9c2d7628247f75e9741926a7bbcf9.jpg","text":"TemporaryFile(/tmp/multipartBody1918383069569384136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170934009,"filename":"image_29012025_12_43_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/29/72bb934f693c5b6d7bbf3b28ab468db0.jpg","text":"TemporaryFile(/tmp/multipartBody5946785065136565776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170934009,"filename":"image_29012025_12_42_44_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/29/82d304d9c2f413c9fc2b766ae2bd3397.jpg","text":"TemporaryFile(/tmp/multipartBody7118264286256379486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170934009,"filename":"image_29012025_12_42_55_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/29/87b36c1eba1d4c96c15561f9b7c2a44b.jpg","text":"TemporaryFile(/tmp/multipartBody8681892249157427692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170934009,"filename":"image_29012025_12_42_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/29/ee0f6107fef04b984684046dc340aebe.jpg","text":"TemporaryFile(/tmp/multipartBody1555655740378981519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170934009,"filename":"image_29012025_12_43_15_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332714105","file1":"1332714101","file0":"1332714098","file4":"1332714111","file5":"1332714117","file3":"1332714108"},"map_files_photo_id_array":[{"photo_id":"1332714117","filename":"file5"},{"photo_id":"1332714105","filename":"file2"},{"photo_id":"1332714111","filename":"file4"},{"photo_id":"1332714101","filename":"file1"},{"photo_id":"1332714098","filename":"file0"},{"photo_id":"1332714108","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332714101":["hashtag1","hashtag2"]},{"1332714111":["hashtag1","hashtag2"]},{"1332714105":["hashtag1","hashtag2"]},{"1332714108":["hashtag1","hashtag2"]},{"1332714098":["hashtag1","hashtag2"]},{"1332714117":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332714101, 1332714111, 1332714105, 1332714108, 1332714098, 1332714117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56303358078003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:15:32.299616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/43/image_29012025_12_43_24_9446.jpg', '/home/pi/Desktop/images/29012025/12/43/image_29012025_12_43_34_10350.jpg', '/home/pi/Desktop/images/29012025/12/43/image_29012025_12_43_45_10431.jpg', '/home/pi/Desktop/images/29012025/12/43/image_29012025_12_43_54_9397.jpg', '/home/pi/Desktop/images/29012025/12/43/image_29012025_12_44_05_10344.jpg', '/home/pi/Desktop/images/29012025/12/44/image_29012025_12_44_14_9596.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/43/image_29012025_12_43_24_9446.jpg
/home/pi/Desktop/images/29012025/12/43/image_29012025_12_43_34_10350.jpg
/home/pi/Desktop/images/29012025/12/43/image_29012025_12_43_45_10431.jpg
/home/pi/Desktop/images/29012025/12/43/image_29012025_12_43_54_9397.jpg
/home/pi/Desktop/images/29012025/12/43/image_29012025_12_44_05_10344.jpg
/home/pi/Desktop/images/29012025/12/44/image_29012025_12_44_14_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332714331","1332714334","1332714336","1332714324","1332714327","1332714308"],"photo_ids_order":["1332714308","1332714324","1332714327","1332714331","1332714334","1332714336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3c33ff22b5f6c1e95e4b6360a1a1123a.jpg","text":"TemporaryFile(/tmp/multipartBody58204407063269667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170993267,"filename":"image_29012025_12_43_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/29/674bc49a58cf1c40374cd4733a64ec4b.jpg","text":"TemporaryFile(/tmp/multipartBody6786676241455575837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170993267,"filename":"image_29012025_12_44_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/29/55800987e37b4af5ff03097bf80ceea6.jpg","text":"TemporaryFile(/tmp/multipartBody3493837995758688148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170993267,"filename":"image_29012025_12_44_14_9596.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/107d4e11f639c5728f984f0572bd7fcd.jpg","text":"TemporaryFile(/tmp/multipartBody40556857521907632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170993267,"filename":"image_29012025_12_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/29/cf93b2e8f91bd822c7d6eab353bbf14e.jpg","text":"TemporaryFile(/tmp/multipartBody7187797337905178605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170993267,"filename":"image_29012025_12_43_45_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/29/7889acee3826cd28f5944fa352a332fe.jpg","text":"TemporaryFile(/tmp/multipartBody484583122036552143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738170993267,"filename":"image_29012025_12_43_24_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332714327","file1":"1332714324","file0":"1332714308","file4":"1332714334","file5":"1332714336","file3":"1332714331"},"map_files_photo_id_array":[{"photo_id":"1332714336","filename":"file5"},{"photo_id":"1332714327","filename":"file2"},{"photo_id":"1332714334","filename":"file4"},{"photo_id":"1332714324","filename":"file1"},{"photo_id":"1332714308","filename":"file0"},{"photo_id":"1332714331","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332714331":["hashtag1","hashtag2"]},{"1332714334":["hashtag1","hashtag2"]},{"1332714336":["hashtag1","hashtag2"]},{"1332714324":["hashtag1","hashtag2"]},{"1332714327":["hashtag1","hashtag2"]},{"1332714308":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332714331, 1332714334, 1332714336, 1332714324, 1332714327, 1332714308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.822004556655884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:16:32.608902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/44/image_29012025_12_44_25_10347.jpg', '/home/pi/Desktop/images/29012025/12/44/image_29012025_12_44_35_10350.jpg', '/home/pi/Desktop/images/29012025/12/44/image_29012025_12_44_44_9398.jpg', '/home/pi/Desktop/images/29012025/12/44/image_29012025_12_44_55_10415.jpg', '/home/pi/Desktop/images/29012025/12/44/image_29012025_12_45_04_9387.jpg', '/home/pi/Desktop/images/29012025/12/45/image_29012025_12_45_14_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/44/image_29012025_12_44_25_10347.jpg
/home/pi/Desktop/images/29012025/12/44/image_29012025_12_44_35_10350.jpg
/home/pi/Desktop/images/29012025/12/44/image_29012025_12_44_44_9398.jpg
/home/pi/Desktop/images/29012025/12/44/image_29012025_12_44_55_10415.jpg
/home/pi/Desktop/images/29012025/12/44/image_29012025_12_45_04_9387.jpg
/home/pi/Desktop/images/29012025/12/45/image_29012025_12_45_14_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":["1332714526","1332714613","1332714564","1332714669","1332714609","1332714674"],"photo_ids_order":["1332714526","1332714564","1332714609","1332714613","1332714669","1332714674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d8a43a080cb51ad20f00cf4f6d5ac7fd.jpg","text":"TemporaryFile(/tmp/multipartBody3457947742354239548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171053578,"filename":"image_29012025_12_44_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/29/5f4ae3ad6b8babc5605ec05234fee132.jpg","text":"TemporaryFile(/tmp/multipartBody3951685551957905956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171053578,"filename":"image_29012025_12_44_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/29/dd68f24c6078a2243e39d42b66f93402.jpg","text":"TemporaryFile(/tmp/multipartBody3250512119085858561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171053578,"filename":"image_29012025_12_44_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/29/1614b48040d1cdb051f3d1bd425bc7b7.jpg","text":"TemporaryFile(/tmp/multipartBody4698032616459907752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171053578,"filename":"image_29012025_12_45_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/29/4d2b6f8820387ffec56a015affdedec8.jpg","text":"TemporaryFile(/tmp/multipartBody2135824432707431966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171053578,"filename":"image_29012025_12_44_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/29/614dba9ae83e539763e64e252f54c122.jpg","text":"TemporaryFile(/tmp/multipartBody2744128510059595857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171053578,"filename":"image_29012025_12_45_14_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332714609","file1":"1332714564","file0":"1332714526","file4":"1332714669","file5":"1332714674","file3":"1332714613"},"map_files_photo_id_array":[{"photo_id":"1332714674","filename":"file5"},{"photo_id":"1332714609","filename":"file2"},{"photo_id":"1332714669","filename":"file4"},{"photo_id":"1332714564","filename":"file1"},{"photo_id":"1332714526","filename":"file0"},{"photo_id":"1332714613","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332714526":["hashtag1","hashtag2"]},{"1332714613":["hashtag1","hashtag2"]},{"1332714564":["hashtag1","hashtag2"]},{"1332714669":["hashtag1","hashtag2"]},{"1332714609":["hashtag1","hashtag2"]},{"1332714674":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332714526, 1332714613, 1332714564, 1332714669, 1332714609, 1332714674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.724571228027344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:17:32.754550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/45/image_29012025_12_45_25_10343.jpg', '/home/pi/Desktop/images/29012025/12/45/image_29012025_12_45_34_9350.jpg', '/home/pi/Desktop/images/29012025/12/45/image_29012025_12_45_45_10407.jpg', '/home/pi/Desktop/images/29012025/12/45/image_29012025_12_45_54_9507.jpg', '/home/pi/Desktop/images/29012025/12/45/image_29012025_12_46_04_10345.jpg', '/home/pi/Desktop/images/29012025/12/46/image_29012025_12_46_15_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/45/image_29012025_12_45_25_10343.jpg
/home/pi/Desktop/images/29012025/12/45/image_29012025_12_45_34_9350.jpg
/home/pi/Desktop/images/29012025/12/45/image_29012025_12_45_45_10407.jpg
/home/pi/Desktop/images/29012025/12/45/image_29012025_12_45_54_9507.jpg
/home/pi/Desktop/images/29012025/12/45/image_29012025_12_46_04_10345.jpg
/home/pi/Desktop/images/29012025/12/46/image_29012025_12_46_15_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332714736","1332714738","1332714729","1332714720","1332714734","1332714725"],"photo_ids_order":["1332714720","1332714725","1332714729","1332714734","1332714736","1332714738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/54cef9ff6642d5044a21e5237f53e745.jpg","text":"TemporaryFile(/tmp/multipartBody7960973733583648878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171113716,"filename":"image_29012025_12_46_04_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/29/5d315aad603f2914a1c32a252e5ac538.jpg","text":"TemporaryFile(/tmp/multipartBody7868591712084820161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171113716,"filename":"image_29012025_12_46_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/29/0eeab5ca64b70dce744668da87aaa871.jpg","text":"TemporaryFile(/tmp/multipartBody7186349972228919849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171113716,"filename":"image_29012025_12_45_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/29/edf82c10af1bc86d2a370e5144d09b2c.jpg","text":"TemporaryFile(/tmp/multipartBody9068330255934247143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171113716,"filename":"image_29012025_12_45_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/29/860fbdd8254c8ef6ae098e0390a7f1da.jpg","text":"TemporaryFile(/tmp/multipartBody2387544030811641829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171113716,"filename":"image_29012025_12_45_54_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c04534d20c6db2840de7d11d2c66f9d4.jpg","text":"TemporaryFile(/tmp/multipartBody6823750269535940248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171113716,"filename":"image_29012025_12_45_34_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332714729","file1":"1332714725","file0":"1332714720","file4":"1332714736","file5":"1332714738","file3":"1332714734"},"map_files_photo_id_array":[{"photo_id":"1332714738","filename":"file5"},{"photo_id":"1332714729","filename":"file2"},{"photo_id":"1332714736","filename":"file4"},{"photo_id":"1332714725","filename":"file1"},{"photo_id":"1332714720","filename":"file0"},{"photo_id":"1332714734","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332714736":["hashtag1","hashtag2"]},{"1332714738":["hashtag1","hashtag2"]},{"1332714729":["hashtag1","hashtag2"]},{"1332714720":["hashtag1","hashtag2"]},{"1332714734":["hashtag1","hashtag2"]},{"1332714725":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332714736, 1332714738, 1332714729, 1332714720, 1332714734, 1332714725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81348705291748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:18:33.052293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/46/image_29012025_12_46_24_9444.jpg', '/home/pi/Desktop/images/29012025/12/46/image_29012025_12_46_35_10348.jpg', '/home/pi/Desktop/images/29012025/12/46/image_29012025_12_46_44_9404.jpg', '/home/pi/Desktop/images/29012025/12/46/image_29012025_12_46_54_10339.jpg', '/home/pi/Desktop/images/29012025/12/47/image_29012025_12_47_35_10332.jpg', '/home/pi/Desktop/images/29012025/12/47/image_29012025_12_47_44_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/46/image_29012025_12_46_24_9444.jpg
/home/pi/Desktop/images/29012025/12/46/image_29012025_12_46_35_10348.jpg
/home/pi/Desktop/images/29012025/12/46/image_29012025_12_46_44_9404.jpg
/home/pi/Desktop/images/29012025/12/46/image_29012025_12_46_54_10339.jpg
/home/pi/Desktop/images/29012025/12/47/image_29012025_12_47_35_10332.jpg
/home/pi/Desktop/images/29012025/12/47/image_29012025_12_47_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":["1332714799","1332714808","1332714786","1332714811","1332714797","1332714804"],"photo_ids_order":["1332714786","1332714797","1332714799","1332714804","1332714808","1332714811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/15afdd144896e7b24d03e3870e5b6796.jpg","text":"TemporaryFile(/tmp/multipartBody5417346817574282088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171174401,"filename":"image_29012025_12_46_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/29/1319dd9df9c379a4e2bb6ba3a2f9827e.jpg","text":"TemporaryFile(/tmp/multipartBody5420122336784445369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171174401,"filename":"image_29012025_12_47_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/29/4ca0306623f43d930955ce38f417d2e2.jpg","text":"TemporaryFile(/tmp/multipartBody8704186874278564204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171174401,"filename":"image_29012025_12_46_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/29/fad6789839fd1507f4fd2b3ade3b755c.jpg","text":"TemporaryFile(/tmp/multipartBody4774818691669004393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171174401,"filename":"image_29012025_12_47_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/29/7493765ea916f217471f4934b5c035e9.jpg","text":"TemporaryFile(/tmp/multipartBody8138228876612188657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171174401,"filename":"image_29012025_12_46_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/29/9752bffe0c1041d9c9e26c518a26a84a.jpg","text":"TemporaryFile(/tmp/multipartBody8616961615329412962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171174401,"filename":"image_29012025_12_46_54_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332714799","file1":"1332714797","file0":"1332714786","file4":"1332714808","file5":"1332714811","file3":"1332714804"},"map_files_photo_id_array":[{"photo_id":"1332714811","filename":"file5"},{"photo_id":"1332714799","filename":"file2"},{"photo_id":"1332714808","filename":"file4"},{"photo_id":"1332714797","filename":"file1"},{"photo_id":"1332714786","filename":"file0"},{"photo_id":"1332714804","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332714799":["hashtag1","hashtag2"]},{"1332714808":["hashtag1","hashtag2"]},{"1332714786":["hashtag1","hashtag2"]},{"1332714811":["hashtag1","hashtag2"]},{"1332714797":["hashtag1","hashtag2"]},{"1332714804":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332714799, 1332714808, 1332714786, 1332714811, 1332714797, 1332714804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83202266693115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:19:32.203041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/47/image_29012025_12_47_55_10358.jpg', '/home/pi/Desktop/images/29012025/12/47/image_29012025_12_48_04_9366.jpg', '/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_14_10421.jpg', '/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_25_10357.jpg', '/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_34_9454.jpg', '/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_45_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/47/image_29012025_12_47_55_10358.jpg
/home/pi/Desktop/images/29012025/12/47/image_29012025_12_48_04_9366.jpg
/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_14_10421.jpg
/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_25_10357.jpg
/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_34_9454.jpg
/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_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":["1332714838","1332714840","1332714834","1332714842","1332714836","1332714830"],"photo_ids_order":["1332714830","1332714834","1332714836","1332714838","1332714840","1332714842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8c56c3a9d872e18ba1bc3636025e432a.jpg","text":"TemporaryFile(/tmp/multipartBody5254150389105789481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171233176,"filename":"image_29012025_12_48_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/29/39b72c1c18bc5b75e1d1771562c27874.jpg","text":"TemporaryFile(/tmp/multipartBody2770467524084445386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171233176,"filename":"image_29012025_12_48_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/29/ecb51dee0d4f7dfa5ffbdaba23a43a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1007325827594202904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171233176,"filename":"image_29012025_12_48_04_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/29/6f7796be4c692136a86a6f35091999bf.jpg","text":"TemporaryFile(/tmp/multipartBody7661320207300321743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171233176,"filename":"image_29012025_12_48_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/29/8f5796d0804aa72b22fc459f6abfdc02.jpg","text":"TemporaryFile(/tmp/multipartBody3416554666973759579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171233176,"filename":"image_29012025_12_48_14_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/29/bb321262686b0694008813f85f155a29.jpg","text":"TemporaryFile(/tmp/multipartBody5627056292011492539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171233176,"filename":"image_29012025_12_47_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332714836","file1":"1332714834","file0":"1332714830","file4":"1332714840","file5":"1332714842","file3":"1332714838"},"map_files_photo_id_array":[{"photo_id":"1332714842","filename":"file5"},{"photo_id":"1332714836","filename":"file2"},{"photo_id":"1332714840","filename":"file4"},{"photo_id":"1332714834","filename":"file1"},{"photo_id":"1332714830","filename":"file0"},{"photo_id":"1332714838","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332714838":["hashtag1","hashtag2"]},{"1332714840":["hashtag1","hashtag2"]},{"1332714834":["hashtag1","hashtag2"]},{"1332714842":["hashtag1","hashtag2"]},{"1332714836":["hashtag1","hashtag2"]},{"1332714830":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332714838, 1332714840, 1332714834, 1332714842, 1332714836, 1332714830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5307776927948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:20:32.478167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_54_9412.jpg', '/home/pi/Desktop/images/29012025/12/48/image_29012025_12_49_04_10414.jpg', '/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_15_10359.jpg', '/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_24_9416.jpg', '/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_34_10349.jpg', '/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_54_9412.jpg
/home/pi/Desktop/images/29012025/12/48/image_29012025_12_49_04_10414.jpg
/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_15_10359.jpg
/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_24_9416.jpg
/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_34_10349.jpg
/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_45_10348.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.5881392955780029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 18:20:42.476219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_54_9412.jpg', '/home/pi/Desktop/images/29012025/12/48/image_29012025_12_49_04_10414.jpg', '/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_15_10359.jpg', '/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_24_9416.jpg', '/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_34_10349.jpg', '/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/48/image_29012025_12_48_54_9412.jpg
/home/pi/Desktop/images/29012025/12/48/image_29012025_12_49_04_10414.jpg
/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_15_10359.jpg
/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_24_9416.jpg
/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_34_10349.jpg
/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_45_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":["1332715501","1332715635","1332715710","1332715713","1332715381","1332715261"],"photo_ids_order":["1332715261","1332715381","1332715501","1332715635","1332715710","1332715713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d0a3a4f4d0979ffe9fc9c48e5e789aed.jpg","text":"TemporaryFile(/tmp/multipartBody8588210549460832908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171303420,"filename":"image_29012025_12_49_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/29/162ded625a323b62061d2dd1a68b53b1.jpg","text":"TemporaryFile(/tmp/multipartBody532448133846595450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171303420,"filename":"image_29012025_12_49_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/29/46e323cf721d3f959a6bc04c8fddaba1.jpg","text":"TemporaryFile(/tmp/multipartBody4860500843069198338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171303420,"filename":"image_29012025_12_49_34_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/29/eafe48bd922f7fc20fe8257a82a6d8b9.jpg","text":"TemporaryFile(/tmp/multipartBody4365350023880880242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171303420,"filename":"image_29012025_12_49_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/29/662ac0bfdf624615af80daa58c27868f.jpg","text":"TemporaryFile(/tmp/multipartBody7044109739693399847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171303420,"filename":"image_29012025_12_49_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/29/708fd44b45206e949909856fb007b349.jpg","text":"TemporaryFile(/tmp/multipartBody7005659632431380592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171303420,"filename":"image_29012025_12_48_54_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332715501","file1":"1332715381","file0":"1332715261","file4":"1332715710","file5":"1332715713","file3":"1332715635"},"map_files_photo_id_array":[{"photo_id":"1332715713","filename":"file5"},{"photo_id":"1332715501","filename":"file2"},{"photo_id":"1332715710","filename":"file4"},{"photo_id":"1332715381","filename":"file1"},{"photo_id":"1332715261","filename":"file0"},{"photo_id":"1332715635","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332715501":["hashtag1","hashtag2"]},{"1332715635":["hashtag1","hashtag2"]},{"1332715710":["hashtag1","hashtag2"]},{"1332715713":["hashtag1","hashtag2"]},{"1332715381":["hashtag1","hashtag2"]},{"1332715261":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332715501, 1332715635, 1332715710, 1332715713, 1332715381, 1332715261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93957829475403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:21:32.696249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_54_9413.jpg', '/home/pi/Desktop/images/29012025/12/49/image_29012025_12_50_05_10348.jpg', '/home/pi/Desktop/images/29012025/12/50/image_29012025_12_50_14_9352.jpg', '/home/pi/Desktop/images/29012025/12/50/image_29012025_12_50_24_10362.jpg', '/home/pi/Desktop/images/29012025/12/50/image_29012025_12_50_35_10349.jpg', '/home/pi/Desktop/images/29012025/12/50/image_29012025_12_50_44_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/49/image_29012025_12_49_54_9413.jpg
/home/pi/Desktop/images/29012025/12/49/image_29012025_12_50_05_10348.jpg
/home/pi/Desktop/images/29012025/12/50/image_29012025_12_50_14_9352.jpg
/home/pi/Desktop/images/29012025/12/50/image_29012025_12_50_24_10362.jpg
/home/pi/Desktop/images/29012025/12/50/image_29012025_12_50_35_10349.jpg
/home/pi/Desktop/images/29012025/12/50/image_29012025_12_50_44_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":["1332715732","1332716054","1332715905","1332716051","1332716021","1332715777"],"photo_ids_order":["1332715732","1332715777","1332715905","1332716021","1332716051","1332716054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1d059bf2be5466edba577a395da92d62.jpg","text":"TemporaryFile(/tmp/multipartBody28411130168514808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171353670,"filename":"image_29012025_12_49_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/29/2f2c5b285a7be229cfb9905e82c319d0.jpg","text":"TemporaryFile(/tmp/multipartBody8983247707754724751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171353670,"filename":"image_29012025_12_50_44_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/29/216e4a0135fa60e30e4aebf0fe062ecb.jpg","text":"TemporaryFile(/tmp/multipartBody4868590475950915992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171353670,"filename":"image_29012025_12_50_14_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/29/4a9ccd2068b3a4c75d4cef1061ea9d58.jpg","text":"TemporaryFile(/tmp/multipartBody8255779036492695796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171353670,"filename":"image_29012025_12_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/29/eb319a61651e188ab3e604caffd0ecc8.jpg","text":"TemporaryFile(/tmp/multipartBody7172621778776123073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171353670,"filename":"image_29012025_12_50_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/29/83ed3e340c128976f33e260d56a8d3fd.jpg","text":"TemporaryFile(/tmp/multipartBody992940172335723187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171353670,"filename":"image_29012025_12_50_05_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332715905","file1":"1332715777","file0":"1332715732","file4":"1332716051","file5":"1332716054","file3":"1332716021"},"map_files_photo_id_array":[{"photo_id":"1332716054","filename":"file5"},{"photo_id":"1332715905","filename":"file2"},{"photo_id":"1332716051","filename":"file4"},{"photo_id":"1332715777","filename":"file1"},{"photo_id":"1332715732","filename":"file0"},{"photo_id":"1332716021","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332715732":["hashtag1","hashtag2"]},{"1332716054":["hashtag1","hashtag2"]},{"1332715905":["hashtag1","hashtag2"]},{"1332716051":["hashtag1","hashtag2"]},{"1332716021":["hashtag1","hashtag2"]},{"1332715777":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332715732, 1332716054, 1332715905, 1332716051, 1332716021, 1332715777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48707723617554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:22:32.992059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/50/image_29012025_12_50_54_10419.jpg', '/home/pi/Desktop/images/29012025/12/50/image_29012025_12_51_05_10429.jpg', '/home/pi/Desktop/images/29012025/12/51/image_29012025_12_51_14_9332.jpg', '/home/pi/Desktop/images/29012025/12/51/image_29012025_12_51_25_10335.jpg', '/home/pi/Desktop/images/29012025/12/51/image_29012025_12_51_35_10337.jpg', '/home/pi/Desktop/images/29012025/12/51/image_29012025_12_51_44_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/50/image_29012025_12_50_54_10419.jpg
/home/pi/Desktop/images/29012025/12/50/image_29012025_12_51_05_10429.jpg
/home/pi/Desktop/images/29012025/12/51/image_29012025_12_51_14_9332.jpg
/home/pi/Desktop/images/29012025/12/51/image_29012025_12_51_25_10335.jpg
/home/pi/Desktop/images/29012025/12/51/image_29012025_12_51_35_10337.jpg
/home/pi/Desktop/images/29012025/12/51/image_29012025_12_51_44_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":["1332716574","1332716630","1332716546","1332716578","1332716746","1332716719"],"photo_ids_order":["1332716546","1332716574","1332716578","1332716630","1332716719","1332716746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7fffc3d770b625c935c83042639d25eb.jpg","text":"TemporaryFile(/tmp/multipartBody241216773217176191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171413946,"filename":"image_29012025_12_51_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/29/d1c0bc5c51979eb9096c3aa1d7e10734.jpg","text":"TemporaryFile(/tmp/multipartBody396123136451223764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171413946,"filename":"image_29012025_12_51_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/29/f029c91cbacd98c2b0bb549edd28ebc3.jpg","text":"TemporaryFile(/tmp/multipartBody3523374138802477006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171413946,"filename":"image_29012025_12_50_54_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/29/b7d5119b1c98543cf28f95f11be58b9c.jpg","text":"TemporaryFile(/tmp/multipartBody7730116532814186917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171413946,"filename":"image_29012025_12_51_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/29/372d69353a5e0802a3c784cc76640e0a.jpg","text":"TemporaryFile(/tmp/multipartBody7580272140774107572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171413946,"filename":"image_29012025_12_51_44_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/29/33fb6b18be6cd50b6f19d9014e83171e.jpg","text":"TemporaryFile(/tmp/multipartBody2168686045106148453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171413946,"filename":"image_29012025_12_51_35_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332716578","file1":"1332716574","file0":"1332716546","file4":"1332716719","file5":"1332716746","file3":"1332716630"},"map_files_photo_id_array":[{"photo_id":"1332716746","filename":"file5"},{"photo_id":"1332716578","filename":"file2"},{"photo_id":"1332716719","filename":"file4"},{"photo_id":"1332716574","filename":"file1"},{"photo_id":"1332716546","filename":"file0"},{"photo_id":"1332716630","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332716574":["hashtag1","hashtag2"]},{"1332716630":["hashtag1","hashtag2"]},{"1332716546":["hashtag1","hashtag2"]},{"1332716578":["hashtag1","hashtag2"]},{"1332716746":["hashtag1","hashtag2"]},{"1332716719":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332716574, 1332716630, 1332716546, 1332716578, 1332716746, 1332716719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48771834373474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:23:32.175640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/51/image_29012025_12_51_55_10375.jpg', '/home/pi/Desktop/images/29012025/12/51/image_29012025_12_52_04_9387.jpg', '/home/pi/Desktop/images/29012025/12/52/image_29012025_12_52_14_10344.jpg', '/home/pi/Desktop/images/29012025/12/52/image_29012025_12_52_25_10414.jpg', '/home/pi/Desktop/images/29012025/12/52/image_29012025_12_52_34_9346.jpg', '/home/pi/Desktop/images/29012025/12/52/image_29012025_12_52_45_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/51/image_29012025_12_51_55_10375.jpg
/home/pi/Desktop/images/29012025/12/51/image_29012025_12_52_04_9387.jpg
/home/pi/Desktop/images/29012025/12/52/image_29012025_12_52_14_10344.jpg
/home/pi/Desktop/images/29012025/12/52/image_29012025_12_52_25_10414.jpg
/home/pi/Desktop/images/29012025/12/52/image_29012025_12_52_34_9346.jpg
/home/pi/Desktop/images/29012025/12/52/image_29012025_12_52_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":["1332717033","1332716984","1332716904","1332717017","1332717034","1332716782"],"photo_ids_order":["1332716782","1332716904","1332716984","1332717017","1332717033","1332717034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9a90caad82820bad3df0bb6e0feca3c9.jpg","text":"TemporaryFile(/tmp/multipartBody2898825753687087992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171473132,"filename":"image_29012025_12_52_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/29/3a1718c62a0df389ef4cdec5e7f2b67d.jpg","text":"TemporaryFile(/tmp/multipartBody4779744827792093675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171473132,"filename":"image_29012025_12_52_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/29/b05419235d7eb7ea614020da1b4a4480.jpg","text":"TemporaryFile(/tmp/multipartBody40009762583207131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171473132,"filename":"image_29012025_12_52_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/29/6df1148fa12d4f551054e1869c960b5e.jpg","text":"TemporaryFile(/tmp/multipartBody4925676912519765595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171473132,"filename":"image_29012025_12_52_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/29/004dcac12a0c943e8f01e4ae32853494.jpg","text":"TemporaryFile(/tmp/multipartBody1942450742479223328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171473132,"filename":"image_29012025_12_52_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/29/571b077de1d0a310a491c74bd5faae2a.jpg","text":"TemporaryFile(/tmp/multipartBody51081316952680386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171473132,"filename":"image_29012025_12_51_55_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332716984","file1":"1332716904","file0":"1332716782","file4":"1332717033","file5":"1332717034","file3":"1332717017"},"map_files_photo_id_array":[{"photo_id":"1332717034","filename":"file5"},{"photo_id":"1332716984","filename":"file2"},{"photo_id":"1332717033","filename":"file4"},{"photo_id":"1332716904","filename":"file1"},{"photo_id":"1332716782","filename":"file0"},{"photo_id":"1332717017","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332717033":["hashtag1","hashtag2"]},{"1332716984":["hashtag1","hashtag2"]},{"1332716904":["hashtag1","hashtag2"]},{"1332717017":["hashtag1","hashtag2"]},{"1332717034":["hashtag1","hashtag2"]},{"1332716782":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332717033, 1332716984, 1332716904, 1332717017, 1332717034, 1332716782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.929221868515015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:24:32.421382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/52/image_29012025_12_52_54_9351.jpg', '/home/pi/Desktop/images/29012025/12/53/image_29012025_12_53_15_10452.jpg', '/home/pi/Desktop/images/29012025/12/53/image_29012025_12_53_35_10348.jpg', '/home/pi/Desktop/images/29012025/12/53/image_29012025_12_53_54_10359.jpg', '/home/pi/Desktop/images/29012025/12/53/image_29012025_12_54_05_10334.jpg', '/home/pi/Desktop/images/29012025/12/54/image_29012025_12_54_14_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/52/image_29012025_12_52_54_9351.jpg
/home/pi/Desktop/images/29012025/12/53/image_29012025_12_53_15_10452.jpg
/home/pi/Desktop/images/29012025/12/53/image_29012025_12_53_35_10348.jpg
/home/pi/Desktop/images/29012025/12/53/image_29012025_12_53_54_10359.jpg
/home/pi/Desktop/images/29012025/12/53/image_29012025_12_54_05_10334.jpg
/home/pi/Desktop/images/29012025/12/54/image_29012025_12_54_14_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":["1332717140","1332717076","1332717154","1332717072","1332717081","1332717156"],"photo_ids_order":["1332717072","1332717076","1332717081","1332717140","1332717154","1332717156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f30dffb1a6c025435ef0c67b60282baa.jpg","text":"TemporaryFile(/tmp/multipartBody2947415540275173493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171533405,"filename":"image_29012025_12_53_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/29/216e16a946ed99cab3b22e5a56f838f6.jpg","text":"TemporaryFile(/tmp/multipartBody6460276694111862551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171533405,"filename":"image_29012025_12_53_15_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/29/f6c524966ebefeb1ae6c27e66ac9cf2b.jpg","text":"TemporaryFile(/tmp/multipartBody2157782274138587329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171533405,"filename":"image_29012025_12_54_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/29/1c2e8ee0edbf75185edf9f8ca72ae5f7.jpg","text":"TemporaryFile(/tmp/multipartBody7237270005287595849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171533405,"filename":"image_29012025_12_52_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/29/de6d2b1345919ff50a983a02890a3d24.jpg","text":"TemporaryFile(/tmp/multipartBody3452402137198792213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171533405,"filename":"image_29012025_12_53_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/29/c831b9c2be2912a63f9a39ad6ab7b184.jpg","text":"TemporaryFile(/tmp/multipartBody620766177578002465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171533405,"filename":"image_29012025_12_54_14_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332717081","file1":"1332717076","file0":"1332717072","file4":"1332717154","file5":"1332717156","file3":"1332717140"},"map_files_photo_id_array":[{"photo_id":"1332717156","filename":"file5"},{"photo_id":"1332717081","filename":"file2"},{"photo_id":"1332717154","filename":"file4"},{"photo_id":"1332717076","filename":"file1"},{"photo_id":"1332717072","filename":"file0"},{"photo_id":"1332717140","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332717140":["hashtag1","hashtag2"]},{"1332717076":["hashtag1","hashtag2"]},{"1332717154":["hashtag1","hashtag2"]},{"1332717072":["hashtag1","hashtag2"]},{"1332717081":["hashtag1","hashtag2"]},{"1332717156":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332717140, 1332717076, 1332717154, 1332717072, 1332717081, 1332717156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.47739100456238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:25:32.584370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/54/image_29012025_12_54_25_10339.jpg', '/home/pi/Desktop/images/29012025/12/54/image_29012025_12_54_35_10346.jpg', '/home/pi/Desktop/images/29012025/12/54/image_29012025_12_54_44_9405.jpg', '/home/pi/Desktop/images/29012025/12/54/image_29012025_12_54_55_10372.jpg', '/home/pi/Desktop/images/29012025/12/54/image_29012025_12_55_04_9462.jpg', '/home/pi/Desktop/images/29012025/12/55/image_29012025_12_55_15_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/54/image_29012025_12_54_25_10339.jpg
/home/pi/Desktop/images/29012025/12/54/image_29012025_12_54_35_10346.jpg
/home/pi/Desktop/images/29012025/12/54/image_29012025_12_54_44_9405.jpg
/home/pi/Desktop/images/29012025/12/54/image_29012025_12_54_55_10372.jpg
/home/pi/Desktop/images/29012025/12/54/image_29012025_12_55_04_9462.jpg
/home/pi/Desktop/images/29012025/12/55/image_29012025_12_55_15_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":["1332717357","1332717342","1332717380","1332717296","1332717299","1332717177"],"photo_ids_order":["1332717177","1332717296","1332717299","1332717342","1332717357","1332717380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7adf091c8d78649405272b6dfeb54e18.jpg","text":"TemporaryFile(/tmp/multipartBody7339691037555504448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171593560,"filename":"image_29012025_12_55_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/29/b05558e145602869906c833718b41240.jpg","text":"TemporaryFile(/tmp/multipartBody4893696064010800333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171593560,"filename":"image_29012025_12_54_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/29/6486e11600be07f32292b75db5a332f0.jpg","text":"TemporaryFile(/tmp/multipartBody1978696420821344808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171593560,"filename":"image_29012025_12_55_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/29/96497213dcc0b138f92fefe7dbe39b95.jpg","text":"TemporaryFile(/tmp/multipartBody7139639107513862657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171593560,"filename":"image_29012025_12_54_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/29/9140f5312303f58f62de303978c35e63.jpg","text":"TemporaryFile(/tmp/multipartBody7266498050580268616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171593560,"filename":"image_29012025_12_54_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/29/849d301a015692d3f7ae2e974ca38057.jpg","text":"TemporaryFile(/tmp/multipartBody5739355975855724219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171593560,"filename":"image_29012025_12_54_25_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332717299","file1":"1332717296","file0":"1332717177","file4":"1332717357","file5":"1332717380","file3":"1332717342"},"map_files_photo_id_array":[{"photo_id":"1332717380","filename":"file5"},{"photo_id":"1332717299","filename":"file2"},{"photo_id":"1332717357","filename":"file4"},{"photo_id":"1332717296","filename":"file1"},{"photo_id":"1332717177","filename":"file0"},{"photo_id":"1332717342","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332717357":["hashtag1","hashtag2"]},{"1332717342":["hashtag1","hashtag2"]},{"1332717380":["hashtag1","hashtag2"]},{"1332717296":["hashtag1","hashtag2"]},{"1332717299":["hashtag1","hashtag2"]},{"1332717177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332717357, 1332717342, 1332717380, 1332717296, 1332717299, 1332717177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70142316818237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:26:32.916734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/55/image_29012025_12_55_25_10352.jpg', '/home/pi/Desktop/images/29012025/12/55/image_29012025_12_55_34_9423.jpg', '/home/pi/Desktop/images/29012025/12/55/image_29012025_12_55_45_10444.jpg', '/home/pi/Desktop/images/29012025/12/55/image_29012025_12_55_54_9371.jpg', '/home/pi/Desktop/images/29012025/12/55/image_29012025_12_56_05_10484.jpg', '/home/pi/Desktop/images/29012025/12/56/image_29012025_12_56_14_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/55/image_29012025_12_55_25_10352.jpg
/home/pi/Desktop/images/29012025/12/55/image_29012025_12_55_34_9423.jpg
/home/pi/Desktop/images/29012025/12/55/image_29012025_12_55_45_10444.jpg
/home/pi/Desktop/images/29012025/12/55/image_29012025_12_55_54_9371.jpg
/home/pi/Desktop/images/29012025/12/55/image_29012025_12_56_05_10484.jpg
/home/pi/Desktop/images/29012025/12/56/image_29012025_12_56_14_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":["1332717395","1332717404","1332717442","1332717424","1332717399","1332717432"],"photo_ids_order":["1332717395","1332717399","1332717404","1332717424","1332717432","1332717442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/28908e304064e18b37b4471462df084d.jpg","text":"TemporaryFile(/tmp/multipartBody8710182084260078169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171653873,"filename":"image_29012025_12_55_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/29/9e4739f1b589dc62702a4d7c331e17aa.jpg","text":"TemporaryFile(/tmp/multipartBody556947537944909179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171653873,"filename":"image_29012025_12_55_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/29/e570760f55606d4325d4550cc7999a2e.jpg","text":"TemporaryFile(/tmp/multipartBody6372140421024169502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171653873,"filename":"image_29012025_12_56_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/29/b46fbba79320fb5df0ef91be52057fb7.jpg","text":"TemporaryFile(/tmp/multipartBody137074209130925624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171653873,"filename":"image_29012025_12_55_54_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/29/fe328f52d92a000c2c0ef0c3262493a5.jpg","text":"TemporaryFile(/tmp/multipartBody1229225577356820599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171653873,"filename":"image_29012025_12_55_34_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/29/1d2a4b939c6b1e3b0777730632e97861.jpg","text":"TemporaryFile(/tmp/multipartBody557328895564015579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171653873,"filename":"image_29012025_12_56_05_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332717404","file1":"1332717399","file0":"1332717395","file4":"1332717432","file5":"1332717442","file3":"1332717424"},"map_files_photo_id_array":[{"photo_id":"1332717442","filename":"file5"},{"photo_id":"1332717404","filename":"file2"},{"photo_id":"1332717432","filename":"file4"},{"photo_id":"1332717399","filename":"file1"},{"photo_id":"1332717395","filename":"file0"},{"photo_id":"1332717424","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332717395":["hashtag1","hashtag2"]},{"1332717404":["hashtag1","hashtag2"]},{"1332717442":["hashtag1","hashtag2"]},{"1332717424":["hashtag1","hashtag2"]},{"1332717399":["hashtag1","hashtag2"]},{"1332717432":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332717395, 1332717404, 1332717442, 1332717424, 1332717399, 1332717432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74560832977295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:27:32.155802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/56/image_29012025_12_56_24_10433.jpg', '/home/pi/Desktop/images/29012025/12/56/image_29012025_12_56_35_10346.jpg', '/home/pi/Desktop/images/29012025/12/56/image_29012025_12_56_44_9344.jpg', '/home/pi/Desktop/images/29012025/12/56/image_29012025_12_56_55_10393.jpg', '/home/pi/Desktop/images/29012025/12/56/image_29012025_12_57_04_9359.jpg', '/home/pi/Desktop/images/29012025/12/57/image_29012025_12_57_14_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/56/image_29012025_12_56_24_10433.jpg
/home/pi/Desktop/images/29012025/12/56/image_29012025_12_56_35_10346.jpg
/home/pi/Desktop/images/29012025/12/56/image_29012025_12_56_44_9344.jpg
/home/pi/Desktop/images/29012025/12/56/image_29012025_12_56_55_10393.jpg
/home/pi/Desktop/images/29012025/12/56/image_29012025_12_57_04_9359.jpg
/home/pi/Desktop/images/29012025/12/57/image_29012025_12_57_14_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":["1332717499","1332717493","1332717502","1332717505","1332717489","1332717486"],"photo_ids_order":["1332717486","1332717489","1332717493","1332717499","1332717502","1332717505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bee648d5590125df5a1c1266c4ac7d76.jpg","text":"TemporaryFile(/tmp/multipartBody4521956025586430961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171713118,"filename":"image_29012025_12_56_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/29/5039dcd07a40fbe3a334f3683a8b5d96.jpg","text":"TemporaryFile(/tmp/multipartBody7780507870629833810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171713118,"filename":"image_29012025_12_56_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/29/558f3dec6565dc352102511b15f9a49d.jpg","text":"TemporaryFile(/tmp/multipartBody4706949044015976534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171713118,"filename":"image_29012025_12_57_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/29/bac557ea66474fa648c1cc38001ce05e.jpg","text":"TemporaryFile(/tmp/multipartBody2475221745600853482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171713118,"filename":"image_29012025_12_57_14_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/29/cebcec0c75006c2057c55c4ce8b1dd4c.jpg","text":"TemporaryFile(/tmp/multipartBody8764829048095327165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171713118,"filename":"image_29012025_12_56_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/29/e017532607955e8c5e408dc59becfc94.jpg","text":"TemporaryFile(/tmp/multipartBody8481206075511988717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171713118,"filename":"image_29012025_12_56_24_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332717493","file1":"1332717489","file0":"1332717486","file4":"1332717502","file5":"1332717505","file3":"1332717499"},"map_files_photo_id_array":[{"photo_id":"1332717505","filename":"file5"},{"photo_id":"1332717493","filename":"file2"},{"photo_id":"1332717502","filename":"file4"},{"photo_id":"1332717489","filename":"file1"},{"photo_id":"1332717486","filename":"file0"},{"photo_id":"1332717499","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332717499":["hashtag1","hashtag2"]},{"1332717493":["hashtag1","hashtag2"]},{"1332717502":["hashtag1","hashtag2"]},{"1332717505":["hashtag1","hashtag2"]},{"1332717489":["hashtag1","hashtag2"]},{"1332717486":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332717499, 1332717493, 1332717502, 1332717505, 1332717489, 1332717486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03957939147949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:28:32.532437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/57/image_29012025_12_57_34_9329.jpg', '/home/pi/Desktop/images/29012025/12/57/image_29012025_12_57_44_10369.jpg', '/home/pi/Desktop/images/29012025/12/57/image_29012025_12_57_55_10342.jpg', '/home/pi/Desktop/images/29012025/12/57/image_29012025_12_58_04_9380.jpg', '/home/pi/Desktop/images/29012025/12/58/image_29012025_12_58_14_10409.jpg', '/home/pi/Desktop/images/29012025/12/58/image_29012025_12_58_25_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/57/image_29012025_12_57_34_9329.jpg
/home/pi/Desktop/images/29012025/12/57/image_29012025_12_57_44_10369.jpg
/home/pi/Desktop/images/29012025/12/57/image_29012025_12_57_55_10342.jpg
/home/pi/Desktop/images/29012025/12/57/image_29012025_12_58_04_9380.jpg
/home/pi/Desktop/images/29012025/12/58/image_29012025_12_58_14_10409.jpg
/home/pi/Desktop/images/29012025/12/58/image_29012025_12_58_25_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":["1332717575","1332717530","1332717527","1332717535","1332717523","1332717525"],"photo_ids_order":["1332717523","1332717525","1332717527","1332717530","1332717535","1332717575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d8a5116f65c04108e8d5488d26724fb2.jpg","text":"TemporaryFile(/tmp/multipartBody8240048940845705246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171773500,"filename":"image_29012025_12_58_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/29/fec1a6ed8b457cafbec9c359e7c6ab8d.jpg","text":"TemporaryFile(/tmp/multipartBody3071411419063804008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171773500,"filename":"image_29012025_12_58_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/29/5e255463a346a9d995f1574c3ed7147f.jpg","text":"TemporaryFile(/tmp/multipartBody4791258825600185593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171773500,"filename":"image_29012025_12_57_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/29/ec6012d56ae0af48bf22479228ad8c5c.jpg","text":"TemporaryFile(/tmp/multipartBody7882304337529055062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171773500,"filename":"image_29012025_12_58_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/29/83e1ef28b1b446f361ac22115c93ac60.jpg","text":"TemporaryFile(/tmp/multipartBody7515650457714183999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171773500,"filename":"image_29012025_12_57_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/29/8263c9d41289b2a5459f82d322a3ecc4.jpg","text":"TemporaryFile(/tmp/multipartBody1977819798190150963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171773500,"filename":"image_29012025_12_57_44_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332717527","file1":"1332717525","file0":"1332717523","file4":"1332717535","file5":"1332717575","file3":"1332717530"},"map_files_photo_id_array":[{"photo_id":"1332717575","filename":"file5"},{"photo_id":"1332717527","filename":"file2"},{"photo_id":"1332717535","filename":"file4"},{"photo_id":"1332717525","filename":"file1"},{"photo_id":"1332717523","filename":"file0"},{"photo_id":"1332717530","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332717575":["hashtag1","hashtag2"]},{"1332717530":["hashtag1","hashtag2"]},{"1332717527":["hashtag1","hashtag2"]},{"1332717535":["hashtag1","hashtag2"]},{"1332717523":["hashtag1","hashtag2"]},{"1332717525":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332717575, 1332717530, 1332717527, 1332717535, 1332717523, 1332717525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35148644447327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:29:32.729053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/58/image_29012025_12_58_34_9444.jpg', '/home/pi/Desktop/images/29012025/12/58/image_29012025_12_58_45_10363.jpg', '/home/pi/Desktop/images/29012025/12/58/image_29012025_12_59_04_10358.jpg', '/home/pi/Desktop/images/29012025/12/59/image_29012025_12_59_24_9409.jpg', '/home/pi/Desktop/images/29012025/12/59/image_29012025_12_59_34_10434.jpg', '/home/pi/Desktop/images/29012025/12/59/image_29012025_12_59_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/58/image_29012025_12_58_34_9444.jpg
/home/pi/Desktop/images/29012025/12/58/image_29012025_12_58_45_10363.jpg
/home/pi/Desktop/images/29012025/12/58/image_29012025_12_59_04_10358.jpg
/home/pi/Desktop/images/29012025/12/59/image_29012025_12_59_24_9409.jpg
/home/pi/Desktop/images/29012025/12/59/image_29012025_12_59_34_10434.jpg
/home/pi/Desktop/images/29012025/12/59/image_29012025_12_59_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":["1332717899","1332717845","1332717848","1332717812","1332717849","1332717837"],"photo_ids_order":["1332717812","1332717837","1332717845","1332717848","1332717849","1332717899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6514b4c26c83194c6050f9acf4357b9e.jpg","text":"TemporaryFile(/tmp/multipartBody3972747330576629766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171833687,"filename":"image_29012025_12_59_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/29/3b749176bb164f5fe36a20fffae300c9.jpg","text":"TemporaryFile(/tmp/multipartBody475652392636153344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171833687,"filename":"image_29012025_12_59_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/29/478762dd1c023f2fdbad4b3f672be08e.jpg","text":"TemporaryFile(/tmp/multipartBody3692317117403008892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171833687,"filename":"image_29012025_12_59_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/29/bf2b5bf604a124658b513b4c1b8b7933.jpg","text":"TemporaryFile(/tmp/multipartBody5690397881521725835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171833687,"filename":"image_29012025_12_58_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/29/70748bfc982a4104ce3f0176ff9a2d4e.jpg","text":"TemporaryFile(/tmp/multipartBody1017051801879348479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171833687,"filename":"image_29012025_12_59_34_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/29/04277104dfb0b4f29d6563e7a12a0daf.jpg","text":"TemporaryFile(/tmp/multipartBody7508132958458250836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171833687,"filename":"image_29012025_12_58_45_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332717845","file1":"1332717837","file0":"1332717812","file4":"1332717849","file5":"1332717899","file3":"1332717848"},"map_files_photo_id_array":[{"photo_id":"1332717899","filename":"file5"},{"photo_id":"1332717845","filename":"file2"},{"photo_id":"1332717849","filename":"file4"},{"photo_id":"1332717837","filename":"file1"},{"photo_id":"1332717812","filename":"file0"},{"photo_id":"1332717848","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332717899":["hashtag1","hashtag2"]},{"1332717845":["hashtag1","hashtag2"]},{"1332717848":["hashtag1","hashtag2"]},{"1332717812":["hashtag1","hashtag2"]},{"1332717849":["hashtag1","hashtag2"]},{"1332717837":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332717899, 1332717845, 1332717848, 1332717812, 1332717849, 1332717837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73131227493286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:30:32.854528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/12/59/image_29012025_12_59_54_9408.jpg', '/home/pi/Desktop/images/29012025/13/00/image_29012025_13_00_15_10081.jpg', '/home/pi/Desktop/images/29012025/13/00/image_29012025_13_00_26_10376.jpg', '/home/pi/Desktop/images/29012025/13/00/image_29012025_13_00_46_9331.jpg', '/home/pi/Desktop/images/29012025/13/00/image_29012025_13_00_56_10536.jpg', '/home/pi/Desktop/images/29012025/13/00/image_29012025_13_01_05_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/12/59/image_29012025_12_59_54_9408.jpg
/home/pi/Desktop/images/29012025/13/00/image_29012025_13_00_15_10081.jpg
/home/pi/Desktop/images/29012025/13/00/image_29012025_13_00_26_10376.jpg
/home/pi/Desktop/images/29012025/13/00/image_29012025_13_00_46_9331.jpg
/home/pi/Desktop/images/29012025/13/00/image_29012025_13_00_56_10536.jpg
/home/pi/Desktop/images/29012025/13/00/image_29012025_13_01_05_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":["1332717927","1332718049","1332717959","1332717932","1332717938","1332718036"],"photo_ids_order":["1332717927","1332717932","1332717938","1332717959","1332718036","1332718049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/371980854cc2f4da3c188d172219ad03.jpg","text":"TemporaryFile(/tmp/multipartBody4864605532348784452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171893813,"filename":"image_29012025_12_59_54_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/29/8effb8c715587861ddb6a5cb989559ef.jpg","text":"TemporaryFile(/tmp/multipartBody3272100758238774727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171893813,"filename":"image_29012025_13_01_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/29/14177cc4bdb29ccc15b70229b1b9f9bc.jpg","text":"TemporaryFile(/tmp/multipartBody5553281734127438965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171893813,"filename":"image_29012025_13_00_46_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/29/854e200bbdb752cb4021dd11629d5349.jpg","text":"TemporaryFile(/tmp/multipartBody6489574731921062628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171893813,"filename":"image_29012025_13_00_15_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/29/2d7f87435731aebef6a609212ff150a4.jpg","text":"TemporaryFile(/tmp/multipartBody6779371410500786503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171893813,"filename":"image_29012025_13_00_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/29/16d58dc4c7dbca093227cdd75bc6606f.jpg","text":"TemporaryFile(/tmp/multipartBody2244425964069318520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171893813,"filename":"image_29012025_13_00_56_10536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332717938","file1":"1332717932","file0":"1332717927","file4":"1332718036","file5":"1332718049","file3":"1332717959"},"map_files_photo_id_array":[{"photo_id":"1332718049","filename":"file5"},{"photo_id":"1332717938","filename":"file2"},{"photo_id":"1332718036","filename":"file4"},{"photo_id":"1332717932","filename":"file1"},{"photo_id":"1332717927","filename":"file0"},{"photo_id":"1332717959","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332717927":["hashtag1","hashtag2"]},{"1332718049":["hashtag1","hashtag2"]},{"1332717959":["hashtag1","hashtag2"]},{"1332717932":["hashtag1","hashtag2"]},{"1332717938":["hashtag1","hashtag2"]},{"1332718036":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332717927, 1332718049, 1332717959, 1332717932, 1332717938, 1332718036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63342308998108 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:31:33.033698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/01/image_29012025_13_01_16_10347.jpg', '/home/pi/Desktop/images/29012025/13/01/image_29012025_13_01_26_10361.jpg', '/home/pi/Desktop/images/29012025/13/01/image_29012025_13_01_35_9347.jpg', '/home/pi/Desktop/images/29012025/13/01/image_29012025_13_01_46_10425.jpg', '/home/pi/Desktop/images/29012025/13/01/image_29012025_13_01_56_10417.jpg', '/home/pi/Desktop/images/29012025/13/01/image_29012025_13_02_06_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/01/image_29012025_13_01_16_10347.jpg
/home/pi/Desktop/images/29012025/13/01/image_29012025_13_01_26_10361.jpg
/home/pi/Desktop/images/29012025/13/01/image_29012025_13_01_35_9347.jpg
/home/pi/Desktop/images/29012025/13/01/image_29012025_13_01_46_10425.jpg
/home/pi/Desktop/images/29012025/13/01/image_29012025_13_01_56_10417.jpg
/home/pi/Desktop/images/29012025/13/01/image_29012025_13_02_06_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":["1332718124","1332718121","1332718132","1332718128","1332718137","1332718110"],"photo_ids_order":["1332718110","1332718121","1332718124","1332718128","1332718132","1332718137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6a7c5d4007e91a1b46bf8de6b106391e.jpg","text":"TemporaryFile(/tmp/multipartBody6957511641681559829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171953999,"filename":"image_29012025_13_01_35_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/29/38a78d1ddf4b09f62ee374bbc00782c4.jpg","text":"TemporaryFile(/tmp/multipartBody3238222750476996196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171953999,"filename":"image_29012025_13_01_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/29/2039ed74a844655f17f2fe777a0f4078.jpg","text":"TemporaryFile(/tmp/multipartBody7581963251287434711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171953999,"filename":"image_29012025_13_01_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/29/3a1b9158dd646d4ca7b552b67eca7327.jpg","text":"TemporaryFile(/tmp/multipartBody7660925955678910009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171953999,"filename":"image_29012025_13_01_46_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/29/6655c9884ed2bc156bf22b618f06a2a8.jpg","text":"TemporaryFile(/tmp/multipartBody1795058387949191750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171953999,"filename":"image_29012025_13_02_06_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/29/8ca649fc99ea072d4fc16fa4e5f5a550.jpg","text":"TemporaryFile(/tmp/multipartBody7520791466514670489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738171953999,"filename":"image_29012025_13_01_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332718124","file1":"1332718121","file0":"1332718110","file4":"1332718132","file5":"1332718137","file3":"1332718128"},"map_files_photo_id_array":[{"photo_id":"1332718137","filename":"file5"},{"photo_id":"1332718124","filename":"file2"},{"photo_id":"1332718132","filename":"file4"},{"photo_id":"1332718121","filename":"file1"},{"photo_id":"1332718110","filename":"file0"},{"photo_id":"1332718128","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332718124":["hashtag1","hashtag2"]},{"1332718121":["hashtag1","hashtag2"]},{"1332718132":["hashtag1","hashtag2"]},{"1332718128":["hashtag1","hashtag2"]},{"1332718137":["hashtag1","hashtag2"]},{"1332718110":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332718124, 1332718121, 1332718132, 1332718128, 1332718137, 1332718110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.00658631324768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:32:32.358456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_16_10485.jpg', '/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_26_9359.jpg', '/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_46_10516.jpg', '/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_56_9360.jpg', '/home/pi/Desktop/images/29012025/13/02/image_29012025_13_03_06_10430.jpg', '/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_16_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_16_10485.jpg
/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_26_9359.jpg
/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_46_10516.jpg
/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_56_9360.jpg
/home/pi/Desktop/images/29012025/13/02/image_29012025_13_03_06_10430.jpg
/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_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: 1.3885619640350342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 18:32:42.394648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_16_10485.jpg', '/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_26_9359.jpg', '/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_46_10516.jpg', '/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_56_9360.jpg', '/home/pi/Desktop/images/29012025/13/02/image_29012025_13_03_06_10430.jpg', '/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_16_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_16_10485.jpg
/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_26_9359.jpg
/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_46_10516.jpg
/home/pi/Desktop/images/29012025/13/02/image_29012025_13_02_56_9360.jpg
/home/pi/Desktop/images/29012025/13/02/image_29012025_13_03_06_10430.jpg
/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_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":["1332718231","1332718257","1332718251","1332718239","1332718260","1332718224"],"photo_ids_order":["1332718224","1332718231","1332718239","1332718251","1332718257","1332718260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/021aa8613861906f54e2f3b4dc7b4e40.jpg","text":"TemporaryFile(/tmp/multipartBody8229941351503702666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172023305,"filename":"image_29012025_13_02_26_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/29/9892cf82a79d616f3a395ec22d6107a6.jpg","text":"TemporaryFile(/tmp/multipartBody6316962208203006631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172023305,"filename":"image_29012025_13_03_06_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/29/55e2a08d2d72fc093b44f1fcb451db55.jpg","text":"TemporaryFile(/tmp/multipartBody4902188650160815856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172023305,"filename":"image_29012025_13_02_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/29/4b01851865c468298a2e03c9a4793243.jpg","text":"TemporaryFile(/tmp/multipartBody1086590192590744013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172023305,"filename":"image_29012025_13_02_46_10516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6cf72b2f16964d0940e148bb72dae946.jpg","text":"TemporaryFile(/tmp/multipartBody8832036532588216150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172023305,"filename":"image_29012025_13_03_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/29/ef3444d5d6d95c40efacb009fd2141d3.jpg","text":"TemporaryFile(/tmp/multipartBody7482024903209053206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172023305,"filename":"image_29012025_13_02_16_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332718239","file1":"1332718231","file0":"1332718224","file4":"1332718257","file5":"1332718260","file3":"1332718251"},"map_files_photo_id_array":[{"photo_id":"1332718260","filename":"file5"},{"photo_id":"1332718239","filename":"file2"},{"photo_id":"1332718257","filename":"file4"},{"photo_id":"1332718231","filename":"file1"},{"photo_id":"1332718224","filename":"file0"},{"photo_id":"1332718251","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332718231":["hashtag1","hashtag2"]},{"1332718257":["hashtag1","hashtag2"]},{"1332718251":["hashtag1","hashtag2"]},{"1332718239":["hashtag1","hashtag2"]},{"1332718260":["hashtag1","hashtag2"]},{"1332718224":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332718231, 1332718257, 1332718251, 1332718239, 1332718260, 1332718224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.871803760528564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:33:32.516543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_26_10353.jpg', '/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_36_10427.jpg', '/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_46_9387.jpg', '/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_56_10362.jpg', '/home/pi/Desktop/images/29012025/13/03/image_29012025_13_04_05_9401.jpg', '/home/pi/Desktop/images/29012025/13/04/image_29012025_13_04_36_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_26_10353.jpg
/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_36_10427.jpg
/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_46_9387.jpg
/home/pi/Desktop/images/29012025/13/03/image_29012025_13_03_56_10362.jpg
/home/pi/Desktop/images/29012025/13/03/image_29012025_13_04_05_9401.jpg
/home/pi/Desktop/images/29012025/13/04/image_29012025_13_04_36_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":["1332718364","1332718288","1332718333","1332718327","1332718320","1332718314"],"photo_ids_order":["1332718288","1332718314","1332718320","1332718327","1332718333","1332718364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aa1837b68d7c6709e5401d01ac5cafe3.jpg","text":"TemporaryFile(/tmp/multipartBody8357427918356344185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172073498,"filename":"image_29012025_13_04_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/29/1ce5c96757a46560399be8caa96428db.jpg","text":"TemporaryFile(/tmp/multipartBody887308811344965383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172073498,"filename":"image_29012025_13_03_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/29/43ae56522f1bac1d965df50d85093c0e.jpg","text":"TemporaryFile(/tmp/multipartBody375603002590705223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172073498,"filename":"image_29012025_13_04_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/29/aa0cbdf914209246d45d0c4fdfce3449.jpg","text":"TemporaryFile(/tmp/multipartBody7521476296288592733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172073498,"filename":"image_29012025_13_03_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/29/30877402a59f03e39596feb6788f0bdd.jpg","text":"TemporaryFile(/tmp/multipartBody2646024306430078070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172073498,"filename":"image_29012025_13_03_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/29/1b5f1b9753c5b1b0141a330ae5ba6419.jpg","text":"TemporaryFile(/tmp/multipartBody6470146384535781855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172073498,"filename":"image_29012025_13_03_36_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332718320","file1":"1332718314","file0":"1332718288","file4":"1332718333","file5":"1332718364","file3":"1332718327"},"map_files_photo_id_array":[{"photo_id":"1332718364","filename":"file5"},{"photo_id":"1332718320","filename":"file2"},{"photo_id":"1332718333","filename":"file4"},{"photo_id":"1332718314","filename":"file1"},{"photo_id":"1332718288","filename":"file0"},{"photo_id":"1332718327","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332718364":["hashtag1","hashtag2"]},{"1332718288":["hashtag1","hashtag2"]},{"1332718333":["hashtag1","hashtag2"]},{"1332718327":["hashtag1","hashtag2"]},{"1332718320":["hashtag1","hashtag2"]},{"1332718314":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332718364, 1332718288, 1332718333, 1332718327, 1332718320, 1332718314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.756633043289185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:34:32.850215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/04/image_29012025_13_04_46_10461.jpg', '/home/pi/Desktop/images/29012025/13/04/image_29012025_13_04_56_9363.jpg', '/home/pi/Desktop/images/29012025/13/04/image_29012025_13_05_06_10344.jpg', '/home/pi/Desktop/images/29012025/13/05/image_29012025_13_05_16_10356.jpg', '/home/pi/Desktop/images/29012025/13/05/image_29012025_13_05_26_9346.jpg', '/home/pi/Desktop/images/29012025/13/05/image_29012025_13_05_36_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/04/image_29012025_13_04_46_10461.jpg
/home/pi/Desktop/images/29012025/13/04/image_29012025_13_04_56_9363.jpg
/home/pi/Desktop/images/29012025/13/04/image_29012025_13_05_06_10344.jpg
/home/pi/Desktop/images/29012025/13/05/image_29012025_13_05_16_10356.jpg
/home/pi/Desktop/images/29012025/13/05/image_29012025_13_05_26_9346.jpg
/home/pi/Desktop/images/29012025/13/05/image_29012025_13_05_36_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":["1332718558","1332718639","1332718804","1332718654","1332718761","1332718548"],"photo_ids_order":["1332718548","1332718558","1332718639","1332718654","1332718761","1332718804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5effe83dac1873feea713d9d78802cba.jpg","text":"TemporaryFile(/tmp/multipartBody2734760759354303098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172133822,"filename":"image_29012025_13_04_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/29/263828ff75ade7fbbcaf92a8b6a0a7de.jpg","text":"TemporaryFile(/tmp/multipartBody4418306749977527870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172133822,"filename":"image_29012025_13_05_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/29/1d36e7d536303af6027387b71bf58102.jpg","text":"TemporaryFile(/tmp/multipartBody4774130750971839609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172133822,"filename":"image_29012025_13_05_36_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/29/97f316a13f5812e84553e46792d27c1c.jpg","text":"TemporaryFile(/tmp/multipartBody3021640621155698390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172133822,"filename":"image_29012025_13_05_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/29/a4cc01abc9ab8e975a3d5d2d637a32be.jpg","text":"TemporaryFile(/tmp/multipartBody667406657829950253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172133822,"filename":"image_29012025_13_05_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/29/5bd2f56ab73c72159ba9d0517f77b678.jpg","text":"TemporaryFile(/tmp/multipartBody3541132779366487659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172133822,"filename":"image_29012025_13_04_46_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332718639","file1":"1332718558","file0":"1332718548","file4":"1332718761","file5":"1332718804","file3":"1332718654"},"map_files_photo_id_array":[{"photo_id":"1332718804","filename":"file5"},{"photo_id":"1332718639","filename":"file2"},{"photo_id":"1332718761","filename":"file4"},{"photo_id":"1332718558","filename":"file1"},{"photo_id":"1332718548","filename":"file0"},{"photo_id":"1332718654","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332718558":["hashtag1","hashtag2"]},{"1332718639":["hashtag1","hashtag2"]},{"1332718804":["hashtag1","hashtag2"]},{"1332718654":["hashtag1","hashtag2"]},{"1332718761":["hashtag1","hashtag2"]},{"1332718548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332718558, 1332718639, 1332718804, 1332718654, 1332718761, 1332718548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.51438641548157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:35:32.201092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/05/image_29012025_13_05_46_10408.jpg', '/home/pi/Desktop/images/29012025/13/05/image_29012025_13_05_56_9338.jpg', '/home/pi/Desktop/images/29012025/13/05/image_29012025_13_06_06_10438.jpg', '/home/pi/Desktop/images/29012025/13/06/image_29012025_13_06_15_9349.jpg', '/home/pi/Desktop/images/29012025/13/06/image_29012025_13_06_26_10347.jpg', '/home/pi/Desktop/images/29012025/13/06/image_29012025_13_06_36_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/05/image_29012025_13_05_46_10408.jpg
/home/pi/Desktop/images/29012025/13/05/image_29012025_13_05_56_9338.jpg
/home/pi/Desktop/images/29012025/13/05/image_29012025_13_06_06_10438.jpg
/home/pi/Desktop/images/29012025/13/06/image_29012025_13_06_15_9349.jpg
/home/pi/Desktop/images/29012025/13/06/image_29012025_13_06_26_10347.jpg
/home/pi/Desktop/images/29012025/13/06/image_29012025_13_06_36_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":["1332719015","1332718990","1332718972","1332719002","1332719022","1332719019"],"photo_ids_order":["1332718972","1332718990","1332719002","1332719015","1332719019","1332719022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d8fee24d7e2e211eebbbb3400d16aed5.jpg","text":"TemporaryFile(/tmp/multipartBody5671342590915462912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172193153,"filename":"image_29012025_13_06_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/29/cd1da5937d5a2e12e52f0e47303a1052.jpg","text":"TemporaryFile(/tmp/multipartBody4267476335596724623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172193153,"filename":"image_29012025_13_05_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/29/574e189be12db19292a039f56d49d140.jpg","text":"TemporaryFile(/tmp/multipartBody825904727943484560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172193153,"filename":"image_29012025_13_05_46_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/29/e5edd3e9330943c3e6d4ecc99fd6a418.jpg","text":"TemporaryFile(/tmp/multipartBody4310840409461005162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172193153,"filename":"image_29012025_13_06_06_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/29/a67b8e667de380d1bb80a7b18dd43f9b.jpg","text":"TemporaryFile(/tmp/multipartBody80202683574929433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172193153,"filename":"image_29012025_13_06_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/29/ae9e2dc0400001131d359f7f14f6fe71.jpg","text":"TemporaryFile(/tmp/multipartBody7008291676416057582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172193153,"filename":"image_29012025_13_06_26_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332719002","file1":"1332718990","file0":"1332718972","file4":"1332719019","file5":"1332719022","file3":"1332719015"},"map_files_photo_id_array":[{"photo_id":"1332719022","filename":"file5"},{"photo_id":"1332719002","filename":"file2"},{"photo_id":"1332719019","filename":"file4"},{"photo_id":"1332718990","filename":"file1"},{"photo_id":"1332718972","filename":"file0"},{"photo_id":"1332719015","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332719015":["hashtag1","hashtag2"]},{"1332718990":["hashtag1","hashtag2"]},{"1332718972":["hashtag1","hashtag2"]},{"1332719002":["hashtag1","hashtag2"]},{"1332719022":["hashtag1","hashtag2"]},{"1332719019":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332719015, 1332718990, 1332718972, 1332719002, 1332719022, 1332719019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.806865215301514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:36:32.441320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/06/image_29012025_13_06_45_9332.jpg', '/home/pi/Desktop/images/29012025/13/06/image_29012025_13_06_56_10337.jpg', '/home/pi/Desktop/images/29012025/13/06/image_29012025_13_07_06_10413.jpg', '/home/pi/Desktop/images/29012025/13/07/image_29012025_13_07_16_9336.jpg', '/home/pi/Desktop/images/29012025/13/07/image_29012025_13_07_26_10351.jpg', '/home/pi/Desktop/images/29012025/13/07/image_29012025_13_07_36_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/06/image_29012025_13_06_45_9332.jpg
/home/pi/Desktop/images/29012025/13/06/image_29012025_13_06_56_10337.jpg
/home/pi/Desktop/images/29012025/13/06/image_29012025_13_07_06_10413.jpg
/home/pi/Desktop/images/29012025/13/07/image_29012025_13_07_16_9336.jpg
/home/pi/Desktop/images/29012025/13/07/image_29012025_13_07_26_10351.jpg
/home/pi/Desktop/images/29012025/13/07/image_29012025_13_07_36_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":["1332719045","1332719039","1332719088","1332719052","1332719109","1332719036"],"photo_ids_order":["1332719036","1332719039","1332719045","1332719052","1332719088","1332719109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/56f02fe1b10b5276f05c91b36394d129.jpg","text":"TemporaryFile(/tmp/multipartBody2126735328861518430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172253404,"filename":"image_29012025_13_07_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/29/de4f625a4c5e21751a5c696da07746d6.jpg","text":"TemporaryFile(/tmp/multipartBody3141895996664466749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172253404,"filename":"image_29012025_13_06_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/29/88e67ba254ceba4568194ddd782f1dd7.jpg","text":"TemporaryFile(/tmp/multipartBody192482405011396652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172253404,"filename":"image_29012025_13_07_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/29/4b3a0a2c7f25d57730bbd8dcaa017975.jpg","text":"TemporaryFile(/tmp/multipartBody5878339898105074258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172253404,"filename":"image_29012025_13_07_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/29/e973442fe9b41a8590bb887e96a8ab84.jpg","text":"TemporaryFile(/tmp/multipartBody7493091934041818223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172253404,"filename":"image_29012025_13_07_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/29/7ee57082ccd4529179710009bb028b17.jpg","text":"TemporaryFile(/tmp/multipartBody713481665567194112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172253404,"filename":"image_29012025_13_06_45_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332719045","file1":"1332719039","file0":"1332719036","file4":"1332719088","file5":"1332719109","file3":"1332719052"},"map_files_photo_id_array":[{"photo_id":"1332719109","filename":"file5"},{"photo_id":"1332719045","filename":"file2"},{"photo_id":"1332719088","filename":"file4"},{"photo_id":"1332719039","filename":"file1"},{"photo_id":"1332719036","filename":"file0"},{"photo_id":"1332719052","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332719045":["hashtag1","hashtag2"]},{"1332719039":["hashtag1","hashtag2"]},{"1332719088":["hashtag1","hashtag2"]},{"1332719052":["hashtag1","hashtag2"]},{"1332719109":["hashtag1","hashtag2"]},{"1332719036":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332719045, 1332719039, 1332719088, 1332719052, 1332719109, 1332719036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.69977045059204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:37:32.639780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/07/image_29012025_13_07_46_9356.jpg', '/home/pi/Desktop/images/29012025/13/07/image_29012025_13_07_56_10497.jpg', '/home/pi/Desktop/images/29012025/13/07/image_29012025_13_08_05_9374.jpg', '/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_16_10355.jpg', '/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_26_10346.jpg', '/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_36_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/07/image_29012025_13_07_46_9356.jpg
/home/pi/Desktop/images/29012025/13/07/image_29012025_13_07_56_10497.jpg
/home/pi/Desktop/images/29012025/13/07/image_29012025_13_08_05_9374.jpg
/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_16_10355.jpg
/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_26_10346.jpg
/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_36_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332719312","1332719371","1332719295","1332719364","1332719226","1332719348"],"photo_ids_order":["1332719226","1332719295","1332719312","1332719348","1332719364","1332719371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/76e6e0c7ea54941b39e9e4f1f0d4b957.jpg","text":"TemporaryFile(/tmp/multipartBody3517031099339721905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172313594,"filename":"image_29012025_13_08_05_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/29/894cd67465c40d32b9fcdcc63f9eced6.jpg","text":"TemporaryFile(/tmp/multipartBody4672946229055602039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172313594,"filename":"image_29012025_13_08_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/29/bef6d0820d15206f8ec49da6a314e9ae.jpg","text":"TemporaryFile(/tmp/multipartBody978029104477357374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172313594,"filename":"image_29012025_13_07_56_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/29/219e49266f5f6aeb78d7daada63505f4.jpg","text":"TemporaryFile(/tmp/multipartBody4871942853603601258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172313594,"filename":"image_29012025_13_08_26_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/29/b9a47b22ef6108155666fc50e0e7e32f.jpg","text":"TemporaryFile(/tmp/multipartBody7790883407601805986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172313594,"filename":"image_29012025_13_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/29/18a167f2d3bf8830e47ce0ee1baf966d.jpg","text":"TemporaryFile(/tmp/multipartBody8489618990738071721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172313594,"filename":"image_29012025_13_08_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332719312","file1":"1332719295","file0":"1332719226","file4":"1332719364","file5":"1332719371","file3":"1332719348"},"map_files_photo_id_array":[{"photo_id":"1332719371","filename":"file5"},{"photo_id":"1332719312","filename":"file2"},{"photo_id":"1332719364","filename":"file4"},{"photo_id":"1332719295","filename":"file1"},{"photo_id":"1332719226","filename":"file0"},{"photo_id":"1332719348","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332719312":["hashtag1","hashtag2"]},{"1332719371":["hashtag1","hashtag2"]},{"1332719295":["hashtag1","hashtag2"]},{"1332719364":["hashtag1","hashtag2"]},{"1332719226":["hashtag1","hashtag2"]},{"1332719348":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332719312, 1332719371, 1332719295, 1332719364, 1332719226, 1332719348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.96022033691406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 18:38:42.905616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_46_10349.jpg', '/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_56_10413.jpg', '/home/pi/Desktop/images/29012025/13/08/image_29012025_13_09_06_9411.jpg', '/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_16_10496.jpg', '/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_26_9351.jpg', '/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_36_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_46_10349.jpg
/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_56_10413.jpg
/home/pi/Desktop/images/29012025/13/08/image_29012025_13_09_06_9411.jpg
/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_16_10496.jpg
/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_26_9351.jpg
/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_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.5658540725708008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:38:52.897810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_46_10349.jpg', '/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_56_10413.jpg', '/home/pi/Desktop/images/29012025/13/08/image_29012025_13_09_06_9411.jpg', '/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_16_10496.jpg', '/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_26_9351.jpg', '/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_36_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_46_10349.jpg
/home/pi/Desktop/images/29012025/13/08/image_29012025_13_08_56_10413.jpg
/home/pi/Desktop/images/29012025/13/08/image_29012025_13_09_06_9411.jpg
/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_16_10496.jpg
/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_26_9351.jpg
/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_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":["1332719627","1332719638","1332719632","1332719586","1332719613","1332719601"],"photo_ids_order":["1332719586","1332719601","1332719613","1332719627","1332719632","1332719638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bc90aa907e3043153f3d2de41217f66e.jpg","text":"TemporaryFile(/tmp/multipartBody1520658713123291395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172393789,"filename":"image_29012025_13_09_16_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/29/36bf5bc1023ab089c2d510bb532172d8.jpg","text":"TemporaryFile(/tmp/multipartBody990512097786758424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172393789,"filename":"image_29012025_13_09_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/29/0cc1a1305e6c5709d1485b6ca7d14763.jpg","text":"TemporaryFile(/tmp/multipartBody5699738076507397270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172393789,"filename":"image_29012025_13_09_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/29/b39fe75bfcb2b33f65d4c6b43a38291a.jpg","text":"TemporaryFile(/tmp/multipartBody428891725365533485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172393789,"filename":"image_29012025_13_08_46_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/29/486ef58a523028b5cc68494d00bb387c.jpg","text":"TemporaryFile(/tmp/multipartBody831765538231836565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172393789,"filename":"image_29012025_13_09_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/29/2be238ab14b312f13ca1a17d8f3eee78.jpg","text":"TemporaryFile(/tmp/multipartBody3110728836221049379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172393789,"filename":"image_29012025_13_08_56_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332719613","file1":"1332719601","file0":"1332719586","file4":"1332719632","file5":"1332719638","file3":"1332719627"},"map_files_photo_id_array":[{"photo_id":"1332719638","filename":"file5"},{"photo_id":"1332719613","filename":"file2"},{"photo_id":"1332719632","filename":"file4"},{"photo_id":"1332719601","filename":"file1"},{"photo_id":"1332719586","filename":"file0"},{"photo_id":"1332719627","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332719627":["hashtag1","hashtag2"]},{"1332719638":["hashtag1","hashtag2"]},{"1332719632":["hashtag1","hashtag2"]},{"1332719586":["hashtag1","hashtag2"]},{"1332719613":["hashtag1","hashtag2"]},{"1332719601":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332719627, 1332719638, 1332719632, 1332719586, 1332719613, 1332719601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.779256105422974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 18:39:43.145794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_46_10354.jpg', '/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_56_9391.jpg', '/home/pi/Desktop/images/29012025/13/09/image_29012025_13_10_06_10328.jpg', '/home/pi/Desktop/images/29012025/13/10/image_29012025_13_10_16_10336.jpg', '/home/pi/Desktop/images/29012025/13/10/image_29012025_13_10_26_9352.jpg', '/home/pi/Desktop/images/29012025/13/10/image_29012025_13_10_36_10517.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_46_10354.jpg
/home/pi/Desktop/images/29012025/13/09/image_29012025_13_09_56_9391.jpg
/home/pi/Desktop/images/29012025/13/09/image_29012025_13_10_06_10328.jpg
/home/pi/Desktop/images/29012025/13/10/image_29012025_13_10_16_10336.jpg
/home/pi/Desktop/images/29012025/13/10/image_29012025_13_10_26_9352.jpg
/home/pi/Desktop/images/29012025/13/10/image_29012025_13_10_36_10517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332719692","1332719686","1332719689","1332719680","1332719694","1332719664"],"photo_ids_order":["1332719664","1332719680","1332719686","1332719689","1332719692","1332719694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9b6006c223d69181fb41a043ce87b632.jpg","text":"TemporaryFile(/tmp/multipartBody6957101693327042853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172444132,"filename":"image_29012025_13_10_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/29/e91356b61f8f3f3f0ab86467987faa98.jpg","text":"TemporaryFile(/tmp/multipartBody6749840956021707534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172444132,"filename":"image_29012025_13_10_06_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/29/cb4e418d048232e5c84f8d5161651e1a.jpg","text":"TemporaryFile(/tmp/multipartBody3484636256674547270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172444132,"filename":"image_29012025_13_10_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/29/c3cb61f520582d583017053705bd4b8e.jpg","text":"TemporaryFile(/tmp/multipartBody8726144235531503037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172444132,"filename":"image_29012025_13_09_56_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/29/a9ad101c339d248dd095fe7622cdbc5c.jpg","text":"TemporaryFile(/tmp/multipartBody3680328204837216640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172444132,"filename":"image_29012025_13_10_36_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/29/1f512387e398d7d0736f44fa18aa753e.jpg","text":"TemporaryFile(/tmp/multipartBody3588590062257799932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172444132,"filename":"image_29012025_13_09_46_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332719686","file1":"1332719680","file0":"1332719664","file4":"1332719692","file5":"1332719694","file3":"1332719689"},"map_files_photo_id_array":[{"photo_id":"1332719694","filename":"file5"},{"photo_id":"1332719686","filename":"file2"},{"photo_id":"1332719692","filename":"file4"},{"photo_id":"1332719680","filename":"file1"},{"photo_id":"1332719664","filename":"file0"},{"photo_id":"1332719689","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332719692":["hashtag1","hashtag2"]},{"1332719686":["hashtag1","hashtag2"]},{"1332719689":["hashtag1","hashtag2"]},{"1332719680":["hashtag1","hashtag2"]},{"1332719694":["hashtag1","hashtag2"]},{"1332719664":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332719692, 1332719686, 1332719689, 1332719680, 1332719694, 1332719664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7579665184021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:40:32.266181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/10/image_29012025_13_10_46_9358.jpg', '/home/pi/Desktop/images/29012025/13/10/image_29012025_13_10_56_10360.jpg', '/home/pi/Desktop/images/29012025/13/10/image_29012025_13_11_06_10432.jpg', '/home/pi/Desktop/images/29012025/13/11/image_29012025_13_11_16_9350.jpg', '/home/pi/Desktop/images/29012025/13/11/image_29012025_13_11_26_10416.jpg', '/home/pi/Desktop/images/29012025/13/11/image_29012025_13_11_35_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/10/image_29012025_13_10_46_9358.jpg
/home/pi/Desktop/images/29012025/13/10/image_29012025_13_10_56_10360.jpg
/home/pi/Desktop/images/29012025/13/10/image_29012025_13_11_06_10432.jpg
/home/pi/Desktop/images/29012025/13/11/image_29012025_13_11_16_9350.jpg
/home/pi/Desktop/images/29012025/13/11/image_29012025_13_11_26_10416.jpg
/home/pi/Desktop/images/29012025/13/11/image_29012025_13_11_35_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":["1332719764","1332719926","1332719967","1332719724","1332719972","1332720027"],"photo_ids_order":["1332719724","1332719764","1332719926","1332719967","1332719972","1332720027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/280235c583b98678f6a496de127ee849.jpg","text":"TemporaryFile(/tmp/multipartBody6695193453107377303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172493218,"filename":"image_29012025_13_10_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/29/5bc4846428a2179d275f9d0fb52e509c.jpg","text":"TemporaryFile(/tmp/multipartBody7847752373803995085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172493218,"filename":"image_29012025_13_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/29/61e4c731b23449236c5f53fdd749762b.jpg","text":"TemporaryFile(/tmp/multipartBody2227231537577940124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172493218,"filename":"image_29012025_13_11_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/29/23f9bb3579eca1f78c3322bf5d65f0b5.jpg","text":"TemporaryFile(/tmp/multipartBody80125945155912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172493218,"filename":"image_29012025_13_10_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/29/3ef8d55f20ece8e33388a2bc1d7f15ee.jpg","text":"TemporaryFile(/tmp/multipartBody7848694960253757476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172493218,"filename":"image_29012025_13_11_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/29/611a8c63fe8f668e781632e24c604173.jpg","text":"TemporaryFile(/tmp/multipartBody6376639977434402492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172493218,"filename":"image_29012025_13_11_35_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332719926","file1":"1332719764","file0":"1332719724","file4":"1332719972","file5":"1332720027","file3":"1332719967"},"map_files_photo_id_array":[{"photo_id":"1332720027","filename":"file5"},{"photo_id":"1332719926","filename":"file2"},{"photo_id":"1332719972","filename":"file4"},{"photo_id":"1332719764","filename":"file1"},{"photo_id":"1332719724","filename":"file0"},{"photo_id":"1332719967","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332719764":["hashtag1","hashtag2"]},{"1332719926":["hashtag1","hashtag2"]},{"1332719967":["hashtag1","hashtag2"]},{"1332719724":["hashtag1","hashtag2"]},{"1332719972":["hashtag1","hashtag2"]},{"1332720027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332719764, 1332719926, 1332719967, 1332719724, 1332719972, 1332720027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65447664260864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:41:32.472396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/11/image_29012025_13_11_46_10367.jpg', '/home/pi/Desktop/images/29012025/13/11/image_29012025_13_11_56_10381.jpg', '/home/pi/Desktop/images/29012025/13/11/image_29012025_13_12_05_9328.jpg', '/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_16_10417.jpg', '/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_26_10442.jpg', '/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_36_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/11/image_29012025_13_11_46_10367.jpg
/home/pi/Desktop/images/29012025/13/11/image_29012025_13_11_56_10381.jpg
/home/pi/Desktop/images/29012025/13/11/image_29012025_13_12_05_9328.jpg
/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_16_10417.jpg
/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_26_10442.jpg
/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_36_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":["1332720128","1332720131","1332720124","1332720141","1332720144","1332720138"],"photo_ids_order":["1332720124","1332720128","1332720131","1332720138","1332720141","1332720144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/72a78145e758050e24d0b50f46c31271.jpg","text":"TemporaryFile(/tmp/multipartBody2778789192161030167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172553424,"filename":"image_29012025_13_11_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/29/e4ca3b14bf400acabaa3cf74ab6a9de5.jpg","text":"TemporaryFile(/tmp/multipartBody8956265196610833675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172553424,"filename":"image_29012025_13_12_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/29/267e2263d655e0fac4326d68703d63d3.jpg","text":"TemporaryFile(/tmp/multipartBody488613922696798566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172553424,"filename":"image_29012025_13_11_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/29/b41bf6965b22ce5f7ae1768a7d5ce01e.jpg","text":"TemporaryFile(/tmp/multipartBody6726237784025452131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172553424,"filename":"image_29012025_13_12_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/29/2caebb732620bf925753c4b76cb889c1.jpg","text":"TemporaryFile(/tmp/multipartBody4803717082935716760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172553424,"filename":"image_29012025_13_12_36_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/29/97d8aa07e2acd66e16c6f44410b82ddd.jpg","text":"TemporaryFile(/tmp/multipartBody925331413166294009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172553424,"filename":"image_29012025_13_12_16_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332720131","file1":"1332720128","file0":"1332720124","file4":"1332720141","file5":"1332720144","file3":"1332720138"},"map_files_photo_id_array":[{"photo_id":"1332720144","filename":"file5"},{"photo_id":"1332720131","filename":"file2"},{"photo_id":"1332720141","filename":"file4"},{"photo_id":"1332720128","filename":"file1"},{"photo_id":"1332720124","filename":"file0"},{"photo_id":"1332720138","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332720128":["hashtag1","hashtag2"]},{"1332720131":["hashtag1","hashtag2"]},{"1332720124":["hashtag1","hashtag2"]},{"1332720141":["hashtag1","hashtag2"]},{"1332720144":["hashtag1","hashtag2"]},{"1332720138":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332720128, 1332720131, 1332720124, 1332720141, 1332720144, 1332720138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.55186700820923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:42:32.738435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_46_10363.jpg', '/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_55_9341.jpg', '/home/pi/Desktop/images/29012025/13/12/image_29012025_13_13_06_10431.jpg', '/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_16_10425.jpg', '/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_26_9332.jpg', '/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_36_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_46_10363.jpg
/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_55_9341.jpg
/home/pi/Desktop/images/29012025/13/12/image_29012025_13_13_06_10431.jpg
/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_16_10425.jpg
/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_26_9332.jpg
/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_36_10463.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.5594618320465088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 18:42:42.717389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_46_10363.jpg', '/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_55_9341.jpg', '/home/pi/Desktop/images/29012025/13/12/image_29012025_13_13_06_10431.jpg', '/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_16_10425.jpg', '/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_26_9332.jpg', '/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_36_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_46_10363.jpg
/home/pi/Desktop/images/29012025/13/12/image_29012025_13_12_55_9341.jpg
/home/pi/Desktop/images/29012025/13/12/image_29012025_13_13_06_10431.jpg
/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_16_10425.jpg
/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_26_9332.jpg
/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_36_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332720191","1332720194","1332720188","1332720184","1332720178","1332720171"],"photo_ids_order":["1332720171","1332720178","1332720184","1332720188","1332720191","1332720194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d4cacb79617a883327d6ccf35ebb40ff.jpg","text":"TemporaryFile(/tmp/multipartBody2058833980890640002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172623607,"filename":"image_29012025_13_13_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/29/9f59419fd8b64d4b640200f961e25f30.jpg","text":"TemporaryFile(/tmp/multipartBody3239060318614944467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172623607,"filename":"image_29012025_13_13_36_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/29/e3f9a7b0c30b43c2a26a0d5853fce946.jpg","text":"TemporaryFile(/tmp/multipartBody5253783082574311264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172623607,"filename":"image_29012025_13_13_16_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/29/cf06c1a140ab2d38bd0866be53fe059b.jpg","text":"TemporaryFile(/tmp/multipartBody6935597392988002897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172623607,"filename":"image_29012025_13_13_06_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/29/8f96658c592a0bc8d3ba5036b8c331a8.jpg","text":"TemporaryFile(/tmp/multipartBody5169205232622983853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172623607,"filename":"image_29012025_13_12_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/29/37736cdacb4a97716cb069f324ba5bd5.jpg","text":"TemporaryFile(/tmp/multipartBody7846915279534085127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172623607,"filename":"image_29012025_13_12_46_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332720184","file1":"1332720178","file0":"1332720171","file4":"1332720191","file5":"1332720194","file3":"1332720188"},"map_files_photo_id_array":[{"photo_id":"1332720194","filename":"file5"},{"photo_id":"1332720184","filename":"file2"},{"photo_id":"1332720191","filename":"file4"},{"photo_id":"1332720178","filename":"file1"},{"photo_id":"1332720171","filename":"file0"},{"photo_id":"1332720188","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332720191":["hashtag1","hashtag2"]},{"1332720194":["hashtag1","hashtag2"]},{"1332720188":["hashtag1","hashtag2"]},{"1332720184":["hashtag1","hashtag2"]},{"1332720178":["hashtag1","hashtag2"]},{"1332720171":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332720191, 1332720194, 1332720188, 1332720184, 1332720178, 1332720171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73150706291199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:43:32.980809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_46_9405.jpg', '/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_56_10353.jpg', '/home/pi/Desktop/images/29012025/13/13/image_29012025_13_14_06_10350.jpg', '/home/pi/Desktop/images/29012025/13/14/image_29012025_13_14_16_9334.jpg', '/home/pi/Desktop/images/29012025/13/14/image_29012025_13_14_26_10343.jpg', '/home/pi/Desktop/images/29012025/13/14/image_29012025_13_14_36_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_46_9405.jpg
/home/pi/Desktop/images/29012025/13/13/image_29012025_13_13_56_10353.jpg
/home/pi/Desktop/images/29012025/13/13/image_29012025_13_14_06_10350.jpg
/home/pi/Desktop/images/29012025/13/14/image_29012025_13_14_16_9334.jpg
/home/pi/Desktop/images/29012025/13/14/image_29012025_13_14_26_10343.jpg
/home/pi/Desktop/images/29012025/13/14/image_29012025_13_14_36_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":["1332720278","1332720266","1332720227","1332720230","1332720274","1332720270"],"photo_ids_order":["1332720227","1332720230","1332720266","1332720270","1332720274","1332720278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d4f84506e709a7dac39a7af186c726d9.jpg","text":"TemporaryFile(/tmp/multipartBody635018404855788285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172673934,"filename":"image_29012025_13_14_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/29/337035e5679fb5ed26c04eec8d4f56a2.jpg","text":"TemporaryFile(/tmp/multipartBody3788127961359497557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172673934,"filename":"image_29012025_13_14_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/29/0eb98037b4f57045dd24b70fe5df8c85.jpg","text":"TemporaryFile(/tmp/multipartBody1364683000936008351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172673934,"filename":"image_29012025_13_13_46_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/29/c6a3d9f75f315ac0bc92ae0f23e7e8f4.jpg","text":"TemporaryFile(/tmp/multipartBody6461466204979704868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172673934,"filename":"image_29012025_13_13_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/29/0259bad8756a72878b3f32dcf3e7e875.jpg","text":"TemporaryFile(/tmp/multipartBody8522344406074459799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172673934,"filename":"image_29012025_13_14_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/29/66f1db40cf85ae2d7ade6cc6d1f55e2e.jpg","text":"TemporaryFile(/tmp/multipartBody5222912423477770096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172673934,"filename":"image_29012025_13_14_16_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332720266","file1":"1332720230","file0":"1332720227","file4":"1332720274","file5":"1332720278","file3":"1332720270"},"map_files_photo_id_array":[{"photo_id":"1332720278","filename":"file5"},{"photo_id":"1332720266","filename":"file2"},{"photo_id":"1332720274","filename":"file4"},{"photo_id":"1332720230","filename":"file1"},{"photo_id":"1332720227","filename":"file0"},{"photo_id":"1332720270","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332720278":["hashtag1","hashtag2"]},{"1332720266":["hashtag1","hashtag2"]},{"1332720227":["hashtag1","hashtag2"]},{"1332720230":["hashtag1","hashtag2"]},{"1332720274":["hashtag1","hashtag2"]},{"1332720270":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332720278, 1332720266, 1332720227, 1332720230, 1332720274, 1332720270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.290974617004395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:44:33.082177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/14/image_29012025_13_14_46_9345.jpg', '/home/pi/Desktop/images/29012025/13/14/image_29012025_13_14_56_10489.jpg', '/home/pi/Desktop/images/29012025/13/14/image_29012025_13_15_05_9346.jpg', '/home/pi/Desktop/images/29012025/13/15/image_29012025_13_15_16_10398.jpg', '/home/pi/Desktop/images/29012025/13/15/image_29012025_13_15_26_10413.jpg', '/home/pi/Desktop/images/29012025/13/15/image_29012025_13_15_36_9382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/14/image_29012025_13_14_46_9345.jpg
/home/pi/Desktop/images/29012025/13/14/image_29012025_13_14_56_10489.jpg
/home/pi/Desktop/images/29012025/13/14/image_29012025_13_15_05_9346.jpg
/home/pi/Desktop/images/29012025/13/15/image_29012025_13_15_16_10398.jpg
/home/pi/Desktop/images/29012025/13/15/image_29012025_13_15_26_10413.jpg
/home/pi/Desktop/images/29012025/13/15/image_29012025_13_15_36_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332720484","1332720472","1332720466","1332720480","1332720453","1332720435"],"photo_ids_order":["1332720435","1332720453","1332720466","1332720472","1332720480","1332720484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d9fc37591bf636699224e08ba63e53c6.jpg","text":"TemporaryFile(/tmp/multipartBody5765320276205713564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172734032,"filename":"image_29012025_13_15_36_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/29/ad1b358219851e90ec6a458b2bad8640.jpg","text":"TemporaryFile(/tmp/multipartBody2121873959151901782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172734032,"filename":"image_29012025_13_15_16_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/29/d6f574c7e7d1554620014f502e3e98c9.jpg","text":"TemporaryFile(/tmp/multipartBody4784811272592286580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172734032,"filename":"image_29012025_13_15_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/29/20a6a0b17d757f71d7c5cfaf5405aa85.jpg","text":"TemporaryFile(/tmp/multipartBody932545410835127414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172734032,"filename":"image_29012025_13_15_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/29/3be36a788b7bef065129780aa93ff1ae.jpg","text":"TemporaryFile(/tmp/multipartBody8804066205192373975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172734032,"filename":"image_29012025_13_14_56_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/29/13d79f7cefd23608bce0df7e1fc7b8da.jpg","text":"TemporaryFile(/tmp/multipartBody4975740007785318752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172734032,"filename":"image_29012025_13_14_46_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332720466","file1":"1332720453","file0":"1332720435","file4":"1332720480","file5":"1332720484","file3":"1332720472"},"map_files_photo_id_array":[{"photo_id":"1332720484","filename":"file5"},{"photo_id":"1332720466","filename":"file2"},{"photo_id":"1332720480","filename":"file4"},{"photo_id":"1332720453","filename":"file1"},{"photo_id":"1332720435","filename":"file0"},{"photo_id":"1332720472","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332720484":["hashtag1","hashtag2"]},{"1332720472":["hashtag1","hashtag2"]},{"1332720466":["hashtag1","hashtag2"]},{"1332720480":["hashtag1","hashtag2"]},{"1332720453":["hashtag1","hashtag2"]},{"1332720435":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332720484, 1332720472, 1332720466, 1332720480, 1332720453, 1332720435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.854637145996094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:45:32.328858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/15/image_29012025_13_15_46_10415.jpg', '/home/pi/Desktop/images/29012025/13/15/image_29012025_13_15_55_9403.jpg', '/home/pi/Desktop/images/29012025/13/15/image_29012025_13_16_06_10359.jpg', '/home/pi/Desktop/images/29012025/13/16/image_29012025_13_16_16_10356.jpg', '/home/pi/Desktop/images/29012025/13/16/image_29012025_13_16_26_9371.jpg', '/home/pi/Desktop/images/29012025/13/16/image_29012025_13_16_36_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/15/image_29012025_13_15_46_10415.jpg
/home/pi/Desktop/images/29012025/13/15/image_29012025_13_15_55_9403.jpg
/home/pi/Desktop/images/29012025/13/15/image_29012025_13_16_06_10359.jpg
/home/pi/Desktop/images/29012025/13/16/image_29012025_13_16_16_10356.jpg
/home/pi/Desktop/images/29012025/13/16/image_29012025_13_16_26_9371.jpg
/home/pi/Desktop/images/29012025/13/16/image_29012025_13_16_36_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332720662","1332720665","1332720659","1332720650","1332720620","1332720583"],"photo_ids_order":["1332720583","1332720620","1332720650","1332720659","1332720662","1332720665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4f8aaf7dcfb5ca0227eccb2df58cc949.jpg","text":"TemporaryFile(/tmp/multipartBody8480748613394229275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172793293,"filename":"image_29012025_13_16_26_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/29/0312bf8376f77a2f8a93cee52a6f0a45.jpg","text":"TemporaryFile(/tmp/multipartBody8434756106075738478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172793293,"filename":"image_29012025_13_16_36_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/29/4877b0dca5371172229aa4ffb1c4488e.jpg","text":"TemporaryFile(/tmp/multipartBody2934226211768844983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172793293,"filename":"image_29012025_13_16_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/29/0daa2be84d9147e1ff0dba11a8a8b5ad.jpg","text":"TemporaryFile(/tmp/multipartBody2926837734215505253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172793293,"filename":"image_29012025_13_16_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/29/6c2e17c60ed829935d6721fd80d81812.jpg","text":"TemporaryFile(/tmp/multipartBody6891557750110415904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172793293,"filename":"image_29012025_13_15_55_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/29/a1219e5c440b0145dbba40a02c7d3f6c.jpg","text":"TemporaryFile(/tmp/multipartBody9109538682350539970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172793293,"filename":"image_29012025_13_15_46_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332720650","file1":"1332720620","file0":"1332720583","file4":"1332720662","file5":"1332720665","file3":"1332720659"},"map_files_photo_id_array":[{"photo_id":"1332720665","filename":"file5"},{"photo_id":"1332720650","filename":"file2"},{"photo_id":"1332720662","filename":"file4"},{"photo_id":"1332720620","filename":"file1"},{"photo_id":"1332720583","filename":"file0"},{"photo_id":"1332720659","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332720662":["hashtag1","hashtag2"]},{"1332720665":["hashtag1","hashtag2"]},{"1332720659":["hashtag1","hashtag2"]},{"1332720650":["hashtag1","hashtag2"]},{"1332720620":["hashtag1","hashtag2"]},{"1332720583":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332720662, 1332720665, 1332720659, 1332720650, 1332720620, 1332720583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32780146598816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:46:32.553601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/16/image_29012025_13_16_46_10340.jpg', '/home/pi/Desktop/images/29012025/13/16/image_29012025_13_17_06_10564.jpg', '/home/pi/Desktop/images/29012025/13/17/image_29012025_13_17_16_9987.jpg', '/home/pi/Desktop/images/29012025/13/17/image_29012025_13_17_26_9358.jpg', '/home/pi/Desktop/images/29012025/13/17/image_29012025_13_17_36_10377.jpg', '/home/pi/Desktop/images/29012025/13/17/image_29012025_13_17_46_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/16/image_29012025_13_16_46_10340.jpg
/home/pi/Desktop/images/29012025/13/16/image_29012025_13_17_06_10564.jpg
/home/pi/Desktop/images/29012025/13/17/image_29012025_13_17_16_9987.jpg
/home/pi/Desktop/images/29012025/13/17/image_29012025_13_17_26_9358.jpg
/home/pi/Desktop/images/29012025/13/17/image_29012025_13_17_36_10377.jpg
/home/pi/Desktop/images/29012025/13/17/image_29012025_13_17_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":["1332721028","1332720695","1332720803","1332720699","1332720921","1332720723"],"photo_ids_order":["1332720695","1332720699","1332720723","1332720803","1332720921","1332721028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6ebe5e11411526e852a2e86b1b9f305d.jpg","text":"TemporaryFile(/tmp/multipartBody91555519019317578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172853523,"filename":"image_29012025_13_17_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/29/252bff08e2b3e828c04b4afe0fa86249.jpg","text":"TemporaryFile(/tmp/multipartBody3893945214604811733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172853523,"filename":"image_29012025_13_16_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/29/75a37e7bd5ebfea79aa3457f51526dca.jpg","text":"TemporaryFile(/tmp/multipartBody7694831813232434225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172853523,"filename":"image_29012025_13_17_26_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/29/20c087e998230b812660e584ea321448.jpg","text":"TemporaryFile(/tmp/multipartBody3855588470681433698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172853523,"filename":"image_29012025_13_17_06_10564.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b6b2cbdf61bc6a60000068512e147a85.jpg","text":"TemporaryFile(/tmp/multipartBody6867971002401540846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172853523,"filename":"image_29012025_13_17_36_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/29/8e88442210ee546a1511b4ea479082d5.jpg","text":"TemporaryFile(/tmp/multipartBody7159531068600142905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172853523,"filename":"image_29012025_13_17_16_9987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332720723","file1":"1332720699","file0":"1332720695","file4":"1332720921","file5":"1332721028","file3":"1332720803"},"map_files_photo_id_array":[{"photo_id":"1332721028","filename":"file5"},{"photo_id":"1332720723","filename":"file2"},{"photo_id":"1332720921","filename":"file4"},{"photo_id":"1332720699","filename":"file1"},{"photo_id":"1332720695","filename":"file0"},{"photo_id":"1332720803","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332721028":["hashtag1","hashtag2"]},{"1332720695":["hashtag1","hashtag2"]},{"1332720803":["hashtag1","hashtag2"]},{"1332720699":["hashtag1","hashtag2"]},{"1332720921":["hashtag1","hashtag2"]},{"1332720723":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332721028, 1332720695, 1332720803, 1332720699, 1332720921, 1332720723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07668995857239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:47:32.989025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/17/image_29012025_13_17_56_9350.jpg', '/home/pi/Desktop/images/29012025/13/17/image_29012025_13_18_06_10440.jpg', '/home/pi/Desktop/images/29012025/13/18/image_29012025_13_18_15_9345.jpg', '/home/pi/Desktop/images/29012025/13/18/image_29012025_13_18_26_10343.jpg', '/home/pi/Desktop/images/29012025/13/18/image_29012025_13_18_36_10352.jpg', '/home/pi/Desktop/images/29012025/13/18/image_29012025_13_18_46_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/17/image_29012025_13_17_56_9350.jpg
/home/pi/Desktop/images/29012025/13/17/image_29012025_13_18_06_10440.jpg
/home/pi/Desktop/images/29012025/13/18/image_29012025_13_18_15_9345.jpg
/home/pi/Desktop/images/29012025/13/18/image_29012025_13_18_26_10343.jpg
/home/pi/Desktop/images/29012025/13/18/image_29012025_13_18_36_10352.jpg
/home/pi/Desktop/images/29012025/13/18/image_29012025_13_18_46_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":["1332721273","1332721182","1332721191","1332721254","1332721268","1332721277"],"photo_ids_order":["1332721182","1332721191","1332721254","1332721268","1332721273","1332721277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c9575f5165bf16b6a54d8e7c3fde9743.jpg","text":"TemporaryFile(/tmp/multipartBody4763370491449140901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172913941,"filename":"image_29012025_13_18_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/29/a8deb340460a52ca24d374909a307874.jpg","text":"TemporaryFile(/tmp/multipartBody4315244132847794764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172913941,"filename":"image_29012025_13_17_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/29/729bab7352ad1311181f8243b1a1b7e3.jpg","text":"TemporaryFile(/tmp/multipartBody6267627094153133604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172913941,"filename":"image_29012025_13_18_06_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/29/e751be6a2320860b8c5b60938b201eaf.jpg","text":"TemporaryFile(/tmp/multipartBody5999629090295169354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172913941,"filename":"image_29012025_13_18_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/29/cfb244ee4229e6004bd5d55b8f64c428.jpg","text":"TemporaryFile(/tmp/multipartBody8788656063557722965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172913941,"filename":"image_29012025_13_18_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/29/ff34dca63bbe0a48233e99f96f965019.jpg","text":"TemporaryFile(/tmp/multipartBody2498714857147411975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172913941,"filename":"image_29012025_13_18_46_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332721254","file1":"1332721191","file0":"1332721182","file4":"1332721273","file5":"1332721277","file3":"1332721268"},"map_files_photo_id_array":[{"photo_id":"1332721277","filename":"file5"},{"photo_id":"1332721254","filename":"file2"},{"photo_id":"1332721273","filename":"file4"},{"photo_id":"1332721191","filename":"file1"},{"photo_id":"1332721182","filename":"file0"},{"photo_id":"1332721268","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332721273":["hashtag1","hashtag2"]},{"1332721182":["hashtag1","hashtag2"]},{"1332721191":["hashtag1","hashtag2"]},{"1332721254":["hashtag1","hashtag2"]},{"1332721268":["hashtag1","hashtag2"]},{"1332721277":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332721273, 1332721182, 1332721191, 1332721254, 1332721268, 1332721277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.844390630722046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:48:33.142323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/18/image_29012025_13_18_56_10439.jpg', '/home/pi/Desktop/images/29012025/13/18/image_29012025_13_19_06_10409.jpg', '/home/pi/Desktop/images/29012025/13/19/image_29012025_13_19_16_9343.jpg', '/home/pi/Desktop/images/29012025/13/19/image_29012025_13_19_26_10455.jpg', '/home/pi/Desktop/images/29012025/13/19/image_29012025_13_19_36_9385.jpg', '/home/pi/Desktop/images/29012025/13/19/image_29012025_13_19_46_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/18/image_29012025_13_18_56_10439.jpg
/home/pi/Desktop/images/29012025/13/18/image_29012025_13_19_06_10409.jpg
/home/pi/Desktop/images/29012025/13/19/image_29012025_13_19_16_9343.jpg
/home/pi/Desktop/images/29012025/13/19/image_29012025_13_19_26_10455.jpg
/home/pi/Desktop/images/29012025/13/19/image_29012025_13_19_36_9385.jpg
/home/pi/Desktop/images/29012025/13/19/image_29012025_13_19_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":["1332721352","1332721345","1332721354","1332721336","1332721341","1332721349"],"photo_ids_order":["1332721336","1332721341","1332721345","1332721349","1332721352","1332721354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8378db15a2efdf56603539e90df7a4b0.jpg","text":"TemporaryFile(/tmp/multipartBody198122770165176298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172974092,"filename":"image_29012025_13_19_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/29/80a82d7611e7994ab26f223bc44596c9.jpg","text":"TemporaryFile(/tmp/multipartBody2758636967354593646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172974092,"filename":"image_29012025_13_19_16_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/29/fc5e7de1f23d36b80314ebd10c61f105.jpg","text":"TemporaryFile(/tmp/multipartBody6457698751173046365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172974092,"filename":"image_29012025_13_19_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/29/ae9c05edc3e5ce0d12dd11b72555b0f1.jpg","text":"TemporaryFile(/tmp/multipartBody506840792206929310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172974092,"filename":"image_29012025_13_18_56_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/29/967a31ac1ccd93f8affcac591f6cf233.jpg","text":"TemporaryFile(/tmp/multipartBody496548626072778665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172974092,"filename":"image_29012025_13_19_06_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/29/23b83364862cb1ee5647f0fd55b68737.jpg","text":"TemporaryFile(/tmp/multipartBody4431138152414899690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738172974092,"filename":"image_29012025_13_19_26_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332721345","file1":"1332721341","file0":"1332721336","file4":"1332721352","file5":"1332721354","file3":"1332721349"},"map_files_photo_id_array":[{"photo_id":"1332721354","filename":"file5"},{"photo_id":"1332721345","filename":"file2"},{"photo_id":"1332721352","filename":"file4"},{"photo_id":"1332721341","filename":"file1"},{"photo_id":"1332721336","filename":"file0"},{"photo_id":"1332721349","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332721352":["hashtag1","hashtag2"]},{"1332721345":["hashtag1","hashtag2"]},{"1332721354":["hashtag1","hashtag2"]},{"1332721336":["hashtag1","hashtag2"]},{"1332721341":["hashtag1","hashtag2"]},{"1332721349":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332721352, 1332721345, 1332721354, 1332721336, 1332721341, 1332721349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13809394836426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:49:32.552393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/19/image_29012025_13_19_56_10425.jpg', '/home/pi/Desktop/images/29012025/13/19/image_29012025_13_20_06_9340.jpg', '/home/pi/Desktop/images/29012025/13/20/image_29012025_13_20_16_10397.jpg', '/home/pi/Desktop/images/29012025/13/20/image_29012025_13_20_25_9435.jpg', '/home/pi/Desktop/images/29012025/13/20/image_29012025_13_20_36_10350.jpg', '/home/pi/Desktop/images/29012025/13/20/image_29012025_13_20_46_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/19/image_29012025_13_19_56_10425.jpg
/home/pi/Desktop/images/29012025/13/19/image_29012025_13_20_06_9340.jpg
/home/pi/Desktop/images/29012025/13/20/image_29012025_13_20_16_10397.jpg
/home/pi/Desktop/images/29012025/13/20/image_29012025_13_20_25_9435.jpg
/home/pi/Desktop/images/29012025/13/20/image_29012025_13_20_36_10350.jpg
/home/pi/Desktop/images/29012025/13/20/image_29012025_13_20_46_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":["1332721412","1332721447","1332721435","1332721420","1332721423","1332721401"],"photo_ids_order":["1332721401","1332721412","1332721420","1332721423","1332721435","1332721447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a5ed1e129f661191321994163eaa9cee.jpg","text":"TemporaryFile(/tmp/multipartBody3702869557361514255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173033509,"filename":"image_29012025_13_20_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/29/2148c5032df5c4e0b794a0102e053cc6.jpg","text":"TemporaryFile(/tmp/multipartBody7195515836805534918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173033509,"filename":"image_29012025_13_20_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/29/ca4184ed93a62c15627f8ab64427d32a.jpg","text":"TemporaryFile(/tmp/multipartBody4435578207521515125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173033509,"filename":"image_29012025_13_20_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/29/383ca06c07a5d9edb45939fa80594a2e.jpg","text":"TemporaryFile(/tmp/multipartBody1623017772707019313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173033509,"filename":"image_29012025_13_20_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/29/945d68943cfc92f3095d7d338bb2023e.jpg","text":"TemporaryFile(/tmp/multipartBody2134978481792421933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173033509,"filename":"image_29012025_13_20_25_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/29/f9d3769ffea1bbd2e1f7eb7781c938f5.jpg","text":"TemporaryFile(/tmp/multipartBody2076904303101835380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173033509,"filename":"image_29012025_13_19_56_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332721420","file1":"1332721412","file0":"1332721401","file4":"1332721435","file5":"1332721447","file3":"1332721423"},"map_files_photo_id_array":[{"photo_id":"1332721447","filename":"file5"},{"photo_id":"1332721420","filename":"file2"},{"photo_id":"1332721435","filename":"file4"},{"photo_id":"1332721412","filename":"file1"},{"photo_id":"1332721401","filename":"file0"},{"photo_id":"1332721423","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332721412":["hashtag1","hashtag2"]},{"1332721447":["hashtag1","hashtag2"]},{"1332721435":["hashtag1","hashtag2"]},{"1332721420":["hashtag1","hashtag2"]},{"1332721423":["hashtag1","hashtag2"]},{"1332721401":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332721412, 1332721447, 1332721435, 1332721420, 1332721423, 1332721401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.40066933631897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:50:32.746690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/20/image_29012025_13_20_56_9340.jpg', '/home/pi/Desktop/images/29012025/13/20/image_29012025_13_21_06_10361.jpg', '/home/pi/Desktop/images/29012025/13/21/image_29012025_13_21_16_10433.jpg', '/home/pi/Desktop/images/29012025/13/21/image_29012025_13_21_26_9358.jpg', '/home/pi/Desktop/images/29012025/13/21/image_29012025_13_21_36_10451.jpg', '/home/pi/Desktop/images/29012025/13/21/image_29012025_13_21_45_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/20/image_29012025_13_20_56_9340.jpg
/home/pi/Desktop/images/29012025/13/20/image_29012025_13_21_06_10361.jpg
/home/pi/Desktop/images/29012025/13/21/image_29012025_13_21_16_10433.jpg
/home/pi/Desktop/images/29012025/13/21/image_29012025_13_21_26_9358.jpg
/home/pi/Desktop/images/29012025/13/21/image_29012025_13_21_36_10451.jpg
/home/pi/Desktop/images/29012025/13/21/image_29012025_13_21_45_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":["1332721474","1332721557","1332721470","1332721464","1332721467","1332721487"],"photo_ids_order":["1332721464","1332721467","1332721470","1332721474","1332721487","1332721557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ecad1ebcdf57e67ddffc5e2797b34f5a.jpg","text":"TemporaryFile(/tmp/multipartBody3077113703772719179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173093726,"filename":"image_29012025_13_21_26_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/29/fc9fe7f1ed2e86767af24c5cd71350f2.jpg","text":"TemporaryFile(/tmp/multipartBody1251876503394449497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173093726,"filename":"image_29012025_13_21_45_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/29/25ac42158998852d5549bb23cc588048.jpg","text":"TemporaryFile(/tmp/multipartBody2861780627970518101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173093726,"filename":"image_29012025_13_21_16_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/29/0a2b9f3d9eaf7f0ba83578304daf8bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2265645240975401564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173093726,"filename":"image_29012025_13_20_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/29/17fc68db59aa54374c428fce50b63f23.jpg","text":"TemporaryFile(/tmp/multipartBody5639647319869894026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173093726,"filename":"image_29012025_13_21_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/29/8cfbd5c86fe9a00130f2888de21d823e.jpg","text":"TemporaryFile(/tmp/multipartBody1414045199278252286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173093726,"filename":"image_29012025_13_21_36_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332721470","file1":"1332721467","file0":"1332721464","file4":"1332721487","file5":"1332721557","file3":"1332721474"},"map_files_photo_id_array":[{"photo_id":"1332721557","filename":"file5"},{"photo_id":"1332721470","filename":"file2"},{"photo_id":"1332721487","filename":"file4"},{"photo_id":"1332721467","filename":"file1"},{"photo_id":"1332721464","filename":"file0"},{"photo_id":"1332721474","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332721474":["hashtag1","hashtag2"]},{"1332721557":["hashtag1","hashtag2"]},{"1332721470":["hashtag1","hashtag2"]},{"1332721464":["hashtag1","hashtag2"]},{"1332721467":["hashtag1","hashtag2"]},{"1332721487":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332721474, 1332721557, 1332721470, 1332721464, 1332721467, 1332721487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01929450035095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:51:32.322131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/21/image_29012025_13_21_56_10366.jpg', '/home/pi/Desktop/images/29012025/13/21/image_29012025_13_22_06_10462.jpg', '/home/pi/Desktop/images/29012025/13/22/image_29012025_13_22_16_9429.jpg', '/home/pi/Desktop/images/29012025/13/22/image_29012025_13_22_26_10415.jpg', '/home/pi/Desktop/images/29012025/13/22/image_29012025_13_22_36_9351.jpg', '/home/pi/Desktop/images/29012025/13/22/image_29012025_13_22_46_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/21/image_29012025_13_21_56_10366.jpg
/home/pi/Desktop/images/29012025/13/21/image_29012025_13_22_06_10462.jpg
/home/pi/Desktop/images/29012025/13/22/image_29012025_13_22_16_9429.jpg
/home/pi/Desktop/images/29012025/13/22/image_29012025_13_22_26_10415.jpg
/home/pi/Desktop/images/29012025/13/22/image_29012025_13_22_36_9351.jpg
/home/pi/Desktop/images/29012025/13/22/image_29012025_13_22_46_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":["1332721622","1332721693","1332721625","1332721696","1332721630","1332721691"],"photo_ids_order":["1332721622","1332721625","1332721630","1332721691","1332721693","1332721696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/43d3b3ac645cec5e054428c900c1f38f.jpg","text":"TemporaryFile(/tmp/multipartBody3343260973427572290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173153283,"filename":"image_29012025_13_21_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/29/1cf2122afaf8c33999f4583b3967dbee.jpg","text":"TemporaryFile(/tmp/multipartBody8281462653597152480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173153283,"filename":"image_29012025_13_22_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/29/94e251075431f0dbffb4874d1e2e74c3.jpg","text":"TemporaryFile(/tmp/multipartBody3965468559846053735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173153283,"filename":"image_29012025_13_22_06_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/29/1e0cfa277d8497914fc645f8c85d172e.jpg","text":"TemporaryFile(/tmp/multipartBody4464161289097394233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173153283,"filename":"image_29012025_13_22_46_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/29/f98bff08f55960c14110eba7370960cb.jpg","text":"TemporaryFile(/tmp/multipartBody7406572874068762823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173153283,"filename":"image_29012025_13_22_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/29/9d3a501f3a36fb6e50f20e147b44fd74.jpg","text":"TemporaryFile(/tmp/multipartBody5210399780732762796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173153283,"filename":"image_29012025_13_22_26_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332721630","file1":"1332721625","file0":"1332721622","file4":"1332721693","file5":"1332721696","file3":"1332721691"},"map_files_photo_id_array":[{"photo_id":"1332721696","filename":"file5"},{"photo_id":"1332721630","filename":"file2"},{"photo_id":"1332721693","filename":"file4"},{"photo_id":"1332721625","filename":"file1"},{"photo_id":"1332721622","filename":"file0"},{"photo_id":"1332721691","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332721622":["hashtag1","hashtag2"]},{"1332721693":["hashtag1","hashtag2"]},{"1332721625":["hashtag1","hashtag2"]},{"1332721696":["hashtag1","hashtag2"]},{"1332721630":["hashtag1","hashtag2"]},{"1332721691":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332721622, 1332721693, 1332721625, 1332721696, 1332721630, 1332721691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.951974391937256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:52:32.410809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/22/image_29012025_13_23_06_9419.jpg', '/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_16_10458.jpg', '/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_26_9434.jpg', '/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_36_10444.jpg', '/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_45_9338.jpg', '/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_56_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/22/image_29012025_13_23_06_9419.jpg
/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_16_10458.jpg
/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_26_9434.jpg
/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_36_10444.jpg
/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_45_9338.jpg
/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_56_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.5664858818054199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 18:52:42.407057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/22/image_29012025_13_23_06_9419.jpg', '/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_16_10458.jpg', '/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_26_9434.jpg', '/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_36_10444.jpg', '/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_45_9338.jpg', '/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_56_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/22/image_29012025_13_23_06_9419.jpg
/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_16_10458.jpg
/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_26_9434.jpg
/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_36_10444.jpg
/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_45_9338.jpg
/home/pi/Desktop/images/29012025/13/23/image_29012025_13_23_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":["1332721741","1332721723","1332721734","1332721737","1332721730","1332721727"],"photo_ids_order":["1332721723","1332721727","1332721730","1332721734","1332721737","1332721741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/470893f27d217fe929983d29c9948e5b.jpg","text":"TemporaryFile(/tmp/multipartBody2725714560093443051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173223304,"filename":"image_29012025_13_23_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/29/cbd45653af246deed43cffc8d8497826.jpg","text":"TemporaryFile(/tmp/multipartBody7816727157090599197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173223304,"filename":"image_29012025_13_23_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/29/f9145c6bae1c937ab62ec0eafb26257b.jpg","text":"TemporaryFile(/tmp/multipartBody6681456970059398959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173223304,"filename":"image_29012025_13_23_36_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/29/a0b3bc2b12198abb77bded22450b0f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7329927607692064607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173223304,"filename":"image_29012025_13_23_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/29/3c3a73f08bf9d647d86d3addf85a918e.jpg","text":"TemporaryFile(/tmp/multipartBody5927113528779811592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173223304,"filename":"image_29012025_13_23_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/29/d036cb24966c09fdde826153a2c8f69b.jpg","text":"TemporaryFile(/tmp/multipartBody2255155388497652462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173223304,"filename":"image_29012025_13_23_16_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332721730","file1":"1332721727","file0":"1332721723","file4":"1332721737","file5":"1332721741","file3":"1332721734"},"map_files_photo_id_array":[{"photo_id":"1332721741","filename":"file5"},{"photo_id":"1332721730","filename":"file2"},{"photo_id":"1332721737","filename":"file4"},{"photo_id":"1332721727","filename":"file1"},{"photo_id":"1332721723","filename":"file0"},{"photo_id":"1332721734","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332721741":["hashtag1","hashtag2"]},{"1332721723":["hashtag1","hashtag2"]},{"1332721734":["hashtag1","hashtag2"]},{"1332721737":["hashtag1","hashtag2"]},{"1332721730":["hashtag1","hashtag2"]},{"1332721727":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332721741, 1332721723, 1332721734, 1332721737, 1332721730, 1332721727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.56300354003906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:53:32.648239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/23/image_29012025_13_24_06_10416.jpg', '/home/pi/Desktop/images/29012025/13/24/image_29012025_13_24_16_9356.jpg', '/home/pi/Desktop/images/29012025/13/24/image_29012025_13_24_26_10348.jpg', '/home/pi/Desktop/images/29012025/13/24/image_29012025_13_24_36_10346.jpg', '/home/pi/Desktop/images/29012025/13/24/image_29012025_13_24_46_9358.jpg', '/home/pi/Desktop/images/29012025/13/24/image_29012025_13_24_56_10464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/23/image_29012025_13_24_06_10416.jpg
/home/pi/Desktop/images/29012025/13/24/image_29012025_13_24_16_9356.jpg
/home/pi/Desktop/images/29012025/13/24/image_29012025_13_24_26_10348.jpg
/home/pi/Desktop/images/29012025/13/24/image_29012025_13_24_36_10346.jpg
/home/pi/Desktop/images/29012025/13/24/image_29012025_13_24_46_9358.jpg
/home/pi/Desktop/images/29012025/13/24/image_29012025_13_24_56_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332721798","1332721777","1332721818","1332721796","1332721799","1332721760"],"photo_ids_order":["1332721760","1332721777","1332721796","1332721798","1332721799","1332721818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b0415317ef0c5c8ac0b3518e50e6ef93.jpg","text":"TemporaryFile(/tmp/multipartBody1980408345759490335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173273606,"filename":"image_29012025_13_24_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/29/4b84421fdcf9880cb8f8ec3d58c0d8c2.jpg","text":"TemporaryFile(/tmp/multipartBody2954905495265978115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173273606,"filename":"image_29012025_13_24_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/29/8bfab43a5fba62067219cfbe52b9adca.jpg","text":"TemporaryFile(/tmp/multipartBody4118811897823332784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173273606,"filename":"image_29012025_13_24_56_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/29/495da349c89023138e755263ca8b1957.jpg","text":"TemporaryFile(/tmp/multipartBody4413544136922743204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173273606,"filename":"image_29012025_13_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/29/41fe48246effa9a47023a82c7f30c013.jpg","text":"TemporaryFile(/tmp/multipartBody5839452996045656396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173273606,"filename":"image_29012025_13_24_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/29/c973e4ef59a87f0342e43f6cf4072e30.jpg","text":"TemporaryFile(/tmp/multipartBody6292083849010491184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173273606,"filename":"image_29012025_13_24_06_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332721796","file1":"1332721777","file0":"1332721760","file4":"1332721799","file5":"1332721818","file3":"1332721798"},"map_files_photo_id_array":[{"photo_id":"1332721818","filename":"file5"},{"photo_id":"1332721796","filename":"file2"},{"photo_id":"1332721799","filename":"file4"},{"photo_id":"1332721777","filename":"file1"},{"photo_id":"1332721760","filename":"file0"},{"photo_id":"1332721798","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332721798":["hashtag1","hashtag2"]},{"1332721777":["hashtag1","hashtag2"]},{"1332721818":["hashtag1","hashtag2"]},{"1332721796":["hashtag1","hashtag2"]},{"1332721799":["hashtag1","hashtag2"]},{"1332721760":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332721798, 1332721777, 1332721818, 1332721796, 1332721799, 1332721760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.58327102661133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:54:32.835055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/24/image_29012025_13_25_05_9415.jpg', '/home/pi/Desktop/images/29012025/13/25/image_29012025_13_25_16_10379.jpg', '/home/pi/Desktop/images/29012025/13/25/image_29012025_13_25_26_10349.jpg', '/home/pi/Desktop/images/29012025/13/25/image_29012025_13_25_36_9432.jpg', '/home/pi/Desktop/images/29012025/13/25/image_29012025_13_25_46_10490.jpg', '/home/pi/Desktop/images/29012025/13/25/image_29012025_13_25_55_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/24/image_29012025_13_25_05_9415.jpg
/home/pi/Desktop/images/29012025/13/25/image_29012025_13_25_16_10379.jpg
/home/pi/Desktop/images/29012025/13/25/image_29012025_13_25_26_10349.jpg
/home/pi/Desktop/images/29012025/13/25/image_29012025_13_25_36_9432.jpg
/home/pi/Desktop/images/29012025/13/25/image_29012025_13_25_46_10490.jpg
/home/pi/Desktop/images/29012025/13/25/image_29012025_13_25_55_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":["1332721885","1332721912","1332721906","1332721899","1332721893","1332721880"],"photo_ids_order":["1332721880","1332721885","1332721893","1332721899","1332721906","1332721912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f5b1817e760c974c54598cc97f7ee726.jpg","text":"TemporaryFile(/tmp/multipartBody6557097586369482303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173333788,"filename":"image_29012025_13_25_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/29/2ff2eb1c3a0871da808130e90358f838.jpg","text":"TemporaryFile(/tmp/multipartBody3676524588787829566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173333788,"filename":"image_29012025_13_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/29/955ffb5ba29b1ebade50a9b4b9954362.jpg","text":"TemporaryFile(/tmp/multipartBody168388609796590816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173333788,"filename":"image_29012025_13_25_46_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/29/55e8dcdde2063d31207fa0eedcc6b438.jpg","text":"TemporaryFile(/tmp/multipartBody8792134763649109037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173333788,"filename":"image_29012025_13_25_36_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/29/c74df77c3de0f969ae6d3b93603c96a6.jpg","text":"TemporaryFile(/tmp/multipartBody1595214007713256038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173333788,"filename":"image_29012025_13_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/29/dc44267d206489ad6a931efaaf0a018e.jpg","text":"TemporaryFile(/tmp/multipartBody900786098939011558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173333788,"filename":"image_29012025_13_25_05_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332721893","file1":"1332721885","file0":"1332721880","file4":"1332721906","file5":"1332721912","file3":"1332721899"},"map_files_photo_id_array":[{"photo_id":"1332721912","filename":"file5"},{"photo_id":"1332721893","filename":"file2"},{"photo_id":"1332721906","filename":"file4"},{"photo_id":"1332721885","filename":"file1"},{"photo_id":"1332721880","filename":"file0"},{"photo_id":"1332721899","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332721885":["hashtag1","hashtag2"]},{"1332721912":["hashtag1","hashtag2"]},{"1332721906":["hashtag1","hashtag2"]},{"1332721899":["hashtag1","hashtag2"]},{"1332721893":["hashtag1","hashtag2"]},{"1332721880":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332721885, 1332721912, 1332721906, 1332721899, 1332721893, 1332721880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60355234146118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:55:33.016649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/25/image_29012025_13_26_06_10336.jpg', '/home/pi/Desktop/images/29012025/13/26/image_29012025_13_26_16_10359.jpg', '/home/pi/Desktop/images/29012025/13/26/image_29012025_13_26_26_9368.jpg', '/home/pi/Desktop/images/29012025/13/26/image_29012025_13_26_36_10395.jpg', '/home/pi/Desktop/images/29012025/13/26/image_29012025_13_26_46_10343.jpg', '/home/pi/Desktop/images/29012025/13/26/image_29012025_13_26_56_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/25/image_29012025_13_26_06_10336.jpg
/home/pi/Desktop/images/29012025/13/26/image_29012025_13_26_16_10359.jpg
/home/pi/Desktop/images/29012025/13/26/image_29012025_13_26_26_9368.jpg
/home/pi/Desktop/images/29012025/13/26/image_29012025_13_26_36_10395.jpg
/home/pi/Desktop/images/29012025/13/26/image_29012025_13_26_46_10343.jpg
/home/pi/Desktop/images/29012025/13/26/image_29012025_13_26_56_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":["1332721942","1332722034","1332721929","1332721955","1332721946","1332721925"],"photo_ids_order":["1332721925","1332721929","1332721942","1332721946","1332721955","1332722034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ce36372f1686edacfc17dc694b12061a.jpg","text":"TemporaryFile(/tmp/multipartBody6076602170574095698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173393985,"filename":"image_29012025_13_26_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/29/7992d7c26eeae67d2f7f620b0d6004d2.jpg","text":"TemporaryFile(/tmp/multipartBody4409803381843366202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173393985,"filename":"image_29012025_13_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/29/a2db8fa001d421c2f79a755671fb93e1.jpg","text":"TemporaryFile(/tmp/multipartBody3675079461492689196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173393985,"filename":"image_29012025_13_26_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/29/735a373034f6b7b9c3a056f07e0f30e3.jpg","text":"TemporaryFile(/tmp/multipartBody9073590508021052121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173393985,"filename":"image_29012025_13_26_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/29/054cc408d6cc31ab9f80fe40276d26e9.jpg","text":"TemporaryFile(/tmp/multipartBody1658852665284854152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173393985,"filename":"image_29012025_13_26_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/29/41f3cebdd18daec16fae9cac6d2de870.jpg","text":"TemporaryFile(/tmp/multipartBody5940216999666489946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173393985,"filename":"image_29012025_13_26_06_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332721942","file1":"1332721929","file0":"1332721925","file4":"1332721955","file5":"1332722034","file3":"1332721946"},"map_files_photo_id_array":[{"photo_id":"1332722034","filename":"file5"},{"photo_id":"1332721942","filename":"file2"},{"photo_id":"1332721955","filename":"file4"},{"photo_id":"1332721929","filename":"file1"},{"photo_id":"1332721925","filename":"file0"},{"photo_id":"1332721946","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332721942":["hashtag1","hashtag2"]},{"1332722034":["hashtag1","hashtag2"]},{"1332721929":["hashtag1","hashtag2"]},{"1332721955":["hashtag1","hashtag2"]},{"1332721946":["hashtag1","hashtag2"]},{"1332721925":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332721942, 1332722034, 1332721929, 1332721955, 1332721946, 1332721925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70253896713257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:56:32.217905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/26/image_29012025_13_27_06_10458.jpg', '/home/pi/Desktop/images/29012025/13/27/image_29012025_13_27_15_9387.jpg', '/home/pi/Desktop/images/29012025/13/27/image_29012025_13_27_26_10373.jpg', '/home/pi/Desktop/images/29012025/13/27/image_29012025_13_27_36_10329.jpg', '/home/pi/Desktop/images/29012025/13/27/image_29012025_13_27_45_9346.jpg', '/home/pi/Desktop/images/29012025/13/27/image_29012025_13_27_56_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/26/image_29012025_13_27_06_10458.jpg
/home/pi/Desktop/images/29012025/13/27/image_29012025_13_27_15_9387.jpg
/home/pi/Desktop/images/29012025/13/27/image_29012025_13_27_26_10373.jpg
/home/pi/Desktop/images/29012025/13/27/image_29012025_13_27_36_10329.jpg
/home/pi/Desktop/images/29012025/13/27/image_29012025_13_27_45_9346.jpg
/home/pi/Desktop/images/29012025/13/27/image_29012025_13_27_56_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332722383","1332722290","1332722353","1332722325","1332722387","1332722389"],"photo_ids_order":["1332722290","1332722325","1332722353","1332722383","1332722387","1332722389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6d379bb4e9f34e6982177c9d8249d9a5.jpg","text":"TemporaryFile(/tmp/multipartBody6127039687354621898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173453198,"filename":"image_29012025_13_27_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/29/b2b0a5de1b3d765245ce6a2055473895.jpg","text":"TemporaryFile(/tmp/multipartBody2097926926350538593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173453198,"filename":"image_29012025_13_27_06_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/29/1afc233748ed8b8e486c5e65b1afb750.jpg","text":"TemporaryFile(/tmp/multipartBody6228046039732296724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173453198,"filename":"image_29012025_13_27_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/29/78c59e2edefcc9134f8b4bd1f5117d32.jpg","text":"TemporaryFile(/tmp/multipartBody7250713082986775869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173453198,"filename":"image_29012025_13_27_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/29/084bdfb72c0b12c881e1956c2f29f12f.jpg","text":"TemporaryFile(/tmp/multipartBody3204389536602441170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173453198,"filename":"image_29012025_13_27_45_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/29/58243772d542b45fb1c2c00daee57a9e.jpg","text":"TemporaryFile(/tmp/multipartBody1135195212212640646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173453198,"filename":"image_29012025_13_27_56_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332722353","file1":"1332722325","file0":"1332722290","file4":"1332722387","file5":"1332722389","file3":"1332722383"},"map_files_photo_id_array":[{"photo_id":"1332722389","filename":"file5"},{"photo_id":"1332722353","filename":"file2"},{"photo_id":"1332722387","filename":"file4"},{"photo_id":"1332722325","filename":"file1"},{"photo_id":"1332722290","filename":"file0"},{"photo_id":"1332722383","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332722383":["hashtag1","hashtag2"]},{"1332722290":["hashtag1","hashtag2"]},{"1332722353":["hashtag1","hashtag2"]},{"1332722325":["hashtag1","hashtag2"]},{"1332722387":["hashtag1","hashtag2"]},{"1332722389":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332722383, 1332722290, 1332722353, 1332722325, 1332722387, 1332722389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.12065052986145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:57:32.403747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/27/image_29012025_13_28_06_10363.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_16_9341.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_26_10446.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_36_10339.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_46_9371.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_56_10498.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/27/image_29012025_13_28_06_10363.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_16_9341.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_26_10446.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_36_10339.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_46_9371.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_56_10498.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.6067905426025391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 18:57:42.397080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/27/image_29012025_13_28_06_10363.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_16_9341.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_26_10446.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_36_10339.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_46_9371.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_56_10498.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/27/image_29012025_13_28_06_10363.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_16_9341.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_26_10446.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_36_10339.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_46_9371.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_56_10498.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-29 18:59:03.967172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/27/image_29012025_13_28_06_10363.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_16_9341.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_26_10446.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_36_10339.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_46_9371.jpg', '/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_56_10498.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/27/image_29012025_13_28_06_10363.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_16_9341.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_26_10446.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_36_10339.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_46_9371.jpg
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_28_56_10498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332722578","1332722595","1332722597","1332722590","1332722584","1332722572"],"photo_ids_order":["1332722572","1332722578","1332722584","1332722590","1332722595","1332722597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6bfa4575549b83057e8c31784d87b361.jpg","text":"TemporaryFile(/tmp/multipartBody3032396020175024528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173606111,"filename":"image_29012025_13_28_16_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/29/3f22271311f4ecd402b83ef5f5c7343b.jpg","text":"TemporaryFile(/tmp/multipartBody32613508210843367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173606111,"filename":"image_29012025_13_28_46_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/29/682645dad93cd48186f4a3f27b5007d5.jpg","text":"TemporaryFile(/tmp/multipartBody7562966651335003483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173606111,"filename":"image_29012025_13_28_56_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d13e496dec2f97926ba95f9f08539906.jpg","text":"TemporaryFile(/tmp/multipartBody6406049025982168520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173606111,"filename":"image_29012025_13_28_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/29/797e69e7fd8d07b89433737ef1b34b3a.jpg","text":"TemporaryFile(/tmp/multipartBody63788325172915937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173606111,"filename":"image_29012025_13_28_26_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/29/87fc1bc8cbd8428c299a2e1fd729997a.jpg","text":"TemporaryFile(/tmp/multipartBody7628922718543996479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173606111,"filename":"image_29012025_13_28_06_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332722584","file1":"1332722578","file0":"1332722572","file4":"1332722595","file5":"1332722597","file3":"1332722590"},"map_files_photo_id_array":[{"photo_id":"1332722597","filename":"file5"},{"photo_id":"1332722584","filename":"file2"},{"photo_id":"1332722595","filename":"file4"},{"photo_id":"1332722578","filename":"file1"},{"photo_id":"1332722572","filename":"file0"},{"photo_id":"1332722590","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332722578":["hashtag1","hashtag2"]},{"1332722595":["hashtag1","hashtag2"]},{"1332722597":["hashtag1","hashtag2"]},{"1332722590":["hashtag1","hashtag2"]},{"1332722584":["hashtag1","hashtag2"]},{"1332722572":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332722578, 1332722595, 1332722597, 1332722590, 1332722584, 1332722572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.96600079536438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 18:59:52.929173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/28/image_29012025_13_29_06_9404.jpg', '/home/pi/Desktop/images/29012025/13/29/image_29012025_13_29_16_10391.jpg', '/home/pi/Desktop/images/29012025/13/29/image_29012025_13_29_25_9401.jpg', '/home/pi/Desktop/images/29012025/13/29/image_29012025_13_29_36_10351.jpg', '/home/pi/Desktop/images/29012025/13/29/image_29012025_13_29_46_10367.jpg', '/home/pi/Desktop/images/29012025/13/29/image_29012025_13_29_56_9325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/28/image_29012025_13_29_06_9404.jpg
/home/pi/Desktop/images/29012025/13/29/image_29012025_13_29_16_10391.jpg
/home/pi/Desktop/images/29012025/13/29/image_29012025_13_29_25_9401.jpg
/home/pi/Desktop/images/29012025/13/29/image_29012025_13_29_36_10351.jpg
/home/pi/Desktop/images/29012025/13/29/image_29012025_13_29_46_10367.jpg
/home/pi/Desktop/images/29012025/13/29/image_29012025_13_29_56_9325.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332722623","1332722632","1332722614","1332722637","1332722627","1332722618"],"photo_ids_order":["1332722614","1332722618","1332722623","1332722627","1332722632","1332722637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8a78bab082969d1e081edc58ba8a22f9.jpg","text":"TemporaryFile(/tmp/multipartBody2323673725487119419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173653898,"filename":"image_29012025_13_29_25_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/29/d2f4f50f3f3c887922a394e644248cd3.jpg","text":"TemporaryFile(/tmp/multipartBody3296027194875179081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173653898,"filename":"image_29012025_13_29_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/29/81174ae5b000e1c17ae806d318b17fc1.jpg","text":"TemporaryFile(/tmp/multipartBody1383050906585888177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173653898,"filename":"image_29012025_13_29_06_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/29/7065d7be3e7c1194c1376119c5c47a1b.jpg","text":"TemporaryFile(/tmp/multipartBody5386308726287988640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173653898,"filename":"image_29012025_13_29_56_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/29/c3cb75dedb7fc07225ba7495bdde37db.jpg","text":"TemporaryFile(/tmp/multipartBody6359931051965481481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173653898,"filename":"image_29012025_13_29_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/29/951b7be68a6db8a8cc44f88ac5164dc4.jpg","text":"TemporaryFile(/tmp/multipartBody5353776800925483028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173653898,"filename":"image_29012025_13_29_16_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332722623","file1":"1332722618","file0":"1332722614","file4":"1332722632","file5":"1332722637","file3":"1332722627"},"map_files_photo_id_array":[{"photo_id":"1332722637","filename":"file5"},{"photo_id":"1332722623","filename":"file2"},{"photo_id":"1332722632","filename":"file4"},{"photo_id":"1332722618","filename":"file1"},{"photo_id":"1332722614","filename":"file0"},{"photo_id":"1332722627","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332722623":["hashtag1","hashtag2"]},{"1332722632":["hashtag1","hashtag2"]},{"1332722614":["hashtag1","hashtag2"]},{"1332722637":["hashtag1","hashtag2"]},{"1332722627":["hashtag1","hashtag2"]},{"1332722618":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332722623, 1332722632, 1332722614, 1332722637, 1332722627, 1332722618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86774682998657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:00:33.107973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/29/image_29012025_13_30_06_10421.jpg', '/home/pi/Desktop/images/29012025/13/30/image_29012025_13_30_16_10391.jpg', '/home/pi/Desktop/images/29012025/13/30/image_29012025_13_30_26_9350.jpg', '/home/pi/Desktop/images/29012025/13/30/image_29012025_13_30_36_10405.jpg', '/home/pi/Desktop/images/29012025/13/30/image_29012025_13_30_46_9424.jpg', '/home/pi/Desktop/images/29012025/13/30/image_29012025_13_30_56_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/29/image_29012025_13_30_06_10421.jpg
/home/pi/Desktop/images/29012025/13/30/image_29012025_13_30_16_10391.jpg
/home/pi/Desktop/images/29012025/13/30/image_29012025_13_30_26_9350.jpg
/home/pi/Desktop/images/29012025/13/30/image_29012025_13_30_36_10405.jpg
/home/pi/Desktop/images/29012025/13/30/image_29012025_13_30_46_9424.jpg
/home/pi/Desktop/images/29012025/13/30/image_29012025_13_30_56_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":["1332722800","1332722688","1332722657","1332722651","1332722810","1332722654"],"photo_ids_order":["1332722651","1332722654","1332722657","1332722688","1332722800","1332722810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d10b38732a27c46f7840d91295d4a7ea.jpg","text":"TemporaryFile(/tmp/multipartBody193371211814512365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173694121,"filename":"image_29012025_13_30_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/29/e7db21c8647ac76ea85e0d834cbbfa8e.jpg","text":"TemporaryFile(/tmp/multipartBody4703460582626368425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173694121,"filename":"image_29012025_13_30_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/29/31a2403c6d236b2645da10afecafdf25.jpg","text":"TemporaryFile(/tmp/multipartBody3633672782044104931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173694121,"filename":"image_29012025_13_30_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/29/903d4dcf8261eebb2bb0664504e2a3a3.jpg","text":"TemporaryFile(/tmp/multipartBody6068481892950638985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173694121,"filename":"image_29012025_13_30_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/29/6502cd1aae793f996dd5b19041b95e46.jpg","text":"TemporaryFile(/tmp/multipartBody2835124131733784287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173694121,"filename":"image_29012025_13_30_56_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/29/f996c7d0f68ae35d18cd716d83b79b80.jpg","text":"TemporaryFile(/tmp/multipartBody2168601409129901172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173694121,"filename":"image_29012025_13_30_16_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332722657","file1":"1332722654","file0":"1332722651","file4":"1332722800","file5":"1332722810","file3":"1332722688"},"map_files_photo_id_array":[{"photo_id":"1332722810","filename":"file5"},{"photo_id":"1332722657","filename":"file2"},{"photo_id":"1332722800","filename":"file4"},{"photo_id":"1332722654","filename":"file1"},{"photo_id":"1332722651","filename":"file0"},{"photo_id":"1332722688","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332722800":["hashtag1","hashtag2"]},{"1332722688":["hashtag1","hashtag2"]},{"1332722657":["hashtag1","hashtag2"]},{"1332722651":["hashtag1","hashtag2"]},{"1332722810":["hashtag1","hashtag2"]},{"1332722654":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332722800, 1332722688, 1332722657, 1332722651, 1332722810, 1332722654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.167314529418945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:01:32.319194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/30/image_29012025_13_31_06_10350.jpg', '/home/pi/Desktop/images/29012025/13/31/image_29012025_13_31_16_9404.jpg', '/home/pi/Desktop/images/29012025/13/31/image_29012025_13_31_26_10477.jpg', '/home/pi/Desktop/images/29012025/13/31/image_29012025_13_31_36_9500.jpg', '/home/pi/Desktop/images/29012025/13/31/image_29012025_13_31_46_10462.jpg', '/home/pi/Desktop/images/29012025/13/31/image_29012025_13_31_55_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/30/image_29012025_13_31_06_10350.jpg
/home/pi/Desktop/images/29012025/13/31/image_29012025_13_31_16_9404.jpg
/home/pi/Desktop/images/29012025/13/31/image_29012025_13_31_26_10477.jpg
/home/pi/Desktop/images/29012025/13/31/image_29012025_13_31_36_9500.jpg
/home/pi/Desktop/images/29012025/13/31/image_29012025_13_31_46_10462.jpg
/home/pi/Desktop/images/29012025/13/31/image_29012025_13_31_55_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":["1332722872","1332722869","1332722874","1332722865","1332722853","1332722884"],"photo_ids_order":["1332722853","1332722865","1332722869","1332722872","1332722874","1332722884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cc7f39209359c6a4415910cbd87ddaf4.jpg","text":"TemporaryFile(/tmp/multipartBody2284711828292366642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173753386,"filename":"image_29012025_13_31_36_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/34bf4e6701f5fc1f9415df642664098b.jpg","text":"TemporaryFile(/tmp/multipartBody3475916371751453830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173753386,"filename":"image_29012025_13_31_26_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/29/356e2cad40d8aa9a84d524bcad437f2d.jpg","text":"TemporaryFile(/tmp/multipartBody595114315257097744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173753386,"filename":"image_29012025_13_31_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/29/ea041d574baa14e5d8177b9e1671d2a9.jpg","text":"TemporaryFile(/tmp/multipartBody3066285907432521416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173753386,"filename":"image_29012025_13_31_16_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/29/8da72fe8d0faf463c4f42e56cd705b14.jpg","text":"TemporaryFile(/tmp/multipartBody770875139921823196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173753386,"filename":"image_29012025_13_31_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/29/0e47df9d66bb76f7ab63e317be11af9f.jpg","text":"TemporaryFile(/tmp/multipartBody9118844560855773902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173753386,"filename":"image_29012025_13_31_55_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332722869","file1":"1332722865","file0":"1332722853","file4":"1332722874","file5":"1332722884","file3":"1332722872"},"map_files_photo_id_array":[{"photo_id":"1332722884","filename":"file5"},{"photo_id":"1332722869","filename":"file2"},{"photo_id":"1332722874","filename":"file4"},{"photo_id":"1332722865","filename":"file1"},{"photo_id":"1332722853","filename":"file0"},{"photo_id":"1332722872","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332722872":["hashtag1","hashtag2"]},{"1332722869":["hashtag1","hashtag2"]},{"1332722874":["hashtag1","hashtag2"]},{"1332722865":["hashtag1","hashtag2"]},{"1332722853":["hashtag1","hashtag2"]},{"1332722884":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332722872, 1332722869, 1332722874, 1332722865, 1332722853, 1332722884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.95738363265991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:02:32.674613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/31/image_29012025_13_32_06_10323.jpg', '/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_16_10413.jpg', '/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_26_9334.jpg', '/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_36_10356.jpg', '/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_46_10417.jpg', '/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_56_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/31/image_29012025_13_32_06_10323.jpg
/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_16_10413.jpg
/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_26_9334.jpg
/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_36_10356.jpg
/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_46_10417.jpg
/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_56_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.5871932506561279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 19:02:42.628413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/31/image_29012025_13_32_06_10323.jpg', '/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_16_10413.jpg', '/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_26_9334.jpg', '/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_36_10356.jpg', '/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_46_10417.jpg', '/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_56_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/31/image_29012025_13_32_06_10323.jpg
/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_16_10413.jpg
/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_26_9334.jpg
/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_36_10356.jpg
/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_46_10417.jpg
/home/pi/Desktop/images/29012025/13/32/image_29012025_13_32_56_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":["1332723715","1332723805","1332723591","1332724193","1332724087","1332723638"],"photo_ids_order":["1332723591","1332723638","1332723715","1332723805","1332724087","1332724193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a05ca5a57a6fd316b3a23f23713a5eae.jpg","text":"TemporaryFile(/tmp/multipartBody5068850826615620972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173823541,"filename":"image_29012025_13_32_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/29/6888fc41356b2d1cd875492529e6431e.jpg","text":"TemporaryFile(/tmp/multipartBody5307011527176934472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173823541,"filename":"image_29012025_13_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/29/484dec6ef4c000f4f7ea7b0eae1939b3.jpg","text":"TemporaryFile(/tmp/multipartBody4055447599219191307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173823541,"filename":"image_29012025_13_32_06_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/29/edf41ade1c7bb29c43a228e8edd63b08.jpg","text":"TemporaryFile(/tmp/multipartBody2922729356109383816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173823541,"filename":"image_29012025_13_32_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/29/2c4f302372968f3621e48ebb78557c83.jpg","text":"TemporaryFile(/tmp/multipartBody3317804756181230819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173823541,"filename":"image_29012025_13_32_46_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/29/60c9e4af24fb77646efe9748f68e2655.jpg","text":"TemporaryFile(/tmp/multipartBody8389697602920259425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173823541,"filename":"image_29012025_13_32_16_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332723715","file1":"1332723638","file0":"1332723591","file4":"1332724087","file5":"1332724193","file3":"1332723805"},"map_files_photo_id_array":[{"photo_id":"1332724193","filename":"file5"},{"photo_id":"1332723715","filename":"file2"},{"photo_id":"1332724087","filename":"file4"},{"photo_id":"1332723638","filename":"file1"},{"photo_id":"1332723591","filename":"file0"},{"photo_id":"1332723805","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332723715":["hashtag1","hashtag2"]},{"1332723805":["hashtag1","hashtag2"]},{"1332723591":["hashtag1","hashtag2"]},{"1332724193":["hashtag1","hashtag2"]},{"1332724087":["hashtag1","hashtag2"]},{"1332723638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332723715, 1332723805, 1332723591, 1332724193, 1332724087, 1332723638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.4345977306366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:03:32.891256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/32/image_29012025_13_33_06_10397.jpg', '/home/pi/Desktop/images/29012025/13/33/image_29012025_13_33_15_9356.jpg', '/home/pi/Desktop/images/29012025/13/33/image_29012025_13_33_26_10423.jpg', '/home/pi/Desktop/images/29012025/13/33/image_29012025_13_33_36_10342.jpg', '/home/pi/Desktop/images/29012025/13/33/image_29012025_13_33_46_9433.jpg', '/home/pi/Desktop/images/29012025/13/33/image_29012025_13_33_56_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/32/image_29012025_13_33_06_10397.jpg
/home/pi/Desktop/images/29012025/13/33/image_29012025_13_33_15_9356.jpg
/home/pi/Desktop/images/29012025/13/33/image_29012025_13_33_26_10423.jpg
/home/pi/Desktop/images/29012025/13/33/image_29012025_13_33_36_10342.jpg
/home/pi/Desktop/images/29012025/13/33/image_29012025_13_33_46_9433.jpg
/home/pi/Desktop/images/29012025/13/33/image_29012025_13_33_56_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":["1332724314","1332724317","1332724302","1332724310","1332724307","1332724312"],"photo_ids_order":["1332724302","1332724307","1332724310","1332724312","1332724314","1332724317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/58a693cfafe560cc135696f9aee9c340.jpg","text":"TemporaryFile(/tmp/multipartBody3834604302426907318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173873855,"filename":"image_29012025_13_33_46_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/29/0ed47d4208bd4aaf83d9d369f5e13931.jpg","text":"TemporaryFile(/tmp/multipartBody8471930401254252120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173873855,"filename":"image_29012025_13_33_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/29/b537842b2629203e7f48b28d47a33ccc.jpg","text":"TemporaryFile(/tmp/multipartBody6844778877996814564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173873855,"filename":"image_29012025_13_33_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/29/7a4f4b28aba3cdffd8509d32b4e5de57.jpg","text":"TemporaryFile(/tmp/multipartBody1593591302634097466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173873855,"filename":"image_29012025_13_33_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/29/45db26f974cb200d1ff6fbc492e1ef80.jpg","text":"TemporaryFile(/tmp/multipartBody1609558261868434611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173873855,"filename":"image_29012025_13_33_15_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/29/34e829307960cc549c546470d1a66c19.jpg","text":"TemporaryFile(/tmp/multipartBody2203394756097457843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173873855,"filename":"image_29012025_13_33_36_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332724310","file1":"1332724307","file0":"1332724302","file4":"1332724314","file5":"1332724317","file3":"1332724312"},"map_files_photo_id_array":[{"photo_id":"1332724317","filename":"file5"},{"photo_id":"1332724310","filename":"file2"},{"photo_id":"1332724314","filename":"file4"},{"photo_id":"1332724307","filename":"file1"},{"photo_id":"1332724302","filename":"file0"},{"photo_id":"1332724312","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332724314":["hashtag1","hashtag2"]},{"1332724317":["hashtag1","hashtag2"]},{"1332724302":["hashtag1","hashtag2"]},{"1332724310":["hashtag1","hashtag2"]},{"1332724307":["hashtag1","hashtag2"]},{"1332724312":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332724314, 1332724317, 1332724302, 1332724310, 1332724307, 1332724312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27060413360596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:04:33.157439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/33/image_29012025_13_34_06_10365.jpg', '/home/pi/Desktop/images/29012025/13/34/image_29012025_13_34_26_10474.jpg', '/home/pi/Desktop/images/29012025/13/34/image_29012025_13_34_36_9336.jpg', '/home/pi/Desktop/images/29012025/13/34/image_29012025_13_34_46_10350.jpg', '/home/pi/Desktop/images/29012025/13/34/image_29012025_13_34_56_10424.jpg', '/home/pi/Desktop/images/29012025/13/34/image_29012025_13_35_06_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/33/image_29012025_13_34_06_10365.jpg
/home/pi/Desktop/images/29012025/13/34/image_29012025_13_34_26_10474.jpg
/home/pi/Desktop/images/29012025/13/34/image_29012025_13_34_36_9336.jpg
/home/pi/Desktop/images/29012025/13/34/image_29012025_13_34_46_10350.jpg
/home/pi/Desktop/images/29012025/13/34/image_29012025_13_34_56_10424.jpg
/home/pi/Desktop/images/29012025/13/34/image_29012025_13_35_06_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":["1332724674","1332724398","1332724730","1332724340","1332724661","1332724669"],"photo_ids_order":["1332724340","1332724398","1332724661","1332724669","1332724674","1332724730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/81bc5a67dd47c7af0ddb16150ad15e84.jpg","text":"TemporaryFile(/tmp/multipartBody3038745812923182257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173934112,"filename":"image_29012025_13_34_56_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/29/9e582998ffe749e33e747b9c08706d0c.jpg","text":"TemporaryFile(/tmp/multipartBody1136424424619917407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173934112,"filename":"image_29012025_13_34_26_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/29/b18b6e8955e89cd79fd940694b92d9bb.jpg","text":"TemporaryFile(/tmp/multipartBody2004764944483283753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173934112,"filename":"image_29012025_13_35_06_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/29/02482cd81f17d9a6597f452aab4ba245.jpg","text":"TemporaryFile(/tmp/multipartBody5403256344369960160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173934112,"filename":"image_29012025_13_34_06_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/29/ce2748ef25fc5553b4bb5dadd2e2ef50.jpg","text":"TemporaryFile(/tmp/multipartBody4954752517979047684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173934112,"filename":"image_29012025_13_34_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/29/fc049b6b2824626781d95f0bf84cf488.jpg","text":"TemporaryFile(/tmp/multipartBody4396596418170592115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173934112,"filename":"image_29012025_13_34_46_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332724661","file1":"1332724398","file0":"1332724340","file4":"1332724674","file5":"1332724730","file3":"1332724669"},"map_files_photo_id_array":[{"photo_id":"1332724730","filename":"file5"},{"photo_id":"1332724661","filename":"file2"},{"photo_id":"1332724674","filename":"file4"},{"photo_id":"1332724398","filename":"file1"},{"photo_id":"1332724340","filename":"file0"},{"photo_id":"1332724669","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332724674":["hashtag1","hashtag2"]},{"1332724398":["hashtag1","hashtag2"]},{"1332724730":["hashtag1","hashtag2"]},{"1332724340":["hashtag1","hashtag2"]},{"1332724661":["hashtag1","hashtag2"]},{"1332724669":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332724674, 1332724398, 1332724730, 1332724340, 1332724661, 1332724669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.445034980773926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:05:32.250594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/35/image_29012025_13_35_16_10351.jpg', '/home/pi/Desktop/images/29012025/13/35/image_29012025_13_35_26_10370.jpg', '/home/pi/Desktop/images/29012025/13/35/image_29012025_13_35_36_9331.jpg', '/home/pi/Desktop/images/29012025/13/35/image_29012025_13_35_46_10406.jpg', '/home/pi/Desktop/images/29012025/13/35/image_29012025_13_35_55_9339.jpg', '/home/pi/Desktop/images/29012025/13/35/image_29012025_13_36_06_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/35/image_29012025_13_35_16_10351.jpg
/home/pi/Desktop/images/29012025/13/35/image_29012025_13_35_26_10370.jpg
/home/pi/Desktop/images/29012025/13/35/image_29012025_13_35_36_9331.jpg
/home/pi/Desktop/images/29012025/13/35/image_29012025_13_35_46_10406.jpg
/home/pi/Desktop/images/29012025/13/35/image_29012025_13_35_55_9339.jpg
/home/pi/Desktop/images/29012025/13/35/image_29012025_13_36_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":["1332725090","1332725513","1332724853","1332725656","1332725311","1332724855"],"photo_ids_order":["1332724853","1332724855","1332725090","1332725311","1332725513","1332725656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5536571acd2d4baf005e0d3edb89e6e2.jpg","text":"TemporaryFile(/tmp/multipartBody6401319288390382797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173993215,"filename":"image_29012025_13_35_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/29/01a1a91e11c5910de49129dd4e978425.jpg","text":"TemporaryFile(/tmp/multipartBody4891155558383060634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173993215,"filename":"image_29012025_13_35_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/29/d54a0a2e4c4df96418751095163f706d.jpg","text":"TemporaryFile(/tmp/multipartBody6322221397608724500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173993215,"filename":"image_29012025_13_35_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/29/5c585e7a0f6bacb80b2390ca97703509.jpg","text":"TemporaryFile(/tmp/multipartBody7006337242327609336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173993215,"filename":"image_29012025_13_36_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/29/643ba4b65e0370ad0f8554ba98bb0935.jpg","text":"TemporaryFile(/tmp/multipartBody2327248708790145265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173993215,"filename":"image_29012025_13_35_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/29/ca5033dfabf1c7aa1c1574e8c63c204f.jpg","text":"TemporaryFile(/tmp/multipartBody7625154423594242357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738173993215,"filename":"image_29012025_13_35_26_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332725090","file1":"1332724855","file0":"1332724853","file4":"1332725513","file5":"1332725656","file3":"1332725311"},"map_files_photo_id_array":[{"photo_id":"1332725656","filename":"file5"},{"photo_id":"1332725090","filename":"file2"},{"photo_id":"1332725513","filename":"file4"},{"photo_id":"1332724855","filename":"file1"},{"photo_id":"1332724853","filename":"file0"},{"photo_id":"1332725311","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332725090":["hashtag1","hashtag2"]},{"1332725513":["hashtag1","hashtag2"]},{"1332724853":["hashtag1","hashtag2"]},{"1332725656":["hashtag1","hashtag2"]},{"1332725311":["hashtag1","hashtag2"]},{"1332724855":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332725090, 1332725513, 1332724853, 1332725656, 1332725311, 1332724855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89784812927246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:06:32.526701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/36/image_29012025_13_36_16_10364.jpg', '/home/pi/Desktop/images/29012025/13/36/image_29012025_13_36_25_9353.jpg', '/home/pi/Desktop/images/29012025/13/36/image_29012025_13_36_36_10428.jpg', '/home/pi/Desktop/images/29012025/13/36/image_29012025_13_36_46_10365.jpg', '/home/pi/Desktop/images/29012025/13/36/image_29012025_13_36_56_9359.jpg', '/home/pi/Desktop/images/29012025/13/36/image_29012025_13_37_06_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/36/image_29012025_13_36_16_10364.jpg
/home/pi/Desktop/images/29012025/13/36/image_29012025_13_36_25_9353.jpg
/home/pi/Desktop/images/29012025/13/36/image_29012025_13_36_36_10428.jpg
/home/pi/Desktop/images/29012025/13/36/image_29012025_13_36_46_10365.jpg
/home/pi/Desktop/images/29012025/13/36/image_29012025_13_36_56_9359.jpg
/home/pi/Desktop/images/29012025/13/36/image_29012025_13_37_06_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":["1332725718","1332725726","1332725728","1332725743","1332725745","1332725748"],"photo_ids_order":["1332725718","1332725726","1332725728","1332725743","1332725745","1332725748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aa61178ad866a13d94a5f4705202a080.jpg","text":"TemporaryFile(/tmp/multipartBody5159872643132717743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174053498,"filename":"image_29012025_13_36_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/29/df993990c1312ab7f30834d011390e19.jpg","text":"TemporaryFile(/tmp/multipartBody4558160724590244956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174053498,"filename":"image_29012025_13_36_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/29/f7293344b9dce0ec2e60b6f4f3a9941c.jpg","text":"TemporaryFile(/tmp/multipartBody7231172955687676132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174053498,"filename":"image_29012025_13_36_36_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/29/fc080ad4a0acf52e3ba9260566760a5b.jpg","text":"TemporaryFile(/tmp/multipartBody6938853014918861055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174053498,"filename":"image_29012025_13_36_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/29/a7c12aa27e08d6dac1ad7803d6087a24.jpg","text":"TemporaryFile(/tmp/multipartBody8154847786928686106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174053498,"filename":"image_29012025_13_36_56_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/29/b6a7ed1d57b37d4c12714e78248bece9.jpg","text":"TemporaryFile(/tmp/multipartBody2910471979380684592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174053498,"filename":"image_29012025_13_37_06_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332725728","file1":"1332725726","file0":"1332725718","file4":"1332725745","file5":"1332725748","file3":"1332725743"},"map_files_photo_id_array":[{"photo_id":"1332725748","filename":"file5"},{"photo_id":"1332725728","filename":"file2"},{"photo_id":"1332725745","filename":"file4"},{"photo_id":"1332725726","filename":"file1"},{"photo_id":"1332725718","filename":"file0"},{"photo_id":"1332725743","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332725718":["hashtag1","hashtag2"]},{"1332725726":["hashtag1","hashtag2"]},{"1332725728":["hashtag1","hashtag2"]},{"1332725743":["hashtag1","hashtag2"]},{"1332725745":["hashtag1","hashtag2"]},{"1332725748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332725718, 1332725726, 1332725728, 1332725743, 1332725745, 1332725748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40945482254028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:07:32.856248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/37/image_29012025_13_37_15_9415.jpg', '/home/pi/Desktop/images/29012025/13/37/image_29012025_13_37_26_10429.jpg', '/home/pi/Desktop/images/29012025/13/37/image_29012025_13_37_36_10408.jpg', '/home/pi/Desktop/images/29012025/13/37/image_29012025_13_37_46_9364.jpg', '/home/pi/Desktop/images/29012025/13/37/image_29012025_13_37_56_10418.jpg', '/home/pi/Desktop/images/29012025/13/37/image_29012025_13_38_06_9495.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/37/image_29012025_13_37_15_9415.jpg
/home/pi/Desktop/images/29012025/13/37/image_29012025_13_37_26_10429.jpg
/home/pi/Desktop/images/29012025/13/37/image_29012025_13_37_36_10408.jpg
/home/pi/Desktop/images/29012025/13/37/image_29012025_13_37_46_9364.jpg
/home/pi/Desktop/images/29012025/13/37/image_29012025_13_37_56_10418.jpg
/home/pi/Desktop/images/29012025/13/37/image_29012025_13_38_06_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":["1332726233","1332726196","1332726184","1332726294","1332726096","1332726222"],"photo_ids_order":["1332726096","1332726184","1332726196","1332726222","1332726233","1332726294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c4f813a0698fce2be856f1a26cfd96fb.jpg","text":"TemporaryFile(/tmp/multipartBody5416282998903933074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174113811,"filename":"image_29012025_13_37_56_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/29/58ffb857591ab95fe1e0c7c8b0929516.jpg","text":"TemporaryFile(/tmp/multipartBody1619327234396912180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174113811,"filename":"image_29012025_13_37_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/29/8c3bdb9cd6130c73690e04a77c7f7bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7765699959238197627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174113811,"filename":"image_29012025_13_37_26_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/29/a3a7ec84021a77e257e2064981e01cf2.jpg","text":"TemporaryFile(/tmp/multipartBody3844060968178262085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174113811,"filename":"image_29012025_13_38_06_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/29/b8154e661b964e5fc023466863458d63.jpg","text":"TemporaryFile(/tmp/multipartBody6789690233744204876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174113811,"filename":"image_29012025_13_37_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/29/c906a9d87d0739b1a3b7c963f3afd37a.jpg","text":"TemporaryFile(/tmp/multipartBody8555466085891746436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174113811,"filename":"image_29012025_13_37_46_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332726196","file1":"1332726184","file0":"1332726096","file4":"1332726233","file5":"1332726294","file3":"1332726222"},"map_files_photo_id_array":[{"photo_id":"1332726294","filename":"file5"},{"photo_id":"1332726196","filename":"file2"},{"photo_id":"1332726233","filename":"file4"},{"photo_id":"1332726184","filename":"file1"},{"photo_id":"1332726096","filename":"file0"},{"photo_id":"1332726222","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332726233":["hashtag1","hashtag2"]},{"1332726196":["hashtag1","hashtag2"]},{"1332726184":["hashtag1","hashtag2"]},{"1332726294":["hashtag1","hashtag2"]},{"1332726096":["hashtag1","hashtag2"]},{"1332726222":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332726233, 1332726196, 1332726184, 1332726294, 1332726096, 1332726222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.46977519989014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:08:32.915706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/38/image_29012025_13_38_16_10395.jpg', '/home/pi/Desktop/images/29012025/13/38/image_29012025_13_38_36_9347.jpg', '/home/pi/Desktop/images/29012025/13/38/image_29012025_13_38_46_10436.jpg', '/home/pi/Desktop/images/29012025/13/38/image_29012025_13_38_55_9336.jpg', '/home/pi/Desktop/images/29012025/13/38/image_29012025_13_39_06_10356.jpg', '/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_16_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/38/image_29012025_13_38_16_10395.jpg
/home/pi/Desktop/images/29012025/13/38/image_29012025_13_38_36_9347.jpg
/home/pi/Desktop/images/29012025/13/38/image_29012025_13_38_46_10436.jpg
/home/pi/Desktop/images/29012025/13/38/image_29012025_13_38_55_9336.jpg
/home/pi/Desktop/images/29012025/13/38/image_29012025_13_39_06_10356.jpg
/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_16_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":["1332726407","1332726451","1332726460","1332726421","1332726424","1332726447"],"photo_ids_order":["1332726407","1332726421","1332726424","1332726447","1332726451","1332726460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/767d9b428a357d1656e6efe9ae75185b.jpg","text":"TemporaryFile(/tmp/multipartBody1328711809572743640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174173884,"filename":"image_29012025_13_38_16_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/29/198c026ba61c468f8271f632a698a212.jpg","text":"TemporaryFile(/tmp/multipartBody8557705093680946717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174173884,"filename":"image_29012025_13_39_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/29/3ef54459f256c474472d08860c499826.jpg","text":"TemporaryFile(/tmp/multipartBody8026787294989563757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174173884,"filename":"image_29012025_13_39_16_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/29/aa05a323844c0811a9b56c5d31590be8.jpg","text":"TemporaryFile(/tmp/multipartBody8186451956657602469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174173884,"filename":"image_29012025_13_38_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/29/0f422160715e88e0d1e9ccebb14a8424.jpg","text":"TemporaryFile(/tmp/multipartBody6189858466280622611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174173884,"filename":"image_29012025_13_38_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/29/c9f51d8e0389bf5113df71606ffdc804.jpg","text":"TemporaryFile(/tmp/multipartBody7615294073551170594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174173884,"filename":"image_29012025_13_38_55_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332726424","file1":"1332726421","file0":"1332726407","file4":"1332726451","file5":"1332726460","file3":"1332726447"},"map_files_photo_id_array":[{"photo_id":"1332726460","filename":"file5"},{"photo_id":"1332726424","filename":"file2"},{"photo_id":"1332726451","filename":"file4"},{"photo_id":"1332726421","filename":"file1"},{"photo_id":"1332726407","filename":"file0"},{"photo_id":"1332726447","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332726407":["hashtag1","hashtag2"]},{"1332726451":["hashtag1","hashtag2"]},{"1332726460":["hashtag1","hashtag2"]},{"1332726421":["hashtag1","hashtag2"]},{"1332726424":["hashtag1","hashtag2"]},{"1332726447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332726407, 1332726451, 1332726460, 1332726421, 1332726424, 1332726447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.27940797805786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:09:33.165612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_26_9358.jpg', '/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_36_10411.jpg', '/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_46_10355.jpg', '/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_56_9359.jpg', '/home/pi/Desktop/images/29012025/13/39/image_29012025_13_40_06_10424.jpg', '/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_16_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_26_9358.jpg
/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_36_10411.jpg
/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_46_10355.jpg
/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_56_9359.jpg
/home/pi/Desktop/images/29012025/13/39/image_29012025_13_40_06_10424.jpg
/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_16_9367.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.5631392002105713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 19:09:43.166131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_26_9358.jpg', '/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_36_10411.jpg', '/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_46_10355.jpg', '/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_56_9359.jpg', '/home/pi/Desktop/images/29012025/13/39/image_29012025_13_40_06_10424.jpg', '/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_16_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_26_9358.jpg
/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_36_10411.jpg
/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_46_10355.jpg
/home/pi/Desktop/images/29012025/13/39/image_29012025_13_39_56_9359.jpg
/home/pi/Desktop/images/29012025/13/39/image_29012025_13_40_06_10424.jpg
/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_16_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332726641","1332726605","1332726646","1332726636","1332726651","1332726630"],"photo_ids_order":["1332726605","1332726630","1332726636","1332726641","1332726646","1332726651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/18bc240485ce89bdd99e515126e46222.jpg","text":"TemporaryFile(/tmp/multipartBody3229809556055506132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174244084,"filename":"image_29012025_13_39_56_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/29/a703950a8380804e0b8c8d36430ac10d.jpg","text":"TemporaryFile(/tmp/multipartBody4484599317150458009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174244084,"filename":"image_29012025_13_39_26_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/29/6fcb2bc10bf5733d9892b2874a4f5718.jpg","text":"TemporaryFile(/tmp/multipartBody8973642605654768499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174244084,"filename":"image_29012025_13_40_06_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/29/4e9fbc2c3cb7e2d739d7cb9237cc1d78.jpg","text":"TemporaryFile(/tmp/multipartBody525994177796245177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174244084,"filename":"image_29012025_13_39_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/29/39395ea6553a4b2b670dfba90f226de2.jpg","text":"TemporaryFile(/tmp/multipartBody2849149035251486125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174244084,"filename":"image_29012025_13_40_16_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/29/682074682ef7499bbc0d224e7d0150ca.jpg","text":"TemporaryFile(/tmp/multipartBody4565778467356949993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174244084,"filename":"image_29012025_13_39_36_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332726636","file1":"1332726630","file0":"1332726605","file4":"1332726646","file5":"1332726651","file3":"1332726641"},"map_files_photo_id_array":[{"photo_id":"1332726651","filename":"file5"},{"photo_id":"1332726636","filename":"file2"},{"photo_id":"1332726646","filename":"file4"},{"photo_id":"1332726630","filename":"file1"},{"photo_id":"1332726605","filename":"file0"},{"photo_id":"1332726641","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332726641":["hashtag1","hashtag2"]},{"1332726605":["hashtag1","hashtag2"]},{"1332726646":["hashtag1","hashtag2"]},{"1332726636":["hashtag1","hashtag2"]},{"1332726651":["hashtag1","hashtag2"]},{"1332726630":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332726641, 1332726605, 1332726646, 1332726636, 1332726651, 1332726630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38425350189209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:10:32.385423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_26_10347.jpg', '/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_36_10349.jpg', '/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_46_9435.jpg', '/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_56_10447.jpg', '/home/pi/Desktop/images/29012025/13/40/image_29012025_13_41_06_9399.jpg', '/home/pi/Desktop/images/29012025/13/41/image_29012025_13_41_16_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_26_10347.jpg
/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_36_10349.jpg
/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_46_9435.jpg
/home/pi/Desktop/images/29012025/13/40/image_29012025_13_40_56_10447.jpg
/home/pi/Desktop/images/29012025/13/40/image_29012025_13_41_06_9399.jpg
/home/pi/Desktop/images/29012025/13/41/image_29012025_13_41_16_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332726680","1332726685","1332726670","1332726664","1332726690","1332726675"],"photo_ids_order":["1332726664","1332726670","1332726675","1332726680","1332726685","1332726690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8a3c506340a6ec63a5318fcfa9b51c1f.jpg","text":"TemporaryFile(/tmp/multipartBody6029829875124370986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174293343,"filename":"image_29012025_13_40_56_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/29/cb8c974ca267539bd8e3f0f126ee920e.jpg","text":"TemporaryFile(/tmp/multipartBody556113541521372516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174293343,"filename":"image_29012025_13_41_06_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/29/7320ace6fe879c3e151a990d74ecf1f8.jpg","text":"TemporaryFile(/tmp/multipartBody9176256922883501482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174293343,"filename":"image_29012025_13_40_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/29/0659b388736194fb7ab831dfbccc01f6.jpg","text":"TemporaryFile(/tmp/multipartBody6924916787833110492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174293343,"filename":"image_29012025_13_40_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/29/9b8dd0e1e5f717ea3d7336b505d51752.jpg","text":"TemporaryFile(/tmp/multipartBody883556105732457369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174293343,"filename":"image_29012025_13_41_16_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/29/309a0d945b64625c41d5b5a309c69def.jpg","text":"TemporaryFile(/tmp/multipartBody304403760596018537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174293343,"filename":"image_29012025_13_40_46_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332726675","file1":"1332726670","file0":"1332726664","file4":"1332726685","file5":"1332726690","file3":"1332726680"},"map_files_photo_id_array":[{"photo_id":"1332726690","filename":"file5"},{"photo_id":"1332726675","filename":"file2"},{"photo_id":"1332726685","filename":"file4"},{"photo_id":"1332726670","filename":"file1"},{"photo_id":"1332726664","filename":"file0"},{"photo_id":"1332726680","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332726680":["hashtag1","hashtag2"]},{"1332726685":["hashtag1","hashtag2"]},{"1332726670":["hashtag1","hashtag2"]},{"1332726664":["hashtag1","hashtag2"]},{"1332726690":["hashtag1","hashtag2"]},{"1332726675":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332726680, 1332726685, 1332726670, 1332726664, 1332726690, 1332726675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72649693489075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:11:32.653153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/41/image_29012025_13_41_26_10359.jpg', '/home/pi/Desktop/images/29012025/13/41/image_29012025_13_41_36_9343.jpg', '/home/pi/Desktop/images/29012025/13/41/image_29012025_13_41_46_10449.jpg', '/home/pi/Desktop/images/29012025/13/42/image_29012025_13_42_26_9340.jpg', '/home/pi/Desktop/images/29012025/13/42/image_29012025_13_42_36_10440.jpg', '/home/pi/Desktop/images/29012025/13/42/image_29012025_13_42_45_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/41/image_29012025_13_41_26_10359.jpg
/home/pi/Desktop/images/29012025/13/41/image_29012025_13_41_36_9343.jpg
/home/pi/Desktop/images/29012025/13/41/image_29012025_13_41_46_10449.jpg
/home/pi/Desktop/images/29012025/13/42/image_29012025_13_42_26_9340.jpg
/home/pi/Desktop/images/29012025/13/42/image_29012025_13_42_36_10440.jpg
/home/pi/Desktop/images/29012025/13/42/image_29012025_13_42_45_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":["1332726788","1332726761","1332726784","1332726772","1332726765","1332726768"],"photo_ids_order":["1332726761","1332726765","1332726768","1332726772","1332726784","1332726788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/80efee900baad9490be51b994af837be.jpg","text":"TemporaryFile(/tmp/multipartBody7779801827545360830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174353600,"filename":"image_29012025_13_42_45_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/29/679dc67c4c364a0e0fef9e7e18870ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2041206694743973978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174353600,"filename":"image_29012025_13_41_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/29/c1947c2592aab5d35971ca7ad4b2dbc9.jpg","text":"TemporaryFile(/tmp/multipartBody812199665749719414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174353600,"filename":"image_29012025_13_42_36_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/29/a0844947b6eaaa4fe6f32bdc7f311a67.jpg","text":"TemporaryFile(/tmp/multipartBody5285125423588632467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174353600,"filename":"image_29012025_13_42_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/29/ab674944a1126423b71d009b1b16eace.jpg","text":"TemporaryFile(/tmp/multipartBody5857132104302328334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174353600,"filename":"image_29012025_13_41_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/29/3b15ad61dde0cd1ffbf2db419cf0f6dc.jpg","text":"TemporaryFile(/tmp/multipartBody168655431981652186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174353600,"filename":"image_29012025_13_41_46_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332726768","file1":"1332726765","file0":"1332726761","file4":"1332726784","file5":"1332726788","file3":"1332726772"},"map_files_photo_id_array":[{"photo_id":"1332726788","filename":"file5"},{"photo_id":"1332726768","filename":"file2"},{"photo_id":"1332726784","filename":"file4"},{"photo_id":"1332726765","filename":"file1"},{"photo_id":"1332726761","filename":"file0"},{"photo_id":"1332726772","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332726788":["hashtag1","hashtag2"]},{"1332726761":["hashtag1","hashtag2"]},{"1332726784":["hashtag1","hashtag2"]},{"1332726772":["hashtag1","hashtag2"]},{"1332726765":["hashtag1","hashtag2"]},{"1332726768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332726788, 1332726761, 1332726784, 1332726772, 1332726765, 1332726768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27402973175049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:12:32.826484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/42/image_29012025_13_42_56_10349.jpg', '/home/pi/Desktop/images/29012025/13/42/image_29012025_13_43_06_10434.jpg', '/home/pi/Desktop/images/29012025/13/43/image_29012025_13_43_16_9357.jpg', '/home/pi/Desktop/images/29012025/13/43/image_29012025_13_43_26_10416.jpg', '/home/pi/Desktop/images/29012025/13/43/image_29012025_13_43_46_9368.jpg', '/home/pi/Desktop/images/29012025/13/43/image_29012025_13_43_56_10483.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/42/image_29012025_13_42_56_10349.jpg
/home/pi/Desktop/images/29012025/13/42/image_29012025_13_43_06_10434.jpg
/home/pi/Desktop/images/29012025/13/43/image_29012025_13_43_16_9357.jpg
/home/pi/Desktop/images/29012025/13/43/image_29012025_13_43_26_10416.jpg
/home/pi/Desktop/images/29012025/13/43/image_29012025_13_43_46_9368.jpg
/home/pi/Desktop/images/29012025/13/43/image_29012025_13_43_56_10483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332727096","1332727093","1332726979","1332726865","1332727008","1332726909"],"photo_ids_order":["1332726865","1332726909","1332726979","1332727008","1332727093","1332727096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/15c9a3233cc5df2aae637bb8e7c130df.jpg","text":"TemporaryFile(/tmp/multipartBody978099035033808020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174413785,"filename":"image_29012025_13_43_56_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/29/3393fd07213cf52b144b154a74439ecd.jpg","text":"TemporaryFile(/tmp/multipartBody4980584176664454174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174413785,"filename":"image_29012025_13_43_46_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/29/3028df97e5237774cd4f8198e1b980b3.jpg","text":"TemporaryFile(/tmp/multipartBody7453139415333943543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174413785,"filename":"image_29012025_13_43_16_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/29/50749064bf41fa87c6fc7963f9dfcad8.jpg","text":"TemporaryFile(/tmp/multipartBody4806153265312089417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174413785,"filename":"image_29012025_13_42_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/29/8626e6bc2b0d1c68fde766ba9f9eb01f.jpg","text":"TemporaryFile(/tmp/multipartBody4799255273311174516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174413785,"filename":"image_29012025_13_43_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/29/ee2e7d9229aa1c46f379ca80cf4c50b8.jpg","text":"TemporaryFile(/tmp/multipartBody3208030676362045261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174413785,"filename":"image_29012025_13_43_06_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332726979","file1":"1332726909","file0":"1332726865","file4":"1332727093","file5":"1332727096","file3":"1332727008"},"map_files_photo_id_array":[{"photo_id":"1332727096","filename":"file5"},{"photo_id":"1332726979","filename":"file2"},{"photo_id":"1332727093","filename":"file4"},{"photo_id":"1332726909","filename":"file1"},{"photo_id":"1332726865","filename":"file0"},{"photo_id":"1332727008","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332727096":["hashtag1","hashtag2"]},{"1332727093":["hashtag1","hashtag2"]},{"1332726979":["hashtag1","hashtag2"]},{"1332726865":["hashtag1","hashtag2"]},{"1332727008":["hashtag1","hashtag2"]},{"1332726909":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332727096, 1332727093, 1332726979, 1332726865, 1332727008, 1332726909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85969662666321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:13:33.084985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/43/image_29012025_13_44_06_9357.jpg', '/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_16_10361.jpg', '/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_26_10368.jpg', '/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_36_9345.jpg', '/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_56_10357.jpg', '/home/pi/Desktop/images/29012025/13/44/image_29012025_13_45_06_9374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/43/image_29012025_13_44_06_9357.jpg
/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_16_10361.jpg
/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_26_10368.jpg
/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_36_9345.jpg
/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_56_10357.jpg
/home/pi/Desktop/images/29012025/13/44/image_29012025_13_45_06_9374.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.5485258102416992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 19:13:43.101981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/43/image_29012025_13_44_06_9357.jpg', '/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_16_10361.jpg', '/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_26_10368.jpg', '/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_36_9345.jpg', '/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_56_10357.jpg', '/home/pi/Desktop/images/29012025/13/44/image_29012025_13_45_06_9374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/43/image_29012025_13_44_06_9357.jpg
/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_16_10361.jpg
/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_26_10368.jpg
/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_36_9345.jpg
/home/pi/Desktop/images/29012025/13/44/image_29012025_13_44_56_10357.jpg
/home/pi/Desktop/images/29012025/13/44/image_29012025_13_45_06_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":["1332727165","1332727159","1332727179","1332727172","1332727175","1332727169"],"photo_ids_order":["1332727159","1332727165","1332727169","1332727172","1332727175","1332727179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/eba9ab375caa07ed3998b106a4e37ddd.jpg","text":"TemporaryFile(/tmp/multipartBody5589632844496307916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174484010,"filename":"image_29012025_13_44_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/29/b6f28eccb2da578420bb829399082dae.jpg","text":"TemporaryFile(/tmp/multipartBody6830243042182825368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174484010,"filename":"image_29012025_13_44_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/29/ab527b2a360ed5072453e1ce64791f1d.jpg","text":"TemporaryFile(/tmp/multipartBody4524300397082033598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174484010,"filename":"image_29012025_13_45_06_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/29/f6b32adb7ee1f27b63503880935649b0.jpg","text":"TemporaryFile(/tmp/multipartBody5230586431441360989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174484010,"filename":"image_29012025_13_44_36_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/29/d7c9ce4e51912627602f913c0ac2cb57.jpg","text":"TemporaryFile(/tmp/multipartBody3770760998554636766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174484010,"filename":"image_29012025_13_44_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/29/41e2a400fce6bca6db0fdc6ae0d94b81.jpg","text":"TemporaryFile(/tmp/multipartBody4413553661290903180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174484010,"filename":"image_29012025_13_44_26_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332727169","file1":"1332727165","file0":"1332727159","file4":"1332727175","file5":"1332727179","file3":"1332727172"},"map_files_photo_id_array":[{"photo_id":"1332727179","filename":"file5"},{"photo_id":"1332727169","filename":"file2"},{"photo_id":"1332727175","filename":"file4"},{"photo_id":"1332727165","filename":"file1"},{"photo_id":"1332727159","filename":"file0"},{"photo_id":"1332727172","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332727165":["hashtag1","hashtag2"]},{"1332727159":["hashtag1","hashtag2"]},{"1332727179":["hashtag1","hashtag2"]},{"1332727172":["hashtag1","hashtag2"]},{"1332727175":["hashtag1","hashtag2"]},{"1332727169":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332727165, 1332727159, 1332727179, 1332727172, 1332727175, 1332727169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.348296880722046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:14:32.300111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/45/image_29012025_13_45_26_9361.jpg', '/home/pi/Desktop/images/29012025/13/45/image_29012025_13_45_36_10358.jpg', '/home/pi/Desktop/images/29012025/13/45/image_29012025_13_45_46_10450.jpg', '/home/pi/Desktop/images/29012025/13/45/image_29012025_13_45_56_9345.jpg', '/home/pi/Desktop/images/29012025/13/45/image_29012025_13_46_06_10474.jpg', '/home/pi/Desktop/images/29012025/13/46/image_29012025_13_46_16_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/45/image_29012025_13_45_26_9361.jpg
/home/pi/Desktop/images/29012025/13/45/image_29012025_13_45_36_10358.jpg
/home/pi/Desktop/images/29012025/13/45/image_29012025_13_45_46_10450.jpg
/home/pi/Desktop/images/29012025/13/45/image_29012025_13_45_56_9345.jpg
/home/pi/Desktop/images/29012025/13/45/image_29012025_13_46_06_10474.jpg
/home/pi/Desktop/images/29012025/13/46/image_29012025_13_46_16_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":["1332727198","1332727462","1332727202","1332727194","1332727207","1332727314"],"photo_ids_order":["1332727194","1332727198","1332727202","1332727207","1332727314","1332727462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/553e0695f5708ca97feb2970fd7025ab.jpg","text":"TemporaryFile(/tmp/multipartBody5027672806584489814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174533259,"filename":"image_29012025_13_45_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/29/2c99c96228cd6dbda5f4dd4c3d3ee6a3.jpg","text":"TemporaryFile(/tmp/multipartBody1623656996550145849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174533259,"filename":"image_29012025_13_46_16_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/29/188aede0de150ad3eafafc085ef218e4.jpg","text":"TemporaryFile(/tmp/multipartBody7660810560104015623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174533259,"filename":"image_29012025_13_45_46_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/29/b98662dd27d00a80c17fbeb1b902d2c2.jpg","text":"TemporaryFile(/tmp/multipartBody2576660911787210525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174533259,"filename":"image_29012025_13_45_26_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/29/a1dd315997772017c61a2258fada7675.jpg","text":"TemporaryFile(/tmp/multipartBody7609172686711247927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174533259,"filename":"image_29012025_13_45_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/29/d95e91b62d72d5a49a4e44c2d282ccd6.jpg","text":"TemporaryFile(/tmp/multipartBody4475384693655317938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174533259,"filename":"image_29012025_13_46_06_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332727202","file1":"1332727198","file0":"1332727194","file4":"1332727314","file5":"1332727462","file3":"1332727207"},"map_files_photo_id_array":[{"photo_id":"1332727462","filename":"file5"},{"photo_id":"1332727202","filename":"file2"},{"photo_id":"1332727314","filename":"file4"},{"photo_id":"1332727198","filename":"file1"},{"photo_id":"1332727194","filename":"file0"},{"photo_id":"1332727207","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332727198":["hashtag1","hashtag2"]},{"1332727462":["hashtag1","hashtag2"]},{"1332727202":["hashtag1","hashtag2"]},{"1332727194":["hashtag1","hashtag2"]},{"1332727207":["hashtag1","hashtag2"]},{"1332727314":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332727198, 1332727462, 1332727202, 1332727194, 1332727207, 1332727314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97037982940674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:15:32.492359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/46/image_29012025_13_46_26_10507.jpg', '/home/pi/Desktop/images/29012025/13/46/image_29012025_13_46_36_10349.jpg', '/home/pi/Desktop/images/29012025/13/46/image_29012025_13_46_46_9380.jpg', '/home/pi/Desktop/images/29012025/13/46/image_29012025_13_46_56_10363.jpg', '/home/pi/Desktop/images/29012025/13/46/image_29012025_13_47_05_9320.jpg', '/home/pi/Desktop/images/29012025/13/47/image_29012025_13_47_16_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/46/image_29012025_13_46_26_10507.jpg
/home/pi/Desktop/images/29012025/13/46/image_29012025_13_46_36_10349.jpg
/home/pi/Desktop/images/29012025/13/46/image_29012025_13_46_46_9380.jpg
/home/pi/Desktop/images/29012025/13/46/image_29012025_13_46_56_10363.jpg
/home/pi/Desktop/images/29012025/13/46/image_29012025_13_47_05_9320.jpg
/home/pi/Desktop/images/29012025/13/47/image_29012025_13_47_16_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":["1332728179","1332728050","1332728068","1332728056","1332728064","1332728060"],"photo_ids_order":["1332728050","1332728056","1332728060","1332728064","1332728068","1332728179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2adab5ea4190ad8a4758346a59a502e5.jpg","text":"TemporaryFile(/tmp/multipartBody4762901520597325950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174593439,"filename":"image_29012025_13_47_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/29/63ff80bb0d59464910a07563d077abcd.jpg","text":"TemporaryFile(/tmp/multipartBody5179765495694572778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174593439,"filename":"image_29012025_13_46_26_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6289aef4ed78b0df01296cdb3c989b01.jpg","text":"TemporaryFile(/tmp/multipartBody6623604070259740992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174593439,"filename":"image_29012025_13_47_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/29/c80d6f347c56d63b8e58fdab7db207ff.jpg","text":"TemporaryFile(/tmp/multipartBody8799254688368289880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174593439,"filename":"image_29012025_13_46_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/29/64716e43da129486cc634c6b21167d84.jpg","text":"TemporaryFile(/tmp/multipartBody7436307249013850752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174593439,"filename":"image_29012025_13_46_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/29/d76d362c275bb582de55e7fdb2c1cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody8667904394127045641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174593439,"filename":"image_29012025_13_46_46_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332728060","file1":"1332728056","file0":"1332728050","file4":"1332728068","file5":"1332728179","file3":"1332728064"},"map_files_photo_id_array":[{"photo_id":"1332728179","filename":"file5"},{"photo_id":"1332728060","filename":"file2"},{"photo_id":"1332728068","filename":"file4"},{"photo_id":"1332728056","filename":"file1"},{"photo_id":"1332728050","filename":"file0"},{"photo_id":"1332728064","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332728179":["hashtag1","hashtag2"]},{"1332728050":["hashtag1","hashtag2"]},{"1332728068":["hashtag1","hashtag2"]},{"1332728056":["hashtag1","hashtag2"]},{"1332728064":["hashtag1","hashtag2"]},{"1332728060":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332728179, 1332728050, 1332728068, 1332728056, 1332728064, 1332728060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.243695974349976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:16:32.918719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/47/image_29012025_13_47_26_10363.jpg', '/home/pi/Desktop/images/29012025/13/47/image_29012025_13_47_36_9393.jpg', '/home/pi/Desktop/images/29012025/13/47/image_29012025_13_47_46_10495.jpg', '/home/pi/Desktop/images/29012025/13/47/image_29012025_13_47_55_9344.jpg', '/home/pi/Desktop/images/29012025/13/47/image_29012025_13_48_06_10376.jpg', '/home/pi/Desktop/images/29012025/13/48/image_29012025_13_48_16_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/47/image_29012025_13_47_26_10363.jpg
/home/pi/Desktop/images/29012025/13/47/image_29012025_13_47_36_9393.jpg
/home/pi/Desktop/images/29012025/13/47/image_29012025_13_47_46_10495.jpg
/home/pi/Desktop/images/29012025/13/47/image_29012025_13_47_55_9344.jpg
/home/pi/Desktop/images/29012025/13/47/image_29012025_13_48_06_10376.jpg
/home/pi/Desktop/images/29012025/13/48/image_29012025_13_48_16_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":["1332728410","1332728448","1332728415","1332728453","1332728485","1332728380"],"photo_ids_order":["1332728380","1332728410","1332728415","1332728448","1332728453","1332728485"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c9d404b01e534e7455478cc09e5762e2.jpg","text":"TemporaryFile(/tmp/multipartBody3104958193114624564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174653878,"filename":"image_29012025_13_47_36_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/29/7dbbf3d01d4f02b9ff05e93759da2032.jpg","text":"TemporaryFile(/tmp/multipartBody379863069303009184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174653878,"filename":"image_29012025_13_47_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/29/94f4c4e643f001302b06342294fcead2.jpg","text":"TemporaryFile(/tmp/multipartBody1335758065806311185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174653878,"filename":"image_29012025_13_47_46_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/29/15d80e638ade8f66b9e0666980f12479.jpg","text":"TemporaryFile(/tmp/multipartBody2608053023319624712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174653878,"filename":"image_29012025_13_48_06_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/29/a4cc093cb4b2f1bf220bd4cc9f49bce5.jpg","text":"TemporaryFile(/tmp/multipartBody599402864307339639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174653878,"filename":"image_29012025_13_48_16_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/29/01116d1c359bce2e627a9024cbd034c0.jpg","text":"TemporaryFile(/tmp/multipartBody4136078794014582534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174653878,"filename":"image_29012025_13_47_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332728415","file1":"1332728410","file0":"1332728380","file4":"1332728453","file5":"1332728485","file3":"1332728448"},"map_files_photo_id_array":[{"photo_id":"1332728485","filename":"file5"},{"photo_id":"1332728415","filename":"file2"},{"photo_id":"1332728453","filename":"file4"},{"photo_id":"1332728410","filename":"file1"},{"photo_id":"1332728380","filename":"file0"},{"photo_id":"1332728448","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332728410":["hashtag1","hashtag2"]},{"1332728448":["hashtag1","hashtag2"]},{"1332728415":["hashtag1","hashtag2"]},{"1332728453":["hashtag1","hashtag2"]},{"1332728485":["hashtag1","hashtag2"]},{"1332728380":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332728410, 1332728448, 1332728415, 1332728453, 1332728485, 1332728380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.419047594070435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:17:33.141771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/48/image_29012025_13_48_26_9367.jpg', '/home/pi/Desktop/images/29012025/13/48/image_29012025_13_48_36_10479.jpg', '/home/pi/Desktop/images/29012025/13/48/image_29012025_13_48_45_9342.jpg', '/home/pi/Desktop/images/29012025/13/48/image_29012025_13_48_56_10403.jpg', '/home/pi/Desktop/images/29012025/13/48/image_29012025_13_49_06_10325.jpg', '/home/pi/Desktop/images/29012025/13/49/image_29012025_13_49_16_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/48/image_29012025_13_48_26_9367.jpg
/home/pi/Desktop/images/29012025/13/48/image_29012025_13_48_36_10479.jpg
/home/pi/Desktop/images/29012025/13/48/image_29012025_13_48_45_9342.jpg
/home/pi/Desktop/images/29012025/13/48/image_29012025_13_48_56_10403.jpg
/home/pi/Desktop/images/29012025/13/48/image_29012025_13_49_06_10325.jpg
/home/pi/Desktop/images/29012025/13/49/image_29012025_13_49_16_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":["1332728521","1332728515","1332728527","1332728506","1332728508","1332728511"],"photo_ids_order":["1332728506","1332728508","1332728511","1332728515","1332728521","1332728527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/95ba695a765ff080ef9b1cecdf179562.jpg","text":"TemporaryFile(/tmp/multipartBody3116876964564851276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174714125,"filename":"image_29012025_13_49_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/29/f85c88eae60461f235e358172fbc050c.jpg","text":"TemporaryFile(/tmp/multipartBody3815137892638035460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174714125,"filename":"image_29012025_13_48_56_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/29/b89bc82a9561407d648a0da1f35a5967.jpg","text":"TemporaryFile(/tmp/multipartBody5705998030842885481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174714125,"filename":"image_29012025_13_49_16_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/29/9f3b7ead700d800c67e00dd0ebd9742a.jpg","text":"TemporaryFile(/tmp/multipartBody6506777055730473731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174714125,"filename":"image_29012025_13_48_26_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/29/98f55e5014b21ce1ac63a672985ab6b1.jpg","text":"TemporaryFile(/tmp/multipartBody5557010384317090019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174714125,"filename":"image_29012025_13_48_36_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/29/975fd806271a893ea0a068cff2ab4a65.jpg","text":"TemporaryFile(/tmp/multipartBody8312944769815018892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174714125,"filename":"image_29012025_13_48_45_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332728511","file1":"1332728508","file0":"1332728506","file4":"1332728521","file5":"1332728527","file3":"1332728515"},"map_files_photo_id_array":[{"photo_id":"1332728527","filename":"file5"},{"photo_id":"1332728511","filename":"file2"},{"photo_id":"1332728521","filename":"file4"},{"photo_id":"1332728508","filename":"file1"},{"photo_id":"1332728506","filename":"file0"},{"photo_id":"1332728515","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332728521":["hashtag1","hashtag2"]},{"1332728515":["hashtag1","hashtag2"]},{"1332728527":["hashtag1","hashtag2"]},{"1332728506":["hashtag1","hashtag2"]},{"1332728508":["hashtag1","hashtag2"]},{"1332728511":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332728521, 1332728515, 1332728527, 1332728506, 1332728508, 1332728511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56503701210022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:18:32.338692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/49/image_29012025_13_49_26_10413.jpg', '/home/pi/Desktop/images/29012025/13/49/image_29012025_13_49_36_10341.jpg', '/home/pi/Desktop/images/29012025/13/49/image_29012025_13_49_46_9402.jpg', '/home/pi/Desktop/images/29012025/13/49/image_29012025_13_49_56_10460.jpg', '/home/pi/Desktop/images/29012025/13/49/image_29012025_13_50_06_9423.jpg', '/home/pi/Desktop/images/29012025/13/50/image_29012025_13_50_16_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/49/image_29012025_13_49_26_10413.jpg
/home/pi/Desktop/images/29012025/13/49/image_29012025_13_49_36_10341.jpg
/home/pi/Desktop/images/29012025/13/49/image_29012025_13_49_46_9402.jpg
/home/pi/Desktop/images/29012025/13/49/image_29012025_13_49_56_10460.jpg
/home/pi/Desktop/images/29012025/13/49/image_29012025_13_50_06_9423.jpg
/home/pi/Desktop/images/29012025/13/50/image_29012025_13_50_16_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":["1332728620","1332728614","1332728617","1332728619","1332728610","1332728593"],"photo_ids_order":["1332728593","1332728610","1332728614","1332728617","1332728619","1332728620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a2306d6fd094d102a115264d63a03ee6.jpg","text":"TemporaryFile(/tmp/multipartBody2107651446581068954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174773319,"filename":"image_29012025_13_50_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/29/975e67da9b80b6db4e1d72e24c0fc2ed.jpg","text":"TemporaryFile(/tmp/multipartBody8731607121181780981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174773319,"filename":"image_29012025_13_49_46_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/29/03cec6699cdf718cf42eb7f132817d0e.jpg","text":"TemporaryFile(/tmp/multipartBody5074039225611592979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174773319,"filename":"image_29012025_13_49_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/29/4a5c8ef85f68479ae1c96383c9eabe67.jpg","text":"TemporaryFile(/tmp/multipartBody8977453629431553643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174773319,"filename":"image_29012025_13_50_06_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/29/427cb7bb0b1a3a7ce5c258d6fca4b0e8.jpg","text":"TemporaryFile(/tmp/multipartBody4798009020088424578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174773319,"filename":"image_29012025_13_49_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/29/ec897d9f258541c4f603d10ac4a122d0.jpg","text":"TemporaryFile(/tmp/multipartBody2274171387763947969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174773319,"filename":"image_29012025_13_49_26_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332728614","file1":"1332728610","file0":"1332728593","file4":"1332728619","file5":"1332728620","file3":"1332728617"},"map_files_photo_id_array":[{"photo_id":"1332728620","filename":"file5"},{"photo_id":"1332728614","filename":"file2"},{"photo_id":"1332728619","filename":"file4"},{"photo_id":"1332728610","filename":"file1"},{"photo_id":"1332728593","filename":"file0"},{"photo_id":"1332728617","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332728620":["hashtag1","hashtag2"]},{"1332728614":["hashtag1","hashtag2"]},{"1332728617":["hashtag1","hashtag2"]},{"1332728619":["hashtag1","hashtag2"]},{"1332728610":["hashtag1","hashtag2"]},{"1332728593":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332728620, 1332728614, 1332728617, 1332728619, 1332728610, 1332728593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2750301361084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:19:32.559407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/50/image_29012025_13_50_26_10439.jpg', '/home/pi/Desktop/images/29012025/13/50/image_29012025_13_50_36_9405.jpg', '/home/pi/Desktop/images/29012025/13/50/image_29012025_13_50_46_10365.jpg', '/home/pi/Desktop/images/29012025/13/50/image_29012025_13_50_56_9365.jpg', '/home/pi/Desktop/images/29012025/13/50/image_29012025_13_51_06_10415.jpg', '/home/pi/Desktop/images/29012025/13/51/image_29012025_13_51_16_10469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/50/image_29012025_13_50_26_10439.jpg
/home/pi/Desktop/images/29012025/13/50/image_29012025_13_50_36_9405.jpg
/home/pi/Desktop/images/29012025/13/50/image_29012025_13_50_46_10365.jpg
/home/pi/Desktop/images/29012025/13/50/image_29012025_13_50_56_9365.jpg
/home/pi/Desktop/images/29012025/13/50/image_29012025_13_51_06_10415.jpg
/home/pi/Desktop/images/29012025/13/51/image_29012025_13_51_16_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":["1332729141","1332729144","1332729170","1332729164","1332729157","1332729151"],"photo_ids_order":["1332729141","1332729144","1332729151","1332729157","1332729164","1332729170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2774c2771e2afb518366ccbaabc6a9e9.jpg","text":"TemporaryFile(/tmp/multipartBody2959614989367674611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174833505,"filename":"image_29012025_13_50_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/29/65ee4e3435f915611bb24e15776af70b.jpg","text":"TemporaryFile(/tmp/multipartBody1597900801973336936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174833505,"filename":"image_29012025_13_50_36_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/29/04a65ac298484e449655bce2a94e1e90.jpg","text":"TemporaryFile(/tmp/multipartBody2595752669052191436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174833505,"filename":"image_29012025_13_51_16_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/29/909f35756de2e44d22a655c5af1fbadb.jpg","text":"TemporaryFile(/tmp/multipartBody807639594332812383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174833505,"filename":"image_29012025_13_51_06_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/29/178e00bd3e5f7627db451330a6ad3fb2.jpg","text":"TemporaryFile(/tmp/multipartBody6079212430840966111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174833505,"filename":"image_29012025_13_50_56_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/29/ef3343dcf00c9b3e6ae4282645240f8f.jpg","text":"TemporaryFile(/tmp/multipartBody2872440533052526409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174833505,"filename":"image_29012025_13_50_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332729151","file1":"1332729144","file0":"1332729141","file4":"1332729164","file5":"1332729170","file3":"1332729157"},"map_files_photo_id_array":[{"photo_id":"1332729170","filename":"file5"},{"photo_id":"1332729151","filename":"file2"},{"photo_id":"1332729164","filename":"file4"},{"photo_id":"1332729144","filename":"file1"},{"photo_id":"1332729141","filename":"file0"},{"photo_id":"1332729157","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332729141":["hashtag1","hashtag2"]},{"1332729144":["hashtag1","hashtag2"]},{"1332729170":["hashtag1","hashtag2"]},{"1332729164":["hashtag1","hashtag2"]},{"1332729157":["hashtag1","hashtag2"]},{"1332729151":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332729141, 1332729144, 1332729170, 1332729164, 1332729157, 1332729151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.49551963806152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:20:32.945305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/51/image_29012025_13_51_36_10350.jpg', '/home/pi/Desktop/images/29012025/13/51/image_29012025_13_51_45_9330.jpg', '/home/pi/Desktop/images/29012025/13/51/image_29012025_13_51_56_10368.jpg', '/home/pi/Desktop/images/29012025/13/51/image_29012025_13_52_06_10388.jpg', '/home/pi/Desktop/images/29012025/13/52/image_29012025_13_52_16_9370.jpg', '/home/pi/Desktop/images/29012025/13/52/image_29012025_13_52_26_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/51/image_29012025_13_51_36_10350.jpg
/home/pi/Desktop/images/29012025/13/51/image_29012025_13_51_45_9330.jpg
/home/pi/Desktop/images/29012025/13/51/image_29012025_13_51_56_10368.jpg
/home/pi/Desktop/images/29012025/13/51/image_29012025_13_52_06_10388.jpg
/home/pi/Desktop/images/29012025/13/52/image_29012025_13_52_16_9370.jpg
/home/pi/Desktop/images/29012025/13/52/image_29012025_13_52_26_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":["1332729492","1332729447","1332729488","1332729461","1332729416","1332729457"],"photo_ids_order":["1332729416","1332729447","1332729457","1332729461","1332729488","1332729492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/272f9b9a903a42a526d792f381e9a72c.jpg","text":"TemporaryFile(/tmp/multipartBody4536704823899287028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174893899,"filename":"image_29012025_13_52_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/29/e3068418d354c74f7a51fe22e321f40c.jpg","text":"TemporaryFile(/tmp/multipartBody8567822588013410486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174893899,"filename":"image_29012025_13_51_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/29/3673660c6c081ede9044e34c71099966.jpg","text":"TemporaryFile(/tmp/multipartBody1713776712004997017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174893899,"filename":"image_29012025_13_52_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/29/f01e73e686c7fc8545db0c5d2ea4d0cf.jpg","text":"TemporaryFile(/tmp/multipartBody8106202889371840188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174893899,"filename":"image_29012025_13_52_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/29/520966a71331f29eb788fa7acccc641d.jpg","text":"TemporaryFile(/tmp/multipartBody1495123689199408292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174893899,"filename":"image_29012025_13_51_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/29/77bd23da88eaf5031597f04eb0f01939.jpg","text":"TemporaryFile(/tmp/multipartBody2140665727294034100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174893899,"filename":"image_29012025_13_51_56_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332729457","file1":"1332729447","file0":"1332729416","file4":"1332729488","file5":"1332729492","file3":"1332729461"},"map_files_photo_id_array":[{"photo_id":"1332729492","filename":"file5"},{"photo_id":"1332729457","filename":"file2"},{"photo_id":"1332729488","filename":"file4"},{"photo_id":"1332729447","filename":"file1"},{"photo_id":"1332729416","filename":"file0"},{"photo_id":"1332729461","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332729492":["hashtag1","hashtag2"]},{"1332729447":["hashtag1","hashtag2"]},{"1332729488":["hashtag1","hashtag2"]},{"1332729461":["hashtag1","hashtag2"]},{"1332729416":["hashtag1","hashtag2"]},{"1332729457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332729492, 1332729447, 1332729488, 1332729461, 1332729416, 1332729457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.68537712097168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:21:32.182390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/52/image_29012025_13_52_36_10355.jpg', '/home/pi/Desktop/images/29012025/13/52/image_29012025_13_52_46_9364.jpg', '/home/pi/Desktop/images/29012025/13/52/image_29012025_13_52_56_10399.jpg', '/home/pi/Desktop/images/29012025/13/52/image_29012025_13_53_06_10354.jpg', '/home/pi/Desktop/images/29012025/13/53/image_29012025_13_53_26_10377.jpg', '/home/pi/Desktop/images/29012025/13/53/image_29012025_13_53_35_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/52/image_29012025_13_52_36_10355.jpg
/home/pi/Desktop/images/29012025/13/52/image_29012025_13_52_46_9364.jpg
/home/pi/Desktop/images/29012025/13/52/image_29012025_13_52_56_10399.jpg
/home/pi/Desktop/images/29012025/13/52/image_29012025_13_53_06_10354.jpg
/home/pi/Desktop/images/29012025/13/53/image_29012025_13_53_26_10377.jpg
/home/pi/Desktop/images/29012025/13/53/image_29012025_13_53_35_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":["1332729596","1332729590","1332729661","1332729562","1332729685","1332729631"],"photo_ids_order":["1332729562","1332729590","1332729596","1332729631","1332729661","1332729685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/448879d86c83acada12f64300c93e0dc.jpg","text":"TemporaryFile(/tmp/multipartBody4552158127584236117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174953143,"filename":"image_29012025_13_52_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/29/df12a98508fbf3696c11acf53ff09d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1552502096331387149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174953143,"filename":"image_29012025_13_52_46_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/29/c452d4aca86170e54de9acc643b0ccf3.jpg","text":"TemporaryFile(/tmp/multipartBody6403457804783130009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174953143,"filename":"image_29012025_13_53_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/29/341745088db164869e416a062211eb6f.jpg","text":"TemporaryFile(/tmp/multipartBody6755232412905710436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174953143,"filename":"image_29012025_13_52_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/29/d82ba915e5a936784fac7bdeacc2372f.jpg","text":"TemporaryFile(/tmp/multipartBody1261759777278746965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174953143,"filename":"image_29012025_13_53_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/29/5109df1ddc2e6818b4770879713ef2a8.jpg","text":"TemporaryFile(/tmp/multipartBody3238828797966351659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738174953143,"filename":"image_29012025_13_53_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332729596","file1":"1332729590","file0":"1332729562","file4":"1332729661","file5":"1332729685","file3":"1332729631"},"map_files_photo_id_array":[{"photo_id":"1332729685","filename":"file5"},{"photo_id":"1332729596","filename":"file2"},{"photo_id":"1332729661","filename":"file4"},{"photo_id":"1332729590","filename":"file1"},{"photo_id":"1332729562","filename":"file0"},{"photo_id":"1332729631","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332729596":["hashtag1","hashtag2"]},{"1332729590":["hashtag1","hashtag2"]},{"1332729661":["hashtag1","hashtag2"]},{"1332729562":["hashtag1","hashtag2"]},{"1332729685":["hashtag1","hashtag2"]},{"1332729631":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332729596, 1332729590, 1332729661, 1332729562, 1332729685, 1332729631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.22177791595459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:22:32.362347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/53/image_29012025_13_53_46_10349.jpg', '/home/pi/Desktop/images/29012025/13/53/image_29012025_13_53_56_10431.jpg', '/home/pi/Desktop/images/29012025/13/53/image_29012025_13_54_06_9330.jpg', '/home/pi/Desktop/images/29012025/13/54/image_29012025_13_54_16_10479.jpg', '/home/pi/Desktop/images/29012025/13/54/image_29012025_13_54_26_10354.jpg', '/home/pi/Desktop/images/29012025/13/54/image_29012025_13_54_36_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/53/image_29012025_13_53_46_10349.jpg
/home/pi/Desktop/images/29012025/13/53/image_29012025_13_53_56_10431.jpg
/home/pi/Desktop/images/29012025/13/53/image_29012025_13_54_06_9330.jpg
/home/pi/Desktop/images/29012025/13/54/image_29012025_13_54_16_10479.jpg
/home/pi/Desktop/images/29012025/13/54/image_29012025_13_54_26_10354.jpg
/home/pi/Desktop/images/29012025/13/54/image_29012025_13_54_36_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":["1332730537","1332730512","1332730506","1332730407","1332730361","1332730498"],"photo_ids_order":["1332730361","1332730407","1332730498","1332730506","1332730512","1332730537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/02a2642184796fcc50014daf6ca1a8b3.jpg","text":"TemporaryFile(/tmp/multipartBody6316582770247507492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175013322,"filename":"image_29012025_13_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/29/f926abf4875d70571652ee0bf034f1a8.jpg","text":"TemporaryFile(/tmp/multipartBody7230055808245123588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175013322,"filename":"image_29012025_13_54_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/29/a53c4cf4e0f3e36d44c74b8220e546be.jpg","text":"TemporaryFile(/tmp/multipartBody2767838005361580039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175013322,"filename":"image_29012025_13_54_16_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/29/8fd4eb51d191d7d6a399a337e8117782.jpg","text":"TemporaryFile(/tmp/multipartBody4867232780502290687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175013322,"filename":"image_29012025_13_53_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/29/f20130f1353d4186371be6e46e14f771.jpg","text":"TemporaryFile(/tmp/multipartBody3722543033185768875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175013322,"filename":"image_29012025_13_53_46_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/29/29ec2ab28c45b8f199b3313d0ab94c34.jpg","text":"TemporaryFile(/tmp/multipartBody2202837384893261433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175013322,"filename":"image_29012025_13_54_06_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332730498","file1":"1332730407","file0":"1332730361","file4":"1332730512","file5":"1332730537","file3":"1332730506"},"map_files_photo_id_array":[{"photo_id":"1332730537","filename":"file5"},{"photo_id":"1332730498","filename":"file2"},{"photo_id":"1332730512","filename":"file4"},{"photo_id":"1332730407","filename":"file1"},{"photo_id":"1332730361","filename":"file0"},{"photo_id":"1332730506","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332730537":["hashtag1","hashtag2"]},{"1332730512":["hashtag1","hashtag2"]},{"1332730506":["hashtag1","hashtag2"]},{"1332730407":["hashtag1","hashtag2"]},{"1332730361":["hashtag1","hashtag2"]},{"1332730498":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332730537, 1332730512, 1332730506, 1332730407, 1332730361, 1332730498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44571375846863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:23:32.639128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/54/image_29012025_13_54_46_10437.jpg', '/home/pi/Desktop/images/29012025/13/54/image_29012025_13_54_56_9353.jpg', '/home/pi/Desktop/images/29012025/13/54/image_29012025_13_55_06_10351.jpg', '/home/pi/Desktop/images/29012025/13/55/image_29012025_13_55_16_10351.jpg', '/home/pi/Desktop/images/29012025/13/55/image_29012025_13_55_26_9355.jpg', '/home/pi/Desktop/images/29012025/13/55/image_29012025_13_55_36_10485.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/54/image_29012025_13_54_46_10437.jpg
/home/pi/Desktop/images/29012025/13/54/image_29012025_13_54_56_9353.jpg
/home/pi/Desktop/images/29012025/13/54/image_29012025_13_55_06_10351.jpg
/home/pi/Desktop/images/29012025/13/55/image_29012025_13_55_16_10351.jpg
/home/pi/Desktop/images/29012025/13/55/image_29012025_13_55_26_9355.jpg
/home/pi/Desktop/images/29012025/13/55/image_29012025_13_55_36_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":["1332730866","1332730856","1332730844","1332730838","1332730847","1332730832"],"photo_ids_order":["1332730832","1332730838","1332730844","1332730847","1332730856","1332730866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d18ba3c6e9e5d51d259b85f2630798c4.jpg","text":"TemporaryFile(/tmp/multipartBody2555926550452128359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175073600,"filename":"image_29012025_13_55_36_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/29/8716d30dc3510966ef8fb3d00e933464.jpg","text":"TemporaryFile(/tmp/multipartBody1990760781955488060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175073600,"filename":"image_29012025_13_55_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/29/4426420fb40335c85f5a2ec85394fdef.jpg","text":"TemporaryFile(/tmp/multipartBody541810650686798698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175073600,"filename":"image_29012025_13_55_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/29/4e1720f183fed79fb114f3921c7fa15b.jpg","text":"TemporaryFile(/tmp/multipartBody1262152089331205577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175073600,"filename":"image_29012025_13_54_56_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/29/b8346f6f87b11cd09ea272a4a5121034.jpg","text":"TemporaryFile(/tmp/multipartBody2144355562584179246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175073600,"filename":"image_29012025_13_55_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/29/677299492142bad831df39fe8ce8d7de.jpg","text":"TemporaryFile(/tmp/multipartBody530184217893284680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175073600,"filename":"image_29012025_13_54_46_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332730844","file1":"1332730838","file0":"1332730832","file4":"1332730856","file5":"1332730866","file3":"1332730847"},"map_files_photo_id_array":[{"photo_id":"1332730866","filename":"file5"},{"photo_id":"1332730844","filename":"file2"},{"photo_id":"1332730856","filename":"file4"},{"photo_id":"1332730838","filename":"file1"},{"photo_id":"1332730832","filename":"file0"},{"photo_id":"1332730847","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332730866":["hashtag1","hashtag2"]},{"1332730856":["hashtag1","hashtag2"]},{"1332730844":["hashtag1","hashtag2"]},{"1332730838":["hashtag1","hashtag2"]},{"1332730847":["hashtag1","hashtag2"]},{"1332730832":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332730866, 1332730856, 1332730844, 1332730838, 1332730847, 1332730832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.396390199661255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:24:32.850859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/55/image_29012025_13_55_45_9375.jpg', '/home/pi/Desktop/images/29012025/13/55/image_29012025_13_55_56_10427.jpg', '/home/pi/Desktop/images/29012025/13/55/image_29012025_13_56_06_10348.jpg', '/home/pi/Desktop/images/29012025/13/56/image_29012025_13_56_16_9331.jpg', '/home/pi/Desktop/images/29012025/13/56/image_29012025_13_56_26_10365.jpg', '/home/pi/Desktop/images/29012025/13/56/image_29012025_13_56_36_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/55/image_29012025_13_55_45_9375.jpg
/home/pi/Desktop/images/29012025/13/55/image_29012025_13_55_56_10427.jpg
/home/pi/Desktop/images/29012025/13/55/image_29012025_13_56_06_10348.jpg
/home/pi/Desktop/images/29012025/13/56/image_29012025_13_56_16_9331.jpg
/home/pi/Desktop/images/29012025/13/56/image_29012025_13_56_26_10365.jpg
/home/pi/Desktop/images/29012025/13/56/image_29012025_13_56_36_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332731142","1332731166","1332731177","1332731174","1332731161","1332731170"],"photo_ids_order":["1332731142","1332731161","1332731166","1332731170","1332731174","1332731177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d291c214c91c7993972ce630783bdbff.jpg","text":"TemporaryFile(/tmp/multipartBody3521110424146497531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175133823,"filename":"image_29012025_13_55_45_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/29/db0d2882df45c61ac1d9892d6e7d89a0.jpg","text":"TemporaryFile(/tmp/multipartBody3078311715940577810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175133823,"filename":"image_29012025_13_56_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/29/a84abec2e4a9219b78a505b951c509b0.jpg","text":"TemporaryFile(/tmp/multipartBody6929760988886935299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175133823,"filename":"image_29012025_13_56_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/29/da25f69372382b52d1945acb2e6af75a.jpg","text":"TemporaryFile(/tmp/multipartBody7309707381262627951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175133823,"filename":"image_29012025_13_56_26_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/29/e9bdc5f14a68227cf8527b77ce5ac6b8.jpg","text":"TemporaryFile(/tmp/multipartBody8631738774570863256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175133823,"filename":"image_29012025_13_55_56_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/29/0fa06fa912c15f9952e3785825e04ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3163023036424514593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175133823,"filename":"image_29012025_13_56_16_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332731166","file1":"1332731161","file0":"1332731142","file4":"1332731174","file5":"1332731177","file3":"1332731170"},"map_files_photo_id_array":[{"photo_id":"1332731177","filename":"file5"},{"photo_id":"1332731166","filename":"file2"},{"photo_id":"1332731174","filename":"file4"},{"photo_id":"1332731161","filename":"file1"},{"photo_id":"1332731142","filename":"file0"},{"photo_id":"1332731170","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332731142":["hashtag1","hashtag2"]},{"1332731166":["hashtag1","hashtag2"]},{"1332731177":["hashtag1","hashtag2"]},{"1332731174":["hashtag1","hashtag2"]},{"1332731161":["hashtag1","hashtag2"]},{"1332731170":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332731142, 1332731166, 1332731177, 1332731174, 1332731161, 1332731170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.748568534851074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:25:33.129732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/56/image_29012025_13_56_46_9334.jpg', '/home/pi/Desktop/images/29012025/13/56/image_29012025_13_56_56_10434.jpg', '/home/pi/Desktop/images/29012025/13/56/image_29012025_13_57_05_9355.jpg', '/home/pi/Desktop/images/29012025/13/57/image_29012025_13_57_16_10359.jpg', '/home/pi/Desktop/images/29012025/13/57/image_29012025_13_57_26_10412.jpg', '/home/pi/Desktop/images/29012025/13/57/image_29012025_13_57_36_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/56/image_29012025_13_56_46_9334.jpg
/home/pi/Desktop/images/29012025/13/56/image_29012025_13_56_56_10434.jpg
/home/pi/Desktop/images/29012025/13/56/image_29012025_13_57_05_9355.jpg
/home/pi/Desktop/images/29012025/13/57/image_29012025_13_57_16_10359.jpg
/home/pi/Desktop/images/29012025/13/57/image_29012025_13_57_26_10412.jpg
/home/pi/Desktop/images/29012025/13/57/image_29012025_13_57_36_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":["1332731209","1332731199","1332731205","1332731202","1332731213","1332731197"],"photo_ids_order":["1332731197","1332731199","1332731202","1332731205","1332731209","1332731213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/642e36a785ee30e28bb6e3eaa4abe323.jpg","text":"TemporaryFile(/tmp/multipartBody3664020464281123714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175194084,"filename":"image_29012025_13_57_26_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/29/a922692117c7248c91f2f74e0242cb1b.jpg","text":"TemporaryFile(/tmp/multipartBody5556788973383119726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175194084,"filename":"image_29012025_13_56_56_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/29/1acc0ebf92cc21d4fe4cbb8fd02dd7de.jpg","text":"TemporaryFile(/tmp/multipartBody990861347179129397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175194084,"filename":"image_29012025_13_57_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/29/8519c945ce122a49bd664719cef525e9.jpg","text":"TemporaryFile(/tmp/multipartBody6994847136966645564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175194084,"filename":"image_29012025_13_57_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/29/aefece214b5e3e009844ce5895edba31.jpg","text":"TemporaryFile(/tmp/multipartBody2982507982559801894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175194084,"filename":"image_29012025_13_57_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/29/6d6925b0c23c4a7db8264c61d768c767.jpg","text":"TemporaryFile(/tmp/multipartBody8682601405120008372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175194084,"filename":"image_29012025_13_56_46_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332731202","file1":"1332731199","file0":"1332731197","file4":"1332731209","file5":"1332731213","file3":"1332731205"},"map_files_photo_id_array":[{"photo_id":"1332731213","filename":"file5"},{"photo_id":"1332731202","filename":"file2"},{"photo_id":"1332731209","filename":"file4"},{"photo_id":"1332731199","filename":"file1"},{"photo_id":"1332731197","filename":"file0"},{"photo_id":"1332731205","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332731209":["hashtag1","hashtag2"]},{"1332731199":["hashtag1","hashtag2"]},{"1332731205":["hashtag1","hashtag2"]},{"1332731202":["hashtag1","hashtag2"]},{"1332731213":["hashtag1","hashtag2"]},{"1332731197":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332731209, 1332731199, 1332731205, 1332731202, 1332731213, 1332731197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.6239116191864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:26:32.327007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/57/image_29012025_13_57_46_10346.jpg', '/home/pi/Desktop/images/29012025/13/57/image_29012025_13_57_56_10447.jpg', '/home/pi/Desktop/images/29012025/13/57/image_29012025_13_58_06_9330.jpg', '/home/pi/Desktop/images/29012025/13/58/image_29012025_13_58_16_10430.jpg', '/home/pi/Desktop/images/29012025/13/58/image_29012025_13_58_25_9344.jpg', '/home/pi/Desktop/images/29012025/13/58/image_29012025_13_58_36_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/57/image_29012025_13_57_46_10346.jpg
/home/pi/Desktop/images/29012025/13/57/image_29012025_13_57_56_10447.jpg
/home/pi/Desktop/images/29012025/13/57/image_29012025_13_58_06_9330.jpg
/home/pi/Desktop/images/29012025/13/58/image_29012025_13_58_16_10430.jpg
/home/pi/Desktop/images/29012025/13/58/image_29012025_13_58_25_9344.jpg
/home/pi/Desktop/images/29012025/13/58/image_29012025_13_58_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":["1332731241","1332731235","1332731249","1332731251","1332731245","1332731248"],"photo_ids_order":["1332731235","1332731241","1332731245","1332731248","1332731249","1332731251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dfa40b68c881b25ceb4156029736230d.jpg","text":"TemporaryFile(/tmp/multipartBody6664378776310630073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175253281,"filename":"image_29012025_13_57_56_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/29/834b09a2ab2b0ea1131e0b300d8407b0.jpg","text":"TemporaryFile(/tmp/multipartBody4056464908086254061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175253281,"filename":"image_29012025_13_57_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/29/6605e9c469290f53eb7d5726f2650b16.jpg","text":"TemporaryFile(/tmp/multipartBody4942600087607383344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175253281,"filename":"image_29012025_13_58_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/29/1847a5aae01a39fbda22bd8332ef7ac3.jpg","text":"TemporaryFile(/tmp/multipartBody5655208441873403963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175253281,"filename":"image_29012025_13_58_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/29/f618197d3862dd96027b7b8c0f436e09.jpg","text":"TemporaryFile(/tmp/multipartBody2773751311039448427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175253281,"filename":"image_29012025_13_58_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/29/3d41fee0c11612f6deaf23530a2793b0.jpg","text":"TemporaryFile(/tmp/multipartBody6891095803062232085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175253281,"filename":"image_29012025_13_58_16_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332731245","file1":"1332731241","file0":"1332731235","file4":"1332731249","file5":"1332731251","file3":"1332731248"},"map_files_photo_id_array":[{"photo_id":"1332731251","filename":"file5"},{"photo_id":"1332731245","filename":"file2"},{"photo_id":"1332731249","filename":"file4"},{"photo_id":"1332731241","filename":"file1"},{"photo_id":"1332731235","filename":"file0"},{"photo_id":"1332731248","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332731241":["hashtag1","hashtag2"]},{"1332731235":["hashtag1","hashtag2"]},{"1332731249":["hashtag1","hashtag2"]},{"1332731251":["hashtag1","hashtag2"]},{"1332731245":["hashtag1","hashtag2"]},{"1332731248":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332731241, 1332731235, 1332731249, 1332731251, 1332731245, 1332731248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20146036148071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:27:32.550609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/58/image_29012025_13_58_46_10358.jpg', '/home/pi/Desktop/images/29012025/13/58/image_29012025_13_58_56_9351.jpg', '/home/pi/Desktop/images/29012025/13/58/image_29012025_13_59_06_10347.jpg', '/home/pi/Desktop/images/29012025/13/59/image_29012025_13_59_16_10346.jpg', '/home/pi/Desktop/images/29012025/13/59/image_29012025_13_59_26_9359.jpg', '/home/pi/Desktop/images/29012025/13/59/image_29012025_13_59_36_10479.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/58/image_29012025_13_58_46_10358.jpg
/home/pi/Desktop/images/29012025/13/58/image_29012025_13_58_56_9351.jpg
/home/pi/Desktop/images/29012025/13/58/image_29012025_13_59_06_10347.jpg
/home/pi/Desktop/images/29012025/13/59/image_29012025_13_59_16_10346.jpg
/home/pi/Desktop/images/29012025/13/59/image_29012025_13_59_26_9359.jpg
/home/pi/Desktop/images/29012025/13/59/image_29012025_13_59_36_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332731343","1332731300","1332731338","1332731347","1332731311","1332731305"],"photo_ids_order":["1332731300","1332731305","1332731311","1332731338","1332731343","1332731347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6c57f7f1f8a647bbf9d70aa0740e3c16.jpg","text":"TemporaryFile(/tmp/multipartBody3812346486530865691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175313521,"filename":"image_29012025_13_59_26_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/29/b7fba13381435c3644592b8a29cf64ff.jpg","text":"TemporaryFile(/tmp/multipartBody5623190169417019186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175313521,"filename":"image_29012025_13_58_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/29/ef05409b7eae2a40d09b7b0366e58f49.jpg","text":"TemporaryFile(/tmp/multipartBody8252888247043271357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175313521,"filename":"image_29012025_13_59_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/29/97659a93b8710fbb692b3f39b1aad6f3.jpg","text":"TemporaryFile(/tmp/multipartBody5950781909811835301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175313521,"filename":"image_29012025_13_59_36_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/29/5e5b45bc23995b5c723623647d8170e1.jpg","text":"TemporaryFile(/tmp/multipartBody8082070860222862578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175313521,"filename":"image_29012025_13_59_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/29/9d3ca95a616752d5bab681c8075edee6.jpg","text":"TemporaryFile(/tmp/multipartBody2935911676155312977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175313521,"filename":"image_29012025_13_58_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332731311","file1":"1332731305","file0":"1332731300","file4":"1332731343","file5":"1332731347","file3":"1332731338"},"map_files_photo_id_array":[{"photo_id":"1332731347","filename":"file5"},{"photo_id":"1332731311","filename":"file2"},{"photo_id":"1332731343","filename":"file4"},{"photo_id":"1332731305","filename":"file1"},{"photo_id":"1332731300","filename":"file0"},{"photo_id":"1332731338","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332731343":["hashtag1","hashtag2"]},{"1332731300":["hashtag1","hashtag2"]},{"1332731338":["hashtag1","hashtag2"]},{"1332731347":["hashtag1","hashtag2"]},{"1332731311":["hashtag1","hashtag2"]},{"1332731305":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332731343, 1332731300, 1332731338, 1332731347, 1332731311, 1332731305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04420709609985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:28:32.781855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/13/59/image_29012025_13_59_46_10364.jpg', '/home/pi/Desktop/images/29012025/13/59/image_29012025_13_59_56_9350.jpg', '/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_14_10086.jpg', '/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_24_10473.jpg', '/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_34_10338.jpg', '/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_44_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/13/59/image_29012025_13_59_46_10364.jpg
/home/pi/Desktop/images/29012025/13/59/image_29012025_13_59_56_9350.jpg
/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_14_10086.jpg
/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_24_10473.jpg
/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_34_10338.jpg
/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_44_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":["1332731397","1332731382","1332731385","1332731393","1332731411","1332731389"],"photo_ids_order":["1332731382","1332731385","1332731389","1332731393","1332731397","1332731411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1856fb6b9c8083e26cb78f5bc230fdd8.jpg","text":"TemporaryFile(/tmp/multipartBody8430320922159952470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175373749,"filename":"image_29012025_14_01_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/29/ac18ea882ee10b134deca3fc15ae22d9.jpg","text":"TemporaryFile(/tmp/multipartBody6556411434243407806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175373749,"filename":"image_29012025_13_59_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/29/7931ce5c182c2db2b5761b4c5ac1e3ce.jpg","text":"TemporaryFile(/tmp/multipartBody5379943925672889922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175373749,"filename":"image_29012025_13_59_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/29/dbc6ef4cb56ed9a573c14a01d1b66f1b.jpg","text":"TemporaryFile(/tmp/multipartBody2080248182483708612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175373749,"filename":"image_29012025_14_01_24_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/29/59cc7ee63916f29e0f14f29ad6b559c8.jpg","text":"TemporaryFile(/tmp/multipartBody7357028516599184106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175373749,"filename":"image_29012025_14_01_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/29/62567c5098e6b7c67ee5a33c0e16e49f.jpg","text":"TemporaryFile(/tmp/multipartBody4116171975312209236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175373749,"filename":"image_29012025_14_01_14_10086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332731389","file1":"1332731385","file0":"1332731382","file4":"1332731397","file5":"1332731411","file3":"1332731393"},"map_files_photo_id_array":[{"photo_id":"1332731411","filename":"file5"},{"photo_id":"1332731389","filename":"file2"},{"photo_id":"1332731397","filename":"file4"},{"photo_id":"1332731385","filename":"file1"},{"photo_id":"1332731382","filename":"file0"},{"photo_id":"1332731393","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332731397":["hashtag1","hashtag2"]},{"1332731382":["hashtag1","hashtag2"]},{"1332731385":["hashtag1","hashtag2"]},{"1332731393":["hashtag1","hashtag2"]},{"1332731411":["hashtag1","hashtag2"]},{"1332731389":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332731397, 1332731382, 1332731385, 1332731393, 1332731411, 1332731389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40388822555542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:29:32.949961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_54_10355.jpg', '/home/pi/Desktop/images/29012025/14/01/image_29012025_14_02_04_9434.jpg', '/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_14_10596.jpg', '/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_24_9446.jpg', '/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_34_10340.jpg', '/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_44_10534.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_54_10355.jpg
/home/pi/Desktop/images/29012025/14/01/image_29012025_14_02_04_9434.jpg
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_14_10596.jpg
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_24_9446.jpg
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_34_10340.jpg
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_44_10534.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.5702221393585205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 19:29:43.028559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_54_10355.jpg', '/home/pi/Desktop/images/29012025/14/01/image_29012025_14_02_04_9434.jpg', '/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_14_10596.jpg', '/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_24_9446.jpg', '/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_34_10340.jpg', '/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_44_10534.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/01/image_29012025_14_01_54_10355.jpg
/home/pi/Desktop/images/29012025/14/01/image_29012025_14_02_04_9434.jpg
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_14_10596.jpg
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_24_9446.jpg
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_34_10340.jpg
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_44_10534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332731481","1332731509","1332731499","1332731504","1332731494","1332731488"],"photo_ids_order":["1332731481","1332731488","1332731494","1332731499","1332731504","1332731509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ebd94fc302aa3d3ffab2341f8a0c22e5.jpg","text":"TemporaryFile(/tmp/multipartBody7840076660913341215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175443922,"filename":"image_29012025_14_01_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/29/463b62f6b0393ac54ee041da65e84f68.jpg","text":"TemporaryFile(/tmp/multipartBody4838737715202503319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175443922,"filename":"image_29012025_14_02_44_10534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b04936806244f4603f40698e64e88fdd.jpg","text":"TemporaryFile(/tmp/multipartBody327061478919608178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175443922,"filename":"image_29012025_14_02_24_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/29/0cc7645f32447e71223ab88df006b5d5.jpg","text":"TemporaryFile(/tmp/multipartBody2874171112069894089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175443922,"filename":"image_29012025_14_02_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/29/d13e111062927b5af494ba74a85ed36b.jpg","text":"TemporaryFile(/tmp/multipartBody3113993822058860419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175443922,"filename":"image_29012025_14_02_14_10596.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9e137dec9cef69df0e76fe46111a236b.jpg","text":"TemporaryFile(/tmp/multipartBody8233146860579975566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175443922,"filename":"image_29012025_14_02_04_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332731494","file1":"1332731488","file0":"1332731481","file4":"1332731504","file5":"1332731509","file3":"1332731499"},"map_files_photo_id_array":[{"photo_id":"1332731509","filename":"file5"},{"photo_id":"1332731494","filename":"file2"},{"photo_id":"1332731504","filename":"file4"},{"photo_id":"1332731488","filename":"file1"},{"photo_id":"1332731481","filename":"file0"},{"photo_id":"1332731499","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332731481":["hashtag1","hashtag2"]},{"1332731509":["hashtag1","hashtag2"]},{"1332731499":["hashtag1","hashtag2"]},{"1332731504":["hashtag1","hashtag2"]},{"1332731494":["hashtag1","hashtag2"]},{"1332731488":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332731481, 1332731509, 1332731499, 1332731504, 1332731494, 1332731488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.14855456352234 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-29 19:30:42.816659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_54_9330.jpg', '/home/pi/Desktop/images/29012025/14/02/image_29012025_14_03_04_10444.jpg', '/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_14_9354.jpg', '/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_24_10333.jpg', '/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_34_10458.jpg', '/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_44_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_54_9330.jpg
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_03_04_10444.jpg
/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_14_9354.jpg
/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_24_10333.jpg
/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_34_10458.jpg
/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_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.9072649478912354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:30:52.206524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_54_9330.jpg', '/home/pi/Desktop/images/29012025/14/02/image_29012025_14_03_04_10444.jpg', '/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_14_9354.jpg', '/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_24_10333.jpg', '/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_34_10458.jpg', '/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_44_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_02_54_9330.jpg
/home/pi/Desktop/images/29012025/14/02/image_29012025_14_03_04_10444.jpg
/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_14_9354.jpg
/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_24_10333.jpg
/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_34_10458.jpg
/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_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":["1332731550","1332731541","1332731538","1332731554","1332731536","1332731545"],"photo_ids_order":["1332731536","1332731538","1332731541","1332731545","1332731550","1332731554"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/91ccbe4cfb9ad8a722239032ba93767c.jpg","text":"TemporaryFile(/tmp/multipartBody4728016412244436327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175513122,"filename":"image_29012025_14_03_34_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/29/107dc407c67b48ebd6b5f8f8755947c7.jpg","text":"TemporaryFile(/tmp/multipartBody1826126933739470564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175513122,"filename":"image_29012025_14_03_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/29/1c71ddffd66ac23548e002c11e59de42.jpg","text":"TemporaryFile(/tmp/multipartBody2481036619967430831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175513122,"filename":"image_29012025_14_03_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/29/0424ea33024fc9cc8bbead23eb5db0ad.jpg","text":"TemporaryFile(/tmp/multipartBody145914631080892057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175513122,"filename":"image_29012025_14_03_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/29/88f3c17c8e0a7263ddc3c48d9a2bb5b7.jpg","text":"TemporaryFile(/tmp/multipartBody3447497175384799098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175513122,"filename":"image_29012025_14_02_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/29/127df5b73eefcc1a3856620634d44ab4.jpg","text":"TemporaryFile(/tmp/multipartBody7837600103061434181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175513122,"filename":"image_29012025_14_03_24_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332731541","file1":"1332731538","file0":"1332731536","file4":"1332731550","file5":"1332731554","file3":"1332731545"},"map_files_photo_id_array":[{"photo_id":"1332731554","filename":"file5"},{"photo_id":"1332731541","filename":"file2"},{"photo_id":"1332731550","filename":"file4"},{"photo_id":"1332731538","filename":"file1"},{"photo_id":"1332731536","filename":"file0"},{"photo_id":"1332731545","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332731550":["hashtag1","hashtag2"]},{"1332731541":["hashtag1","hashtag2"]},{"1332731538":["hashtag1","hashtag2"]},{"1332731554":["hashtag1","hashtag2"]},{"1332731536":["hashtag1","hashtag2"]},{"1332731545":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332731550, 1332731541, 1332731538, 1332731554, 1332731536, 1332731545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18785548210144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 19:31:42.590839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_54_10397.jpg', '/home/pi/Desktop/images/29012025/14/03/image_29012025_14_04_05_10410.jpg', '/home/pi/Desktop/images/29012025/14/04/image_29012025_14_04_14_9520.jpg', '/home/pi/Desktop/images/29012025/14/04/image_29012025_14_04_24_10400.jpg', '/home/pi/Desktop/images/29012025/14/04/image_29012025_14_04_34_9378.jpg', '/home/pi/Desktop/images/29012025/14/04/image_29012025_14_04_44_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/03/image_29012025_14_03_54_10397.jpg
/home/pi/Desktop/images/29012025/14/03/image_29012025_14_04_05_10410.jpg
/home/pi/Desktop/images/29012025/14/04/image_29012025_14_04_14_9520.jpg
/home/pi/Desktop/images/29012025/14/04/image_29012025_14_04_24_10400.jpg
/home/pi/Desktop/images/29012025/14/04/image_29012025_14_04_34_9378.jpg
/home/pi/Desktop/images/29012025/14/04/image_29012025_14_04_44_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":["1332731605","1332731589","1332731577","1332731592","1332731581","1332731602"],"photo_ids_order":["1332731577","1332731581","1332731589","1332731592","1332731602","1332731605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/579d5828039098c0b93a63fea5e1a52c.jpg","text":"TemporaryFile(/tmp/multipartBody1340007780924328152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175563549,"filename":"image_29012025_14_04_44_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/29/ac81a935aaafb7110a5bb58cb4268816.jpg","text":"TemporaryFile(/tmp/multipartBody2561602781718258861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175563549,"filename":"image_29012025_14_04_14_9520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/189c57ec2ab3e12ede903c1f49323fb2.jpg","text":"TemporaryFile(/tmp/multipartBody7698131816104315687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175563549,"filename":"image_29012025_14_03_54_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/29/3d7372ee84fddb13a336471e73be91e6.jpg","text":"TemporaryFile(/tmp/multipartBody8075299997280320243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175563549,"filename":"image_29012025_14_04_24_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/29/a0d4159503eef206bd45f1c2b1520af3.jpg","text":"TemporaryFile(/tmp/multipartBody5616825238009467621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175563549,"filename":"image_29012025_14_04_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/29/f40ba94c0877a2c3c40e66ddc2b5927d.jpg","text":"TemporaryFile(/tmp/multipartBody4170821007138718482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175563549,"filename":"image_29012025_14_04_34_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332731589","file1":"1332731581","file0":"1332731577","file4":"1332731602","file5":"1332731605","file3":"1332731592"},"map_files_photo_id_array":[{"photo_id":"1332731605","filename":"file5"},{"photo_id":"1332731589","filename":"file2"},{"photo_id":"1332731602","filename":"file4"},{"photo_id":"1332731581","filename":"file1"},{"photo_id":"1332731577","filename":"file0"},{"photo_id":"1332731592","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332731605":["hashtag1","hashtag2"]},{"1332731589":["hashtag1","hashtag2"]},{"1332731577":["hashtag1","hashtag2"]},{"1332731592":["hashtag1","hashtag2"]},{"1332731581":["hashtag1","hashtag2"]},{"1332731602":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332731605, 1332731589, 1332731577, 1332731592, 1332731581, 1332731602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.16932559013367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:32:32.669614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/04/image_29012025_14_04_54_9358.jpg', '/home/pi/Desktop/images/29012025/14/04/image_29012025_14_05_04_10479.jpg', '/home/pi/Desktop/images/29012025/14/05/image_29012025_14_05_14_10366.jpg', '/home/pi/Desktop/images/29012025/14/05/image_29012025_14_05_24_9345.jpg', '/home/pi/Desktop/images/29012025/14/05/image_29012025_14_05_34_10406.jpg', '/home/pi/Desktop/images/29012025/14/05/image_29012025_14_05_44_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/04/image_29012025_14_04_54_9358.jpg
/home/pi/Desktop/images/29012025/14/04/image_29012025_14_05_04_10479.jpg
/home/pi/Desktop/images/29012025/14/05/image_29012025_14_05_14_10366.jpg
/home/pi/Desktop/images/29012025/14/05/image_29012025_14_05_24_9345.jpg
/home/pi/Desktop/images/29012025/14/05/image_29012025_14_05_34_10406.jpg
/home/pi/Desktop/images/29012025/14/05/image_29012025_14_05_44_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":["1332731970","1332731874","1332732039","1332731968","1332731689","1332732022"],"photo_ids_order":["1332731689","1332731874","1332731968","1332731970","1332732022","1332732039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/98b2e9ecb8da94ce601697045b60fe75.jpg","text":"TemporaryFile(/tmp/multipartBody2686074955822422579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175613626,"filename":"image_29012025_14_05_24_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/29/d395746f233463244a667a77b6ffdc3d.jpg","text":"TemporaryFile(/tmp/multipartBody2917525248988827846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175613626,"filename":"image_29012025_14_05_04_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/29/b1cb19c7923ca08c2ddf626bbe982827.jpg","text":"TemporaryFile(/tmp/multipartBody1544181772289843307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175613626,"filename":"image_29012025_14_05_44_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/29/ad59d8a253b3d025ac6a7b20ae91bfc2.jpg","text":"TemporaryFile(/tmp/multipartBody4127862380973375030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175613626,"filename":"image_29012025_14_05_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/29/b280737305eeed30dd95229996dc00c0.jpg","text":"TemporaryFile(/tmp/multipartBody3793140577383955948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175613626,"filename":"image_29012025_14_04_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/29/42f3fbf056b327396144a8ec3832b8d9.jpg","text":"TemporaryFile(/tmp/multipartBody4954152453653963533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175613626,"filename":"image_29012025_14_05_34_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332731968","file1":"1332731874","file0":"1332731689","file4":"1332732022","file5":"1332732039","file3":"1332731970"},"map_files_photo_id_array":[{"photo_id":"1332732039","filename":"file5"},{"photo_id":"1332731968","filename":"file2"},{"photo_id":"1332732022","filename":"file4"},{"photo_id":"1332731874","filename":"file1"},{"photo_id":"1332731689","filename":"file0"},{"photo_id":"1332731970","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332731970":["hashtag1","hashtag2"]},{"1332731874":["hashtag1","hashtag2"]},{"1332732039":["hashtag1","hashtag2"]},{"1332731968":["hashtag1","hashtag2"]},{"1332731689":["hashtag1","hashtag2"]},{"1332732022":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332731970, 1332731874, 1332732039, 1332731968, 1332731689, 1332732022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.71111297607422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:33:32.874471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/05/image_29012025_14_05_54_10450.jpg', '/home/pi/Desktop/images/29012025/14/05/image_29012025_14_06_05_10439.jpg', '/home/pi/Desktop/images/29012025/14/06/image_29012025_14_06_14_9355.jpg', '/home/pi/Desktop/images/29012025/14/06/image_29012025_14_06_24_10415.jpg', '/home/pi/Desktop/images/29012025/14/06/image_29012025_14_06_34_9372.jpg', '/home/pi/Desktop/images/29012025/14/06/image_29012025_14_06_44_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/05/image_29012025_14_05_54_10450.jpg
/home/pi/Desktop/images/29012025/14/05/image_29012025_14_06_05_10439.jpg
/home/pi/Desktop/images/29012025/14/06/image_29012025_14_06_14_9355.jpg
/home/pi/Desktop/images/29012025/14/06/image_29012025_14_06_24_10415.jpg
/home/pi/Desktop/images/29012025/14/06/image_29012025_14_06_34_9372.jpg
/home/pi/Desktop/images/29012025/14/06/image_29012025_14_06_44_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":["1332732210","1332732197","1332732175","1332732202","1332732205","1332732192"],"photo_ids_order":["1332732175","1332732192","1332732197","1332732202","1332732205","1332732210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/efd78a09ac64eb42cb1fef3d8827fc07.jpg","text":"TemporaryFile(/tmp/multipartBody4499033457134716988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175673871,"filename":"image_29012025_14_06_44_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/29/1c3959613248fb8ecc172333915b6a8e.jpg","text":"TemporaryFile(/tmp/multipartBody7956307066586559291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175673871,"filename":"image_29012025_14_06_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/29/fa35274fbb982d713864a331da279390.jpg","text":"TemporaryFile(/tmp/multipartBody8612869972882806683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175673871,"filename":"image_29012025_14_05_54_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/29/00d1f718582653772fe4d97de45cb2ea.jpg","text":"TemporaryFile(/tmp/multipartBody3812206033665628046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175673871,"filename":"image_29012025_14_06_24_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/29/ff701a1333a947fe7671def6825b6a77.jpg","text":"TemporaryFile(/tmp/multipartBody4103222590508008705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175673871,"filename":"image_29012025_14_06_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/29/bc50a811defbba90a30867d4a95fd430.jpg","text":"TemporaryFile(/tmp/multipartBody3570710338558554001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175673871,"filename":"image_29012025_14_06_05_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332732197","file1":"1332732192","file0":"1332732175","file4":"1332732205","file5":"1332732210","file3":"1332732202"},"map_files_photo_id_array":[{"photo_id":"1332732210","filename":"file5"},{"photo_id":"1332732197","filename":"file2"},{"photo_id":"1332732205","filename":"file4"},{"photo_id":"1332732192","filename":"file1"},{"photo_id":"1332732175","filename":"file0"},{"photo_id":"1332732202","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332732210":["hashtag1","hashtag2"]},{"1332732197":["hashtag1","hashtag2"]},{"1332732175":["hashtag1","hashtag2"]},{"1332732202":["hashtag1","hashtag2"]},{"1332732205":["hashtag1","hashtag2"]},{"1332732192":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332732210, 1332732197, 1332732175, 1332732202, 1332732205, 1332732192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.377532958984375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:34:33.133819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/06/image_29012025_14_06_54_10365.jpg', '/home/pi/Desktop/images/29012025/14/06/image_29012025_14_07_04_9426.jpg', '/home/pi/Desktop/images/29012025/14/07/image_29012025_14_07_14_10417.jpg', '/home/pi/Desktop/images/29012025/14/07/image_29012025_14_07_24_9336.jpg', '/home/pi/Desktop/images/29012025/14/07/image_29012025_14_07_34_10399.jpg', '/home/pi/Desktop/images/29012025/14/07/image_29012025_14_07_44_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/06/image_29012025_14_06_54_10365.jpg
/home/pi/Desktop/images/29012025/14/06/image_29012025_14_07_04_9426.jpg
/home/pi/Desktop/images/29012025/14/07/image_29012025_14_07_14_10417.jpg
/home/pi/Desktop/images/29012025/14/07/image_29012025_14_07_24_9336.jpg
/home/pi/Desktop/images/29012025/14/07/image_29012025_14_07_34_10399.jpg
/home/pi/Desktop/images/29012025/14/07/image_29012025_14_07_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":["1332732228","1332732272","1332732268","1332732241","1332732250","1332732223"],"photo_ids_order":["1332732223","1332732228","1332732241","1332732250","1332732268","1332732272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5536cfa159742162bcf8150f7b6b69ff.jpg","text":"TemporaryFile(/tmp/multipartBody8989240574910133663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175734090,"filename":"image_29012025_14_07_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/29/d072e2e9fb9ba2c451682bfea34115e6.jpg","text":"TemporaryFile(/tmp/multipartBody1694379128132571286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175734090,"filename":"image_29012025_14_07_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/29/ba9c68502300e82492127832460c1079.jpg","text":"TemporaryFile(/tmp/multipartBody5532088707596810900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175734090,"filename":"image_29012025_14_07_34_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/29/8d85208f419b60f4b5fde87738aaf033.jpg","text":"TemporaryFile(/tmp/multipartBody7128812667468233517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175734090,"filename":"image_29012025_14_07_14_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/29/6e0de0d2bfa49c8657c37fa2d5c6c71a.jpg","text":"TemporaryFile(/tmp/multipartBody5892733741688333631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175734090,"filename":"image_29012025_14_07_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/29/901285d1d9eeaa566e9a148b11381a04.jpg","text":"TemporaryFile(/tmp/multipartBody8588462745455695891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175734090,"filename":"image_29012025_14_06_54_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332732241","file1":"1332732228","file0":"1332732223","file4":"1332732268","file5":"1332732272","file3":"1332732250"},"map_files_photo_id_array":[{"photo_id":"1332732272","filename":"file5"},{"photo_id":"1332732241","filename":"file2"},{"photo_id":"1332732268","filename":"file4"},{"photo_id":"1332732228","filename":"file1"},{"photo_id":"1332732223","filename":"file0"},{"photo_id":"1332732250","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332732228":["hashtag1","hashtag2"]},{"1332732272":["hashtag1","hashtag2"]},{"1332732268":["hashtag1","hashtag2"]},{"1332732241":["hashtag1","hashtag2"]},{"1332732250":["hashtag1","hashtag2"]},{"1332732223":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332732228, 1332732272, 1332732268, 1332732241, 1332732250, 1332732223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.9277458190918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:35:32.461381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/07/image_29012025_14_07_54_9394.jpg', '/home/pi/Desktop/images/29012025/14/07/image_29012025_14_08_04_10340.jpg', '/home/pi/Desktop/images/29012025/14/08/image_29012025_14_08_14_10369.jpg', '/home/pi/Desktop/images/29012025/14/08/image_29012025_14_08_24_9361.jpg', '/home/pi/Desktop/images/29012025/14/08/image_29012025_14_08_34_10369.jpg', '/home/pi/Desktop/images/29012025/14/08/image_29012025_14_08_44_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/07/image_29012025_14_07_54_9394.jpg
/home/pi/Desktop/images/29012025/14/07/image_29012025_14_08_04_10340.jpg
/home/pi/Desktop/images/29012025/14/08/image_29012025_14_08_14_10369.jpg
/home/pi/Desktop/images/29012025/14/08/image_29012025_14_08_24_9361.jpg
/home/pi/Desktop/images/29012025/14/08/image_29012025_14_08_34_10369.jpg
/home/pi/Desktop/images/29012025/14/08/image_29012025_14_08_44_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332732299","1332732303","1332732306","1332732296","1332732292","1332732294"],"photo_ids_order":["1332732292","1332732294","1332732296","1332732299","1332732303","1332732306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/015095b606942a421635c966d241067b.jpg","text":"TemporaryFile(/tmp/multipartBody3135073960312777788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175793435,"filename":"image_29012025_14_08_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/29/afa7cfcf89d05102c510d15f80c0a344.jpg","text":"TemporaryFile(/tmp/multipartBody3743042367205438849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175793435,"filename":"image_29012025_14_08_34_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/29/279c203653432650ead900e8d2df3595.jpg","text":"TemporaryFile(/tmp/multipartBody2397328577370906386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175793435,"filename":"image_29012025_14_08_44_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/29/b85695c42add4a5365fc21a81aee20d2.jpg","text":"TemporaryFile(/tmp/multipartBody1728512147879251882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175793435,"filename":"image_29012025_14_08_14_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/29/ba118441db6fc4028e130295b8db5105.jpg","text":"TemporaryFile(/tmp/multipartBody1075489518727249637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175793435,"filename":"image_29012025_14_07_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/29/eba8b08b8655b02896cdcbde0ae1dc02.jpg","text":"TemporaryFile(/tmp/multipartBody418319156234339191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175793435,"filename":"image_29012025_14_08_04_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332732296","file1":"1332732294","file0":"1332732292","file4":"1332732303","file5":"1332732306","file3":"1332732299"},"map_files_photo_id_array":[{"photo_id":"1332732306","filename":"file5"},{"photo_id":"1332732296","filename":"file2"},{"photo_id":"1332732303","filename":"file4"},{"photo_id":"1332732294","filename":"file1"},{"photo_id":"1332732292","filename":"file0"},{"photo_id":"1332732299","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332732299":["hashtag1","hashtag2"]},{"1332732303":["hashtag1","hashtag2"]},{"1332732306":["hashtag1","hashtag2"]},{"1332732296":["hashtag1","hashtag2"]},{"1332732292":["hashtag1","hashtag2"]},{"1332732294":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332732299, 1332732303, 1332732306, 1332732296, 1332732292, 1332732294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59832739830017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:36:32.584620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/08/image_29012025_14_08_54_10490.jpg', '/home/pi/Desktop/images/29012025/14/08/image_29012025_14_09_04_9420.jpg', '/home/pi/Desktop/images/29012025/14/09/image_29012025_14_09_14_10431.jpg', '/home/pi/Desktop/images/29012025/14/09/image_29012025_14_09_24_10391.jpg', '/home/pi/Desktop/images/29012025/14/09/image_29012025_14_09_34_9346.jpg', '/home/pi/Desktop/images/29012025/14/09/image_29012025_14_09_44_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/08/image_29012025_14_08_54_10490.jpg
/home/pi/Desktop/images/29012025/14/08/image_29012025_14_09_04_9420.jpg
/home/pi/Desktop/images/29012025/14/09/image_29012025_14_09_14_10431.jpg
/home/pi/Desktop/images/29012025/14/09/image_29012025_14_09_24_10391.jpg
/home/pi/Desktop/images/29012025/14/09/image_29012025_14_09_34_9346.jpg
/home/pi/Desktop/images/29012025/14/09/image_29012025_14_09_44_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":["1332732345","1332732348","1332732342","1332732336","1332732346","1332732331"],"photo_ids_order":["1332732331","1332732336","1332732342","1332732345","1332732346","1332732348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4193ca75b87dc6223798a190a1d77ff4.jpg","text":"TemporaryFile(/tmp/multipartBody5250679883898019668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175853567,"filename":"image_29012025_14_09_24_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/29/89228b4d76362a9b4d3ac90610da4231.jpg","text":"TemporaryFile(/tmp/multipartBody5065819646396656588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175853567,"filename":"image_29012025_14_09_44_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/29/7bbf40b345af642b6d3eb04b90ddb59f.jpg","text":"TemporaryFile(/tmp/multipartBody5783526346947852761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175853567,"filename":"image_29012025_14_09_14_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/29/7db21fd46fb9f2cacb6a83c07720010b.jpg","text":"TemporaryFile(/tmp/multipartBody5254492707217742595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175853567,"filename":"image_29012025_14_09_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/29/bec154150330da3e8a2fce0dc6172240.jpg","text":"TemporaryFile(/tmp/multipartBody6864329854238625084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175853567,"filename":"image_29012025_14_09_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/29/798150f24d765b2489d9bbf646cd390e.jpg","text":"TemporaryFile(/tmp/multipartBody6919940087750972933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175853567,"filename":"image_29012025_14_08_54_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332732342","file1":"1332732336","file0":"1332732331","file4":"1332732346","file5":"1332732348","file3":"1332732345"},"map_files_photo_id_array":[{"photo_id":"1332732348","filename":"file5"},{"photo_id":"1332732342","filename":"file2"},{"photo_id":"1332732346","filename":"file4"},{"photo_id":"1332732336","filename":"file1"},{"photo_id":"1332732331","filename":"file0"},{"photo_id":"1332732345","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332732345":["hashtag1","hashtag2"]},{"1332732348":["hashtag1","hashtag2"]},{"1332732342":["hashtag1","hashtag2"]},{"1332732336":["hashtag1","hashtag2"]},{"1332732346":["hashtag1","hashtag2"]},{"1332732331":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332732345, 1332732348, 1332732342, 1332732336, 1332732346, 1332732331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.37747359275818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:37:32.719235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/09/image_29012025_14_09_54_9416.jpg', '/home/pi/Desktop/images/29012025/14/09/image_29012025_14_10_04_10338.jpg', '/home/pi/Desktop/images/29012025/14/10/image_29012025_14_10_14_10351.jpg', '/home/pi/Desktop/images/29012025/14/10/image_29012025_14_10_24_9349.jpg', '/home/pi/Desktop/images/29012025/14/10/image_29012025_14_10_34_10421.jpg', '/home/pi/Desktop/images/29012025/14/10/image_29012025_14_10_44_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/09/image_29012025_14_09_54_9416.jpg
/home/pi/Desktop/images/29012025/14/09/image_29012025_14_10_04_10338.jpg
/home/pi/Desktop/images/29012025/14/10/image_29012025_14_10_14_10351.jpg
/home/pi/Desktop/images/29012025/14/10/image_29012025_14_10_24_9349.jpg
/home/pi/Desktop/images/29012025/14/10/image_29012025_14_10_34_10421.jpg
/home/pi/Desktop/images/29012025/14/10/image_29012025_14_10_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":["1332732404","1332732527","1332732506","1332732367","1332732514","1332732369"],"photo_ids_order":["1332732367","1332732369","1332732404","1332732506","1332732514","1332732527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/952bd07a9dfe129d648fe8ef6dc9e4e9.jpg","text":"TemporaryFile(/tmp/multipartBody2431774982821663075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175913687,"filename":"image_29012025_14_10_14_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/29/6eba02796ac21d18d4e8ef1d85f92d0c.jpg","text":"TemporaryFile(/tmp/multipartBody9073031493548950896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175913687,"filename":"image_29012025_14_10_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/29/9063d0956e39594feacea26db9d6bf39.jpg","text":"TemporaryFile(/tmp/multipartBody7295499413104243120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175913687,"filename":"image_29012025_14_10_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/29/ea6e38defc830e44230f3553d412ccd7.jpg","text":"TemporaryFile(/tmp/multipartBody4167687038013250996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175913687,"filename":"image_29012025_14_09_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/29/7ec01da9d4a88a38c034c7e14b82b6ed.jpg","text":"TemporaryFile(/tmp/multipartBody5211891661576025053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175913687,"filename":"image_29012025_14_10_34_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/29/e52c5ae43f09f84899489320a91dec21.jpg","text":"TemporaryFile(/tmp/multipartBody5168919313458833517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175913687,"filename":"image_29012025_14_10_04_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332732404","file1":"1332732369","file0":"1332732367","file4":"1332732514","file5":"1332732527","file3":"1332732506"},"map_files_photo_id_array":[{"photo_id":"1332732527","filename":"file5"},{"photo_id":"1332732404","filename":"file2"},{"photo_id":"1332732514","filename":"file4"},{"photo_id":"1332732369","filename":"file1"},{"photo_id":"1332732367","filename":"file0"},{"photo_id":"1332732506","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332732404":["hashtag1","hashtag2"]},{"1332732527":["hashtag1","hashtag2"]},{"1332732506":["hashtag1","hashtag2"]},{"1332732367":["hashtag1","hashtag2"]},{"1332732514":["hashtag1","hashtag2"]},{"1332732369":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332732404, 1332732527, 1332732506, 1332732367, 1332732514, 1332732369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.13058924674988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:38:33.071229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/10/image_29012025_14_10_54_9345.jpg', '/home/pi/Desktop/images/29012025/14/10/image_29012025_14_11_04_10386.jpg', '/home/pi/Desktop/images/29012025/14/11/image_29012025_14_11_14_10377.jpg', '/home/pi/Desktop/images/29012025/14/11/image_29012025_14_11_24_9335.jpg', '/home/pi/Desktop/images/29012025/14/11/image_29012025_14_11_34_10406.jpg', '/home/pi/Desktop/images/29012025/14/11/image_29012025_14_11_44_9403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/10/image_29012025_14_10_54_9345.jpg
/home/pi/Desktop/images/29012025/14/10/image_29012025_14_11_04_10386.jpg
/home/pi/Desktop/images/29012025/14/11/image_29012025_14_11_14_10377.jpg
/home/pi/Desktop/images/29012025/14/11/image_29012025_14_11_24_9335.jpg
/home/pi/Desktop/images/29012025/14/11/image_29012025_14_11_34_10406.jpg
/home/pi/Desktop/images/29012025/14/11/image_29012025_14_11_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":["1332732564","1332732606","1332732596","1332732578","1332732569","1332732573"],"photo_ids_order":["1332732564","1332732569","1332732573","1332732578","1332732596","1332732606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2ca7325733ead3685d648931d439e4f9.jpg","text":"TemporaryFile(/tmp/multipartBody5996040610520887226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175974034,"filename":"image_29012025_14_10_54_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/29/c9e9be76c1b4bf4a5ab5b7f09c503a48.jpg","text":"TemporaryFile(/tmp/multipartBody4573793630341584736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175974034,"filename":"image_29012025_14_11_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/29/5dc17fb5035b5f3cbd199c53ee701e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4638711386671552593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175974034,"filename":"image_29012025_14_11_34_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/29/55ccadca9c13e2fe4ec2778e33532696.jpg","text":"TemporaryFile(/tmp/multipartBody2904295432740979271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175974034,"filename":"image_29012025_14_11_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/29/d8ed39c4f616c21700786b8f0ca96a06.jpg","text":"TemporaryFile(/tmp/multipartBody1941089243892989475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175974034,"filename":"image_29012025_14_11_04_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/29/e7ecced218ea908d4659f1e6f9f34660.jpg","text":"TemporaryFile(/tmp/multipartBody5958765153739452303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738175974034,"filename":"image_29012025_14_11_14_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332732573","file1":"1332732569","file0":"1332732564","file4":"1332732596","file5":"1332732606","file3":"1332732578"},"map_files_photo_id_array":[{"photo_id":"1332732606","filename":"file5"},{"photo_id":"1332732573","filename":"file2"},{"photo_id":"1332732596","filename":"file4"},{"photo_id":"1332732569","filename":"file1"},{"photo_id":"1332732564","filename":"file0"},{"photo_id":"1332732578","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332732564":["hashtag1","hashtag2"]},{"1332732606":["hashtag1","hashtag2"]},{"1332732596":["hashtag1","hashtag2"]},{"1332732578":["hashtag1","hashtag2"]},{"1332732569":["hashtag1","hashtag2"]},{"1332732573":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332732564, 1332732606, 1332732596, 1332732578, 1332732569, 1332732573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.60912561416626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:39:32.214084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/11/image_29012025_14_11_54_10392.jpg', '/home/pi/Desktop/images/29012025/14/11/image_29012025_14_12_04_9920.jpg', '/home/pi/Desktop/images/29012025/14/12/image_29012025_14_12_14_10369.jpg', '/home/pi/Desktop/images/29012025/14/12/image_29012025_14_12_24_9329.jpg', '/home/pi/Desktop/images/29012025/14/12/image_29012025_14_12_34_10448.jpg', '/home/pi/Desktop/images/29012025/14/12/image_29012025_14_12_44_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/11/image_29012025_14_11_54_10392.jpg
/home/pi/Desktop/images/29012025/14/11/image_29012025_14_12_04_9920.jpg
/home/pi/Desktop/images/29012025/14/12/image_29012025_14_12_14_10369.jpg
/home/pi/Desktop/images/29012025/14/12/image_29012025_14_12_24_9329.jpg
/home/pi/Desktop/images/29012025/14/12/image_29012025_14_12_34_10448.jpg
/home/pi/Desktop/images/29012025/14/12/image_29012025_14_12_44_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":["1332732657","1332732744","1332732738","1332732722","1332732652","1332732649"],"photo_ids_order":["1332732649","1332732652","1332732657","1332732722","1332732738","1332732744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c066515121227ce49ae877172a327bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6955795135627673114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176033165,"filename":"image_29012025_14_12_14_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/29/1c1068829d5dd3e87c5bb7fe6c8244b3.jpg","text":"TemporaryFile(/tmp/multipartBody7212282550177689965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176033165,"filename":"image_29012025_14_12_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/29/0d74e477b1503de4c2aa5a9664daeaaa.jpg","text":"TemporaryFile(/tmp/multipartBody6234704465514274061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176033165,"filename":"image_29012025_14_12_34_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/29/a1f01f53176525763cd41ac089817f6f.jpg","text":"TemporaryFile(/tmp/multipartBody5660842183037448396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176033165,"filename":"image_29012025_14_12_24_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/29/e5768bd9cd6fd59f40fdba836589da08.jpg","text":"TemporaryFile(/tmp/multipartBody2066465696159474732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176033165,"filename":"image_29012025_14_12_04_9920.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c277f41da4a25b7eecc5a3117deda422.jpg","text":"TemporaryFile(/tmp/multipartBody3131813470383999618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176033165,"filename":"image_29012025_14_11_54_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332732657","file1":"1332732652","file0":"1332732649","file4":"1332732738","file5":"1332732744","file3":"1332732722"},"map_files_photo_id_array":[{"photo_id":"1332732744","filename":"file5"},{"photo_id":"1332732657","filename":"file2"},{"photo_id":"1332732738","filename":"file4"},{"photo_id":"1332732652","filename":"file1"},{"photo_id":"1332732649","filename":"file0"},{"photo_id":"1332732722","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332732657":["hashtag1","hashtag2"]},{"1332732744":["hashtag1","hashtag2"]},{"1332732738":["hashtag1","hashtag2"]},{"1332732722":["hashtag1","hashtag2"]},{"1332732652":["hashtag1","hashtag2"]},{"1332732649":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332732657, 1332732744, 1332732738, 1332732722, 1332732652, 1332732649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.51408123970032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:40:32.477447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/12/image_29012025_14_12_54_9361.jpg', '/home/pi/Desktop/images/29012025/14/12/image_29012025_14_13_04_10335.jpg', '/home/pi/Desktop/images/29012025/14/13/image_29012025_14_13_15_10385.jpg', '/home/pi/Desktop/images/29012025/14/13/image_29012025_14_13_24_9327.jpg', '/home/pi/Desktop/images/29012025/14/13/image_29012025_14_13_34_10342.jpg', '/home/pi/Desktop/images/29012025/14/13/image_29012025_14_13_44_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/12/image_29012025_14_12_54_9361.jpg
/home/pi/Desktop/images/29012025/14/12/image_29012025_14_13_04_10335.jpg
/home/pi/Desktop/images/29012025/14/13/image_29012025_14_13_15_10385.jpg
/home/pi/Desktop/images/29012025/14/13/image_29012025_14_13_24_9327.jpg
/home/pi/Desktop/images/29012025/14/13/image_29012025_14_13_34_10342.jpg
/home/pi/Desktop/images/29012025/14/13/image_29012025_14_13_44_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":["1332732777","1332732770","1332732773","1332732778","1332732763","1332732780"],"photo_ids_order":["1332732763","1332732770","1332732773","1332732777","1332732778","1332732780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2d53a3418c38fe7003d1aa611f472776.jpg","text":"TemporaryFile(/tmp/multipartBody5862275552541500967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176093457,"filename":"image_29012025_14_13_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/29/2f347bfb42e830d3481af72dfb4ab027.jpg","text":"TemporaryFile(/tmp/multipartBody177358402692557161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176093457,"filename":"image_29012025_14_13_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/29/506adf68f192935d8a2309eb067070f8.jpg","text":"TemporaryFile(/tmp/multipartBody960621896756346923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176093457,"filename":"image_29012025_14_13_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/29/dfd1511cf14e57628c98bf0271bc19da.jpg","text":"TemporaryFile(/tmp/multipartBody5300620079832401821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176093457,"filename":"image_29012025_14_13_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/29/3e773dde52a4115840180c2667dd4ebd.jpg","text":"TemporaryFile(/tmp/multipartBody8475229192188233989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176093457,"filename":"image_29012025_14_12_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/29/9f765f19f41dd30c06e1cd279f079ba0.jpg","text":"TemporaryFile(/tmp/multipartBody1472361926288254789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176093457,"filename":"image_29012025_14_13_44_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332732773","file1":"1332732770","file0":"1332732763","file4":"1332732778","file5":"1332732780","file3":"1332732777"},"map_files_photo_id_array":[{"photo_id":"1332732780","filename":"file5"},{"photo_id":"1332732773","filename":"file2"},{"photo_id":"1332732778","filename":"file4"},{"photo_id":"1332732770","filename":"file1"},{"photo_id":"1332732763","filename":"file0"},{"photo_id":"1332732777","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332732777":["hashtag1","hashtag2"]},{"1332732770":["hashtag1","hashtag2"]},{"1332732773":["hashtag1","hashtag2"]},{"1332732778":["hashtag1","hashtag2"]},{"1332732763":["hashtag1","hashtag2"]},{"1332732780":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332732777, 1332732770, 1332732773, 1332732778, 1332732763, 1332732780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90274262428284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:41:32.691236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/13/image_29012025_14_13_54_10454.jpg', '/home/pi/Desktop/images/29012025/14/13/image_29012025_14_14_04_10412.jpg', '/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_14_9334.jpg', '/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_24_10440.jpg', '/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_34_9361.jpg', '/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_44_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/13/image_29012025_14_13_54_10454.jpg
/home/pi/Desktop/images/29012025/14/13/image_29012025_14_14_04_10412.jpg
/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_14_9334.jpg
/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_24_10440.jpg
/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_34_9361.jpg
/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_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":["1332733043","1332732896","1332732860","1332732988","1332732874","1332732940"],"photo_ids_order":["1332732860","1332732874","1332732896","1332732940","1332732988","1332733043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/14a0c516263038b322c31ebb05e5a080.jpg","text":"TemporaryFile(/tmp/multipartBody7608701347330458000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176153677,"filename":"image_29012025_14_14_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/29/4dfc0493391c35accc895891c1c28b91.jpg","text":"TemporaryFile(/tmp/multipartBody3895403473267639264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176153677,"filename":"image_29012025_14_14_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/29/3acb67d7b49e1266e57fabcf1da96660.jpg","text":"TemporaryFile(/tmp/multipartBody5945381974468020093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176153677,"filename":"image_29012025_14_13_54_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/29/0fecb316d7c834a3148a41341359f125.jpg","text":"TemporaryFile(/tmp/multipartBody7196128739523597152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176153677,"filename":"image_29012025_14_14_34_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/29/d5b97f3455e8bf82256fc36215bca385.jpg","text":"TemporaryFile(/tmp/multipartBody7074740477535869451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176153677,"filename":"image_29012025_14_14_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/29/5d6392f378874bd593b56100cc15d6af.jpg","text":"TemporaryFile(/tmp/multipartBody7288733053079339129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176153677,"filename":"image_29012025_14_14_24_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332732896","file1":"1332732874","file0":"1332732860","file4":"1332732988","file5":"1332733043","file3":"1332732940"},"map_files_photo_id_array":[{"photo_id":"1332733043","filename":"file5"},{"photo_id":"1332732896","filename":"file2"},{"photo_id":"1332732988","filename":"file4"},{"photo_id":"1332732874","filename":"file1"},{"photo_id":"1332732860","filename":"file0"},{"photo_id":"1332732940","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332733043":["hashtag1","hashtag2"]},{"1332732896":["hashtag1","hashtag2"]},{"1332732860":["hashtag1","hashtag2"]},{"1332732988":["hashtag1","hashtag2"]},{"1332732874":["hashtag1","hashtag2"]},{"1332732940":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332733043, 1332732896, 1332732860, 1332732988, 1332732874, 1332732940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.025070667266846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:42:32.941772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_54_10441.jpg', '/home/pi/Desktop/images/29012025/14/14/image_29012025_14_15_04_9352.jpg', '/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_14_10369.jpg', '/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_24_10335.jpg', '/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_34_9374.jpg', '/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_44_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_54_10441.jpg
/home/pi/Desktop/images/29012025/14/14/image_29012025_14_15_04_9352.jpg
/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_14_10369.jpg
/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_24_10335.jpg
/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_34_9374.jpg
/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_44_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.5745730400085449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 19:42:43.005055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_54_10441.jpg', '/home/pi/Desktop/images/29012025/14/14/image_29012025_14_15_04_9352.jpg', '/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_14_10369.jpg', '/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_24_10335.jpg', '/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_34_9374.jpg', '/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_44_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/14/image_29012025_14_14_54_10441.jpg
/home/pi/Desktop/images/29012025/14/14/image_29012025_14_15_04_9352.jpg
/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_14_10369.jpg
/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_24_10335.jpg
/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_34_9374.jpg
/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_44_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":["1332733215","1332733181","1332733288","1332733205","1332733282","1332733267"],"photo_ids_order":["1332733181","1332733205","1332733215","1332733267","1332733282","1332733288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/477585981177b39298d9e51450e9f18c.jpg","text":"TemporaryFile(/tmp/multipartBody7647471764305972942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176223915,"filename":"image_29012025_14_15_14_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/29/55bd068fbe0c5c46c31ef29b9f56c5b1.jpg","text":"TemporaryFile(/tmp/multipartBody1689226360511561248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176223915,"filename":"image_29012025_14_14_54_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/29/d8613b748231f2d37d6f078cee278a96.jpg","text":"TemporaryFile(/tmp/multipartBody6470165624997849651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176223915,"filename":"image_29012025_14_15_44_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/29/6d039af8d1397ccbbecc0fdf38d071b5.jpg","text":"TemporaryFile(/tmp/multipartBody8614981405125382474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176223915,"filename":"image_29012025_14_15_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/29/5ed5c90cd665e682f9caba81a0a40e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1517767460026533869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176223915,"filename":"image_29012025_14_15_34_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/29/9a995da564c4058807ca787d4ffa2e91.jpg","text":"TemporaryFile(/tmp/multipartBody8594569873808919788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176223915,"filename":"image_29012025_14_15_24_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332733215","file1":"1332733205","file0":"1332733181","file4":"1332733282","file5":"1332733288","file3":"1332733267"},"map_files_photo_id_array":[{"photo_id":"1332733288","filename":"file5"},{"photo_id":"1332733215","filename":"file2"},{"photo_id":"1332733282","filename":"file4"},{"photo_id":"1332733205","filename":"file1"},{"photo_id":"1332733181","filename":"file0"},{"photo_id":"1332733267","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332733215":["hashtag1","hashtag2"]},{"1332733181":["hashtag1","hashtag2"]},{"1332733288":["hashtag1","hashtag2"]},{"1332733205":["hashtag1","hashtag2"]},{"1332733282":["hashtag1","hashtag2"]},{"1332733267":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332733215, 1332733181, 1332733288, 1332733205, 1332733282, 1332733267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.78473424911499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:43:32.170868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_55_10361.jpg', '/home/pi/Desktop/images/29012025/14/15/image_29012025_14_16_04_9348.jpg', '/home/pi/Desktop/images/29012025/14/16/image_29012025_14_16_14_10409.jpg', '/home/pi/Desktop/images/29012025/14/16/image_29012025_14_16_24_9392.jpg', '/home/pi/Desktop/images/29012025/14/16/image_29012025_14_16_34_10451.jpg', '/home/pi/Desktop/images/29012025/14/16/image_29012025_14_16_44_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/15/image_29012025_14_15_55_10361.jpg
/home/pi/Desktop/images/29012025/14/15/image_29012025_14_16_04_9348.jpg
/home/pi/Desktop/images/29012025/14/16/image_29012025_14_16_14_10409.jpg
/home/pi/Desktop/images/29012025/14/16/image_29012025_14_16_24_9392.jpg
/home/pi/Desktop/images/29012025/14/16/image_29012025_14_16_34_10451.jpg
/home/pi/Desktop/images/29012025/14/16/image_29012025_14_16_44_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":["1332733364","1332733367","1332733313","1332733318","1332733356","1332733359"],"photo_ids_order":["1332733313","1332733318","1332733356","1332733359","1332733364","1332733367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/facb2bb6508c5467ff1626b7005b8881.jpg","text":"TemporaryFile(/tmp/multipartBody6512616791681954560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176276929,"filename":"image_29012025_14_16_34_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/29/1adb579a2a7a24ed6bc0b36c0c22bd94.jpg","text":"TemporaryFile(/tmp/multipartBody1658256771571785154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176276929,"filename":"image_29012025_14_16_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/29/8922b69b2985a51ea36e20e90990099a.jpg","text":"TemporaryFile(/tmp/multipartBody7503344258486601654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176276929,"filename":"image_29012025_14_15_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/29/b5af996d1a9d8b5b79da57dddc8468b0.jpg","text":"TemporaryFile(/tmp/multipartBody3912369039796066788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176276929,"filename":"image_29012025_14_16_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/29/0fadcbb69d60af30ac5da03ea2cf0ba4.jpg","text":"TemporaryFile(/tmp/multipartBody4738404462246131735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176276929,"filename":"image_29012025_14_16_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/29/f094a0386e5ded9929d68a784341e280.jpg","text":"TemporaryFile(/tmp/multipartBody7878100089386323662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176276929,"filename":"image_29012025_14_16_24_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332733356","file1":"1332733318","file0":"1332733313","file4":"1332733364","file5":"1332733367","file3":"1332733359"},"map_files_photo_id_array":[{"photo_id":"1332733367","filename":"file5"},{"photo_id":"1332733356","filename":"file2"},{"photo_id":"1332733364","filename":"file4"},{"photo_id":"1332733318","filename":"file1"},{"photo_id":"1332733313","filename":"file0"},{"photo_id":"1332733359","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332733364":["hashtag1","hashtag2"]},{"1332733367":["hashtag1","hashtag2"]},{"1332733313":["hashtag1","hashtag2"]},{"1332733318":["hashtag1","hashtag2"]},{"1332733356":["hashtag1","hashtag2"]},{"1332733359":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332733364, 1332733367, 1332733313, 1332733318, 1332733356, 1332733359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.14561414718628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:44:32.385645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/16/image_29012025_14_16_54_9437.jpg', '/home/pi/Desktop/images/29012025/14/16/image_29012025_14_17_04_10360.jpg', '/home/pi/Desktop/images/29012025/14/17/image_29012025_14_17_14_9331.jpg', '/home/pi/Desktop/images/29012025/14/17/image_29012025_14_17_24_10440.jpg', '/home/pi/Desktop/images/29012025/14/17/image_29012025_14_17_34_10359.jpg', '/home/pi/Desktop/images/29012025/14/17/image_29012025_14_17_44_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/16/image_29012025_14_16_54_9437.jpg
/home/pi/Desktop/images/29012025/14/16/image_29012025_14_17_04_10360.jpg
/home/pi/Desktop/images/29012025/14/17/image_29012025_14_17_14_9331.jpg
/home/pi/Desktop/images/29012025/14/17/image_29012025_14_17_24_10440.jpg
/home/pi/Desktop/images/29012025/14/17/image_29012025_14_17_34_10359.jpg
/home/pi/Desktop/images/29012025/14/17/image_29012025_14_17_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":["1332733428","1332733436","1332733415","1332733396","1332733390","1332733402"],"photo_ids_order":["1332733390","1332733396","1332733402","1332733415","1332733428","1332733436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7e2b43e7c8eeea6b26b4b76cf160f4ab.jpg","text":"TemporaryFile(/tmp/multipartBody2861197668118563479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176333370,"filename":"image_29012025_14_17_34_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/29/ba1ce9cfb05b4185c22e8110566316c0.jpg","text":"TemporaryFile(/tmp/multipartBody1911263146090009869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176333370,"filename":"image_29012025_14_17_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/29/1f5b48270d940e55319a2f8c1a492411.jpg","text":"TemporaryFile(/tmp/multipartBody3538917262787795059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176333370,"filename":"image_29012025_14_17_24_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/29/35b846373b5a720a356e021750debbcf.jpg","text":"TemporaryFile(/tmp/multipartBody1110484275235353221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176333370,"filename":"image_29012025_14_17_04_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/29/a605853081f6ce730146e7d2411b5f89.jpg","text":"TemporaryFile(/tmp/multipartBody900028185605530658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176333370,"filename":"image_29012025_14_16_54_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/29/0f7b600c4840a539ad7e868a6ecf4cf8.jpg","text":"TemporaryFile(/tmp/multipartBody3853433439425799170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176333370,"filename":"image_29012025_14_17_14_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332733402","file1":"1332733396","file0":"1332733390","file4":"1332733428","file5":"1332733436","file3":"1332733415"},"map_files_photo_id_array":[{"photo_id":"1332733436","filename":"file5"},{"photo_id":"1332733402","filename":"file2"},{"photo_id":"1332733428","filename":"file4"},{"photo_id":"1332733396","filename":"file1"},{"photo_id":"1332733390","filename":"file0"},{"photo_id":"1332733415","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332733428":["hashtag1","hashtag2"]},{"1332733436":["hashtag1","hashtag2"]},{"1332733415":["hashtag1","hashtag2"]},{"1332733396":["hashtag1","hashtag2"]},{"1332733390":["hashtag1","hashtag2"]},{"1332733402":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332733428, 1332733436, 1332733415, 1332733396, 1332733390, 1332733402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10975480079651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:45:32.527340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/17/image_29012025_14_17_54_10497.jpg', '/home/pi/Desktop/images/29012025/14/17/image_29012025_14_18_04_9441.jpg', '/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_14_10482.jpg', '/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_25_10342.jpg', '/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_34_9373.jpg', '/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_44_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/17/image_29012025_14_17_54_10497.jpg
/home/pi/Desktop/images/29012025/14/17/image_29012025_14_18_04_9441.jpg
/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_14_10482.jpg
/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_25_10342.jpg
/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_34_9373.jpg
/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_44_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332733469","1332733525","1332733711","1332733479","1332733473","1332733476"],"photo_ids_order":["1332733469","1332733473","1332733476","1332733479","1332733525","1332733711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8b01fb8267a0c9e2931cf3c41aa4e41f.jpg","text":"TemporaryFile(/tmp/multipartBody5827817699644531635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176394357,"filename":"image_29012025_14_17_54_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/29/eaed23b811c166ae578fe298c8d0fa2a.jpg","text":"TemporaryFile(/tmp/multipartBody7770317959292103885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176394357,"filename":"image_29012025_14_18_34_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/29/6bd765869fc7f74dca03a7f92232e852.jpg","text":"TemporaryFile(/tmp/multipartBody5852986610183656520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176394357,"filename":"image_29012025_14_18_44_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/29/c39fbb9f1337e663c894448380c45902.jpg","text":"TemporaryFile(/tmp/multipartBody5885663357933716993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176394357,"filename":"image_29012025_14_18_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/29/d8fbf5fa8136b5e0cd8e6ed0d03fe436.jpg","text":"TemporaryFile(/tmp/multipartBody2290969777573316812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176394357,"filename":"image_29012025_14_18_04_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/29/ff97d89654fbb592506ccd42663d41e9.jpg","text":"TemporaryFile(/tmp/multipartBody1903085379634143872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176394357,"filename":"image_29012025_14_18_14_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332733476","file1":"1332733473","file0":"1332733469","file4":"1332733525","file5":"1332733711","file3":"1332733479"},"map_files_photo_id_array":[{"photo_id":"1332733711","filename":"file5"},{"photo_id":"1332733476","filename":"file2"},{"photo_id":"1332733525","filename":"file4"},{"photo_id":"1332733473","filename":"file1"},{"photo_id":"1332733469","filename":"file0"},{"photo_id":"1332733479","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332733469":["hashtag1","hashtag2"]},{"1332733525":["hashtag1","hashtag2"]},{"1332733711":["hashtag1","hashtag2"]},{"1332733479":["hashtag1","hashtag2"]},{"1332733473":["hashtag1","hashtag2"]},{"1332733476":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332733469, 1332733525, 1332733711, 1332733479, 1332733473, 1332733476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.8402841091156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:46:32.294735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_54_9429.jpg', '/home/pi/Desktop/images/29012025/14/18/image_29012025_14_19_04_10401.jpg', '/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_14_9397.jpg', '/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_24_10355.jpg', '/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_34_10330.jpg', '/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_44_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_54_9429.jpg
/home/pi/Desktop/images/29012025/14/18/image_29012025_14_19_04_10401.jpg
/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_14_9397.jpg
/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_24_10355.jpg
/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_34_10330.jpg
/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_44_9333.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.5724048614501953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 19:46:44.641061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_54_9429.jpg', '/home/pi/Desktop/images/29012025/14/18/image_29012025_14_19_04_10401.jpg', '/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_14_9397.jpg', '/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_24_10355.jpg', '/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_34_10330.jpg', '/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_44_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/18/image_29012025_14_18_54_9429.jpg
/home/pi/Desktop/images/29012025/14/18/image_29012025_14_19_04_10401.jpg
/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_14_9397.jpg
/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_24_10355.jpg
/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_34_10330.jpg
/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_44_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332733996","1332733999","1332734002","1332733960","1332734005","1332733989"],"photo_ids_order":["1332733960","1332733989","1332733996","1332733999","1332734002","1332734005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7a8887b04c4487f9a19a44ab86989622.jpg","text":"TemporaryFile(/tmp/multipartBody3063226087800903938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176465540,"filename":"image_29012025_14_19_14_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/29/51e0d0e1936ad5902b43e4b23626054a.jpg","text":"TemporaryFile(/tmp/multipartBody6350804703452094704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176465540,"filename":"image_29012025_14_19_24_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/29/5a69ce8581197fad479b5832b5b2fc11.jpg","text":"TemporaryFile(/tmp/multipartBody9116793145546274871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176465540,"filename":"image_29012025_14_19_34_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/29/c46717b77b97e43330768d49d596c490.jpg","text":"TemporaryFile(/tmp/multipartBody9222823805548158240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176465540,"filename":"image_29012025_14_18_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/29/09c8f3541e1b0368e9bb7dd42a98d742.jpg","text":"TemporaryFile(/tmp/multipartBody1569932376877484234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176465540,"filename":"image_29012025_14_19_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/29/f702b86baa576111ed8f5f1ea50806b9.jpg","text":"TemporaryFile(/tmp/multipartBody4322245803476114842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176465540,"filename":"image_29012025_14_19_04_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332733996","file1":"1332733989","file0":"1332733960","file4":"1332734002","file5":"1332734005","file3":"1332733999"},"map_files_photo_id_array":[{"photo_id":"1332734005","filename":"file5"},{"photo_id":"1332733996","filename":"file2"},{"photo_id":"1332734002","filename":"file4"},{"photo_id":"1332733989","filename":"file1"},{"photo_id":"1332733960","filename":"file0"},{"photo_id":"1332733999","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332733996":["hashtag1","hashtag2"]},{"1332733999":["hashtag1","hashtag2"]},{"1332734002":["hashtag1","hashtag2"]},{"1332733960":["hashtag1","hashtag2"]},{"1332734005":["hashtag1","hashtag2"]},{"1332733989":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332733996, 1332733999, 1332734002, 1332733960, 1332734005, 1332733989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16479682922363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:47:32.459017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_54_10360.jpg', '/home/pi/Desktop/images/29012025/14/19/image_29012025_14_20_04_10346.jpg', '/home/pi/Desktop/images/29012025/14/20/image_29012025_14_20_14_9353.jpg', '/home/pi/Desktop/images/29012025/14/20/image_29012025_14_20_24_10472.jpg', '/home/pi/Desktop/images/29012025/14/20/image_29012025_14_20_34_10341.jpg', '/home/pi/Desktop/images/29012025/14/20/image_29012025_14_20_44_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/19/image_29012025_14_19_54_10360.jpg
/home/pi/Desktop/images/29012025/14/19/image_29012025_14_20_04_10346.jpg
/home/pi/Desktop/images/29012025/14/20/image_29012025_14_20_14_9353.jpg
/home/pi/Desktop/images/29012025/14/20/image_29012025_14_20_24_10472.jpg
/home/pi/Desktop/images/29012025/14/20/image_29012025_14_20_34_10341.jpg
/home/pi/Desktop/images/29012025/14/20/image_29012025_14_20_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":["1332734062","1332734065","1332734032","1332734041","1332734058","1332734016"],"photo_ids_order":["1332734016","1332734032","1332734041","1332734058","1332734062","1332734065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8bb263ee8f576992b0fc6d5e5610d566.jpg","text":"TemporaryFile(/tmp/multipartBody1197709536403605705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176513465,"filename":"image_29012025_14_20_34_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/29/f7e8ed4eca0b8b479002171323e5a8b3.jpg","text":"TemporaryFile(/tmp/multipartBody7381265141367224131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176513465,"filename":"image_29012025_14_20_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/29/c06ad341a86d864c689f286bfe6fd280.jpg","text":"TemporaryFile(/tmp/multipartBody981196985080122066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176513465,"filename":"image_29012025_14_20_04_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/29/9bdf9a207d88551b8d2dd2d42e92ff4c.jpg","text":"TemporaryFile(/tmp/multipartBody4819052082228928777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176513465,"filename":"image_29012025_14_20_14_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/29/9a4a606db8196271655d52ac6c2b7200.jpg","text":"TemporaryFile(/tmp/multipartBody7369368191995884318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176513465,"filename":"image_29012025_14_20_24_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/29/0a752f4beb2ab36ee90aee63e97e40bf.jpg","text":"TemporaryFile(/tmp/multipartBody4740243384976330017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176513465,"filename":"image_29012025_14_19_54_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332734041","file1":"1332734032","file0":"1332734016","file4":"1332734062","file5":"1332734065","file3":"1332734058"},"map_files_photo_id_array":[{"photo_id":"1332734065","filename":"file5"},{"photo_id":"1332734041","filename":"file2"},{"photo_id":"1332734062","filename":"file4"},{"photo_id":"1332734032","filename":"file1"},{"photo_id":"1332734016","filename":"file0"},{"photo_id":"1332734058","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332734062":["hashtag1","hashtag2"]},{"1332734065":["hashtag1","hashtag2"]},{"1332734032":["hashtag1","hashtag2"]},{"1332734041":["hashtag1","hashtag2"]},{"1332734058":["hashtag1","hashtag2"]},{"1332734016":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332734062, 1332734065, 1332734032, 1332734041, 1332734058, 1332734016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24577736854553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:48:32.722359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/20/image_29012025_14_21_04_9355.jpg', '/home/pi/Desktop/images/29012025/14/21/image_29012025_14_21_14_10456.jpg', '/home/pi/Desktop/images/29012025/14/21/image_29012025_14_21_24_10353.jpg', '/home/pi/Desktop/images/29012025/14/21/image_29012025_14_21_34_9344.jpg', '/home/pi/Desktop/images/29012025/14/21/image_29012025_14_21_44_10420.jpg', '/home/pi/Desktop/images/29012025/14/21/image_29012025_14_21_55_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/20/image_29012025_14_21_04_9355.jpg
/home/pi/Desktop/images/29012025/14/21/image_29012025_14_21_14_10456.jpg
/home/pi/Desktop/images/29012025/14/21/image_29012025_14_21_24_10353.jpg
/home/pi/Desktop/images/29012025/14/21/image_29012025_14_21_34_9344.jpg
/home/pi/Desktop/images/29012025/14/21/image_29012025_14_21_44_10420.jpg
/home/pi/Desktop/images/29012025/14/21/image_29012025_14_21_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":["1332734327","1332734085","1332734322","1332734106","1332734090","1332734093"],"photo_ids_order":["1332734085","1332734090","1332734093","1332734106","1332734322","1332734327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aab2ee5cf349f63401de7292235100d4.jpg","text":"TemporaryFile(/tmp/multipartBody1178067815892550160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176573716,"filename":"image_29012025_14_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/29/bf829241c7078ec50faf89f58c61d318.jpg","text":"TemporaryFile(/tmp/multipartBody2584288801367511024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176573716,"filename":"image_29012025_14_21_04_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/29/2e1d328c51e13e46b9e2985d7c5221c8.jpg","text":"TemporaryFile(/tmp/multipartBody6941596665663697710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176573716,"filename":"image_29012025_14_21_44_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/29/930b01be02a8f3a5646ea01fce08cf92.jpg","text":"TemporaryFile(/tmp/multipartBody6680553520451004487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176573716,"filename":"image_29012025_14_21_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/29/4d74b91171c00be54445fee7d282eacc.jpg","text":"TemporaryFile(/tmp/multipartBody5378302462243734526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176573716,"filename":"image_29012025_14_21_14_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/29/71395960e3d3c6c34da86b68b53b7357.jpg","text":"TemporaryFile(/tmp/multipartBody5066280296141331207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176573716,"filename":"image_29012025_14_21_24_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332734093","file1":"1332734090","file0":"1332734085","file4":"1332734322","file5":"1332734327","file3":"1332734106"},"map_files_photo_id_array":[{"photo_id":"1332734327","filename":"file5"},{"photo_id":"1332734093","filename":"file2"},{"photo_id":"1332734322","filename":"file4"},{"photo_id":"1332734090","filename":"file1"},{"photo_id":"1332734085","filename":"file0"},{"photo_id":"1332734106","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332734327":["hashtag1","hashtag2"]},{"1332734085":["hashtag1","hashtag2"]},{"1332734322":["hashtag1","hashtag2"]},{"1332734106":["hashtag1","hashtag2"]},{"1332734090":["hashtag1","hashtag2"]},{"1332734093":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332734327, 1332734085, 1332734322, 1332734106, 1332734090, 1332734093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52176117897034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:49:33.128933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/21/image_29012025_14_22_04_9340.jpg', '/home/pi/Desktop/images/29012025/14/22/image_29012025_14_22_14_10422.jpg', '/home/pi/Desktop/images/29012025/14/22/image_29012025_14_22_24_9343.jpg', '/home/pi/Desktop/images/29012025/14/22/image_29012025_14_22_34_10395.jpg', '/home/pi/Desktop/images/29012025/14/22/image_29012025_14_22_44_10373.jpg', '/home/pi/Desktop/images/29012025/14/22/image_29012025_14_22_54_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/21/image_29012025_14_22_04_9340.jpg
/home/pi/Desktop/images/29012025/14/22/image_29012025_14_22_14_10422.jpg
/home/pi/Desktop/images/29012025/14/22/image_29012025_14_22_24_9343.jpg
/home/pi/Desktop/images/29012025/14/22/image_29012025_14_22_34_10395.jpg
/home/pi/Desktop/images/29012025/14/22/image_29012025_14_22_44_10373.jpg
/home/pi/Desktop/images/29012025/14/22/image_29012025_14_22_54_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":["1332734575","1332734563","1332734583","1332734532","1332734591","1332734588"],"photo_ids_order":["1332734532","1332734563","1332734575","1332734583","1332734588","1332734591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d827d2be0d8090e022b1bd9bf0e6169c.jpg","text":"TemporaryFile(/tmp/multipartBody2446667058291776086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176634099,"filename":"image_29012025_14_22_24_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/29/5a76efed607f9fd84deeb025d49a26c0.jpg","text":"TemporaryFile(/tmp/multipartBody8586223227840662065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176634099,"filename":"image_29012025_14_22_14_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/29/a2a39a3062e0b86363b51cd698622759.jpg","text":"TemporaryFile(/tmp/multipartBody5128778488169627088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176634099,"filename":"image_29012025_14_22_34_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/29/93457a8e444f4f68f8042dbd9424438b.jpg","text":"TemporaryFile(/tmp/multipartBody2003643480127398544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176634099,"filename":"image_29012025_14_22_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/29/6ad9ec092ab82cfbc47b79856844804d.jpg","text":"TemporaryFile(/tmp/multipartBody8140402785343034547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176634099,"filename":"image_29012025_14_22_54_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/29/7037c7fa44c2ce5d36cce88b8e4af847.jpg","text":"TemporaryFile(/tmp/multipartBody6531143065177741064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176634099,"filename":"image_29012025_14_22_44_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332734575","file1":"1332734563","file0":"1332734532","file4":"1332734588","file5":"1332734591","file3":"1332734583"},"map_files_photo_id_array":[{"photo_id":"1332734591","filename":"file5"},{"photo_id":"1332734575","filename":"file2"},{"photo_id":"1332734588","filename":"file4"},{"photo_id":"1332734563","filename":"file1"},{"photo_id":"1332734532","filename":"file0"},{"photo_id":"1332734583","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332734575":["hashtag1","hashtag2"]},{"1332734563":["hashtag1","hashtag2"]},{"1332734583":["hashtag1","hashtag2"]},{"1332734532":["hashtag1","hashtag2"]},{"1332734591":["hashtag1","hashtag2"]},{"1332734588":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332734575, 1332734563, 1332734583, 1332734532, 1332734591, 1332734588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.36672806739807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:50:33.120647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/22/image_29012025_14_23_04_10338.jpg', '/home/pi/Desktop/images/29012025/14/23/image_29012025_14_23_14_10350.jpg', '/home/pi/Desktop/images/29012025/14/23/image_29012025_14_23_24_9349.jpg', '/home/pi/Desktop/images/29012025/14/23/image_29012025_14_23_34_10446.jpg', '/home/pi/Desktop/images/29012025/14/23/image_29012025_14_23_44_9399.jpg', '/home/pi/Desktop/images/29012025/14/23/image_29012025_14_23_54_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/22/image_29012025_14_23_04_10338.jpg
/home/pi/Desktop/images/29012025/14/23/image_29012025_14_23_14_10350.jpg
/home/pi/Desktop/images/29012025/14/23/image_29012025_14_23_24_9349.jpg
/home/pi/Desktop/images/29012025/14/23/image_29012025_14_23_34_10446.jpg
/home/pi/Desktop/images/29012025/14/23/image_29012025_14_23_44_9399.jpg
/home/pi/Desktop/images/29012025/14/23/image_29012025_14_23_54_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332734630","1332734662","1332734632","1332734658","1332734616","1332734654"],"photo_ids_order":["1332734616","1332734630","1332734632","1332734654","1332734658","1332734662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c9ca36a202a3d6da7295c3e82c97e6e1.jpg","text":"TemporaryFile(/tmp/multipartBody7063368748150508600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176694086,"filename":"image_29012025_14_23_14_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/29/9280037920256dee6bca39b5ce4c2cec.jpg","text":"TemporaryFile(/tmp/multipartBody2557628417906095633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176694086,"filename":"image_29012025_14_23_54_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/29/58cc7fa384d0417574bf7db8290ff4ce.jpg","text":"TemporaryFile(/tmp/multipartBody1043335677411226919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176694086,"filename":"image_29012025_14_23_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/29/c94d138e12e9fb393b9d9924971e7461.jpg","text":"TemporaryFile(/tmp/multipartBody76650163588872280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176694086,"filename":"image_29012025_14_23_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/29/8bcc6dd70c65e8e5652cfe6cf5402e67.jpg","text":"TemporaryFile(/tmp/multipartBody2944914458653640252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176694086,"filename":"image_29012025_14_23_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/29/7b1167e65dbeaa737b51f527298859b2.jpg","text":"TemporaryFile(/tmp/multipartBody4820405215340726900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176694086,"filename":"image_29012025_14_23_34_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332734632","file1":"1332734630","file0":"1332734616","file4":"1332734658","file5":"1332734662","file3":"1332734654"},"map_files_photo_id_array":[{"photo_id":"1332734662","filename":"file5"},{"photo_id":"1332734632","filename":"file2"},{"photo_id":"1332734658","filename":"file4"},{"photo_id":"1332734630","filename":"file1"},{"photo_id":"1332734616","filename":"file0"},{"photo_id":"1332734654","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332734630":["hashtag1","hashtag2"]},{"1332734662":["hashtag1","hashtag2"]},{"1332734632":["hashtag1","hashtag2"]},{"1332734658":["hashtag1","hashtag2"]},{"1332734616":["hashtag1","hashtag2"]},{"1332734654":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332734630, 1332734662, 1332734632, 1332734658, 1332734616, 1332734654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.23349142074585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:51:32.292108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/23/image_29012025_14_24_04_10403.jpg', '/home/pi/Desktop/images/29012025/14/24/image_29012025_14_24_14_9332.jpg', '/home/pi/Desktop/images/29012025/14/24/image_29012025_14_24_24_10344.jpg', '/home/pi/Desktop/images/29012025/14/24/image_29012025_14_24_34_9355.jpg', '/home/pi/Desktop/images/29012025/14/24/image_29012025_14_24_44_10342.jpg', '/home/pi/Desktop/images/29012025/14/24/image_29012025_14_24_54_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/23/image_29012025_14_24_04_10403.jpg
/home/pi/Desktop/images/29012025/14/24/image_29012025_14_24_14_9332.jpg
/home/pi/Desktop/images/29012025/14/24/image_29012025_14_24_24_10344.jpg
/home/pi/Desktop/images/29012025/14/24/image_29012025_14_24_34_9355.jpg
/home/pi/Desktop/images/29012025/14/24/image_29012025_14_24_44_10342.jpg
/home/pi/Desktop/images/29012025/14/24/image_29012025_14_24_54_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":["1332735637","1332735631","1332735511","1332735270","1332735015","1332734760"],"photo_ids_order":["1332734760","1332735015","1332735270","1332735511","1332735631","1332735637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f19c76a6a032790cc458a394ac1fd927.jpg","text":"TemporaryFile(/tmp/multipartBody7763908969951138293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176753241,"filename":"image_29012025_14_24_54_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/29/8504c8d06c1065642a430d8fc903f039.jpg","text":"TemporaryFile(/tmp/multipartBody7056628940678083988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176753241,"filename":"image_29012025_14_24_44_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/29/7d5aa0314847f8e633fcce58c6118127.jpg","text":"TemporaryFile(/tmp/multipartBody7560982694222335563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176753241,"filename":"image_29012025_14_24_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/29/22efa91605d42dc1205d883d6818e2f0.jpg","text":"TemporaryFile(/tmp/multipartBody2850379309226863745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176753241,"filename":"image_29012025_14_24_24_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/29/cfb15c629fe9d65a9e9f6621a0183ce7.jpg","text":"TemporaryFile(/tmp/multipartBody3525543517445058920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176753241,"filename":"image_29012025_14_24_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/29/c2cacd7b648c212bf9973d134045de6e.jpg","text":"TemporaryFile(/tmp/multipartBody5879436130196946400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176753241,"filename":"image_29012025_14_24_04_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332735270","file1":"1332735015","file0":"1332734760","file4":"1332735631","file5":"1332735637","file3":"1332735511"},"map_files_photo_id_array":[{"photo_id":"1332735637","filename":"file5"},{"photo_id":"1332735270","filename":"file2"},{"photo_id":"1332735631","filename":"file4"},{"photo_id":"1332735015","filename":"file1"},{"photo_id":"1332734760","filename":"file0"},{"photo_id":"1332735511","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332735637":["hashtag1","hashtag2"]},{"1332735631":["hashtag1","hashtag2"]},{"1332735511":["hashtag1","hashtag2"]},{"1332735270":["hashtag1","hashtag2"]},{"1332735015":["hashtag1","hashtag2"]},{"1332734760":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332735637, 1332735631, 1332735511, 1332735270, 1332735015, 1332734760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.13295817375183 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:52:32.490532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/24/image_29012025_14_25_04_9360.jpg', '/home/pi/Desktop/images/29012025/14/25/image_29012025_14_25_14_10398.jpg', '/home/pi/Desktop/images/29012025/14/25/image_29012025_14_25_25_10443.jpg', '/home/pi/Desktop/images/29012025/14/25/image_29012025_14_25_34_9400.jpg', '/home/pi/Desktop/images/29012025/14/25/image_29012025_14_25_44_10367.jpg', '/home/pi/Desktop/images/29012025/14/25/image_29012025_14_25_54_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/24/image_29012025_14_25_04_9360.jpg
/home/pi/Desktop/images/29012025/14/25/image_29012025_14_25_14_10398.jpg
/home/pi/Desktop/images/29012025/14/25/image_29012025_14_25_25_10443.jpg
/home/pi/Desktop/images/29012025/14/25/image_29012025_14_25_34_9400.jpg
/home/pi/Desktop/images/29012025/14/25/image_29012025_14_25_44_10367.jpg
/home/pi/Desktop/images/29012025/14/25/image_29012025_14_25_54_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":["1332735787","1332735874","1332736280","1332736084","1332735790","1332735784"],"photo_ids_order":["1332735784","1332735787","1332735790","1332735874","1332736084","1332736280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cf2a4d1776052a7f9cb3d0c9d4eb4b3b.jpg","text":"TemporaryFile(/tmp/multipartBody8407090902448004357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176813466,"filename":"image_29012025_14_25_14_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/29/fb4db2f4e0d7d451305b832069c53ac8.jpg","text":"TemporaryFile(/tmp/multipartBody7762072103270763061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176813466,"filename":"image_29012025_14_25_34_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/29/2be993f2059abb71c3fac2ef85e13a49.jpg","text":"TemporaryFile(/tmp/multipartBody7639443887251795647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176813466,"filename":"image_29012025_14_25_54_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/29/9e8252297a500e1490d580e2cd95ae0a.jpg","text":"TemporaryFile(/tmp/multipartBody8956276155329989200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176813466,"filename":"image_29012025_14_25_44_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/29/ce65fca77efc5d07e14a5d2faa8bdb89.jpg","text":"TemporaryFile(/tmp/multipartBody4541542064027313526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176813466,"filename":"image_29012025_14_25_25_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/29/9634c558bf047f558a1c2eb1131aa37e.jpg","text":"TemporaryFile(/tmp/multipartBody3493918561962274797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176813466,"filename":"image_29012025_14_25_04_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332735790","file1":"1332735787","file0":"1332735784","file4":"1332736084","file5":"1332736280","file3":"1332735874"},"map_files_photo_id_array":[{"photo_id":"1332736280","filename":"file5"},{"photo_id":"1332735790","filename":"file2"},{"photo_id":"1332736084","filename":"file4"},{"photo_id":"1332735787","filename":"file1"},{"photo_id":"1332735784","filename":"file0"},{"photo_id":"1332735874","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332735787":["hashtag1","hashtag2"]},{"1332735874":["hashtag1","hashtag2"]},{"1332736280":["hashtag1","hashtag2"]},{"1332736084":["hashtag1","hashtag2"]},{"1332735790":["hashtag1","hashtag2"]},{"1332735784":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332735787, 1332735874, 1332736280, 1332736084, 1332735790, 1332735784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.41347122192383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:53:32.675738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/25/image_29012025_14_26_04_10460.jpg', '/home/pi/Desktop/images/29012025/14/26/image_29012025_14_26_14_10346.jpg', '/home/pi/Desktop/images/29012025/14/26/image_29012025_14_26_24_9375.jpg', '/home/pi/Desktop/images/29012025/14/26/image_29012025_14_26_34_10434.jpg', '/home/pi/Desktop/images/29012025/14/26/image_29012025_14_26_44_9396.jpg', '/home/pi/Desktop/images/29012025/14/26/image_29012025_14_26_54_10515.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/25/image_29012025_14_26_04_10460.jpg
/home/pi/Desktop/images/29012025/14/26/image_29012025_14_26_14_10346.jpg
/home/pi/Desktop/images/29012025/14/26/image_29012025_14_26_24_9375.jpg
/home/pi/Desktop/images/29012025/14/26/image_29012025_14_26_34_10434.jpg
/home/pi/Desktop/images/29012025/14/26/image_29012025_14_26_44_9396.jpg
/home/pi/Desktop/images/29012025/14/26/image_29012025_14_26_54_10515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332736408","1332736437","1332736431","1332736413","1332736424","1332736418"],"photo_ids_order":["1332736408","1332736413","1332736418","1332736424","1332736431","1332736437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/048e90938c50cf6ad35674ce6185a77e.jpg","text":"TemporaryFile(/tmp/multipartBody5793941518027251833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176873655,"filename":"image_29012025_14_26_04_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/29/46dce1055647dbb6efd14b1ecfa1eced.jpg","text":"TemporaryFile(/tmp/multipartBody2480257602193258738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176873655,"filename":"image_29012025_14_26_54_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5449334d40d98d67a3182fa89bf855fb.jpg","text":"TemporaryFile(/tmp/multipartBody5798179470223705457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176873655,"filename":"image_29012025_14_26_44_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/29/157541afb0ae59e35f58fd7393f6de10.jpg","text":"TemporaryFile(/tmp/multipartBody7409511844235329788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176873655,"filename":"image_29012025_14_26_14_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/29/50a7dee48a943bc8f1f9b99b4c933003.jpg","text":"TemporaryFile(/tmp/multipartBody7383061871065856878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176873655,"filename":"image_29012025_14_26_34_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/29/6b9d2431baf3c8608760bbd95937f788.jpg","text":"TemporaryFile(/tmp/multipartBody878070397321295944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176873655,"filename":"image_29012025_14_26_24_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332736418","file1":"1332736413","file0":"1332736408","file4":"1332736431","file5":"1332736437","file3":"1332736424"},"map_files_photo_id_array":[{"photo_id":"1332736437","filename":"file5"},{"photo_id":"1332736418","filename":"file2"},{"photo_id":"1332736431","filename":"file4"},{"photo_id":"1332736413","filename":"file1"},{"photo_id":"1332736408","filename":"file0"},{"photo_id":"1332736424","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332736408":["hashtag1","hashtag2"]},{"1332736437":["hashtag1","hashtag2"]},{"1332736431":["hashtag1","hashtag2"]},{"1332736413":["hashtag1","hashtag2"]},{"1332736424":["hashtag1","hashtag2"]},{"1332736418":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332736408, 1332736437, 1332736431, 1332736413, 1332736424, 1332736418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.95384883880615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:54:32.917042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/26/image_29012025_14_27_04_9340.jpg', '/home/pi/Desktop/images/29012025/14/27/image_29012025_14_27_14_10351.jpg', '/home/pi/Desktop/images/29012025/14/27/image_29012025_14_27_24_10364.jpg', '/home/pi/Desktop/images/29012025/14/27/image_29012025_14_27_34_9347.jpg', '/home/pi/Desktop/images/29012025/14/27/image_29012025_14_27_44_10364.jpg', '/home/pi/Desktop/images/29012025/14/27/image_29012025_14_27_54_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/26/image_29012025_14_27_04_9340.jpg
/home/pi/Desktop/images/29012025/14/27/image_29012025_14_27_14_10351.jpg
/home/pi/Desktop/images/29012025/14/27/image_29012025_14_27_24_10364.jpg
/home/pi/Desktop/images/29012025/14/27/image_29012025_14_27_34_9347.jpg
/home/pi/Desktop/images/29012025/14/27/image_29012025_14_27_44_10364.jpg
/home/pi/Desktop/images/29012025/14/27/image_29012025_14_27_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":["1332736899","1332736647","1332736701","1332736577","1332736808","1332736669"],"photo_ids_order":["1332736577","1332736647","1332736669","1332736701","1332736808","1332736899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f92b1dedf69e9675cd8e5a6395165288.jpg","text":"TemporaryFile(/tmp/multipartBody2850446411741022769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176933908,"filename":"image_29012025_14_27_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/29/714c5c6786bea67cf27bb94cfd678966.jpg","text":"TemporaryFile(/tmp/multipartBody5409125488425368637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176933908,"filename":"image_29012025_14_27_14_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/29/d8efa7559a4034ec8c32c1ce956208a7.jpg","text":"TemporaryFile(/tmp/multipartBody4372192579704542644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176933908,"filename":"image_29012025_14_27_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/29/8814aebb8dde7a6e1723ace93aac5cab.jpg","text":"TemporaryFile(/tmp/multipartBody7886975361460294876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176933908,"filename":"image_29012025_14_27_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/29/4a1cb4891b2381a73a352a04328dc16f.jpg","text":"TemporaryFile(/tmp/multipartBody4341118849552041434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176933908,"filename":"image_29012025_14_27_44_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/29/ae1678779833804a105b5e02b81edbd7.jpg","text":"TemporaryFile(/tmp/multipartBody6055472119886038686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176933908,"filename":"image_29012025_14_27_24_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332736669","file1":"1332736647","file0":"1332736577","file4":"1332736808","file5":"1332736899","file3":"1332736701"},"map_files_photo_id_array":[{"photo_id":"1332736899","filename":"file5"},{"photo_id":"1332736669","filename":"file2"},{"photo_id":"1332736808","filename":"file4"},{"photo_id":"1332736647","filename":"file1"},{"photo_id":"1332736577","filename":"file0"},{"photo_id":"1332736701","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332736899":["hashtag1","hashtag2"]},{"1332736647":["hashtag1","hashtag2"]},{"1332736701":["hashtag1","hashtag2"]},{"1332736577":["hashtag1","hashtag2"]},{"1332736808":["hashtag1","hashtag2"]},{"1332736669":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332736899, 1332736647, 1332736701, 1332736577, 1332736808, 1332736669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.92628026008606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:55:33.195341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/27/image_29012025_14_28_04_9360.jpg', '/home/pi/Desktop/images/29012025/14/28/image_29012025_14_28_14_10497.jpg', '/home/pi/Desktop/images/29012025/14/28/image_29012025_14_28_24_9350.jpg', '/home/pi/Desktop/images/29012025/14/28/image_29012025_14_28_34_10408.jpg', '/home/pi/Desktop/images/29012025/14/28/image_29012025_14_28_44_10341.jpg', '/home/pi/Desktop/images/29012025/14/28/image_29012025_14_28_54_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/27/image_29012025_14_28_04_9360.jpg
/home/pi/Desktop/images/29012025/14/28/image_29012025_14_28_14_10497.jpg
/home/pi/Desktop/images/29012025/14/28/image_29012025_14_28_24_9350.jpg
/home/pi/Desktop/images/29012025/14/28/image_29012025_14_28_34_10408.jpg
/home/pi/Desktop/images/29012025/14/28/image_29012025_14_28_44_10341.jpg
/home/pi/Desktop/images/29012025/14/28/image_29012025_14_28_54_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332737250","1332737273","1332737149","1332737071","1332737218","1332737068"],"photo_ids_order":["1332737068","1332737071","1332737149","1332737218","1332737250","1332737273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f1c88ed808bcebd64a9ea988acd67490.jpg","text":"TemporaryFile(/tmp/multipartBody5298446090793719767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176994169,"filename":"image_29012025_14_28_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/29/aed756f6e0a6058e90c9980f01949a3a.jpg","text":"TemporaryFile(/tmp/multipartBody4025451223186333874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176994169,"filename":"image_29012025_14_28_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/29/4a7ff6c5104276d3dbcb93add4572d2c.jpg","text":"TemporaryFile(/tmp/multipartBody1894003112581235171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176994169,"filename":"image_29012025_14_28_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/29/ff6cb3ae664b9526b8e8e8d690b25f05.jpg","text":"TemporaryFile(/tmp/multipartBody2803003921695232319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176994169,"filename":"image_29012025_14_28_14_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/29/c8d3c3589d038ffbaef7d28844253ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8121783679290433302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176994169,"filename":"image_29012025_14_28_34_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/29/65cbbb1b2d8bf322dfc87c06f7ecfe78.jpg","text":"TemporaryFile(/tmp/multipartBody5601862759763314724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738176994169,"filename":"image_29012025_14_28_04_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332737149","file1":"1332737071","file0":"1332737068","file4":"1332737250","file5":"1332737273","file3":"1332737218"},"map_files_photo_id_array":[{"photo_id":"1332737273","filename":"file5"},{"photo_id":"1332737149","filename":"file2"},{"photo_id":"1332737250","filename":"file4"},{"photo_id":"1332737071","filename":"file1"},{"photo_id":"1332737068","filename":"file0"},{"photo_id":"1332737218","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332737250":["hashtag1","hashtag2"]},{"1332737273":["hashtag1","hashtag2"]},{"1332737149":["hashtag1","hashtag2"]},{"1332737071":["hashtag1","hashtag2"]},{"1332737218":["hashtag1","hashtag2"]},{"1332737068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332737250, 1332737273, 1332737149, 1332737071, 1332737218, 1332737068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.92008900642395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:56:32.284055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/28/image_29012025_14_29_04_10431.jpg', '/home/pi/Desktop/images/29012025/14/29/image_29012025_14_29_14_10353.jpg', '/home/pi/Desktop/images/29012025/14/29/image_29012025_14_29_24_9359.jpg', '/home/pi/Desktop/images/29012025/14/29/image_29012025_14_29_34_10345.jpg', '/home/pi/Desktop/images/29012025/14/29/image_29012025_14_29_45_10383.jpg', '/home/pi/Desktop/images/29012025/14/29/image_29012025_14_29_54_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/28/image_29012025_14_29_04_10431.jpg
/home/pi/Desktop/images/29012025/14/29/image_29012025_14_29_14_10353.jpg
/home/pi/Desktop/images/29012025/14/29/image_29012025_14_29_24_9359.jpg
/home/pi/Desktop/images/29012025/14/29/image_29012025_14_29_34_10345.jpg
/home/pi/Desktop/images/29012025/14/29/image_29012025_14_29_45_10383.jpg
/home/pi/Desktop/images/29012025/14/29/image_29012025_14_29_54_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":["1332737358","1332737355","1332737363","1332737351","1332737347","1332737341"],"photo_ids_order":["1332737341","1332737347","1332737351","1332737355","1332737358","1332737363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dd36977e4141b4f38f31b3df55a45d80.jpg","text":"TemporaryFile(/tmp/multipartBody807381354059056525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177053261,"filename":"image_29012025_14_29_45_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/29/4a2055a689c04584b0c685545321bf5e.jpg","text":"TemporaryFile(/tmp/multipartBody5926310293672297883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177053261,"filename":"image_29012025_14_29_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/29/3b4d7df5b5427b0e2e0514e74d8ebe8f.jpg","text":"TemporaryFile(/tmp/multipartBody8650505588412121710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177053261,"filename":"image_29012025_14_29_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/29/37d70253d8adda246a10cb18af6f84ad.jpg","text":"TemporaryFile(/tmp/multipartBody58478625177072801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177053261,"filename":"image_29012025_14_29_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/29/4e55f6922755a58777a612de52e3c884.jpg","text":"TemporaryFile(/tmp/multipartBody7931974928313240184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177053261,"filename":"image_29012025_14_29_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/29/4a2447426c12a0bbfefdfaf546f52515.jpg","text":"TemporaryFile(/tmp/multipartBody8850115254189105229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177053261,"filename":"image_29012025_14_29_04_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332737351","file1":"1332737347","file0":"1332737341","file4":"1332737358","file5":"1332737363","file3":"1332737355"},"map_files_photo_id_array":[{"photo_id":"1332737363","filename":"file5"},{"photo_id":"1332737351","filename":"file2"},{"photo_id":"1332737358","filename":"file4"},{"photo_id":"1332737347","filename":"file1"},{"photo_id":"1332737341","filename":"file0"},{"photo_id":"1332737355","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332737358":["hashtag1","hashtag2"]},{"1332737355":["hashtag1","hashtag2"]},{"1332737363":["hashtag1","hashtag2"]},{"1332737351":["hashtag1","hashtag2"]},{"1332737347":["hashtag1","hashtag2"]},{"1332737341":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332737358, 1332737355, 1332737363, 1332737351, 1332737347, 1332737341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.549257040023804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:57:32.551118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/29/image_29012025_14_30_04_10344.jpg', '/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_14_9344.jpg', '/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_24_10354.jpg', '/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_34_10362.jpg', '/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_44_9389.jpg', '/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_54_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/29/image_29012025_14_30_04_10344.jpg
/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_14_9344.jpg
/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_24_10354.jpg
/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_34_10362.jpg
/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_44_9389.jpg
/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_54_10451.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-29 19:59:04.697511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/29/image_29012025_14_30_04_10344.jpg', '/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_14_9344.jpg', '/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_24_10354.jpg', '/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_34_10362.jpg', '/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_44_9389.jpg', '/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_54_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/29/image_29012025_14_30_04_10344.jpg
/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_14_9344.jpg
/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_24_10354.jpg
/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_34_10362.jpg
/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_44_9389.jpg
/home/pi/Desktop/images/29012025/14/30/image_29012025_14_30_54_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332737469","1332737478","1332737492","1332737482","1332737488","1332737473"],"photo_ids_order":["1332737469","1332737473","1332737478","1332737482","1332737488","1332737492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2d7bf1cb49f897657cdde1c205c669e8.jpg","text":"TemporaryFile(/tmp/multipartBody7320208126177104483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177205691,"filename":"image_29012025_14_30_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/29/0814422b19c09b4926c3fffc75f4551b.jpg","text":"TemporaryFile(/tmp/multipartBody8611034121372863601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177205691,"filename":"image_29012025_14_30_24_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/29/be582d800e3fd80d3a6f8376a16d37c8.jpg","text":"TemporaryFile(/tmp/multipartBody5057669654983081111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177205691,"filename":"image_29012025_14_30_54_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/29/7b16ab92fc4cf00a3c9c7e74829a47d1.jpg","text":"TemporaryFile(/tmp/multipartBody2704670775782617793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177205691,"filename":"image_29012025_14_30_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/29/f241619a93d2390d493de05cc8df54ff.jpg","text":"TemporaryFile(/tmp/multipartBody4881050136138830336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177205691,"filename":"image_29012025_14_30_44_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/29/83d79b0e4ab95ebc2172925648bf728e.jpg","text":"TemporaryFile(/tmp/multipartBody1154165106419296036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177205691,"filename":"image_29012025_14_30_14_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332737478","file1":"1332737473","file0":"1332737469","file4":"1332737488","file5":"1332737492","file3":"1332737482"},"map_files_photo_id_array":[{"photo_id":"1332737492","filename":"file5"},{"photo_id":"1332737478","filename":"file2"},{"photo_id":"1332737488","filename":"file4"},{"photo_id":"1332737473","filename":"file1"},{"photo_id":"1332737469","filename":"file0"},{"photo_id":"1332737482","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332737469":["hashtag1","hashtag2"]},{"1332737478":["hashtag1","hashtag2"]},{"1332737492":["hashtag1","hashtag2"]},{"1332737482":["hashtag1","hashtag2"]},{"1332737488":["hashtag1","hashtag2"]},{"1332737473":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332737469, 1332737478, 1332737492, 1332737482, 1332737488, 1332737473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08522915840149 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 19:59:53.040993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/30/image_29012025_14_31_04_10358.jpg', '/home/pi/Desktop/images/29012025/14/31/image_29012025_14_31_14_9334.jpg', '/home/pi/Desktop/images/29012025/14/31/image_29012025_14_31_24_10348.jpg', '/home/pi/Desktop/images/29012025/14/31/image_29012025_14_31_35_10354.jpg', '/home/pi/Desktop/images/29012025/14/31/image_29012025_14_31_44_9351.jpg', '/home/pi/Desktop/images/29012025/14/31/image_29012025_14_32_04_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/30/image_29012025_14_31_04_10358.jpg
/home/pi/Desktop/images/29012025/14/31/image_29012025_14_31_14_9334.jpg
/home/pi/Desktop/images/29012025/14/31/image_29012025_14_31_24_10348.jpg
/home/pi/Desktop/images/29012025/14/31/image_29012025_14_31_35_10354.jpg
/home/pi/Desktop/images/29012025/14/31/image_29012025_14_31_44_9351.jpg
/home/pi/Desktop/images/29012025/14/31/image_29012025_14_32_04_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332737532","1332737555","1332737549","1332737543","1332737510","1332737539"],"photo_ids_order":["1332737510","1332737532","1332737539","1332737543","1332737549","1332737555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/18ee5ce557742e45885f1bb78137dcfc.jpg","text":"TemporaryFile(/tmp/multipartBody3155333451849607322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177254007,"filename":"image_29012025_14_31_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/29/887f458387134cefe707e4767a869809.jpg","text":"TemporaryFile(/tmp/multipartBody2386888566980251913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177254007,"filename":"image_29012025_14_32_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/29/47de5a707052a66eaaba4fbb4c43e7d7.jpg","text":"TemporaryFile(/tmp/multipartBody2520868501340038515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177254007,"filename":"image_29012025_14_31_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/29/a1beebaa11774f277de4834c2faa844d.jpg","text":"TemporaryFile(/tmp/multipartBody2096801977937280386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177254007,"filename":"image_29012025_14_31_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/29/f6a9c504b5cf659a402d49a125ba1782.jpg","text":"TemporaryFile(/tmp/multipartBody4186542267830190753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177254007,"filename":"image_29012025_14_31_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/29/028eea25c38dfd1dd706d02638b0bceb.jpg","text":"TemporaryFile(/tmp/multipartBody2286323885841886288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177254007,"filename":"image_29012025_14_31_24_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332737539","file1":"1332737532","file0":"1332737510","file4":"1332737549","file5":"1332737555","file3":"1332737543"},"map_files_photo_id_array":[{"photo_id":"1332737555","filename":"file5"},{"photo_id":"1332737539","filename":"file2"},{"photo_id":"1332737549","filename":"file4"},{"photo_id":"1332737532","filename":"file1"},{"photo_id":"1332737510","filename":"file0"},{"photo_id":"1332737543","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332737532":["hashtag1","hashtag2"]},{"1332737555":["hashtag1","hashtag2"]},{"1332737549":["hashtag1","hashtag2"]},{"1332737543":["hashtag1","hashtag2"]},{"1332737510":["hashtag1","hashtag2"]},{"1332737539":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332737532, 1332737555, 1332737549, 1332737543, 1332737510, 1332737539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.76758575439453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 20:00:42.262832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/32/image_29012025_14_32_14_10400.jpg', '/home/pi/Desktop/images/29012025/14/32/image_29012025_14_32_24_10385.jpg', '/home/pi/Desktop/images/29012025/14/32/image_29012025_14_32_34_9331.jpg', '/home/pi/Desktop/images/29012025/14/32/image_29012025_14_32_44_10434.jpg', '/home/pi/Desktop/images/29012025/14/32/image_29012025_14_32_55_10336.jpg', '/home/pi/Desktop/images/29012025/14/32/image_29012025_14_33_04_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/32/image_29012025_14_32_14_10400.jpg
/home/pi/Desktop/images/29012025/14/32/image_29012025_14_32_24_10385.jpg
/home/pi/Desktop/images/29012025/14/32/image_29012025_14_32_34_9331.jpg
/home/pi/Desktop/images/29012025/14/32/image_29012025_14_32_44_10434.jpg
/home/pi/Desktop/images/29012025/14/32/image_29012025_14_32_55_10336.jpg
/home/pi/Desktop/images/29012025/14/32/image_29012025_14_33_04_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":["1332737568","1332737565","1332737570","1332737573","1332737576","1332737581"],"photo_ids_order":["1332737565","1332737568","1332737570","1332737573","1332737576","1332737581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a38883cb173f66a2317910f0f0d09e14.jpg","text":"TemporaryFile(/tmp/multipartBody4607458870309719603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177303248,"filename":"image_29012025_14_32_24_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/29/1316629962d2a106cd858e496f572bf9.jpg","text":"TemporaryFile(/tmp/multipartBody7779982595604884789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177303248,"filename":"image_29012025_14_32_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/29/b2a441b44e5b89f94ff90c27ebd6dbdd.jpg","text":"TemporaryFile(/tmp/multipartBody2734855852399321904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177303248,"filename":"image_29012025_14_32_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/29/dbc9f1f659c173fea0f5dcc428a7841e.jpg","text":"TemporaryFile(/tmp/multipartBody5029875321831622191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177303248,"filename":"image_29012025_14_32_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/29/88128d18c0c3f4d072f8364c6229701a.jpg","text":"TemporaryFile(/tmp/multipartBody8225932508163468832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177303248,"filename":"image_29012025_14_32_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/29/cfcf7d0dbdbe70d73fde3b12cd50a9a2.jpg","text":"TemporaryFile(/tmp/multipartBody4837605403350868718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177303248,"filename":"image_29012025_14_33_04_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332737570","file1":"1332737568","file0":"1332737565","file4":"1332737576","file5":"1332737581","file3":"1332737573"},"map_files_photo_id_array":[{"photo_id":"1332737581","filename":"file5"},{"photo_id":"1332737570","filename":"file2"},{"photo_id":"1332737576","filename":"file4"},{"photo_id":"1332737568","filename":"file1"},{"photo_id":"1332737565","filename":"file0"},{"photo_id":"1332737573","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332737568":["hashtag1","hashtag2"]},{"1332737565":["hashtag1","hashtag2"]},{"1332737570":["hashtag1","hashtag2"]},{"1332737573":["hashtag1","hashtag2"]},{"1332737576":["hashtag1","hashtag2"]},{"1332737581":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332737568, 1332737565, 1332737570, 1332737573, 1332737576, 1332737581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.777212142944336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:01:32.560641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/33/image_29012025_14_33_14_10351.jpg', '/home/pi/Desktop/images/29012025/14/33/image_29012025_14_33_25_10331.jpg', '/home/pi/Desktop/images/29012025/14/33/image_29012025_14_33_34_9325.jpg', '/home/pi/Desktop/images/29012025/14/33/image_29012025_14_33_44_10341.jpg', '/home/pi/Desktop/images/29012025/14/33/image_29012025_14_33_54_9411.jpg', '/home/pi/Desktop/images/29012025/14/33/image_29012025_14_34_04_10482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/33/image_29012025_14_33_14_10351.jpg
/home/pi/Desktop/images/29012025/14/33/image_29012025_14_33_25_10331.jpg
/home/pi/Desktop/images/29012025/14/33/image_29012025_14_33_34_9325.jpg
/home/pi/Desktop/images/29012025/14/33/image_29012025_14_33_44_10341.jpg
/home/pi/Desktop/images/29012025/14/33/image_29012025_14_33_54_9411.jpg
/home/pi/Desktop/images/29012025/14/33/image_29012025_14_34_04_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332737595","1332737604","1332737607","1332737606","1332737600","1332737608"],"photo_ids_order":["1332737595","1332737600","1332737604","1332737606","1332737607","1332737608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/22f95435d3eea7cfc96efbe92ce041c4.jpg","text":"TemporaryFile(/tmp/multipartBody9163404210958061674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177353543,"filename":"image_29012025_14_33_14_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/29/7883da5135637540e3461abf153b3f15.jpg","text":"TemporaryFile(/tmp/multipartBody2638522246847525071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177353543,"filename":"image_29012025_14_33_34_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/29/502bcbbb98b7d0dd0c9445ead86f5dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7740081897248197287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177353543,"filename":"image_29012025_14_33_54_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/29/e2a48575578a080fa468544641dafbee.jpg","text":"TemporaryFile(/tmp/multipartBody7141931979618858232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177353543,"filename":"image_29012025_14_33_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/29/f88e680065aa26f49ebbd8ad7449645a.jpg","text":"TemporaryFile(/tmp/multipartBody5742868352599778855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177353543,"filename":"image_29012025_14_33_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/29/dcbbd18d442f34ed8b049198d78a89ca.jpg","text":"TemporaryFile(/tmp/multipartBody8608050460651517291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177353543,"filename":"image_29012025_14_34_04_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332737604","file1":"1332737600","file0":"1332737595","file4":"1332737607","file5":"1332737608","file3":"1332737606"},"map_files_photo_id_array":[{"photo_id":"1332737608","filename":"file5"},{"photo_id":"1332737604","filename":"file2"},{"photo_id":"1332737607","filename":"file4"},{"photo_id":"1332737600","filename":"file1"},{"photo_id":"1332737595","filename":"file0"},{"photo_id":"1332737606","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332737595":["hashtag1","hashtag2"]},{"1332737604":["hashtag1","hashtag2"]},{"1332737607":["hashtag1","hashtag2"]},{"1332737606":["hashtag1","hashtag2"]},{"1332737600":["hashtag1","hashtag2"]},{"1332737608":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332737595, 1332737604, 1332737607, 1332737606, 1332737600, 1332737608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.69616150856018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:02:32.741980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/34/image_29012025_14_34_14_10401.jpg', '/home/pi/Desktop/images/29012025/14/34/image_29012025_14_34_24_9329.jpg', '/home/pi/Desktop/images/29012025/14/34/image_29012025_14_34_34_10352.jpg', '/home/pi/Desktop/images/29012025/14/34/image_29012025_14_34_45_10350.jpg', '/home/pi/Desktop/images/29012025/14/34/image_29012025_14_34_54_9373.jpg', '/home/pi/Desktop/images/29012025/14/35/image_29012025_14_35_14_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/34/image_29012025_14_34_14_10401.jpg
/home/pi/Desktop/images/29012025/14/34/image_29012025_14_34_24_9329.jpg
/home/pi/Desktop/images/29012025/14/34/image_29012025_14_34_34_10352.jpg
/home/pi/Desktop/images/29012025/14/34/image_29012025_14_34_45_10350.jpg
/home/pi/Desktop/images/29012025/14/34/image_29012025_14_34_54_9373.jpg
/home/pi/Desktop/images/29012025/14/35/image_29012025_14_35_14_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":["1332737961","1332737651","1332737660","1332737648","1332737755","1332737656"],"photo_ids_order":["1332737648","1332737651","1332737656","1332737660","1332737755","1332737961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6f7182fc4d379ba1fc835656e699fdae.jpg","text":"TemporaryFile(/tmp/multipartBody9026281910141932005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177413702,"filename":"image_29012025_14_35_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/29/7233ab037bea2e7b398e9259a1e87c89.jpg","text":"TemporaryFile(/tmp/multipartBody379813663040327108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177413702,"filename":"image_29012025_14_34_24_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/29/52b2a3c6bf300c2164fe9652e8970031.jpg","text":"TemporaryFile(/tmp/multipartBody7513859189678635981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177413702,"filename":"image_29012025_14_34_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/29/66461e0b9682637341627eec6e9163da.jpg","text":"TemporaryFile(/tmp/multipartBody1547371675768479209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177413702,"filename":"image_29012025_14_34_14_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/29/5f3f1a96860dd3fea8ca7c807637aec6.jpg","text":"TemporaryFile(/tmp/multipartBody5368205948102336935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177413702,"filename":"image_29012025_14_34_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/29/d1b9b85bf4e9b4f5138c55b48a8a4165.jpg","text":"TemporaryFile(/tmp/multipartBody841555459672290458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177413702,"filename":"image_29012025_14_34_34_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332737656","file1":"1332737651","file0":"1332737648","file4":"1332737755","file5":"1332737961","file3":"1332737660"},"map_files_photo_id_array":[{"photo_id":"1332737961","filename":"file5"},{"photo_id":"1332737656","filename":"file2"},{"photo_id":"1332737755","filename":"file4"},{"photo_id":"1332737651","filename":"file1"},{"photo_id":"1332737648","filename":"file0"},{"photo_id":"1332737660","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332737961":["hashtag1","hashtag2"]},{"1332737651":["hashtag1","hashtag2"]},{"1332737660":["hashtag1","hashtag2"]},{"1332737648":["hashtag1","hashtag2"]},{"1332737755":["hashtag1","hashtag2"]},{"1332737656":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332737961, 1332737651, 1332737660, 1332737648, 1332737755, 1332737656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86661100387573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:03:32.925500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/35/image_29012025_14_35_24_10360.jpg', '/home/pi/Desktop/images/29012025/14/35/image_29012025_14_35_34_10385.jpg', '/home/pi/Desktop/images/29012025/14/35/image_29012025_14_35_54_10400.jpg', '/home/pi/Desktop/images/29012025/14/35/image_29012025_14_36_04_10347.jpg', '/home/pi/Desktop/images/29012025/14/36/image_29012025_14_36_14_9323.jpg', '/home/pi/Desktop/images/29012025/14/36/image_29012025_14_36_24_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/35/image_29012025_14_35_24_10360.jpg
/home/pi/Desktop/images/29012025/14/35/image_29012025_14_35_34_10385.jpg
/home/pi/Desktop/images/29012025/14/35/image_29012025_14_35_54_10400.jpg
/home/pi/Desktop/images/29012025/14/35/image_29012025_14_36_04_10347.jpg
/home/pi/Desktop/images/29012025/14/36/image_29012025_14_36_14_9323.jpg
/home/pi/Desktop/images/29012025/14/36/image_29012025_14_36_24_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":["1332739151","1332739148","1332739133","1332739139","1332739129","1332739143"],"photo_ids_order":["1332739129","1332739133","1332739139","1332739143","1332739148","1332739151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2d2f84e674d3cbdcb8e6617b6fe9900e.jpg","text":"TemporaryFile(/tmp/multipartBody4862973342729714753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177473890,"filename":"image_29012025_14_36_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/29/e7fd523576a4b62f7b278d480162b8d3.jpg","text":"TemporaryFile(/tmp/multipartBody8078792509618070901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177473890,"filename":"image_29012025_14_36_14_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/29/102aad5b7fd4f717bfec85ca92f9c4ce.jpg","text":"TemporaryFile(/tmp/multipartBody8681814805983678362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177473890,"filename":"image_29012025_14_35_34_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/29/4117a74ac7b8dd2e61f138211fccef4b.jpg","text":"TemporaryFile(/tmp/multipartBody841403498584994522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177473890,"filename":"image_29012025_14_35_54_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/29/79de1ca2e4b4fedb0b1726d3224b974b.jpg","text":"TemporaryFile(/tmp/multipartBody7761658127279106506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177473890,"filename":"image_29012025_14_35_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/29/eb93faad6b84c14636b2cb03adb70314.jpg","text":"TemporaryFile(/tmp/multipartBody3449344044113306565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177473890,"filename":"image_29012025_14_36_04_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332739139","file1":"1332739133","file0":"1332739129","file4":"1332739148","file5":"1332739151","file3":"1332739143"},"map_files_photo_id_array":[{"photo_id":"1332739151","filename":"file5"},{"photo_id":"1332739139","filename":"file2"},{"photo_id":"1332739148","filename":"file4"},{"photo_id":"1332739133","filename":"file1"},{"photo_id":"1332739129","filename":"file0"},{"photo_id":"1332739143","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332739151":["hashtag1","hashtag2"]},{"1332739148":["hashtag1","hashtag2"]},{"1332739133":["hashtag1","hashtag2"]},{"1332739139":["hashtag1","hashtag2"]},{"1332739129":["hashtag1","hashtag2"]},{"1332739143":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332739151, 1332739148, 1332739133, 1332739139, 1332739129, 1332739143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.21190118789673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:04:32.322276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/36/image_29012025_14_36_34_10353.jpg', '/home/pi/Desktop/images/29012025/14/36/image_29012025_14_36_44_9340.jpg', '/home/pi/Desktop/images/29012025/14/36/image_29012025_14_36_54_10426.jpg', '/home/pi/Desktop/images/29012025/14/36/image_29012025_14_37_04_9351.jpg', '/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_14_10330.jpg', '/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_24_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/36/image_29012025_14_36_34_10353.jpg
/home/pi/Desktop/images/29012025/14/36/image_29012025_14_36_44_9340.jpg
/home/pi/Desktop/images/29012025/14/36/image_29012025_14_36_54_10426.jpg
/home/pi/Desktop/images/29012025/14/36/image_29012025_14_37_04_9351.jpg
/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_14_10330.jpg
/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_24_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":["1332739662","1332739470","1332739167","1332739665","1332739179","1332739164"],"photo_ids_order":["1332739164","1332739167","1332739179","1332739470","1332739662","1332739665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2cad3616ead673b7a4aaf98a50e27901.jpg","text":"TemporaryFile(/tmp/multipartBody317608597961989140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177533287,"filename":"image_29012025_14_37_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/29/ede3556cc7abbe9a8fd7af10c255de70.jpg","text":"TemporaryFile(/tmp/multipartBody6900635010386851269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177533287,"filename":"image_29012025_14_37_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/29/644ef1dae89283601d64f0680b3fd16a.jpg","text":"TemporaryFile(/tmp/multipartBody1225846432534790435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177533287,"filename":"image_29012025_14_36_44_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/29/8419c265d786533c8ccc297afc66334c.jpg","text":"TemporaryFile(/tmp/multipartBody2688797356108103788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177533287,"filename":"image_29012025_14_37_24_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/29/3c8296e6c3ebb8317c3a50cd8a3333f5.jpg","text":"TemporaryFile(/tmp/multipartBody1646739913059812916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177533287,"filename":"image_29012025_14_36_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/29/bf7014ea59e370c5d3f9f4fa892a4bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4316612867098377401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177533287,"filename":"image_29012025_14_36_34_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332739179","file1":"1332739167","file0":"1332739164","file4":"1332739662","file5":"1332739665","file3":"1332739470"},"map_files_photo_id_array":[{"photo_id":"1332739665","filename":"file5"},{"photo_id":"1332739179","filename":"file2"},{"photo_id":"1332739662","filename":"file4"},{"photo_id":"1332739167","filename":"file1"},{"photo_id":"1332739164","filename":"file0"},{"photo_id":"1332739470","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332739662":["hashtag1","hashtag2"]},{"1332739470":["hashtag1","hashtag2"]},{"1332739167":["hashtag1","hashtag2"]},{"1332739665":["hashtag1","hashtag2"]},{"1332739179":["hashtag1","hashtag2"]},{"1332739164":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332739662, 1332739470, 1332739167, 1332739665, 1332739179, 1332739164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.10670351982117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:05:32.350803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_34_9366.jpg', '/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_44_10436.jpg', '/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_54_10363.jpg', '/home/pi/Desktop/images/29012025/14/37/image_29012025_14_38_04_9333.jpg', '/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_14_10342.jpg', '/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_24_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_34_9366.jpg
/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_44_10436.jpg
/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_54_10363.jpg
/home/pi/Desktop/images/29012025/14/37/image_29012025_14_38_04_9333.jpg
/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_14_10342.jpg
/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_24_9363.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.5741705894470215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 20:05:42.384322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_34_9366.jpg', '/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_44_10436.jpg', '/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_54_10363.jpg', '/home/pi/Desktop/images/29012025/14/37/image_29012025_14_38_04_9333.jpg', '/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_14_10342.jpg', '/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_24_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_34_9366.jpg
/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_44_10436.jpg
/home/pi/Desktop/images/29012025/14/37/image_29012025_14_37_54_10363.jpg
/home/pi/Desktop/images/29012025/14/37/image_29012025_14_38_04_9333.jpg
/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_14_10342.jpg
/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_24_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332739859","1332739862","1332739919","1332739912","1332739947","1332739806"],"photo_ids_order":["1332739806","1332739859","1332739862","1332739912","1332739919","1332739947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0e113c49e220b5d20d50cbbd8f74e476.jpg","text":"TemporaryFile(/tmp/multipartBody3538313603000330092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177603302,"filename":"image_29012025_14_37_44_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/29/7429ca6351c25ae5c042c96607a5a91a.jpg","text":"TemporaryFile(/tmp/multipartBody5100543368162789588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177603302,"filename":"image_29012025_14_37_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/29/b1739a6b2c8311b79f0008184f47a602.jpg","text":"TemporaryFile(/tmp/multipartBody8377688684981355293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177603302,"filename":"image_29012025_14_38_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/29/cbc8fc064c3a6799242fd69c587ca042.jpg","text":"TemporaryFile(/tmp/multipartBody6653370073604318217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177603302,"filename":"image_29012025_14_38_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/29/a87446ef2836ad9b77d8dd712f282c01.jpg","text":"TemporaryFile(/tmp/multipartBody4030160602359477221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177603302,"filename":"image_29012025_14_38_24_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/29/94b12f88b376a35fed4d47cb92315eac.jpg","text":"TemporaryFile(/tmp/multipartBody4277134937265435458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177603302,"filename":"image_29012025_14_37_34_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332739862","file1":"1332739859","file0":"1332739806","file4":"1332739919","file5":"1332739947","file3":"1332739912"},"map_files_photo_id_array":[{"photo_id":"1332739947","filename":"file5"},{"photo_id":"1332739862","filename":"file2"},{"photo_id":"1332739919","filename":"file4"},{"photo_id":"1332739859","filename":"file1"},{"photo_id":"1332739806","filename":"file0"},{"photo_id":"1332739912","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332739859":["hashtag1","hashtag2"]},{"1332739862":["hashtag1","hashtag2"]},{"1332739919":["hashtag1","hashtag2"]},{"1332739912":["hashtag1","hashtag2"]},{"1332739947":["hashtag1","hashtag2"]},{"1332739806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332739859, 1332739862, 1332739919, 1332739912, 1332739947, 1332739806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.27212476730347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:06:32.548761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_34_10332.jpg', '/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_44_10415.jpg', '/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_54_9359.jpg', '/home/pi/Desktop/images/29012025/14/38/image_29012025_14_39_04_10462.jpg', '/home/pi/Desktop/images/29012025/14/39/image_29012025_14_39_15_10410.jpg', '/home/pi/Desktop/images/29012025/14/39/image_29012025_14_39_24_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_34_10332.jpg
/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_44_10415.jpg
/home/pi/Desktop/images/29012025/14/38/image_29012025_14_38_54_9359.jpg
/home/pi/Desktop/images/29012025/14/38/image_29012025_14_39_04_10462.jpg
/home/pi/Desktop/images/29012025/14/39/image_29012025_14_39_15_10410.jpg
/home/pi/Desktop/images/29012025/14/39/image_29012025_14_39_24_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":["1332740142","1332739970","1332739958","1332739963","1332740065","1332740008"],"photo_ids_order":["1332739958","1332739963","1332739970","1332740008","1332740065","1332740142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/079ca3ee363555ed5f230628e369d14f.jpg","text":"TemporaryFile(/tmp/multipartBody4347836402433343123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177653523,"filename":"image_29012025_14_39_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/29/c12f163fd4af901373c5410820a18e5f.jpg","text":"TemporaryFile(/tmp/multipartBody5171950781898093827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177653523,"filename":"image_29012025_14_38_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/29/da7aa5a21d72b49921782d2f58c17519.jpg","text":"TemporaryFile(/tmp/multipartBody7022504634805997876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177653523,"filename":"image_29012025_14_38_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/29/f074fa56677ba3ce9da06755b89e427c.jpg","text":"TemporaryFile(/tmp/multipartBody2336094602250255474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177653523,"filename":"image_29012025_14_38_44_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/29/33afa9766e924311877334de4658312f.jpg","text":"TemporaryFile(/tmp/multipartBody6899306697892491237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177653523,"filename":"image_29012025_14_39_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/29/091b445042f84519945df9bb36041065.jpg","text":"TemporaryFile(/tmp/multipartBody7521184031700555825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177653523,"filename":"image_29012025_14_39_04_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332739970","file1":"1332739963","file0":"1332739958","file4":"1332740065","file5":"1332740142","file3":"1332740008"},"map_files_photo_id_array":[{"photo_id":"1332740142","filename":"file5"},{"photo_id":"1332739970","filename":"file2"},{"photo_id":"1332740065","filename":"file4"},{"photo_id":"1332739963","filename":"file1"},{"photo_id":"1332739958","filename":"file0"},{"photo_id":"1332740008","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332740142":["hashtag1","hashtag2"]},{"1332739970":["hashtag1","hashtag2"]},{"1332739958":["hashtag1","hashtag2"]},{"1332739963":["hashtag1","hashtag2"]},{"1332740065":["hashtag1","hashtag2"]},{"1332740008":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332740142, 1332739970, 1332739958, 1332739963, 1332740065, 1332740008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.25734329223633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:07:32.908060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/39/image_29012025_14_39_34_10361.jpg', '/home/pi/Desktop/images/29012025/14/39/image_29012025_14_39_44_9368.jpg', '/home/pi/Desktop/images/29012025/14/39/image_29012025_14_39_54_10372.jpg', '/home/pi/Desktop/images/29012025/14/39/image_29012025_14_40_04_10381.jpg', '/home/pi/Desktop/images/29012025/14/40/image_29012025_14_40_14_9326.jpg', '/home/pi/Desktop/images/29012025/14/40/image_29012025_14_40_24_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/39/image_29012025_14_39_34_10361.jpg
/home/pi/Desktop/images/29012025/14/39/image_29012025_14_39_44_9368.jpg
/home/pi/Desktop/images/29012025/14/39/image_29012025_14_39_54_10372.jpg
/home/pi/Desktop/images/29012025/14/39/image_29012025_14_40_04_10381.jpg
/home/pi/Desktop/images/29012025/14/40/image_29012025_14_40_14_9326.jpg
/home/pi/Desktop/images/29012025/14/40/image_29012025_14_40_24_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":["1332741995","1332741877","1332741646","1332741547","1332741762","1332741432"],"photo_ids_order":["1332741432","1332741547","1332741646","1332741762","1332741877","1332741995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e56e3b0b5b3dc15861fda5af333dfa71.jpg","text":"TemporaryFile(/tmp/multipartBody2579519782807076464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177713874,"filename":"image_29012025_14_40_24_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/29/61ffac5f7c6173119d8a10dd54dddd74.jpg","text":"TemporaryFile(/tmp/multipartBody3197835551168958220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177713874,"filename":"image_29012025_14_40_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/29/248906339dbe9656d117b8701dd64551.jpg","text":"TemporaryFile(/tmp/multipartBody1199880874845664059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177713874,"filename":"image_29012025_14_39_54_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/29/367e0842982b34bb39edb417a24524be.jpg","text":"TemporaryFile(/tmp/multipartBody6375622635524855768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177713874,"filename":"image_29012025_14_39_44_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/29/25841c4136eb3dde4b6ab8a8fbbb9ec7.jpg","text":"TemporaryFile(/tmp/multipartBody7067189285883479056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177713874,"filename":"image_29012025_14_40_04_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/29/f4067394e17906a8c8cfc771e28e0856.jpg","text":"TemporaryFile(/tmp/multipartBody5606133608440070580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177713874,"filename":"image_29012025_14_39_34_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332741646","file1":"1332741547","file0":"1332741432","file4":"1332741877","file5":"1332741995","file3":"1332741762"},"map_files_photo_id_array":[{"photo_id":"1332741995","filename":"file5"},{"photo_id":"1332741646","filename":"file2"},{"photo_id":"1332741877","filename":"file4"},{"photo_id":"1332741547","filename":"file1"},{"photo_id":"1332741432","filename":"file0"},{"photo_id":"1332741762","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332741995":["hashtag1","hashtag2"]},{"1332741877":["hashtag1","hashtag2"]},{"1332741646":["hashtag1","hashtag2"]},{"1332741547":["hashtag1","hashtag2"]},{"1332741762":["hashtag1","hashtag2"]},{"1332741432":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332741995, 1332741877, 1332741646, 1332741547, 1332741762, 1332741432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.405173778533936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:08:33.027324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/40/image_29012025_14_40_34_10360.jpg', '/home/pi/Desktop/images/29012025/14/40/image_29012025_14_40_44_9376.jpg', '/home/pi/Desktop/images/29012025/14/40/image_29012025_14_40_54_10360.jpg', '/home/pi/Desktop/images/29012025/14/40/image_29012025_14_41_04_9345.jpg', '/home/pi/Desktop/images/29012025/14/41/image_29012025_14_41_14_10375.jpg', '/home/pi/Desktop/images/29012025/14/41/image_29012025_14_41_24_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/40/image_29012025_14_40_34_10360.jpg
/home/pi/Desktop/images/29012025/14/40/image_29012025_14_40_44_9376.jpg
/home/pi/Desktop/images/29012025/14/40/image_29012025_14_40_54_10360.jpg
/home/pi/Desktop/images/29012025/14/40/image_29012025_14_41_04_9345.jpg
/home/pi/Desktop/images/29012025/14/41/image_29012025_14_41_14_10375.jpg
/home/pi/Desktop/images/29012025/14/41/image_29012025_14_41_24_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":["1332742291","1332742453","1332742432","1332742455","1332742320","1332742424"],"photo_ids_order":["1332742291","1332742320","1332742424","1332742432","1332742453","1332742455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2730c2eed8e5589056484b2ce30bbde7.jpg","text":"TemporaryFile(/tmp/multipartBody1521473196278880973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177774989,"filename":"image_29012025_14_40_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/29/e01e0c2185e0defb4660e8d36e13f6d1.jpg","text":"TemporaryFile(/tmp/multipartBody3730703478804654376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177774989,"filename":"image_29012025_14_41_14_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/29/0d1b8464bc6bc5c1264b6b607edca02d.jpg","text":"TemporaryFile(/tmp/multipartBody6626131515217684412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177774989,"filename":"image_29012025_14_41_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/29/fb0c8b570c5a9c8f002b150140bd047c.jpg","text":"TemporaryFile(/tmp/multipartBody3041812096467892553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177774989,"filename":"image_29012025_14_41_24_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/29/433a3b0050964a0903f11334fda36e86.jpg","text":"TemporaryFile(/tmp/multipartBody1536607634943771749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177774989,"filename":"image_29012025_14_40_44_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/29/289665920ee1a67c05679d91ba6016ee.jpg","text":"TemporaryFile(/tmp/multipartBody5179922311783961824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177774989,"filename":"image_29012025_14_40_54_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332742424","file1":"1332742320","file0":"1332742291","file4":"1332742453","file5":"1332742455","file3":"1332742432"},"map_files_photo_id_array":[{"photo_id":"1332742455","filename":"file5"},{"photo_id":"1332742424","filename":"file2"},{"photo_id":"1332742453","filename":"file4"},{"photo_id":"1332742320","filename":"file1"},{"photo_id":"1332742291","filename":"file0"},{"photo_id":"1332742432","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332742291":["hashtag1","hashtag2"]},{"1332742453":["hashtag1","hashtag2"]},{"1332742432":["hashtag1","hashtag2"]},{"1332742455":["hashtag1","hashtag2"]},{"1332742320":["hashtag1","hashtag2"]},{"1332742424":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332742291, 1332742453, 1332742432, 1332742455, 1332742320, 1332742424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.014548540115356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:09:32.225641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/41/image_29012025_14_41_34_9388.jpg', '/home/pi/Desktop/images/29012025/14/41/image_29012025_14_41_44_10381.jpg', '/home/pi/Desktop/images/29012025/14/41/image_29012025_14_41_54_10355.jpg', '/home/pi/Desktop/images/29012025/14/41/image_29012025_14_42_04_9351.jpg', '/home/pi/Desktop/images/29012025/14/42/image_29012025_14_42_14_10446.jpg', '/home/pi/Desktop/images/29012025/14/42/image_29012025_14_42_24_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/41/image_29012025_14_41_34_9388.jpg
/home/pi/Desktop/images/29012025/14/41/image_29012025_14_41_44_10381.jpg
/home/pi/Desktop/images/29012025/14/41/image_29012025_14_41_54_10355.jpg
/home/pi/Desktop/images/29012025/14/41/image_29012025_14_42_04_9351.jpg
/home/pi/Desktop/images/29012025/14/42/image_29012025_14_42_14_10446.jpg
/home/pi/Desktop/images/29012025/14/42/image_29012025_14_42_24_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":["1332742823","1332743389","1332743472","1332743532","1332743081","1332743222"],"photo_ids_order":["1332742823","1332743081","1332743222","1332743389","1332743472","1332743532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/631a8f6d8359a939bb7669ddfccd28fb.jpg","text":"TemporaryFile(/tmp/multipartBody8643629184098404294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177833195,"filename":"image_29012025_14_41_34_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/29/5c4200ff1e94f01fa0e292d1b21b38f1.jpg","text":"TemporaryFile(/tmp/multipartBody5369842282934856370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177833195,"filename":"image_29012025_14_42_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/29/7733299eea9cbdb977b795483c0ad86b.jpg","text":"TemporaryFile(/tmp/multipartBody8430605321301144241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177833195,"filename":"image_29012025_14_42_14_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/29/5061a182953b189bb981d63a00a1e1cb.jpg","text":"TemporaryFile(/tmp/multipartBody6655596206407439020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177833195,"filename":"image_29012025_14_42_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/29/7b5827f7e3299cfeecc440ccbe94c1a2.jpg","text":"TemporaryFile(/tmp/multipartBody4660989893008929764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177833195,"filename":"image_29012025_14_41_44_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/29/6f862ddc56b9632cc4240c84e7e643ac.jpg","text":"TemporaryFile(/tmp/multipartBody4451771124154490683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177833195,"filename":"image_29012025_14_41_54_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332743222","file1":"1332743081","file0":"1332742823","file4":"1332743472","file5":"1332743532","file3":"1332743389"},"map_files_photo_id_array":[{"photo_id":"1332743532","filename":"file5"},{"photo_id":"1332743222","filename":"file2"},{"photo_id":"1332743472","filename":"file4"},{"photo_id":"1332743081","filename":"file1"},{"photo_id":"1332742823","filename":"file0"},{"photo_id":"1332743389","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332742823":["hashtag1","hashtag2"]},{"1332743389":["hashtag1","hashtag2"]},{"1332743472":["hashtag1","hashtag2"]},{"1332743532":["hashtag1","hashtag2"]},{"1332743081":["hashtag1","hashtag2"]},{"1332743222":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332742823, 1332743389, 1332743472, 1332743532, 1332743081, 1332743222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.779820919036865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:10:32.530598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/42/image_29012025_14_42_34_10359.jpg', '/home/pi/Desktop/images/29012025/14/42/image_29012025_14_42_44_10355.jpg', '/home/pi/Desktop/images/29012025/14/42/image_29012025_14_42_54_9410.jpg', '/home/pi/Desktop/images/29012025/14/42/image_29012025_14_43_04_10400.jpg', '/home/pi/Desktop/images/29012025/14/43/image_29012025_14_43_14_10363.jpg', '/home/pi/Desktop/images/29012025/14/43/image_29012025_14_43_24_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/42/image_29012025_14_42_34_10359.jpg
/home/pi/Desktop/images/29012025/14/42/image_29012025_14_42_44_10355.jpg
/home/pi/Desktop/images/29012025/14/42/image_29012025_14_42_54_9410.jpg
/home/pi/Desktop/images/29012025/14/42/image_29012025_14_43_04_10400.jpg
/home/pi/Desktop/images/29012025/14/43/image_29012025_14_43_14_10363.jpg
/home/pi/Desktop/images/29012025/14/43/image_29012025_14_43_24_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":["1332743725","1332743715","1332743720","1332743723","1332743717","1332743711"],"photo_ids_order":["1332743711","1332743715","1332743717","1332743720","1332743723","1332743725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/98cafde9edd9a9c415a0e86b3e38ecad.jpg","text":"TemporaryFile(/tmp/multipartBody3793606924840408045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177893496,"filename":"image_29012025_14_43_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/29/226bc96aff90265b3ee4aa8d377042da.jpg","text":"TemporaryFile(/tmp/multipartBody3067054123695635759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177893496,"filename":"image_29012025_14_42_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/29/e6e102069aaf4edbbfeda5daabde4aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3804100004987938825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177893496,"filename":"image_29012025_14_43_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/29/1addc10fda6cfad871826a39873ec0c3.jpg","text":"TemporaryFile(/tmp/multipartBody8139471737817022909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177893496,"filename":"image_29012025_14_43_14_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/29/275536c71dffd34fddffad1661c2dc0b.jpg","text":"TemporaryFile(/tmp/multipartBody1074424360271225817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177893496,"filename":"image_29012025_14_42_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/29/85966a496f0ee2d424f99f7dc99162d8.jpg","text":"TemporaryFile(/tmp/multipartBody6938463829465073895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177893496,"filename":"image_29012025_14_42_34_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332743717","file1":"1332743715","file0":"1332743711","file4":"1332743723","file5":"1332743725","file3":"1332743720"},"map_files_photo_id_array":[{"photo_id":"1332743725","filename":"file5"},{"photo_id":"1332743717","filename":"file2"},{"photo_id":"1332743723","filename":"file4"},{"photo_id":"1332743715","filename":"file1"},{"photo_id":"1332743711","filename":"file0"},{"photo_id":"1332743720","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332743725":["hashtag1","hashtag2"]},{"1332743715":["hashtag1","hashtag2"]},{"1332743720":["hashtag1","hashtag2"]},{"1332743723":["hashtag1","hashtag2"]},{"1332743717":["hashtag1","hashtag2"]},{"1332743711":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332743725, 1332743715, 1332743720, 1332743723, 1332743717, 1332743711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.714587450027466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:11:32.580456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/43/image_29012025_14_43_34_10351.jpg', '/home/pi/Desktop/images/29012025/14/43/image_29012025_14_43_44_9358.jpg', '/home/pi/Desktop/images/29012025/14/43/image_29012025_14_43_54_10373.jpg', '/home/pi/Desktop/images/29012025/14/43/image_29012025_14_44_04_10340.jpg', '/home/pi/Desktop/images/29012025/14/44/image_29012025_14_44_14_9338.jpg', '/home/pi/Desktop/images/29012025/14/44/image_29012025_14_44_24_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/43/image_29012025_14_43_34_10351.jpg
/home/pi/Desktop/images/29012025/14/43/image_29012025_14_43_44_9358.jpg
/home/pi/Desktop/images/29012025/14/43/image_29012025_14_43_54_10373.jpg
/home/pi/Desktop/images/29012025/14/43/image_29012025_14_44_04_10340.jpg
/home/pi/Desktop/images/29012025/14/44/image_29012025_14_44_14_9338.jpg
/home/pi/Desktop/images/29012025/14/44/image_29012025_14_44_24_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332744159","1332743799","1332744143","1332743984","1332744094","1332743887"],"photo_ids_order":["1332743799","1332743887","1332743984","1332744094","1332744143","1332744159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/873e42bd1cc5b609dc542f604b8dc12b.jpg","text":"TemporaryFile(/tmp/multipartBody6918079714030060329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177953546,"filename":"image_29012025_14_44_24_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/29/b623d8a3588f430e82f261dab861b75e.jpg","text":"TemporaryFile(/tmp/multipartBody4241984375405465289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177953546,"filename":"image_29012025_14_43_34_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/29/e5dd546cf69d472808718ebf023a280e.jpg","text":"TemporaryFile(/tmp/multipartBody7376685837301426784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177953546,"filename":"image_29012025_14_44_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/29/8731c3f520101445b01f81e1d7759cea.jpg","text":"TemporaryFile(/tmp/multipartBody1135143819021161100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177953546,"filename":"image_29012025_14_43_54_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/29/ccecafefe87269380c938a19e70f40e3.jpg","text":"TemporaryFile(/tmp/multipartBody697804989163697679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177953546,"filename":"image_29012025_14_44_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/29/b8e31bd895b882665afb0fc51897774c.jpg","text":"TemporaryFile(/tmp/multipartBody6273161373476023894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738177953546,"filename":"image_29012025_14_43_44_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332743984","file1":"1332743887","file0":"1332743799","file4":"1332744143","file5":"1332744159","file3":"1332744094"},"map_files_photo_id_array":[{"photo_id":"1332744159","filename":"file5"},{"photo_id":"1332743984","filename":"file2"},{"photo_id":"1332744143","filename":"file4"},{"photo_id":"1332743887","filename":"file1"},{"photo_id":"1332743799","filename":"file0"},{"photo_id":"1332744094","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332744159":["hashtag1","hashtag2"]},{"1332743799":["hashtag1","hashtag2"]},{"1332744143":["hashtag1","hashtag2"]},{"1332743984":["hashtag1","hashtag2"]},{"1332744094":["hashtag1","hashtag2"]},{"1332743887":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332744159, 1332743799, 1332744143, 1332743984, 1332744094, 1332743887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.56260824203491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:12:32.884687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/44/image_29012025_14_44_34_10363.jpg', '/home/pi/Desktop/images/29012025/14/44/image_29012025_14_44_44_9336.jpg', '/home/pi/Desktop/images/29012025/14/44/image_29012025_14_44_54_10364.jpg', '/home/pi/Desktop/images/29012025/14/44/image_29012025_14_45_04_10360.jpg', '/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_14_9397.jpg', '/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_24_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/44/image_29012025_14_44_34_10363.jpg
/home/pi/Desktop/images/29012025/14/44/image_29012025_14_44_44_9336.jpg
/home/pi/Desktop/images/29012025/14/44/image_29012025_14_44_54_10364.jpg
/home/pi/Desktop/images/29012025/14/44/image_29012025_14_45_04_10360.jpg
/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_14_9397.jpg
/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_24_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":["1332744195","1332744183","1332744188","1332744170","1332744199","1332744175"],"photo_ids_order":["1332744170","1332744175","1332744183","1332744188","1332744195","1332744199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ae9b143d1b2bbc0105a7291c3cf0af66.jpg","text":"TemporaryFile(/tmp/multipartBody7957879918889732964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178013846,"filename":"image_29012025_14_45_14_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/29/01716f96fe3fde55f9d0a7f02ae6d93c.jpg","text":"TemporaryFile(/tmp/multipartBody3059720619715782268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178013846,"filename":"image_29012025_14_44_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/29/e69c9856740312b696a64eee0d6c0023.jpg","text":"TemporaryFile(/tmp/multipartBody6034655069207198729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178013846,"filename":"image_29012025_14_45_04_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/29/f2793aed6d7a79771193fb4dec7a7947.jpg","text":"TemporaryFile(/tmp/multipartBody3960140777337337592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178013846,"filename":"image_29012025_14_44_34_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/29/2bcf955044200f01511b0619c02afc23.jpg","text":"TemporaryFile(/tmp/multipartBody4598221292805380999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178013846,"filename":"image_29012025_14_45_24_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/29/b3cc5607c25a89f96ae45e92b8e8d97c.jpg","text":"TemporaryFile(/tmp/multipartBody1615864459364782176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178013846,"filename":"image_29012025_14_44_44_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332744183","file1":"1332744175","file0":"1332744170","file4":"1332744195","file5":"1332744199","file3":"1332744188"},"map_files_photo_id_array":[{"photo_id":"1332744199","filename":"file5"},{"photo_id":"1332744183","filename":"file2"},{"photo_id":"1332744195","filename":"file4"},{"photo_id":"1332744175","filename":"file1"},{"photo_id":"1332744170","filename":"file0"},{"photo_id":"1332744188","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332744195":["hashtag1","hashtag2"]},{"1332744183":["hashtag1","hashtag2"]},{"1332744188":["hashtag1","hashtag2"]},{"1332744170":["hashtag1","hashtag2"]},{"1332744199":["hashtag1","hashtag2"]},{"1332744175":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332744195, 1332744183, 1332744188, 1332744170, 1332744199, 1332744175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19058275222778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:13:33.040418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_34_9358.jpg', '/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_44_10463.jpg', '/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_54_10368.jpg', '/home/pi/Desktop/images/29012025/14/45/image_29012025_14_46_04_9359.jpg', '/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_14_10356.jpg', '/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_24_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_34_9358.jpg
/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_44_10463.jpg
/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_54_10368.jpg
/home/pi/Desktop/images/29012025/14/45/image_29012025_14_46_04_9359.jpg
/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_14_10356.jpg
/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_24_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.8554108142852783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 20:13:43.703608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_34_9358.jpg', '/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_44_10463.jpg', '/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_54_10368.jpg', '/home/pi/Desktop/images/29012025/14/45/image_29012025_14_46_04_9359.jpg', '/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_14_10356.jpg', '/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_24_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_34_9358.jpg
/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_44_10463.jpg
/home/pi/Desktop/images/29012025/14/45/image_29012025_14_45_54_10368.jpg
/home/pi/Desktop/images/29012025/14/45/image_29012025_14_46_04_9359.jpg
/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_14_10356.jpg
/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_24_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":["1332744427","1332744421","1332744409","1332744434","1332744416","1332744430"],"photo_ids_order":["1332744409","1332744416","1332744421","1332744427","1332744430","1332744434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dc7ff89bc0f14d417b9289ba1537d72b.jpg","text":"TemporaryFile(/tmp/multipartBody6665941673811609440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178084588,"filename":"image_29012025_14_46_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/29/f66de4d3efb3ae972f16068658736341.jpg","text":"TemporaryFile(/tmp/multipartBody7315548110623898961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178084588,"filename":"image_29012025_14_45_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/29/71bc0ef85e03d3fc248fc925a3454eb8.jpg","text":"TemporaryFile(/tmp/multipartBody76415220560355391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178084588,"filename":"image_29012025_14_45_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/29/eb34109fa5ffcdaa11d88d24fca5bf81.jpg","text":"TemporaryFile(/tmp/multipartBody2827141097567428198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178084588,"filename":"image_29012025_14_46_24_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/29/596ffe300e7f25c6da0252b942eceffb.jpg","text":"TemporaryFile(/tmp/multipartBody5223201412271856519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178084588,"filename":"image_29012025_14_45_44_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/29/4adc1d288ec261fd4cb298b232b2d099.jpg","text":"TemporaryFile(/tmp/multipartBody7327779751385369931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178084588,"filename":"image_29012025_14_46_14_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332744421","file1":"1332744416","file0":"1332744409","file4":"1332744430","file5":"1332744434","file3":"1332744427"},"map_files_photo_id_array":[{"photo_id":"1332744434","filename":"file5"},{"photo_id":"1332744421","filename":"file2"},{"photo_id":"1332744430","filename":"file4"},{"photo_id":"1332744416","filename":"file1"},{"photo_id":"1332744409","filename":"file0"},{"photo_id":"1332744427","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332744427":["hashtag1","hashtag2"]},{"1332744421":["hashtag1","hashtag2"]},{"1332744409":["hashtag1","hashtag2"]},{"1332744434":["hashtag1","hashtag2"]},{"1332744416":["hashtag1","hashtag2"]},{"1332744430":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332744427, 1332744421, 1332744409, 1332744434, 1332744416, 1332744430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74029755592346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:14:32.214661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_34_9343.jpg', '/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_44_10377.jpg', '/home/pi/Desktop/images/29012025/14/46/image_29012025_14_47_04_10331.jpg', '/home/pi/Desktop/images/29012025/14/47/image_29012025_14_47_14_10334.jpg', '/home/pi/Desktop/images/29012025/14/47/image_29012025_14_47_24_9332.jpg', '/home/pi/Desktop/images/29012025/14/47/image_29012025_14_47_34_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_34_9343.jpg
/home/pi/Desktop/images/29012025/14/46/image_29012025_14_46_44_10377.jpg
/home/pi/Desktop/images/29012025/14/46/image_29012025_14_47_04_10331.jpg
/home/pi/Desktop/images/29012025/14/47/image_29012025_14_47_14_10334.jpg
/home/pi/Desktop/images/29012025/14/47/image_29012025_14_47_24_9332.jpg
/home/pi/Desktop/images/29012025/14/47/image_29012025_14_47_34_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":["1332744498","1332744502","1332744495","1332744453","1332744491","1332744475"],"photo_ids_order":["1332744453","1332744475","1332744491","1332744495","1332744498","1332744502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0ae42f0cd6f8224f5927f83893948f21.jpg","text":"TemporaryFile(/tmp/multipartBody9022576890253780763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178133194,"filename":"image_29012025_14_47_24_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/29/2e152064a079a80e59b7110adc8bd3d3.jpg","text":"TemporaryFile(/tmp/multipartBody8491676098245743238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178133194,"filename":"image_29012025_14_47_34_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/29/23511984011805a3f812247c5858cb93.jpg","text":"TemporaryFile(/tmp/multipartBody1212107655260046496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178133194,"filename":"image_29012025_14_47_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/29/388a79919333c2cfc5f39ff1e8bd9025.jpg","text":"TemporaryFile(/tmp/multipartBody7296519821743436128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178133194,"filename":"image_29012025_14_46_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/29/e745e7b80b45b40dc17448e4dea83467.jpg","text":"TemporaryFile(/tmp/multipartBody2494325789793221502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178133194,"filename":"image_29012025_14_47_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/29/78d6bd14039caec4c36af2c3b846bee1.jpg","text":"TemporaryFile(/tmp/multipartBody5970436342832469064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178133194,"filename":"image_29012025_14_46_44_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332744491","file1":"1332744475","file0":"1332744453","file4":"1332744498","file5":"1332744502","file3":"1332744495"},"map_files_photo_id_array":[{"photo_id":"1332744502","filename":"file5"},{"photo_id":"1332744491","filename":"file2"},{"photo_id":"1332744498","filename":"file4"},{"photo_id":"1332744475","filename":"file1"},{"photo_id":"1332744453","filename":"file0"},{"photo_id":"1332744495","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332744498":["hashtag1","hashtag2"]},{"1332744502":["hashtag1","hashtag2"]},{"1332744495":["hashtag1","hashtag2"]},{"1332744453":["hashtag1","hashtag2"]},{"1332744491":["hashtag1","hashtag2"]},{"1332744475":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332744498, 1332744502, 1332744495, 1332744453, 1332744491, 1332744475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.33206820487976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:15:32.330643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/47/image_29012025_14_47_44_10407.jpg', '/home/pi/Desktop/images/29012025/14/47/image_29012025_14_47_54_9413.jpg', '/home/pi/Desktop/images/29012025/14/47/image_29012025_14_48_04_10339.jpg', '/home/pi/Desktop/images/29012025/14/48/image_29012025_14_48_15_10416.jpg', '/home/pi/Desktop/images/29012025/14/48/image_29012025_14_48_24_9366.jpg', '/home/pi/Desktop/images/29012025/14/48/image_29012025_14_48_34_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/47/image_29012025_14_47_44_10407.jpg
/home/pi/Desktop/images/29012025/14/47/image_29012025_14_47_54_9413.jpg
/home/pi/Desktop/images/29012025/14/47/image_29012025_14_48_04_10339.jpg
/home/pi/Desktop/images/29012025/14/48/image_29012025_14_48_15_10416.jpg
/home/pi/Desktop/images/29012025/14/48/image_29012025_14_48_24_9366.jpg
/home/pi/Desktop/images/29012025/14/48/image_29012025_14_48_34_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":["1332744684","1332744624","1332744618","1332744527","1332744679","1332744733"],"photo_ids_order":["1332744527","1332744618","1332744624","1332744679","1332744684","1332744733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a59f66e7ef2b3143baa118915e8d7f88.jpg","text":"TemporaryFile(/tmp/multipartBody4179053362128837021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178193295,"filename":"image_29012025_14_48_24_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/29/371a9ae3d3771998bbe94c42503d823b.jpg","text":"TemporaryFile(/tmp/multipartBody7145023943441493219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178193295,"filename":"image_29012025_14_48_04_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/29/d5420adad4c989373705d4ffe3410f9a.jpg","text":"TemporaryFile(/tmp/multipartBody1004939589730980970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178193295,"filename":"image_29012025_14_47_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/29/9aaacbfdcc027782444bc58a745702f5.jpg","text":"TemporaryFile(/tmp/multipartBody1543007508640415798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178193295,"filename":"image_29012025_14_47_44_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/29/cfa1d38e55b973e861667b75076f7521.jpg","text":"TemporaryFile(/tmp/multipartBody7006938270379197985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178193295,"filename":"image_29012025_14_48_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/29/e6ec696bdf61428f9dcdfe3a686ba43b.jpg","text":"TemporaryFile(/tmp/multipartBody536842618714659954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178193295,"filename":"image_29012025_14_48_34_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332744624","file1":"1332744618","file0":"1332744527","file4":"1332744684","file5":"1332744733","file3":"1332744679"},"map_files_photo_id_array":[{"photo_id":"1332744733","filename":"file5"},{"photo_id":"1332744624","filename":"file2"},{"photo_id":"1332744684","filename":"file4"},{"photo_id":"1332744618","filename":"file1"},{"photo_id":"1332744527","filename":"file0"},{"photo_id":"1332744679","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332744684":["hashtag1","hashtag2"]},{"1332744624":["hashtag1","hashtag2"]},{"1332744618":["hashtag1","hashtag2"]},{"1332744527":["hashtag1","hashtag2"]},{"1332744679":["hashtag1","hashtag2"]},{"1332744733":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332744684, 1332744624, 1332744618, 1332744527, 1332744679, 1332744733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.92193031311035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:16:32.628292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/48/image_29012025_14_48_44_9345.jpg', '/home/pi/Desktop/images/29012025/14/48/image_29012025_14_48_54_10333.jpg', '/home/pi/Desktop/images/29012025/14/48/image_29012025_14_49_04_10446.jpg', '/home/pi/Desktop/images/29012025/14/49/image_29012025_14_49_14_9361.jpg', '/home/pi/Desktop/images/29012025/14/49/image_29012025_14_49_24_10442.jpg', '/home/pi/Desktop/images/29012025/14/49/image_29012025_14_49_35_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/48/image_29012025_14_48_44_9345.jpg
/home/pi/Desktop/images/29012025/14/48/image_29012025_14_48_54_10333.jpg
/home/pi/Desktop/images/29012025/14/48/image_29012025_14_49_04_10446.jpg
/home/pi/Desktop/images/29012025/14/49/image_29012025_14_49_14_9361.jpg
/home/pi/Desktop/images/29012025/14/49/image_29012025_14_49_24_10442.jpg
/home/pi/Desktop/images/29012025/14/49/image_29012025_14_49_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":["1332745023","1332745019","1332745013","1332745007","1332744991","1332745000"],"photo_ids_order":["1332744991","1332745000","1332745007","1332745013","1332745019","1332745023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a45ac2cbc46c1bfebf9942fe1907847b.jpg","text":"TemporaryFile(/tmp/multipartBody6110291513596626477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178253867,"filename":"image_29012025_14_49_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/29/0c876c6b61f1a4548b0623620d2e486f.jpg","text":"TemporaryFile(/tmp/multipartBody2697303059158005334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178253867,"filename":"image_29012025_14_49_24_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/29/18676e81ef63739a7ad180a0c7de2b44.jpg","text":"TemporaryFile(/tmp/multipartBody6285640986676576261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178253867,"filename":"image_29012025_14_49_14_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/29/6c9c046c1e1b1068203b718baa0d8cb7.jpg","text":"TemporaryFile(/tmp/multipartBody4463588694024242404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178253867,"filename":"image_29012025_14_49_04_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/29/6946ce60b9ab8607754de39e531a5883.jpg","text":"TemporaryFile(/tmp/multipartBody8238823015714701623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178253867,"filename":"image_29012025_14_48_44_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/29/5f0d3b933e566e747e452d6341e6fd3a.jpg","text":"TemporaryFile(/tmp/multipartBody3533455142691400798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178253867,"filename":"image_29012025_14_48_54_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332745007","file1":"1332745000","file0":"1332744991","file4":"1332745019","file5":"1332745023","file3":"1332745013"},"map_files_photo_id_array":[{"photo_id":"1332745023","filename":"file5"},{"photo_id":"1332745007","filename":"file2"},{"photo_id":"1332745019","filename":"file4"},{"photo_id":"1332745000","filename":"file1"},{"photo_id":"1332744991","filename":"file0"},{"photo_id":"1332745013","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332745023":["hashtag1","hashtag2"]},{"1332745019":["hashtag1","hashtag2"]},{"1332745013":["hashtag1","hashtag2"]},{"1332745007":["hashtag1","hashtag2"]},{"1332744991":["hashtag1","hashtag2"]},{"1332745000":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332745023, 1332745019, 1332745013, 1332745007, 1332744991, 1332745000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.660528898239136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:17:32.902529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/49/image_29012025_14_49_44_9403.jpg', '/home/pi/Desktop/images/29012025/14/49/image_29012025_14_49_54_10415.jpg', '/home/pi/Desktop/images/29012025/14/49/image_29012025_14_50_04_9332.jpg', '/home/pi/Desktop/images/29012025/14/50/image_29012025_14_50_24_10361.jpg', '/home/pi/Desktop/images/29012025/14/50/image_29012025_14_50_34_9343.jpg', '/home/pi/Desktop/images/29012025/14/50/image_29012025_14_50_44_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/49/image_29012025_14_49_44_9403.jpg
/home/pi/Desktop/images/29012025/14/49/image_29012025_14_49_54_10415.jpg
/home/pi/Desktop/images/29012025/14/49/image_29012025_14_50_04_9332.jpg
/home/pi/Desktop/images/29012025/14/50/image_29012025_14_50_24_10361.jpg
/home/pi/Desktop/images/29012025/14/50/image_29012025_14_50_34_9343.jpg
/home/pi/Desktop/images/29012025/14/50/image_29012025_14_50_44_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":["1332745038","1332745064","1332745055","1332745049","1332745060","1332745042"],"photo_ids_order":["1332745038","1332745042","1332745049","1332745055","1332745060","1332745064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/119695adb145ec00fecd4ac151f59671.jpg","text":"TemporaryFile(/tmp/multipartBody698773680686710093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178314114,"filename":"image_29012025_14_49_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/29/2440a0d43eb180a04f851a8ec79e3465.jpg","text":"TemporaryFile(/tmp/multipartBody2742388431839786653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178314114,"filename":"image_29012025_14_50_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/29/85678482d2c80101b240c6bbefac8b05.jpg","text":"TemporaryFile(/tmp/multipartBody5901587982237996144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178314114,"filename":"image_29012025_14_50_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/29/53c7fb331af8a6ad48e35a9a738e5a28.jpg","text":"TemporaryFile(/tmp/multipartBody7100143958564102922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178314114,"filename":"image_29012025_14_50_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/29/42fd5e3c7f1c6f7166de3451174fe889.jpg","text":"TemporaryFile(/tmp/multipartBody2486947081976212399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178314114,"filename":"image_29012025_14_50_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/29/2b4266c396d32ac67d4ebb6e024794a5.jpg","text":"TemporaryFile(/tmp/multipartBody1228945454747308054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178314114,"filename":"image_29012025_14_49_54_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332745049","file1":"1332745042","file0":"1332745038","file4":"1332745060","file5":"1332745064","file3":"1332745055"},"map_files_photo_id_array":[{"photo_id":"1332745064","filename":"file5"},{"photo_id":"1332745049","filename":"file2"},{"photo_id":"1332745060","filename":"file4"},{"photo_id":"1332745042","filename":"file1"},{"photo_id":"1332745038","filename":"file0"},{"photo_id":"1332745055","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332745038":["hashtag1","hashtag2"]},{"1332745064":["hashtag1","hashtag2"]},{"1332745055":["hashtag1","hashtag2"]},{"1332745049":["hashtag1","hashtag2"]},{"1332745060":["hashtag1","hashtag2"]},{"1332745042":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332745038, 1332745064, 1332745055, 1332745049, 1332745060, 1332745042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.15955185890198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:18:35.161721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/50/image_29012025_14_50_55_10338.jpg', '/home/pi/Desktop/images/29012025/14/50/image_29012025_14_51_04_9370.jpg', '/home/pi/Desktop/images/29012025/14/51/image_29012025_14_51_14_10340.jpg', '/home/pi/Desktop/images/29012025/14/51/image_29012025_14_51_24_9339.jpg', '/home/pi/Desktop/images/29012025/14/51/image_29012025_14_51_34_10349.jpg', '/home/pi/Desktop/images/29012025/14/51/image_29012025_14_51_44_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/50/image_29012025_14_50_55_10338.jpg
/home/pi/Desktop/images/29012025/14/50/image_29012025_14_51_04_9370.jpg
/home/pi/Desktop/images/29012025/14/51/image_29012025_14_51_14_10340.jpg
/home/pi/Desktop/images/29012025/14/51/image_29012025_14_51_24_9339.jpg
/home/pi/Desktop/images/29012025/14/51/image_29012025_14_51_34_10349.jpg
/home/pi/Desktop/images/29012025/14/51/image_29012025_14_51_44_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":["1332745121","1332745100","1332745124","1332745126","1332745129","1332745108"],"photo_ids_order":["1332745100","1332745108","1332745121","1332745124","1332745126","1332745129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5cb3454acc1507ac1b80d8d16b9db077.jpg","text":"TemporaryFile(/tmp/multipartBody1407082266537879674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178378298,"filename":"image_29012025_14_51_14_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/29/de20a5d9c8fced3aa27f609f1092e91e.jpg","text":"TemporaryFile(/tmp/multipartBody4670683205638678971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178378298,"filename":"image_29012025_14_50_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/29/a916e4ef811aeda5a79152a5f0cfb49c.jpg","text":"TemporaryFile(/tmp/multipartBody3551278364675886411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178378298,"filename":"image_29012025_14_51_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/29/e5b1aae05fd320243418d5e2f368819f.jpg","text":"TemporaryFile(/tmp/multipartBody2688096790021313104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178378298,"filename":"image_29012025_14_51_34_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/29/c0ea8d781ea0c1ece6da53b5a47df094.jpg","text":"TemporaryFile(/tmp/multipartBody3754747222787122569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178378298,"filename":"image_29012025_14_51_44_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/29/75aeb3b72e4fe981d699a34e754b4e74.jpg","text":"TemporaryFile(/tmp/multipartBody1280531334419829923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178378298,"filename":"image_29012025_14_51_04_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332745121","file1":"1332745108","file0":"1332745100","file4":"1332745126","file5":"1332745129","file3":"1332745124"},"map_files_photo_id_array":[{"photo_id":"1332745129","filename":"file5"},{"photo_id":"1332745121","filename":"file2"},{"photo_id":"1332745126","filename":"file4"},{"photo_id":"1332745108","filename":"file1"},{"photo_id":"1332745100","filename":"file0"},{"photo_id":"1332745124","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332745121":["hashtag1","hashtag2"]},{"1332745100":["hashtag1","hashtag2"]},{"1332745124":["hashtag1","hashtag2"]},{"1332745126":["hashtag1","hashtag2"]},{"1332745129":["hashtag1","hashtag2"]},{"1332745108":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332745121, 1332745100, 1332745124, 1332745126, 1332745129, 1332745108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.483153343200684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:19:32.272108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/51/image_29012025_14_51_54_9401.jpg', '/home/pi/Desktop/images/29012025/14/51/image_29012025_14_52_04_10389.jpg', '/home/pi/Desktop/images/29012025/14/52/image_29012025_14_52_14_10363.jpg', '/home/pi/Desktop/images/29012025/14/52/image_29012025_14_52_24_9332.jpg', '/home/pi/Desktop/images/29012025/14/52/image_29012025_14_52_34_10361.jpg', '/home/pi/Desktop/images/29012025/14/52/image_29012025_14_52_44_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/51/image_29012025_14_51_54_9401.jpg
/home/pi/Desktop/images/29012025/14/51/image_29012025_14_52_04_10389.jpg
/home/pi/Desktop/images/29012025/14/52/image_29012025_14_52_14_10363.jpg
/home/pi/Desktop/images/29012025/14/52/image_29012025_14_52_24_9332.jpg
/home/pi/Desktop/images/29012025/14/52/image_29012025_14_52_34_10361.jpg
/home/pi/Desktop/images/29012025/14/52/image_29012025_14_52_44_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":["1332745173","1332745166","1332745175","1332745169","1332745157","1332745177"],"photo_ids_order":["1332745157","1332745166","1332745169","1332745173","1332745175","1332745177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9d26aa011a0526e1805fe7dc6cfaf271.jpg","text":"TemporaryFile(/tmp/multipartBody2469255549609962772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178434019,"filename":"image_29012025_14_52_24_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/29/6f82ce64679df538404d4565b0fefd61.jpg","text":"TemporaryFile(/tmp/multipartBody175298326648085768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178434019,"filename":"image_29012025_14_52_04_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/29/436529670c54b64227db1dd7542f0070.jpg","text":"TemporaryFile(/tmp/multipartBody8339156459315360680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178434019,"filename":"image_29012025_14_52_34_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/29/287fa3f71ecac9d47ceff33d0fef345c.jpg","text":"TemporaryFile(/tmp/multipartBody2430904816997920260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178434019,"filename":"image_29012025_14_52_14_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/29/00b9a8d1950233a1ce15eacf7264aeb4.jpg","text":"TemporaryFile(/tmp/multipartBody3278924621787035467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178434019,"filename":"image_29012025_14_51_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/29/0e375efa0bd093d8f4b942b0a7ec61b4.jpg","text":"TemporaryFile(/tmp/multipartBody6355465014964916045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178434019,"filename":"image_29012025_14_52_44_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332745169","file1":"1332745166","file0":"1332745157","file4":"1332745175","file5":"1332745177","file3":"1332745173"},"map_files_photo_id_array":[{"photo_id":"1332745177","filename":"file5"},{"photo_id":"1332745169","filename":"file2"},{"photo_id":"1332745175","filename":"file4"},{"photo_id":"1332745166","filename":"file1"},{"photo_id":"1332745157","filename":"file0"},{"photo_id":"1332745173","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332745173":["hashtag1","hashtag2"]},{"1332745166":["hashtag1","hashtag2"]},{"1332745175":["hashtag1","hashtag2"]},{"1332745169":["hashtag1","hashtag2"]},{"1332745157":["hashtag1","hashtag2"]},{"1332745177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332745173, 1332745166, 1332745175, 1332745169, 1332745157, 1332745177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.825323820114136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:20:32.658598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/52/image_29012025_14_52_54_9323.jpg', '/home/pi/Desktop/images/29012025/14/52/image_29012025_14_53_04_10454.jpg', '/home/pi/Desktop/images/29012025/14/53/image_29012025_14_53_14_9329.jpg', '/home/pi/Desktop/images/29012025/14/53/image_29012025_14_53_24_10448.jpg', '/home/pi/Desktop/images/29012025/14/53/image_29012025_14_53_34_10339.jpg', '/home/pi/Desktop/images/29012025/14/53/image_29012025_14_53_44_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/52/image_29012025_14_52_54_9323.jpg
/home/pi/Desktop/images/29012025/14/52/image_29012025_14_53_04_10454.jpg
/home/pi/Desktop/images/29012025/14/53/image_29012025_14_53_14_9329.jpg
/home/pi/Desktop/images/29012025/14/53/image_29012025_14_53_24_10448.jpg
/home/pi/Desktop/images/29012025/14/53/image_29012025_14_53_34_10339.jpg
/home/pi/Desktop/images/29012025/14/53/image_29012025_14_53_44_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":["1332745287","1332745263","1332745265","1332745274","1332745291","1332745267"],"photo_ids_order":["1332745263","1332745265","1332745267","1332745274","1332745287","1332745291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/da0d08a35fe6a7d151f25d9ef4b16040.jpg","text":"TemporaryFile(/tmp/multipartBody2581690874173383517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178493621,"filename":"image_29012025_14_53_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/29/6ab97f73c28fac6602e66d40dc56e770.jpg","text":"TemporaryFile(/tmp/multipartBody7549602543205485868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178493621,"filename":"image_29012025_14_52_54_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/29/86d47c1f2707632204d35bfe747653eb.jpg","text":"TemporaryFile(/tmp/multipartBody4950725180818753567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178493621,"filename":"image_29012025_14_53_04_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/29/048011d72e8f7d3d97e935faa70ea26e.jpg","text":"TemporaryFile(/tmp/multipartBody8259723485997203602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178493621,"filename":"image_29012025_14_53_24_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/29/2076dbf6bf57e75c8e30de8acd4f599f.jpg","text":"TemporaryFile(/tmp/multipartBody8962816947315236465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178493621,"filename":"image_29012025_14_53_44_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/29/dbb9e6d09ff1575969ec59f21847ec54.jpg","text":"TemporaryFile(/tmp/multipartBody6962267068104821827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178493621,"filename":"image_29012025_14_53_14_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332745267","file1":"1332745265","file0":"1332745263","file4":"1332745287","file5":"1332745291","file3":"1332745274"},"map_files_photo_id_array":[{"photo_id":"1332745291","filename":"file5"},{"photo_id":"1332745267","filename":"file2"},{"photo_id":"1332745287","filename":"file4"},{"photo_id":"1332745265","filename":"file1"},{"photo_id":"1332745263","filename":"file0"},{"photo_id":"1332745274","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332745287":["hashtag1","hashtag2"]},{"1332745263":["hashtag1","hashtag2"]},{"1332745265":["hashtag1","hashtag2"]},{"1332745274":["hashtag1","hashtag2"]},{"1332745291":["hashtag1","hashtag2"]},{"1332745267":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332745287, 1332745263, 1332745265, 1332745274, 1332745291, 1332745267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36161208152771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:21:32.922894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/53/image_29012025_14_53_54_10440.jpg', '/home/pi/Desktop/images/29012025/14/53/image_29012025_14_54_05_10346.jpg', '/home/pi/Desktop/images/29012025/14/54/image_29012025_14_54_14_9341.jpg', '/home/pi/Desktop/images/29012025/14/54/image_29012025_14_54_24_10444.jpg', '/home/pi/Desktop/images/29012025/14/54/image_29012025_14_54_34_9345.jpg', '/home/pi/Desktop/images/29012025/14/54/image_29012025_14_54_44_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/53/image_29012025_14_53_54_10440.jpg
/home/pi/Desktop/images/29012025/14/53/image_29012025_14_54_05_10346.jpg
/home/pi/Desktop/images/29012025/14/54/image_29012025_14_54_14_9341.jpg
/home/pi/Desktop/images/29012025/14/54/image_29012025_14_54_24_10444.jpg
/home/pi/Desktop/images/29012025/14/54/image_29012025_14_54_34_9345.jpg
/home/pi/Desktop/images/29012025/14/54/image_29012025_14_54_44_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":["1332745653","1332745548","1332745684","1332745654","1332745621","1332745525"],"photo_ids_order":["1332745525","1332745548","1332745621","1332745653","1332745654","1332745684"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ab8ab3c6876690b8656191f16ae05c9d.jpg","text":"TemporaryFile(/tmp/multipartBody2972049974514011805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178553879,"filename":"image_29012025_14_54_24_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/29/e4592a8f9d1ed2207e58532277b717f7.jpg","text":"TemporaryFile(/tmp/multipartBody814216342314695485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178553879,"filename":"image_29012025_14_54_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/29/88b3c8d189db8cc2a8b04807713bc9ab.jpg","text":"TemporaryFile(/tmp/multipartBody3473264688494990350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178553879,"filename":"image_29012025_14_54_44_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/29/7e0c98e918de47d2ef73cee813219dba.jpg","text":"TemporaryFile(/tmp/multipartBody3939738084702806372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178553879,"filename":"image_29012025_14_54_34_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/29/478de96a4c0024f480954b5796379d8c.jpg","text":"TemporaryFile(/tmp/multipartBody3764785141848494794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178553879,"filename":"image_29012025_14_54_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/29/d33f2e74a72e8841411bf77efe3db7d7.jpg","text":"TemporaryFile(/tmp/multipartBody2614860848606519337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178553879,"filename":"image_29012025_14_53_54_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332745621","file1":"1332745548","file0":"1332745525","file4":"1332745654","file5":"1332745684","file3":"1332745653"},"map_files_photo_id_array":[{"photo_id":"1332745684","filename":"file5"},{"photo_id":"1332745621","filename":"file2"},{"photo_id":"1332745654","filename":"file4"},{"photo_id":"1332745548","filename":"file1"},{"photo_id":"1332745525","filename":"file0"},{"photo_id":"1332745653","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332745653":["hashtag1","hashtag2"]},{"1332745548":["hashtag1","hashtag2"]},{"1332745684":["hashtag1","hashtag2"]},{"1332745654":["hashtag1","hashtag2"]},{"1332745621":["hashtag1","hashtag2"]},{"1332745525":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332745653, 1332745548, 1332745684, 1332745654, 1332745621, 1332745525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99547505378723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:22:33.150894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/54/image_29012025_14_54_54_10358.jpg', '/home/pi/Desktop/images/29012025/14/54/image_29012025_14_55_04_9344.jpg', '/home/pi/Desktop/images/29012025/14/55/image_29012025_14_55_14_10449.jpg', '/home/pi/Desktop/images/29012025/14/55/image_29012025_14_55_24_9389.jpg', '/home/pi/Desktop/images/29012025/14/55/image_29012025_14_55_34_10463.jpg', '/home/pi/Desktop/images/29012025/14/55/image_29012025_14_55_44_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/54/image_29012025_14_54_54_10358.jpg
/home/pi/Desktop/images/29012025/14/54/image_29012025_14_55_04_9344.jpg
/home/pi/Desktop/images/29012025/14/55/image_29012025_14_55_14_10449.jpg
/home/pi/Desktop/images/29012025/14/55/image_29012025_14_55_24_9389.jpg
/home/pi/Desktop/images/29012025/14/55/image_29012025_14_55_34_10463.jpg
/home/pi/Desktop/images/29012025/14/55/image_29012025_14_55_44_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":["1332745905","1332745787","1332745943","1332745795","1332745783","1332745792"],"photo_ids_order":["1332745783","1332745787","1332745792","1332745795","1332745905","1332745943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/12c5ae7e348e3dfb41892a6cc5dd567e.jpg","text":"TemporaryFile(/tmp/multipartBody5902992331387265867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178614121,"filename":"image_29012025_14_55_34_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/29/c1df06800bd4b8d7ca66d3b18e0e6f45.jpg","text":"TemporaryFile(/tmp/multipartBody6480866488492564656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178614121,"filename":"image_29012025_14_55_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/29/f96a38c0dc8387fb3a0c24407b5fa76b.jpg","text":"TemporaryFile(/tmp/multipartBody5442321641205090387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178614121,"filename":"image_29012025_14_55_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/29/d8a3194ab2cde8fb002d11e032a404d6.jpg","text":"TemporaryFile(/tmp/multipartBody2495766202149256074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178614121,"filename":"image_29012025_14_55_24_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/29/acc36503be96a0c697098ba430f64534.jpg","text":"TemporaryFile(/tmp/multipartBody650093325275573000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178614121,"filename":"image_29012025_14_54_54_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/29/96b51c7622be85f45ceaf5a86801a2f3.jpg","text":"TemporaryFile(/tmp/multipartBody389264144074874005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178614121,"filename":"image_29012025_14_55_14_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332745792","file1":"1332745787","file0":"1332745783","file4":"1332745905","file5":"1332745943","file3":"1332745795"},"map_files_photo_id_array":[{"photo_id":"1332745943","filename":"file5"},{"photo_id":"1332745792","filename":"file2"},{"photo_id":"1332745905","filename":"file4"},{"photo_id":"1332745787","filename":"file1"},{"photo_id":"1332745783","filename":"file0"},{"photo_id":"1332745795","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332745905":["hashtag1","hashtag2"]},{"1332745787":["hashtag1","hashtag2"]},{"1332745943":["hashtag1","hashtag2"]},{"1332745795":["hashtag1","hashtag2"]},{"1332745783":["hashtag1","hashtag2"]},{"1332745792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332745905, 1332745787, 1332745943, 1332745795, 1332745783, 1332745792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08177351951599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:23:32.266632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/55/image_29012025_14_55_54_9341.jpg', '/home/pi/Desktop/images/29012025/14/55/image_29012025_14_56_04_10338.jpg', '/home/pi/Desktop/images/29012025/14/56/image_29012025_14_56_14_10352.jpg', '/home/pi/Desktop/images/29012025/14/56/image_29012025_14_56_24_9372.jpg', '/home/pi/Desktop/images/29012025/14/56/image_29012025_14_56_34_10432.jpg', '/home/pi/Desktop/images/29012025/14/56/image_29012025_14_56_44_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/55/image_29012025_14_55_54_9341.jpg
/home/pi/Desktop/images/29012025/14/55/image_29012025_14_56_04_10338.jpg
/home/pi/Desktop/images/29012025/14/56/image_29012025_14_56_14_10352.jpg
/home/pi/Desktop/images/29012025/14/56/image_29012025_14_56_24_9372.jpg
/home/pi/Desktop/images/29012025/14/56/image_29012025_14_56_34_10432.jpg
/home/pi/Desktop/images/29012025/14/56/image_29012025_14_56_44_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":["1332746016","1332746072","1332746023","1332746011","1332746079","1332746076"],"photo_ids_order":["1332746011","1332746016","1332746023","1332746072","1332746076","1332746079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ee5706baf9d43921dc46c536005f60b4.jpg","text":"TemporaryFile(/tmp/multipartBody6291191879179247136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178673225,"filename":"image_29012025_14_56_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/29/fd51881fdb4a30a33728ad9c9006b983.jpg","text":"TemporaryFile(/tmp/multipartBody5431428758770924978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178673225,"filename":"image_29012025_14_56_24_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/29/aef5520a256b93f205c061a67fcd8328.jpg","text":"TemporaryFile(/tmp/multipartBody7075047594684695027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178673225,"filename":"image_29012025_14_56_14_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/29/1c772eea7b06da73da3f4a9076d42bef.jpg","text":"TemporaryFile(/tmp/multipartBody8252315332277664005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178673225,"filename":"image_29012025_14_55_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/29/72a66ea84eff4152ffaade031bf63e41.jpg","text":"TemporaryFile(/tmp/multipartBody7859690361388365690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178673225,"filename":"image_29012025_14_56_44_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/29/66575febaf386baf75f187ccb73ae696.jpg","text":"TemporaryFile(/tmp/multipartBody3801474015955681008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178673225,"filename":"image_29012025_14_56_34_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332746023","file1":"1332746016","file0":"1332746011","file4":"1332746076","file5":"1332746079","file3":"1332746072"},"map_files_photo_id_array":[{"photo_id":"1332746079","filename":"file5"},{"photo_id":"1332746023","filename":"file2"},{"photo_id":"1332746076","filename":"file4"},{"photo_id":"1332746016","filename":"file1"},{"photo_id":"1332746011","filename":"file0"},{"photo_id":"1332746072","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332746016":["hashtag1","hashtag2"]},{"1332746072":["hashtag1","hashtag2"]},{"1332746023":["hashtag1","hashtag2"]},{"1332746011":["hashtag1","hashtag2"]},{"1332746079":["hashtag1","hashtag2"]},{"1332746076":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332746016, 1332746072, 1332746023, 1332746011, 1332746079, 1332746076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60497808456421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:24:32.466150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/56/image_29012025_14_56_54_10457.jpg', '/home/pi/Desktop/images/29012025/14/56/image_29012025_14_57_04_10353.jpg', '/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_14_9343.jpg', '/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_24_10440.jpg', '/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_34_9344.jpg', '/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_44_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/56/image_29012025_14_56_54_10457.jpg
/home/pi/Desktop/images/29012025/14/56/image_29012025_14_57_04_10353.jpg
/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_14_9343.jpg
/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_24_10440.jpg
/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_34_9344.jpg
/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_44_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":["1332746115","1332746103","1332746099","1332746111","1332746095","1332746107"],"photo_ids_order":["1332746095","1332746099","1332746103","1332746107","1332746111","1332746115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c625b40224f8c8bc1552373db94f1673.jpg","text":"TemporaryFile(/tmp/multipartBody3445098564618024027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178733417,"filename":"image_29012025_14_57_44_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/29/083ae58df23f57f554bd2aa4820d1075.jpg","text":"TemporaryFile(/tmp/multipartBody9196843557286985496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178733417,"filename":"image_29012025_14_57_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/29/4ec79d8178f361ae4f742548a8f7476b.jpg","text":"TemporaryFile(/tmp/multipartBody1440895501952578689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178733417,"filename":"image_29012025_14_57_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/29/cece8671de1303f5f23b116ccfe934c0.jpg","text":"TemporaryFile(/tmp/multipartBody6409066750155481394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178733417,"filename":"image_29012025_14_57_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/29/ae617a19ddd56c299139e2db0d8d88fa.jpg","text":"TemporaryFile(/tmp/multipartBody3864470039819445936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178733417,"filename":"image_29012025_14_56_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/29/8cf8aa7767eb93aa011c88fb0040dd2a.jpg","text":"TemporaryFile(/tmp/multipartBody8961819800972799117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178733417,"filename":"image_29012025_14_57_24_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332746103","file1":"1332746099","file0":"1332746095","file4":"1332746111","file5":"1332746115","file3":"1332746107"},"map_files_photo_id_array":[{"photo_id":"1332746115","filename":"file5"},{"photo_id":"1332746103","filename":"file2"},{"photo_id":"1332746111","filename":"file4"},{"photo_id":"1332746099","filename":"file1"},{"photo_id":"1332746095","filename":"file0"},{"photo_id":"1332746107","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332746115":["hashtag1","hashtag2"]},{"1332746103":["hashtag1","hashtag2"]},{"1332746099":["hashtag1","hashtag2"]},{"1332746111":["hashtag1","hashtag2"]},{"1332746095":["hashtag1","hashtag2"]},{"1332746107":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332746115, 1332746103, 1332746099, 1332746111, 1332746095, 1332746107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33187198638916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:25:32.824177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_54_10350.jpg', '/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_14_10337.jpg', '/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_24_10357.jpg', '/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_34_9341.jpg', '/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_44_10420.jpg', '/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_54_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_54_10350.jpg
/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_14_10337.jpg
/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_24_10357.jpg
/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_34_9341.jpg
/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_44_10420.jpg
/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_54_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.5986711978912354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 20:25:42.862758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_54_10350.jpg', '/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_14_10337.jpg', '/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_24_10357.jpg', '/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_34_9341.jpg', '/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_44_10420.jpg', '/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_54_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/57/image_29012025_14_57_54_10350.jpg
/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_14_10337.jpg
/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_24_10357.jpg
/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_34_9341.jpg
/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_44_10420.jpg
/home/pi/Desktop/images/29012025/14/58/image_29012025_14_58_54_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":["1332746384","1332746402","1332746216","1332746335","1332746329","1332746151"],"photo_ids_order":["1332746151","1332746216","1332746329","1332746335","1332746384","1332746402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bf6755c3013848688d15373eb3773790.jpg","text":"TemporaryFile(/tmp/multipartBody6744994803204834498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178803753,"filename":"image_29012025_14_58_44_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/29/854aae886cb0f4a750e4a861d1706508.jpg","text":"TemporaryFile(/tmp/multipartBody3645792804601351798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178803753,"filename":"image_29012025_14_58_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/29/c36b0db8bd9ce3ef0a860ecf4b0139d2.jpg","text":"TemporaryFile(/tmp/multipartBody5190484883606606107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178803753,"filename":"image_29012025_14_58_14_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/29/b341f769c5b587569e46d9544ff2f306.jpg","text":"TemporaryFile(/tmp/multipartBody730449965560035746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178803753,"filename":"image_29012025_14_58_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/29/b16bbcc716f04da74dfe8aff9ae18ea2.jpg","text":"TemporaryFile(/tmp/multipartBody2589811972465442937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178803753,"filename":"image_29012025_14_58_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/29/f3958f96d546ce69f3000c1b7f08326c.jpg","text":"TemporaryFile(/tmp/multipartBody5266461104499614932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178803753,"filename":"image_29012025_14_57_54_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332746329","file1":"1332746216","file0":"1332746151","file4":"1332746384","file5":"1332746402","file3":"1332746335"},"map_files_photo_id_array":[{"photo_id":"1332746402","filename":"file5"},{"photo_id":"1332746329","filename":"file2"},{"photo_id":"1332746384","filename":"file4"},{"photo_id":"1332746216","filename":"file1"},{"photo_id":"1332746151","filename":"file0"},{"photo_id":"1332746335","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332746384":["hashtag1","hashtag2"]},{"1332746402":["hashtag1","hashtag2"]},{"1332746216":["hashtag1","hashtag2"]},{"1332746335":["hashtag1","hashtag2"]},{"1332746329":["hashtag1","hashtag2"]},{"1332746151":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332746384, 1332746402, 1332746216, 1332746335, 1332746329, 1332746151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08595323562622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:26:33.009672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/14/58/image_29012025_14_59_04_9343.jpg', '/home/pi/Desktop/images/29012025/14/59/image_29012025_14_59_14_10446.jpg', '/home/pi/Desktop/images/29012025/14/59/image_29012025_14_59_24_9336.jpg', '/home/pi/Desktop/images/29012025/14/59/image_29012025_14_59_34_10367.jpg', '/home/pi/Desktop/images/29012025/14/59/image_29012025_14_59_44_10363.jpg', '/home/pi/Desktop/images/29012025/14/59/image_29012025_14_59_54_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/14/58/image_29012025_14_59_04_9343.jpg
/home/pi/Desktop/images/29012025/14/59/image_29012025_14_59_14_10446.jpg
/home/pi/Desktop/images/29012025/14/59/image_29012025_14_59_24_9336.jpg
/home/pi/Desktop/images/29012025/14/59/image_29012025_14_59_34_10367.jpg
/home/pi/Desktop/images/29012025/14/59/image_29012025_14_59_44_10363.jpg
/home/pi/Desktop/images/29012025/14/59/image_29012025_14_59_54_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":["1332746465","1332746474","1332746510","1332746504","1332746494","1332746499"],"photo_ids_order":["1332746465","1332746474","1332746494","1332746499","1332746504","1332746510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0cf425a123ee9b95448f024e282182bc.jpg","text":"TemporaryFile(/tmp/multipartBody6081157862780774516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178853976,"filename":"image_29012025_14_59_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/29/ae5bbbf907a686044c4fb0c3e4ba51d1.jpg","text":"TemporaryFile(/tmp/multipartBody1376466207410936332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178853976,"filename":"image_29012025_14_59_14_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/29/1b1d9dc0bdc5a0cda8c665ea15712b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1238979355830228116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178853976,"filename":"image_29012025_14_59_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/29/51cc69b6d12435486aa6cb8d9d0fdbb4.jpg","text":"TemporaryFile(/tmp/multipartBody1629203473826451564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178853976,"filename":"image_29012025_14_59_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/29/e85aee6ae62ddd63aedacfd5d7524eab.jpg","text":"TemporaryFile(/tmp/multipartBody4911415258368828881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178853976,"filename":"image_29012025_14_59_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/29/8f7f53a52087913e1a80cc06f47cb16c.jpg","text":"TemporaryFile(/tmp/multipartBody7694913672083697598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178853976,"filename":"image_29012025_14_59_34_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332746494","file1":"1332746474","file0":"1332746465","file4":"1332746504","file5":"1332746510","file3":"1332746499"},"map_files_photo_id_array":[{"photo_id":"1332746510","filename":"file5"},{"photo_id":"1332746494","filename":"file2"},{"photo_id":"1332746504","filename":"file4"},{"photo_id":"1332746474","filename":"file1"},{"photo_id":"1332746465","filename":"file0"},{"photo_id":"1332746499","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332746465":["hashtag1","hashtag2"]},{"1332746474":["hashtag1","hashtag2"]},{"1332746510":["hashtag1","hashtag2"]},{"1332746504":["hashtag1","hashtag2"]},{"1332746494":["hashtag1","hashtag2"]},{"1332746499":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332746465, 1332746474, 1332746510, 1332746504, 1332746494, 1332746499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59892416000366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:27:32.224327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/01/image_29012025_15_01_14_10085.jpg', '/home/pi/Desktop/images/29012025/15/01/image_29012025_15_01_24_10347.jpg', '/home/pi/Desktop/images/29012025/15/01/image_29012025_15_01_35_10339.jpg', '/home/pi/Desktop/images/29012025/15/01/image_29012025_15_01_44_9429.jpg', '/home/pi/Desktop/images/29012025/15/01/image_29012025_15_01_54_10358.jpg', '/home/pi/Desktop/images/29012025/15/01/image_29012025_15_02_05_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/01/image_29012025_15_01_14_10085.jpg
/home/pi/Desktop/images/29012025/15/01/image_29012025_15_01_24_10347.jpg
/home/pi/Desktop/images/29012025/15/01/image_29012025_15_01_35_10339.jpg
/home/pi/Desktop/images/29012025/15/01/image_29012025_15_01_44_9429.jpg
/home/pi/Desktop/images/29012025/15/01/image_29012025_15_01_54_10358.jpg
/home/pi/Desktop/images/29012025/15/01/image_29012025_15_02_05_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":["1332746529","1332746549","1332746540","1332746554","1332746533","1332746544"],"photo_ids_order":["1332746529","1332746533","1332746540","1332746544","1332746549","1332746554"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3ce8af9b23c7c89cda211542ab64afbb.jpg","text":"TemporaryFile(/tmp/multipartBody1736007037134043402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178913216,"filename":"image_29012025_15_01_14_10085.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/287af2be5028b4ecbd460eba3fb5e858.jpg","text":"TemporaryFile(/tmp/multipartBody8226704286812029494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178913216,"filename":"image_29012025_15_01_54_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/29/bd9949ab3e4ded79d20af97a3be16558.jpg","text":"TemporaryFile(/tmp/multipartBody2968722687230025238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178913216,"filename":"image_29012025_15_01_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/29/ea6a492ccc94617e02ca84c9de59ad16.jpg","text":"TemporaryFile(/tmp/multipartBody4785225033942400602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178913216,"filename":"image_29012025_15_02_05_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/29/7f4cc85cbe39d5444d62617e6c564112.jpg","text":"TemporaryFile(/tmp/multipartBody5865068750668394650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178913216,"filename":"image_29012025_15_01_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/29/063aa24f715082b4a05ac01ba084b794.jpg","text":"TemporaryFile(/tmp/multipartBody2224249453797524930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178913216,"filename":"image_29012025_15_01_44_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332746540","file1":"1332746533","file0":"1332746529","file4":"1332746549","file5":"1332746554","file3":"1332746544"},"map_files_photo_id_array":[{"photo_id":"1332746554","filename":"file5"},{"photo_id":"1332746540","filename":"file2"},{"photo_id":"1332746549","filename":"file4"},{"photo_id":"1332746533","filename":"file1"},{"photo_id":"1332746529","filename":"file0"},{"photo_id":"1332746544","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332746529":["hashtag1","hashtag2"]},{"1332746549":["hashtag1","hashtag2"]},{"1332746540":["hashtag1","hashtag2"]},{"1332746554":["hashtag1","hashtag2"]},{"1332746533":["hashtag1","hashtag2"]},{"1332746544":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332746529, 1332746549, 1332746540, 1332746554, 1332746533, 1332746544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.93491339683533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:28:32.519177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/02/image_29012025_15_02_14_9402.jpg', '/home/pi/Desktop/images/29012025/15/02/image_29012025_15_02_25_10386.jpg', '/home/pi/Desktop/images/29012025/15/02/image_29012025_15_02_34_9448.jpg', '/home/pi/Desktop/images/29012025/15/02/image_29012025_15_02_45_10407.jpg', '/home/pi/Desktop/images/29012025/15/02/image_29012025_15_02_55_10403.jpg', '/home/pi/Desktop/images/29012025/15/02/image_29012025_15_03_04_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/02/image_29012025_15_02_14_9402.jpg
/home/pi/Desktop/images/29012025/15/02/image_29012025_15_02_25_10386.jpg
/home/pi/Desktop/images/29012025/15/02/image_29012025_15_02_34_9448.jpg
/home/pi/Desktop/images/29012025/15/02/image_29012025_15_02_45_10407.jpg
/home/pi/Desktop/images/29012025/15/02/image_29012025_15_02_55_10403.jpg
/home/pi/Desktop/images/29012025/15/02/image_29012025_15_03_04_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":["1332746625","1332746619","1332746628","1332746599","1332746605","1332746614"],"photo_ids_order":["1332746599","1332746605","1332746614","1332746619","1332746625","1332746628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a4617ebbcb921c82c97500d982357a00.jpg","text":"TemporaryFile(/tmp/multipartBody8057895472905814564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178973503,"filename":"image_29012025_15_02_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/29/53fd2a65f48771b55848d46c6af004e1.jpg","text":"TemporaryFile(/tmp/multipartBody641360341796001472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178973503,"filename":"image_29012025_15_02_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/29/fb10c401eb8807df0dd92d764aa05092.jpg","text":"TemporaryFile(/tmp/multipartBody5877264359967676690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178973503,"filename":"image_29012025_15_03_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/29/0215a8f516b46489f7c257dd9582fd9b.jpg","text":"TemporaryFile(/tmp/multipartBody4364649878236326465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178973503,"filename":"image_29012025_15_02_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/29/956b45d9c427b627982da48776ac13ea.jpg","text":"TemporaryFile(/tmp/multipartBody2240222893722177539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178973503,"filename":"image_29012025_15_02_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/29/61f30f0b6c87d11614074aabe41f2575.jpg","text":"TemporaryFile(/tmp/multipartBody6752782636852788858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738178973503,"filename":"image_29012025_15_02_34_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332746614","file1":"1332746605","file0":"1332746599","file4":"1332746625","file5":"1332746628","file3":"1332746619"},"map_files_photo_id_array":[{"photo_id":"1332746628","filename":"file5"},{"photo_id":"1332746614","filename":"file2"},{"photo_id":"1332746625","filename":"file4"},{"photo_id":"1332746605","filename":"file1"},{"photo_id":"1332746599","filename":"file0"},{"photo_id":"1332746619","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332746625":["hashtag1","hashtag2"]},{"1332746619":["hashtag1","hashtag2"]},{"1332746628":["hashtag1","hashtag2"]},{"1332746599":["hashtag1","hashtag2"]},{"1332746605":["hashtag1","hashtag2"]},{"1332746614":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332746625, 1332746619, 1332746628, 1332746599, 1332746605, 1332746614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.842597246170044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:29:32.872703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/03/image_29012025_15_03_15_10365.jpg', '/home/pi/Desktop/images/29012025/15/03/image_29012025_15_03_24_9384.jpg', '/home/pi/Desktop/images/29012025/15/03/image_29012025_15_03_45_10372.jpg', '/home/pi/Desktop/images/29012025/15/03/image_29012025_15_03_54_9375.jpg', '/home/pi/Desktop/images/29012025/15/03/image_29012025_15_04_05_10406.jpg', '/home/pi/Desktop/images/29012025/15/04/image_29012025_15_04_14_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/03/image_29012025_15_03_15_10365.jpg
/home/pi/Desktop/images/29012025/15/03/image_29012025_15_03_24_9384.jpg
/home/pi/Desktop/images/29012025/15/03/image_29012025_15_03_45_10372.jpg
/home/pi/Desktop/images/29012025/15/03/image_29012025_15_03_54_9375.jpg
/home/pi/Desktop/images/29012025/15/03/image_29012025_15_04_05_10406.jpg
/home/pi/Desktop/images/29012025/15/04/image_29012025_15_04_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":["1332746646","1332746660","1332746677","1332746671","1332746650","1332746655"],"photo_ids_order":["1332746646","1332746650","1332746655","1332746660","1332746671","1332746677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/086615ef805522d59cd25ec24275d8dd.jpg","text":"TemporaryFile(/tmp/multipartBody5589790753220124702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179033845,"filename":"image_29012025_15_03_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/29/65025ae10286771e12508da1feae41af.jpg","text":"TemporaryFile(/tmp/multipartBody6101044094240543885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179033845,"filename":"image_29012025_15_03_54_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/29/09ae29363fbffe7c6c5723f484d8a413.jpg","text":"TemporaryFile(/tmp/multipartBody5932841697885392974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179033845,"filename":"image_29012025_15_04_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/29/1f122f70cf48b118a2388e11e9c1ef69.jpg","text":"TemporaryFile(/tmp/multipartBody3758527683043324846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179033845,"filename":"image_29012025_15_04_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/29/9f0cbd1fba9b43e26c8f398a9f1832eb.jpg","text":"TemporaryFile(/tmp/multipartBody8588122157288199254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179033845,"filename":"image_29012025_15_03_24_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/29/d5be44498d6d34827c3bf6dcfe9f62ce.jpg","text":"TemporaryFile(/tmp/multipartBody6032290503922516738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179033845,"filename":"image_29012025_15_03_45_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332746655","file1":"1332746650","file0":"1332746646","file4":"1332746671","file5":"1332746677","file3":"1332746660"},"map_files_photo_id_array":[{"photo_id":"1332746677","filename":"file5"},{"photo_id":"1332746655","filename":"file2"},{"photo_id":"1332746671","filename":"file4"},{"photo_id":"1332746650","filename":"file1"},{"photo_id":"1332746646","filename":"file0"},{"photo_id":"1332746660","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332746646":["hashtag1","hashtag2"]},{"1332746660":["hashtag1","hashtag2"]},{"1332746677":["hashtag1","hashtag2"]},{"1332746671":["hashtag1","hashtag2"]},{"1332746650":["hashtag1","hashtag2"]},{"1332746655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332746646, 1332746660, 1332746677, 1332746671, 1332746650, 1332746655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75811767578125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:30:33.082709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/04/image_29012025_15_04_25_10415.jpg', '/home/pi/Desktop/images/29012025/15/04/image_29012025_15_04_35_10351.jpg', '/home/pi/Desktop/images/29012025/15/04/image_29012025_15_04_44_9320.jpg', '/home/pi/Desktop/images/29012025/15/04/image_29012025_15_04_55_10361.jpg', '/home/pi/Desktop/images/29012025/15/04/image_29012025_15_05_04_9394.jpg', '/home/pi/Desktop/images/29012025/15/05/image_29012025_15_05_14_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/04/image_29012025_15_04_25_10415.jpg
/home/pi/Desktop/images/29012025/15/04/image_29012025_15_04_35_10351.jpg
/home/pi/Desktop/images/29012025/15/04/image_29012025_15_04_44_9320.jpg
/home/pi/Desktop/images/29012025/15/04/image_29012025_15_04_55_10361.jpg
/home/pi/Desktop/images/29012025/15/04/image_29012025_15_05_04_9394.jpg
/home/pi/Desktop/images/29012025/15/05/image_29012025_15_05_14_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":["1332746885","1332746846","1332746834","1332746929","1332746911","1332746796"],"photo_ids_order":["1332746796","1332746834","1332746846","1332746885","1332746911","1332746929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b5bc2c8405e8a8f0f806b46bb4c6b241.jpg","text":"TemporaryFile(/tmp/multipartBody4826245359857442057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179094051,"filename":"image_29012025_15_04_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/29/b201f360c418ed73e1dfd2264dc62470.jpg","text":"TemporaryFile(/tmp/multipartBody4556384209942470942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179094051,"filename":"image_29012025_15_04_44_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/29/3372fb7d6900750230b138263dd06b78.jpg","text":"TemporaryFile(/tmp/multipartBody8115846432443799971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179094051,"filename":"image_29012025_15_04_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/29/ac1742745953104124f1e73070718bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1325881336360486098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179094051,"filename":"image_29012025_15_05_14_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/29/6c99a571c67e328000cce3bb3ec84dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1050526785624539815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179094051,"filename":"image_29012025_15_05_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/29/441b1a0d066a42e246c5c23e2ab1cccf.jpg","text":"TemporaryFile(/tmp/multipartBody7630086888607787419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179094051,"filename":"image_29012025_15_04_25_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332746846","file1":"1332746834","file0":"1332746796","file4":"1332746911","file5":"1332746929","file3":"1332746885"},"map_files_photo_id_array":[{"photo_id":"1332746929","filename":"file5"},{"photo_id":"1332746846","filename":"file2"},{"photo_id":"1332746911","filename":"file4"},{"photo_id":"1332746834","filename":"file1"},{"photo_id":"1332746796","filename":"file0"},{"photo_id":"1332746885","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332746885":["hashtag1","hashtag2"]},{"1332746846":["hashtag1","hashtag2"]},{"1332746834":["hashtag1","hashtag2"]},{"1332746929":["hashtag1","hashtag2"]},{"1332746911":["hashtag1","hashtag2"]},{"1332746796":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332746885, 1332746846, 1332746834, 1332746929, 1332746911, 1332746796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.73564314842224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:31:32.309065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/05/image_29012025_15_05_25_10347.jpg', '/home/pi/Desktop/images/29012025/15/05/image_29012025_15_05_34_9449.jpg', '/home/pi/Desktop/images/29012025/15/05/image_29012025_15_05_44_10337.jpg', '/home/pi/Desktop/images/29012025/15/05/image_29012025_15_05_55_10335.jpg', '/home/pi/Desktop/images/29012025/15/05/image_29012025_15_06_04_9418.jpg', '/home/pi/Desktop/images/29012025/15/06/image_29012025_15_06_15_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/05/image_29012025_15_05_25_10347.jpg
/home/pi/Desktop/images/29012025/15/05/image_29012025_15_05_34_9449.jpg
/home/pi/Desktop/images/29012025/15/05/image_29012025_15_05_44_10337.jpg
/home/pi/Desktop/images/29012025/15/05/image_29012025_15_05_55_10335.jpg
/home/pi/Desktop/images/29012025/15/05/image_29012025_15_06_04_9418.jpg
/home/pi/Desktop/images/29012025/15/06/image_29012025_15_06_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":["1332747121","1332747118","1332747081","1332747078","1332747123","1332747126"],"photo_ids_order":["1332747078","1332747081","1332747118","1332747121","1332747123","1332747126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ea0879bbf0ac07633694f7adbc479013.jpg","text":"TemporaryFile(/tmp/multipartBody806500823395303166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179153272,"filename":"image_29012025_15_05_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/29/e382d3f58bc6f57e9685ffa240d0d21c.jpg","text":"TemporaryFile(/tmp/multipartBody2436261194771811601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179153272,"filename":"image_29012025_15_05_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/29/0934fd9c4560249dcf6e7753c565d13e.jpg","text":"TemporaryFile(/tmp/multipartBody5276320776345523219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179153272,"filename":"image_29012025_15_05_34_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/29/c01e52342dcbaf9f9f9213e88215321a.jpg","text":"TemporaryFile(/tmp/multipartBody7782546775654793086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179153272,"filename":"image_29012025_15_05_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/29/7827dbd21e0cf98894f8b80c6dbd62a3.jpg","text":"TemporaryFile(/tmp/multipartBody2478815125323484132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179153272,"filename":"image_29012025_15_06_04_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/29/22df4041c01bc06c7a7c5c3d8e164738.jpg","text":"TemporaryFile(/tmp/multipartBody5521665258973400351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179153272,"filename":"image_29012025_15_06_15_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332747118","file1":"1332747081","file0":"1332747078","file4":"1332747123","file5":"1332747126","file3":"1332747121"},"map_files_photo_id_array":[{"photo_id":"1332747126","filename":"file5"},{"photo_id":"1332747118","filename":"file2"},{"photo_id":"1332747123","filename":"file4"},{"photo_id":"1332747081","filename":"file1"},{"photo_id":"1332747078","filename":"file0"},{"photo_id":"1332747121","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332747121":["hashtag1","hashtag2"]},{"1332747118":["hashtag1","hashtag2"]},{"1332747081":["hashtag1","hashtag2"]},{"1332747078":["hashtag1","hashtag2"]},{"1332747123":["hashtag1","hashtag2"]},{"1332747126":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332747121, 1332747118, 1332747081, 1332747078, 1332747123, 1332747126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.709757566452026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:32:32.498804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/06/image_29012025_15_06_25_10343.jpg', '/home/pi/Desktop/images/29012025/15/06/image_29012025_15_06_34_9408.jpg', '/home/pi/Desktop/images/29012025/15/06/image_29012025_15_06_45_10330.jpg', '/home/pi/Desktop/images/29012025/15/06/image_29012025_15_06_54_9461.jpg', '/home/pi/Desktop/images/29012025/15/06/image_29012025_15_07_04_10355.jpg', '/home/pi/Desktop/images/29012025/15/07/image_29012025_15_07_15_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/06/image_29012025_15_06_25_10343.jpg
/home/pi/Desktop/images/29012025/15/06/image_29012025_15_06_34_9408.jpg
/home/pi/Desktop/images/29012025/15/06/image_29012025_15_06_45_10330.jpg
/home/pi/Desktop/images/29012025/15/06/image_29012025_15_06_54_9461.jpg
/home/pi/Desktop/images/29012025/15/06/image_29012025_15_07_04_10355.jpg
/home/pi/Desktop/images/29012025/15/07/image_29012025_15_07_15_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":["1332747173","1332747176","1332747202","1332747205","1332747198","1332747197"],"photo_ids_order":["1332747173","1332747176","1332747197","1332747198","1332747202","1332747205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ee16a499b23b62de646f81d09f466bbd.jpg","text":"TemporaryFile(/tmp/multipartBody6104207399253161393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179213455,"filename":"image_29012025_15_06_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/29/e9d0b512a6a3a38aa9107057d42f3007.jpg","text":"TemporaryFile(/tmp/multipartBody1510285403506375186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179213455,"filename":"image_29012025_15_06_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/29/02e358743590f11884193caef4040bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4648614154289682441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179213455,"filename":"image_29012025_15_07_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/29/f354e9976abc2cec864dc131c435da44.jpg","text":"TemporaryFile(/tmp/multipartBody6437313116314080530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179213455,"filename":"image_29012025_15_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/29/3385a79675fd7e750d0c8dd9293ec130.jpg","text":"TemporaryFile(/tmp/multipartBody6292719877406692089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179213455,"filename":"image_29012025_15_06_54_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/29/0e6d769f9cfb4609bf2602a05e4051d4.jpg","text":"TemporaryFile(/tmp/multipartBody1067957451367043532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179213455,"filename":"image_29012025_15_06_45_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332747197","file1":"1332747176","file0":"1332747173","file4":"1332747202","file5":"1332747205","file3":"1332747198"},"map_files_photo_id_array":[{"photo_id":"1332747205","filename":"file5"},{"photo_id":"1332747197","filename":"file2"},{"photo_id":"1332747202","filename":"file4"},{"photo_id":"1332747176","filename":"file1"},{"photo_id":"1332747173","filename":"file0"},{"photo_id":"1332747198","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332747173":["hashtag1","hashtag2"]},{"1332747176":["hashtag1","hashtag2"]},{"1332747202":["hashtag1","hashtag2"]},{"1332747205":["hashtag1","hashtag2"]},{"1332747198":["hashtag1","hashtag2"]},{"1332747197":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332747173, 1332747176, 1332747202, 1332747205, 1332747198, 1332747197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.982908487319946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:33:32.782209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/07/image_29012025_15_07_24_9441.jpg', '/home/pi/Desktop/images/29012025/15/07/image_29012025_15_07_35_10353.jpg', '/home/pi/Desktop/images/29012025/15/07/image_29012025_15_07_44_9387.jpg', '/home/pi/Desktop/images/29012025/15/07/image_29012025_15_07_54_10454.jpg', '/home/pi/Desktop/images/29012025/15/07/image_29012025_15_08_05_10403.jpg', '/home/pi/Desktop/images/29012025/15/08/image_29012025_15_08_14_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/07/image_29012025_15_07_24_9441.jpg
/home/pi/Desktop/images/29012025/15/07/image_29012025_15_07_35_10353.jpg
/home/pi/Desktop/images/29012025/15/07/image_29012025_15_07_44_9387.jpg
/home/pi/Desktop/images/29012025/15/07/image_29012025_15_07_54_10454.jpg
/home/pi/Desktop/images/29012025/15/07/image_29012025_15_08_05_10403.jpg
/home/pi/Desktop/images/29012025/15/08/image_29012025_15_08_14_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":["1332747425","1332747784","1332747469","1332747570","1332747786","1332747689"],"photo_ids_order":["1332747425","1332747469","1332747570","1332747689","1332747784","1332747786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1d61d3c6bb5c3913e6e9e7e2a830d102.jpg","text":"TemporaryFile(/tmp/multipartBody2230724367013579939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179273742,"filename":"image_29012025_15_07_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/29/f820e128b7b2e727794abbd4c5d09d07.jpg","text":"TemporaryFile(/tmp/multipartBody5381972143937081653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179273742,"filename":"image_29012025_15_08_05_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/29/1397888124baf3c0436ce7083cdda1cd.jpg","text":"TemporaryFile(/tmp/multipartBody3282394909272991542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179273742,"filename":"image_29012025_15_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/29/36f770c5783a9d4bd544626852f491b7.jpg","text":"TemporaryFile(/tmp/multipartBody8649230593665760542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179273742,"filename":"image_29012025_15_07_44_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/29/b61d5f8b114c7d3f5f06b80931db2a91.jpg","text":"TemporaryFile(/tmp/multipartBody3194946707927543370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179273742,"filename":"image_29012025_15_08_14_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/29/14b32fb9bd8c62c73b9d87a19956f38d.jpg","text":"TemporaryFile(/tmp/multipartBody5809043119460458233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179273742,"filename":"image_29012025_15_07_54_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332747570","file1":"1332747469","file0":"1332747425","file4":"1332747784","file5":"1332747786","file3":"1332747689"},"map_files_photo_id_array":[{"photo_id":"1332747786","filename":"file5"},{"photo_id":"1332747570","filename":"file2"},{"photo_id":"1332747784","filename":"file4"},{"photo_id":"1332747469","filename":"file1"},{"photo_id":"1332747425","filename":"file0"},{"photo_id":"1332747689","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332747425":["hashtag1","hashtag2"]},{"1332747784":["hashtag1","hashtag2"]},{"1332747469":["hashtag1","hashtag2"]},{"1332747570":["hashtag1","hashtag2"]},{"1332747786":["hashtag1","hashtag2"]},{"1332747689":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332747425, 1332747784, 1332747469, 1332747570, 1332747786, 1332747689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.059855699539185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:34:33.123019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/08/image_29012025_15_08_25_10354.jpg', '/home/pi/Desktop/images/29012025/15/08/image_29012025_15_08_34_9439.jpg', '/home/pi/Desktop/images/29012025/15/08/image_29012025_15_08_44_10348.jpg', '/home/pi/Desktop/images/29012025/15/08/image_29012025_15_08_55_10410.jpg', '/home/pi/Desktop/images/29012025/15/08/image_29012025_15_09_04_9403.jpg', '/home/pi/Desktop/images/29012025/15/09/image_29012025_15_09_15_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/08/image_29012025_15_08_25_10354.jpg
/home/pi/Desktop/images/29012025/15/08/image_29012025_15_08_34_9439.jpg
/home/pi/Desktop/images/29012025/15/08/image_29012025_15_08_44_10348.jpg
/home/pi/Desktop/images/29012025/15/08/image_29012025_15_08_55_10410.jpg
/home/pi/Desktop/images/29012025/15/08/image_29012025_15_09_04_9403.jpg
/home/pi/Desktop/images/29012025/15/09/image_29012025_15_09_15_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":["1332747836","1332748048","1332747958","1332747829","1332747861","1332748026"],"photo_ids_order":["1332747829","1332747836","1332747861","1332747958","1332748026","1332748048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4eab36c2b98c86db8fcc11f261bd280f.jpg","text":"TemporaryFile(/tmp/multipartBody5417779081697493810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179334104,"filename":"image_29012025_15_08_34_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/29/1274cc92892c6e59c297e8a43f87b081.jpg","text":"TemporaryFile(/tmp/multipartBody4899971284840362747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179334104,"filename":"image_29012025_15_09_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/29/d0706c8b5a165e5b5cfc3e69f136bc0b.jpg","text":"TemporaryFile(/tmp/multipartBody5845692372431983974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179334104,"filename":"image_29012025_15_08_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/29/7fb439e5542ed1be9b18f93cbbdf3b6f.jpg","text":"TemporaryFile(/tmp/multipartBody3533000710168908157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179334104,"filename":"image_29012025_15_08_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/29/0888c687c7e690b0119daf3d76a31119.jpg","text":"TemporaryFile(/tmp/multipartBody4620920836568259456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179334104,"filename":"image_29012025_15_08_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/29/675ea920e75ab5145d4590c8d6ead3e6.jpg","text":"TemporaryFile(/tmp/multipartBody7534263779543890893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179334104,"filename":"image_29012025_15_09_04_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332747861","file1":"1332747836","file0":"1332747829","file4":"1332748026","file5":"1332748048","file3":"1332747958"},"map_files_photo_id_array":[{"photo_id":"1332748048","filename":"file5"},{"photo_id":"1332747861","filename":"file2"},{"photo_id":"1332748026","filename":"file4"},{"photo_id":"1332747836","filename":"file1"},{"photo_id":"1332747829","filename":"file0"},{"photo_id":"1332747958","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332747836":["hashtag1","hashtag2"]},{"1332748048":["hashtag1","hashtag2"]},{"1332747958":["hashtag1","hashtag2"]},{"1332747829":["hashtag1","hashtag2"]},{"1332747861":["hashtag1","hashtag2"]},{"1332748026":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332747836, 1332748048, 1332747958, 1332747829, 1332747861, 1332748026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68698811531067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:35:32.533366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/09/image_29012025_15_09_24_9331.jpg', '/home/pi/Desktop/images/29012025/15/09/image_29012025_15_09_34_10439.jpg', '/home/pi/Desktop/images/29012025/15/09/image_29012025_15_09_45_10363.jpg', '/home/pi/Desktop/images/29012025/15/09/image_29012025_15_09_54_9357.jpg', '/home/pi/Desktop/images/29012025/15/09/image_29012025_15_10_04_10335.jpg', '/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_15_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/09/image_29012025_15_09_24_9331.jpg
/home/pi/Desktop/images/29012025/15/09/image_29012025_15_09_34_10439.jpg
/home/pi/Desktop/images/29012025/15/09/image_29012025_15_09_45_10363.jpg
/home/pi/Desktop/images/29012025/15/09/image_29012025_15_09_54_9357.jpg
/home/pi/Desktop/images/29012025/15/09/image_29012025_15_10_04_10335.jpg
/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_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":["1332748393","1332748249","1332748389","1332748361","1332748385","1332748346"],"photo_ids_order":["1332748249","1332748346","1332748361","1332748385","1332748389","1332748393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1db26d88089383718765ed0ab4bb7d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4616220206268342036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179393492,"filename":"image_29012025_15_10_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/29/c95b197028f1ef8c59144ce62f5f977d.jpg","text":"TemporaryFile(/tmp/multipartBody4282954836821459770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179393492,"filename":"image_29012025_15_09_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/29/ee82c29ca8bf30532074245e486d3fb6.jpg","text":"TemporaryFile(/tmp/multipartBody3753275026339965951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179393492,"filename":"image_29012025_15_10_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/29/89c69e8698a081cae8c3fafc66706dc9.jpg","text":"TemporaryFile(/tmp/multipartBody6585973225125761359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179393492,"filename":"image_29012025_15_09_45_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/29/9d97a5359ed26fe7c5d9ce047adbd851.jpg","text":"TemporaryFile(/tmp/multipartBody5430564832334291618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179393492,"filename":"image_29012025_15_09_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/29/9f7e267795d40a4393ac23eb65e35d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2628445243482052344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179393492,"filename":"image_29012025_15_09_34_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332748361","file1":"1332748346","file0":"1332748249","file4":"1332748389","file5":"1332748393","file3":"1332748385"},"map_files_photo_id_array":[{"photo_id":"1332748393","filename":"file5"},{"photo_id":"1332748361","filename":"file2"},{"photo_id":"1332748389","filename":"file4"},{"photo_id":"1332748346","filename":"file1"},{"photo_id":"1332748249","filename":"file0"},{"photo_id":"1332748385","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332748393":["hashtag1","hashtag2"]},{"1332748249":["hashtag1","hashtag2"]},{"1332748389":["hashtag1","hashtag2"]},{"1332748361":["hashtag1","hashtag2"]},{"1332748385":["hashtag1","hashtag2"]},{"1332748346":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332748393, 1332748249, 1332748389, 1332748361, 1332748385, 1332748346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93299436569214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:36:32.523634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_24_9411.jpg', '/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_35_10374.jpg', '/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_45_10349.jpg', '/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_54_9328.jpg', '/home/pi/Desktop/images/29012025/15/10/image_29012025_15_11_05_10346.jpg', '/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_14_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_24_9411.jpg
/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_35_10374.jpg
/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_45_10349.jpg
/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_54_9328.jpg
/home/pi/Desktop/images/29012025/15/10/image_29012025_15_11_05_10346.jpg
/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_14_9348.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.5743424892425537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 20:36:42.530565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_24_9411.jpg', '/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_35_10374.jpg', '/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_45_10349.jpg', '/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_54_9328.jpg', '/home/pi/Desktop/images/29012025/15/10/image_29012025_15_11_05_10346.jpg', '/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_14_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_24_9411.jpg
/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_35_10374.jpg
/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_45_10349.jpg
/home/pi/Desktop/images/29012025/15/10/image_29012025_15_10_54_9328.jpg
/home/pi/Desktop/images/29012025/15/10/image_29012025_15_11_05_10346.jpg
/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_14_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":["1332748415","1332748426","1332748443","1332748440","1332748422","1332748419"],"photo_ids_order":["1332748415","1332748419","1332748422","1332748426","1332748440","1332748443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/054c14e7a73c7179a5c68ea987f0584b.jpg","text":"TemporaryFile(/tmp/multipartBody1065206604826541944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179463439,"filename":"image_29012025_15_10_24_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/29/ae3d6208e075137bf1d724fcc831ac66.jpg","text":"TemporaryFile(/tmp/multipartBody2752475841358606222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179463439,"filename":"image_29012025_15_10_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/29/9406eb31642e4e81aa2118d7d7f18c3a.jpg","text":"TemporaryFile(/tmp/multipartBody237002934563510090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179463439,"filename":"image_29012025_15_11_14_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/29/37a04833be4e11d179d4fb959f92efab.jpg","text":"TemporaryFile(/tmp/multipartBody2234479846871507970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179463439,"filename":"image_29012025_15_11_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/29/3c4be19cec612598193a184879e7d7c1.jpg","text":"TemporaryFile(/tmp/multipartBody191854725562613161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179463439,"filename":"image_29012025_15_10_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/29/47b05a32cb61b83716f4155ec294514b.jpg","text":"TemporaryFile(/tmp/multipartBody3209301062600717601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179463439,"filename":"image_29012025_15_10_35_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332748422","file1":"1332748419","file0":"1332748415","file4":"1332748440","file5":"1332748443","file3":"1332748426"},"map_files_photo_id_array":[{"photo_id":"1332748443","filename":"file5"},{"photo_id":"1332748422","filename":"file2"},{"photo_id":"1332748440","filename":"file4"},{"photo_id":"1332748419","filename":"file1"},{"photo_id":"1332748415","filename":"file0"},{"photo_id":"1332748426","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332748415":["hashtag1","hashtag2"]},{"1332748426":["hashtag1","hashtag2"]},{"1332748443":["hashtag1","hashtag2"]},{"1332748440":["hashtag1","hashtag2"]},{"1332748422":["hashtag1","hashtag2"]},{"1332748419":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332748415, 1332748426, 1332748443, 1332748440, 1332748422, 1332748419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18301582336426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:37:32.817306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_24_10389.jpg', '/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_35_10439.jpg', '/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_44_9376.jpg', '/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_55_10426.jpg', '/home/pi/Desktop/images/29012025/15/11/image_29012025_15_12_05_10357.jpg', '/home/pi/Desktop/images/29012025/15/12/image_29012025_15_12_15_9839.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_24_10389.jpg
/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_35_10439.jpg
/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_44_9376.jpg
/home/pi/Desktop/images/29012025/15/11/image_29012025_15_11_55_10426.jpg
/home/pi/Desktop/images/29012025/15/11/image_29012025_15_12_05_10357.jpg
/home/pi/Desktop/images/29012025/15/12/image_29012025_15_12_15_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332748514","1332748498","1332748474","1332748488","1332748493","1332748481"],"photo_ids_order":["1332748474","1332748481","1332748488","1332748493","1332748498","1332748514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f63efbe47017a1efd2abd87f632a23a1.jpg","text":"TemporaryFile(/tmp/multipartBody4833544017655284488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179513766,"filename":"image_29012025_15_12_15_9839.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/abfe067f943e56716a33f144197e6344.jpg","text":"TemporaryFile(/tmp/multipartBody6332398794173056162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179513766,"filename":"image_29012025_15_12_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/29/44a46f5d348f67eac7525851f9f4bc54.jpg","text":"TemporaryFile(/tmp/multipartBody6942037985224069802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179513766,"filename":"image_29012025_15_11_24_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/29/586ceb543cff14db042f2af0fcccb4e5.jpg","text":"TemporaryFile(/tmp/multipartBody2407697217776743356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179513766,"filename":"image_29012025_15_11_44_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/29/15a58420e5b70560c2fc96df35863fce.jpg","text":"TemporaryFile(/tmp/multipartBody6003691468734406017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179513766,"filename":"image_29012025_15_11_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/29/50ff650b2e79cdd36ade0436a010b892.jpg","text":"TemporaryFile(/tmp/multipartBody5528210473466911627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179513766,"filename":"image_29012025_15_11_35_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332748488","file1":"1332748481","file0":"1332748474","file4":"1332748498","file5":"1332748514","file3":"1332748493"},"map_files_photo_id_array":[{"photo_id":"1332748514","filename":"file5"},{"photo_id":"1332748488","filename":"file2"},{"photo_id":"1332748498","filename":"file4"},{"photo_id":"1332748481","filename":"file1"},{"photo_id":"1332748474","filename":"file0"},{"photo_id":"1332748493","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332748514":["hashtag1","hashtag2"]},{"1332748498":["hashtag1","hashtag2"]},{"1332748474":["hashtag1","hashtag2"]},{"1332748488":["hashtag1","hashtag2"]},{"1332748493":["hashtag1","hashtag2"]},{"1332748481":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332748514, 1332748498, 1332748474, 1332748488, 1332748493, 1332748481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.02576446533203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:38:33.032533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/12/image_29012025_15_12_24_9355.jpg', '/home/pi/Desktop/images/29012025/15/12/image_29012025_15_12_34_10352.jpg', '/home/pi/Desktop/images/29012025/15/12/image_29012025_15_12_45_10348.jpg', '/home/pi/Desktop/images/29012025/15/12/image_29012025_15_12_54_9473.jpg', '/home/pi/Desktop/images/29012025/15/12/image_29012025_15_13_05_10439.jpg', '/home/pi/Desktop/images/29012025/15/13/image_29012025_15_13_14_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/12/image_29012025_15_12_24_9355.jpg
/home/pi/Desktop/images/29012025/15/12/image_29012025_15_12_34_10352.jpg
/home/pi/Desktop/images/29012025/15/12/image_29012025_15_12_45_10348.jpg
/home/pi/Desktop/images/29012025/15/12/image_29012025_15_12_54_9473.jpg
/home/pi/Desktop/images/29012025/15/12/image_29012025_15_13_05_10439.jpg
/home/pi/Desktop/images/29012025/15/13/image_29012025_15_13_14_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":["1332748618","1332748590","1332748623","1332748611","1332748628","1332748616"],"photo_ids_order":["1332748590","1332748611","1332748616","1332748618","1332748623","1332748628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f761540f1ae9017d5c980c0cbd75adb6.jpg","text":"TemporaryFile(/tmp/multipartBody3117504851949534726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179573987,"filename":"image_29012025_15_12_54_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/29/49d79796029f65cdd1792d49a635b8bc.jpg","text":"TemporaryFile(/tmp/multipartBody7230262713152505200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179573987,"filename":"image_29012025_15_12_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/29/75fde607cf23eebd765c7f297251286d.jpg","text":"TemporaryFile(/tmp/multipartBody3438742311786354882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179573987,"filename":"image_29012025_15_13_05_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/29/7b228c5685c6ff1943217a52c9d8c369.jpg","text":"TemporaryFile(/tmp/multipartBody8734256568198644885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179573987,"filename":"image_29012025_15_12_34_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/29/80d4b1ca4f889860f1ee74de07121422.jpg","text":"TemporaryFile(/tmp/multipartBody4771984962403137952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179573987,"filename":"image_29012025_15_13_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/29/e8c979da3888b5fa6b3bbf60e997cd8a.jpg","text":"TemporaryFile(/tmp/multipartBody6714720528231654532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179573987,"filename":"image_29012025_15_12_45_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332748616","file1":"1332748611","file0":"1332748590","file4":"1332748623","file5":"1332748628","file3":"1332748618"},"map_files_photo_id_array":[{"photo_id":"1332748628","filename":"file5"},{"photo_id":"1332748616","filename":"file2"},{"photo_id":"1332748623","filename":"file4"},{"photo_id":"1332748611","filename":"file1"},{"photo_id":"1332748590","filename":"file0"},{"photo_id":"1332748618","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332748618":["hashtag1","hashtag2"]},{"1332748590":["hashtag1","hashtag2"]},{"1332748623":["hashtag1","hashtag2"]},{"1332748611":["hashtag1","hashtag2"]},{"1332748628":["hashtag1","hashtag2"]},{"1332748616":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332748618, 1332748590, 1332748623, 1332748611, 1332748628, 1332748616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.732821226119995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:39:32.259903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/13/image_29012025_15_13_24_10341.jpg', '/home/pi/Desktop/images/29012025/15/13/image_29012025_15_13_35_10361.jpg', '/home/pi/Desktop/images/29012025/15/13/image_29012025_15_13_44_9415.jpg', '/home/pi/Desktop/images/29012025/15/13/image_29012025_15_13_55_10344.jpg', '/home/pi/Desktop/images/29012025/15/13/image_29012025_15_14_05_10340.jpg', '/home/pi/Desktop/images/29012025/15/14/image_29012025_15_14_14_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/13/image_29012025_15_13_24_10341.jpg
/home/pi/Desktop/images/29012025/15/13/image_29012025_15_13_35_10361.jpg
/home/pi/Desktop/images/29012025/15/13/image_29012025_15_13_44_9415.jpg
/home/pi/Desktop/images/29012025/15/13/image_29012025_15_13_55_10344.jpg
/home/pi/Desktop/images/29012025/15/13/image_29012025_15_14_05_10340.jpg
/home/pi/Desktop/images/29012025/15/14/image_29012025_15_14_14_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":["1332748645","1332748669","1332748654","1332748662","1332748665","1332748650"],"photo_ids_order":["1332748645","1332748650","1332748654","1332748662","1332748665","1332748669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/49b882d1e167ca9b1e065d0e98496d17.jpg","text":"TemporaryFile(/tmp/multipartBody2255979431506165673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179633213,"filename":"image_29012025_15_13_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/29/ff4e529a2a9fbfc9f2ef264817895dea.jpg","text":"TemporaryFile(/tmp/multipartBody469044877854246346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179633213,"filename":"image_29012025_15_14_14_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/29/4b735a9fb24468b24696e73f01a8eb84.jpg","text":"TemporaryFile(/tmp/multipartBody6701488901607183169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179633213,"filename":"image_29012025_15_13_44_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/29/35ee2552edbb7f144c503ab5a0f57f74.jpg","text":"TemporaryFile(/tmp/multipartBody5142673603793867223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179633213,"filename":"image_29012025_15_13_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/29/ab5b8c8083dfbe074ccc9a10c68059fa.jpg","text":"TemporaryFile(/tmp/multipartBody2431932014458830687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179633213,"filename":"image_29012025_15_14_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/29/7c13de40ec5c401bc0f8291be2f6b0ae.jpg","text":"TemporaryFile(/tmp/multipartBody5364855284763588558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179633213,"filename":"image_29012025_15_13_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332748654","file1":"1332748650","file0":"1332748645","file4":"1332748665","file5":"1332748669","file3":"1332748662"},"map_files_photo_id_array":[{"photo_id":"1332748669","filename":"file5"},{"photo_id":"1332748654","filename":"file2"},{"photo_id":"1332748665","filename":"file4"},{"photo_id":"1332748650","filename":"file1"},{"photo_id":"1332748645","filename":"file0"},{"photo_id":"1332748662","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332748645":["hashtag1","hashtag2"]},{"1332748669":["hashtag1","hashtag2"]},{"1332748654":["hashtag1","hashtag2"]},{"1332748662":["hashtag1","hashtag2"]},{"1332748665":["hashtag1","hashtag2"]},{"1332748650":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332748645, 1332748669, 1332748654, 1332748662, 1332748665, 1332748650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.95559906959534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:40:32.521373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/14/image_29012025_15_14_25_10337.jpg', '/home/pi/Desktop/images/29012025/15/14/image_29012025_15_14_34_9428.jpg', '/home/pi/Desktop/images/29012025/15/14/image_29012025_15_14_44_10363.jpg', '/home/pi/Desktop/images/29012025/15/14/image_29012025_15_14_55_10411.jpg', '/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_15_10352.jpg', '/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_24_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/14/image_29012025_15_14_25_10337.jpg
/home/pi/Desktop/images/29012025/15/14/image_29012025_15_14_34_9428.jpg
/home/pi/Desktop/images/29012025/15/14/image_29012025_15_14_44_10363.jpg
/home/pi/Desktop/images/29012025/15/14/image_29012025_15_14_55_10411.jpg
/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_15_10352.jpg
/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_24_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":["1332748741","1332748729","1332748680","1332748710","1332748704","1332748733"],"photo_ids_order":["1332748680","1332748704","1332748710","1332748729","1332748733","1332748741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cf915d347e1e58418a92d3d92485464e.jpg","text":"TemporaryFile(/tmp/multipartBody3765959394341563872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179693516,"filename":"image_29012025_15_15_24_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/29/eb6f6324ef4b151631d3027cd3211099.jpg","text":"TemporaryFile(/tmp/multipartBody8672510122535881305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179693516,"filename":"image_29012025_15_14_55_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/29/79e017398758d78c55a4ca8166354578.jpg","text":"TemporaryFile(/tmp/multipartBody1651248035580538937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179693516,"filename":"image_29012025_15_14_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/29/616bfbb08e45989f3bfa16eca75328ac.jpg","text":"TemporaryFile(/tmp/multipartBody6609018006089536648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179693516,"filename":"image_29012025_15_14_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/29/0061d26ce5e9a57e1ee2e91b4a3a6346.jpg","text":"TemporaryFile(/tmp/multipartBody3331093762258150216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179693516,"filename":"image_29012025_15_14_34_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/29/5e23754acd11ccd8559cfbc5066b1a79.jpg","text":"TemporaryFile(/tmp/multipartBody4623449046664401815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179693516,"filename":"image_29012025_15_15_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332748710","file1":"1332748704","file0":"1332748680","file4":"1332748733","file5":"1332748741","file3":"1332748729"},"map_files_photo_id_array":[{"photo_id":"1332748741","filename":"file5"},{"photo_id":"1332748710","filename":"file2"},{"photo_id":"1332748733","filename":"file4"},{"photo_id":"1332748704","filename":"file1"},{"photo_id":"1332748680","filename":"file0"},{"photo_id":"1332748729","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332748741":["hashtag1","hashtag2"]},{"1332748729":["hashtag1","hashtag2"]},{"1332748680":["hashtag1","hashtag2"]},{"1332748710":["hashtag1","hashtag2"]},{"1332748704":["hashtag1","hashtag2"]},{"1332748733":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332748741, 1332748729, 1332748680, 1332748710, 1332748704, 1332748733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.490838289260864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:41:32.758726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_34_10353.jpg', '/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_45_10387.jpg', '/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_54_9419.jpg', '/home/pi/Desktop/images/29012025/15/15/image_29012025_15_16_05_10336.jpg', '/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_14_9427.jpg', '/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_24_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_34_10353.jpg
/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_45_10387.jpg
/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_54_9419.jpg
/home/pi/Desktop/images/29012025/15/15/image_29012025_15_16_05_10336.jpg
/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_14_9427.jpg
/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_24_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.588036060333252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 20:41:42.754173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_34_10353.jpg', '/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_45_10387.jpg', '/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_54_9419.jpg', '/home/pi/Desktop/images/29012025/15/15/image_29012025_15_16_05_10336.jpg', '/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_14_9427.jpg', '/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_24_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_34_10353.jpg
/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_45_10387.jpg
/home/pi/Desktop/images/29012025/15/15/image_29012025_15_15_54_9419.jpg
/home/pi/Desktop/images/29012025/15/15/image_29012025_15_16_05_10336.jpg
/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_14_9427.jpg
/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_24_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":["1332749053","1332749050","1332748978","1332749151","1332749046","1332749057"],"photo_ids_order":["1332748978","1332749046","1332749050","1332749053","1332749057","1332749151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fab10814559c9af3028f3f7733139d47.jpg","text":"TemporaryFile(/tmp/multipartBody1203814557785356526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179763650,"filename":"image_29012025_15_16_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/29/b4f194343f6869bf2868d0585bd2d85f.jpg","text":"TemporaryFile(/tmp/multipartBody3260629619823406033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179763650,"filename":"image_29012025_15_15_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/29/74c8e25f527824b412e0e6ff626b1da0.jpg","text":"TemporaryFile(/tmp/multipartBody5389917700435945724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179763650,"filename":"image_29012025_15_15_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/29/4da24d712ab415273676b8fbe39fe3c9.jpg","text":"TemporaryFile(/tmp/multipartBody4951436459743217619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179763650,"filename":"image_29012025_15_16_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/29/e97f0a6a170a341ad4c657fa21d41da4.jpg","text":"TemporaryFile(/tmp/multipartBody6067464359617532036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179763650,"filename":"image_29012025_15_15_45_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/29/7cb5426bbcfad3ff1543a46fd24d04bc.jpg","text":"TemporaryFile(/tmp/multipartBody4158317261718126519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179763650,"filename":"image_29012025_15_16_14_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332749050","file1":"1332749046","file0":"1332748978","file4":"1332749057","file5":"1332749151","file3":"1332749053"},"map_files_photo_id_array":[{"photo_id":"1332749151","filename":"file5"},{"photo_id":"1332749050","filename":"file2"},{"photo_id":"1332749057","filename":"file4"},{"photo_id":"1332749046","filename":"file1"},{"photo_id":"1332748978","filename":"file0"},{"photo_id":"1332749053","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332749053":["hashtag1","hashtag2"]},{"1332749050":["hashtag1","hashtag2"]},{"1332748978":["hashtag1","hashtag2"]},{"1332749151":["hashtag1","hashtag2"]},{"1332749046":["hashtag1","hashtag2"]},{"1332749057":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332749053, 1332749050, 1332748978, 1332749151, 1332749046, 1332749057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35163474082947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:42:32.920087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_35_10335.jpg', '/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_54_10348.jpg', '/home/pi/Desktop/images/29012025/15/16/image_29012025_15_17_05_10354.jpg', '/home/pi/Desktop/images/29012025/15/17/image_29012025_15_17_14_9328.jpg', '/home/pi/Desktop/images/29012025/15/17/image_29012025_15_17_35_10344.jpg', '/home/pi/Desktop/images/29012025/15/17/image_29012025_15_17_44_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_35_10335.jpg
/home/pi/Desktop/images/29012025/15/16/image_29012025_15_16_54_10348.jpg
/home/pi/Desktop/images/29012025/15/16/image_29012025_15_17_05_10354.jpg
/home/pi/Desktop/images/29012025/15/17/image_29012025_15_17_14_9328.jpg
/home/pi/Desktop/images/29012025/15/17/image_29012025_15_17_35_10344.jpg
/home/pi/Desktop/images/29012025/15/17/image_29012025_15_17_44_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":["1332749260","1332749256","1332749267","1332749261","1332749264","1332749252"],"photo_ids_order":["1332749252","1332749256","1332749260","1332749261","1332749264","1332749267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/99b229967d4e47cddc3af40894842ff6.jpg","text":"TemporaryFile(/tmp/multipartBody8336142248704376127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179813890,"filename":"image_29012025_15_17_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/29/f7934cd87a3552a8bd25f18290590f89.jpg","text":"TemporaryFile(/tmp/multipartBody6973007117865665355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179813890,"filename":"image_29012025_15_16_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/29/b6cb417e9075f32704b45ee01e93ecde.jpg","text":"TemporaryFile(/tmp/multipartBody2871248654260784197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179813890,"filename":"image_29012025_15_17_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/29/b1c75d11c0f1e10e3d0d88ea3688e04d.jpg","text":"TemporaryFile(/tmp/multipartBody656532909424861556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179813890,"filename":"image_29012025_15_17_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/29/215843674052314fa44374e7c5bdc1a5.jpg","text":"TemporaryFile(/tmp/multipartBody4231749913570263532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179813890,"filename":"image_29012025_15_17_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/29/bfe8961bd75f70dc19dda050f55dad31.jpg","text":"TemporaryFile(/tmp/multipartBody7632299516336928024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179813890,"filename":"image_29012025_15_16_35_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332749260","file1":"1332749256","file0":"1332749252","file4":"1332749264","file5":"1332749267","file3":"1332749261"},"map_files_photo_id_array":[{"photo_id":"1332749267","filename":"file5"},{"photo_id":"1332749260","filename":"file2"},{"photo_id":"1332749264","filename":"file4"},{"photo_id":"1332749256","filename":"file1"},{"photo_id":"1332749252","filename":"file0"},{"photo_id":"1332749261","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332749260":["hashtag1","hashtag2"]},{"1332749256":["hashtag1","hashtag2"]},{"1332749267":["hashtag1","hashtag2"]},{"1332749261":["hashtag1","hashtag2"]},{"1332749264":["hashtag1","hashtag2"]},{"1332749252":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332749260, 1332749256, 1332749267, 1332749261, 1332749264, 1332749252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93440365791321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:43:33.111732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/17/image_29012025_15_17_55_10346.jpg', '/home/pi/Desktop/images/29012025/15/17/image_29012025_15_18_05_10384.jpg', '/home/pi/Desktop/images/29012025/15/18/image_29012025_15_18_14_9356.jpg', '/home/pi/Desktop/images/29012025/15/18/image_29012025_15_18_25_10359.jpg', '/home/pi/Desktop/images/29012025/15/18/image_29012025_15_18_34_9404.jpg', '/home/pi/Desktop/images/29012025/15/18/image_29012025_15_18_44_10316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/17/image_29012025_15_17_55_10346.jpg
/home/pi/Desktop/images/29012025/15/17/image_29012025_15_18_05_10384.jpg
/home/pi/Desktop/images/29012025/15/18/image_29012025_15_18_14_9356.jpg
/home/pi/Desktop/images/29012025/15/18/image_29012025_15_18_25_10359.jpg
/home/pi/Desktop/images/29012025/15/18/image_29012025_15_18_34_9404.jpg
/home/pi/Desktop/images/29012025/15/18/image_29012025_15_18_44_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":["1332749545","1332749446","1332749521","1332749475","1332749520","1332749498"],"photo_ids_order":["1332749446","1332749475","1332749498","1332749520","1332749521","1332749545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/69b3c46e286beb1089d4e0b5c11be6a3.jpg","text":"TemporaryFile(/tmp/multipartBody1330766753964320652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179874225,"filename":"image_29012025_15_18_44_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/29/89bd34724bde9957e3ee248935cf7fe7.jpg","text":"TemporaryFile(/tmp/multipartBody7722847041409225391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179874225,"filename":"image_29012025_15_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/29/8960c6ff8a4bd6056cfa3feec8bee01f.jpg","text":"TemporaryFile(/tmp/multipartBody7616887164584458827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179874225,"filename":"image_29012025_15_18_34_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/29/c33848317d05bae06885362b2f1feee8.jpg","text":"TemporaryFile(/tmp/multipartBody6433097594686171534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179874225,"filename":"image_29012025_15_18_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/29/d3c8411f05cbc793feb2b929e85ebe13.jpg","text":"TemporaryFile(/tmp/multipartBody3046349067250848325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179874225,"filename":"image_29012025_15_18_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/29/7ea0a25eef90697a4582e4db974709bb.jpg","text":"TemporaryFile(/tmp/multipartBody8601861136115986835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179874225,"filename":"image_29012025_15_18_14_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332749498","file1":"1332749475","file0":"1332749446","file4":"1332749521","file5":"1332749545","file3":"1332749520"},"map_files_photo_id_array":[{"photo_id":"1332749545","filename":"file5"},{"photo_id":"1332749498","filename":"file2"},{"photo_id":"1332749521","filename":"file4"},{"photo_id":"1332749475","filename":"file1"},{"photo_id":"1332749446","filename":"file0"},{"photo_id":"1332749520","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332749545":["hashtag1","hashtag2"]},{"1332749446":["hashtag1","hashtag2"]},{"1332749521":["hashtag1","hashtag2"]},{"1332749475":["hashtag1","hashtag2"]},{"1332749520":["hashtag1","hashtag2"]},{"1332749498":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332749545, 1332749446, 1332749521, 1332749475, 1332749520, 1332749498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.287978172302246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:44:32.394027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/18/image_29012025_15_18_55_10322.jpg', '/home/pi/Desktop/images/29012025/15/18/image_29012025_15_19_04_9410.jpg', '/home/pi/Desktop/images/29012025/15/19/image_29012025_15_19_14_10359.jpg', '/home/pi/Desktop/images/29012025/15/19/image_29012025_15_19_24_9858.jpg', '/home/pi/Desktop/images/29012025/15/19/image_29012025_15_19_35_10334.jpg', '/home/pi/Desktop/images/29012025/15/19/image_29012025_15_19_44_9456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/18/image_29012025_15_18_55_10322.jpg
/home/pi/Desktop/images/29012025/15/18/image_29012025_15_19_04_9410.jpg
/home/pi/Desktop/images/29012025/15/19/image_29012025_15_19_14_10359.jpg
/home/pi/Desktop/images/29012025/15/19/image_29012025_15_19_24_9858.jpg
/home/pi/Desktop/images/29012025/15/19/image_29012025_15_19_35_10334.jpg
/home/pi/Desktop/images/29012025/15/19/image_29012025_15_19_44_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332749641","1332749638","1332749632","1332749645","1332749648","1332749606"],"photo_ids_order":["1332749606","1332749632","1332749638","1332749641","1332749645","1332749648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/403b69c42da97c1c4a69eb5cb59ef1c9.jpg","text":"TemporaryFile(/tmp/multipartBody3355302129722117794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179933364,"filename":"image_29012025_15_19_24_9858.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/24eda4ee9246225e6e1b93d3e9d15056.jpg","text":"TemporaryFile(/tmp/multipartBody7371439507525224392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179933364,"filename":"image_29012025_15_19_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/29/26443762b432e0bdc5b15b9f8f99713e.jpg","text":"TemporaryFile(/tmp/multipartBody5932736573132511348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179933364,"filename":"image_29012025_15_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/29/04634901a7eb7d4f8cdda6062d81e22c.jpg","text":"TemporaryFile(/tmp/multipartBody969178026080492494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179933364,"filename":"image_29012025_15_19_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/29/746ea72174428e753dca33ed390248aa.jpg","text":"TemporaryFile(/tmp/multipartBody4301457593309868456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179933364,"filename":"image_29012025_15_19_44_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/29/e10aa8703b202924bec3f1e936daac6e.jpg","text":"TemporaryFile(/tmp/multipartBody4045592983672411142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179933364,"filename":"image_29012025_15_18_55_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332749638","file1":"1332749632","file0":"1332749606","file4":"1332749645","file5":"1332749648","file3":"1332749641"},"map_files_photo_id_array":[{"photo_id":"1332749648","filename":"file5"},{"photo_id":"1332749638","filename":"file2"},{"photo_id":"1332749645","filename":"file4"},{"photo_id":"1332749632","filename":"file1"},{"photo_id":"1332749606","filename":"file0"},{"photo_id":"1332749641","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332749641":["hashtag1","hashtag2"]},{"1332749638":["hashtag1","hashtag2"]},{"1332749632":["hashtag1","hashtag2"]},{"1332749645":["hashtag1","hashtag2"]},{"1332749648":["hashtag1","hashtag2"]},{"1332749606":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332749641, 1332749638, 1332749632, 1332749645, 1332749648, 1332749606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27844715118408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:45:32.624569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/19/image_29012025_15_19_54_10357.jpg', '/home/pi/Desktop/images/29012025/15/19/image_29012025_15_20_05_10402.jpg', '/home/pi/Desktop/images/29012025/15/20/image_29012025_15_20_14_9340.jpg', '/home/pi/Desktop/images/29012025/15/20/image_29012025_15_20_25_10340.jpg', '/home/pi/Desktop/images/29012025/15/20/image_29012025_15_20_35_10413.jpg', '/home/pi/Desktop/images/29012025/15/20/image_29012025_15_20_55_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/19/image_29012025_15_19_54_10357.jpg
/home/pi/Desktop/images/29012025/15/19/image_29012025_15_20_05_10402.jpg
/home/pi/Desktop/images/29012025/15/20/image_29012025_15_20_14_9340.jpg
/home/pi/Desktop/images/29012025/15/20/image_29012025_15_20_25_10340.jpg
/home/pi/Desktop/images/29012025/15/20/image_29012025_15_20_35_10413.jpg
/home/pi/Desktop/images/29012025/15/20/image_29012025_15_20_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":["1332749665","1332749682","1332749675","1332749678","1332749672","1332749669"],"photo_ids_order":["1332749665","1332749669","1332749672","1332749675","1332749678","1332749682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bba17fe2c557bfaf294491ef98680f09.jpg","text":"TemporaryFile(/tmp/multipartBody4927046826833548185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179993598,"filename":"image_29012025_15_19_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/29/4a55afe66473aa8fcdd564898f19ca2f.jpg","text":"TemporaryFile(/tmp/multipartBody8788075318110181368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179993598,"filename":"image_29012025_15_20_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/29/37ab28907f0d1cf27eb8b4f864d23389.jpg","text":"TemporaryFile(/tmp/multipartBody8038823682900340418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179993598,"filename":"image_29012025_15_20_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/29/2200f96826437d8c5a9c864d647780eb.jpg","text":"TemporaryFile(/tmp/multipartBody7027643689260950425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179993598,"filename":"image_29012025_15_20_35_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/29/5bc0abd68e9bfb1bceba65744e380de4.jpg","text":"TemporaryFile(/tmp/multipartBody2152784996510049485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179993598,"filename":"image_29012025_15_20_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/29/9dbd7fbd7f8210d057c06ff7565af85c.jpg","text":"TemporaryFile(/tmp/multipartBody1919003232826837212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738179993598,"filename":"image_29012025_15_20_05_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332749672","file1":"1332749669","file0":"1332749665","file4":"1332749678","file5":"1332749682","file3":"1332749675"},"map_files_photo_id_array":[{"photo_id":"1332749682","filename":"file5"},{"photo_id":"1332749672","filename":"file2"},{"photo_id":"1332749678","filename":"file4"},{"photo_id":"1332749669","filename":"file1"},{"photo_id":"1332749665","filename":"file0"},{"photo_id":"1332749675","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332749665":["hashtag1","hashtag2"]},{"1332749682":["hashtag1","hashtag2"]},{"1332749675":["hashtag1","hashtag2"]},{"1332749678":["hashtag1","hashtag2"]},{"1332749672":["hashtag1","hashtag2"]},{"1332749669":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332749665, 1332749682, 1332749675, 1332749678, 1332749672, 1332749669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3878128528595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:46:32.929254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/20/image_29012025_15_21_04_9386.jpg', '/home/pi/Desktop/images/29012025/15/21/image_29012025_15_21_14_10334.jpg', '/home/pi/Desktop/images/29012025/15/21/image_29012025_15_21_25_10422.jpg', '/home/pi/Desktop/images/29012025/15/21/image_29012025_15_21_34_9461.jpg', '/home/pi/Desktop/images/29012025/15/21/image_29012025_15_21_45_10347.jpg', '/home/pi/Desktop/images/29012025/15/21/image_29012025_15_21_54_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/20/image_29012025_15_21_04_9386.jpg
/home/pi/Desktop/images/29012025/15/21/image_29012025_15_21_14_10334.jpg
/home/pi/Desktop/images/29012025/15/21/image_29012025_15_21_25_10422.jpg
/home/pi/Desktop/images/29012025/15/21/image_29012025_15_21_34_9461.jpg
/home/pi/Desktop/images/29012025/15/21/image_29012025_15_21_45_10347.jpg
/home/pi/Desktop/images/29012025/15/21/image_29012025_15_21_54_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":["1332750184","1332750436","1332750433","1332750217","1332750366","1332750234"],"photo_ids_order":["1332750184","1332750217","1332750234","1332750366","1332750433","1332750436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/69c095e18efd29f1dbbd6b17b1f7226e.jpg","text":"TemporaryFile(/tmp/multipartBody2798421938000862974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180053897,"filename":"image_29012025_15_21_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/29/d0fd16587132dd700053db738fc44cce.jpg","text":"TemporaryFile(/tmp/multipartBody7260522325792611641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180053897,"filename":"image_29012025_15_21_54_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/29/6ad1b641137a5ea320acd33f33f45f27.jpg","text":"TemporaryFile(/tmp/multipartBody2624843547081337988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180053897,"filename":"image_29012025_15_21_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/29/050bab41ee6e0bd8a22d66ef76e536c0.jpg","text":"TemporaryFile(/tmp/multipartBody8076200415001262977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180053897,"filename":"image_29012025_15_21_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/29/3a54c7629b6b48b5a1d10ea0972ca960.jpg","text":"TemporaryFile(/tmp/multipartBody1067996631803742970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180053897,"filename":"image_29012025_15_21_34_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/29/071076ba8b06b1ce85f9a582be08f800.jpg","text":"TemporaryFile(/tmp/multipartBody3381502186904430495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180053897,"filename":"image_29012025_15_21_25_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332750234","file1":"1332750217","file0":"1332750184","file4":"1332750433","file5":"1332750436","file3":"1332750366"},"map_files_photo_id_array":[{"photo_id":"1332750436","filename":"file5"},{"photo_id":"1332750234","filename":"file2"},{"photo_id":"1332750433","filename":"file4"},{"photo_id":"1332750217","filename":"file1"},{"photo_id":"1332750184","filename":"file0"},{"photo_id":"1332750366","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332750184":["hashtag1","hashtag2"]},{"1332750436":["hashtag1","hashtag2"]},{"1332750433":["hashtag1","hashtag2"]},{"1332750217":["hashtag1","hashtag2"]},{"1332750366":["hashtag1","hashtag2"]},{"1332750234":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332750184, 1332750436, 1332750433, 1332750217, 1332750366, 1332750234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.758076667785645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:47:33.207621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/21/image_29012025_15_22_04_10356.jpg', '/home/pi/Desktop/images/29012025/15/22/image_29012025_15_22_15_10348.jpg', '/home/pi/Desktop/images/29012025/15/22/image_29012025_15_22_24_9440.jpg', '/home/pi/Desktop/images/29012025/15/22/image_29012025_15_22_35_10352.jpg', '/home/pi/Desktop/images/29012025/15/22/image_29012025_15_22_45_10344.jpg', '/home/pi/Desktop/images/29012025/15/22/image_29012025_15_22_54_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/21/image_29012025_15_22_04_10356.jpg
/home/pi/Desktop/images/29012025/15/22/image_29012025_15_22_15_10348.jpg
/home/pi/Desktop/images/29012025/15/22/image_29012025_15_22_24_9440.jpg
/home/pi/Desktop/images/29012025/15/22/image_29012025_15_22_35_10352.jpg
/home/pi/Desktop/images/29012025/15/22/image_29012025_15_22_45_10344.jpg
/home/pi/Desktop/images/29012025/15/22/image_29012025_15_22_54_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":["1332750521","1332750515","1332750509","1332750503","1332750519","1332750497"],"photo_ids_order":["1332750497","1332750503","1332750509","1332750515","1332750519","1332750521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e046e197ef7d6b9f7cd8e2cd93f5bebb.jpg","text":"TemporaryFile(/tmp/multipartBody5945645525340687954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180114180,"filename":"image_29012025_15_22_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/29/163ad180ae2b175fc5c64dcd0438c6a8.jpg","text":"TemporaryFile(/tmp/multipartBody2948329824941334402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180114180,"filename":"image_29012025_15_22_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/29/e46990e9986866c8945e323663e6f5cb.jpg","text":"TemporaryFile(/tmp/multipartBody1287314627365099736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180114180,"filename":"image_29012025_15_22_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/29/69fdb904fe96b528a0d940b4013d04ee.jpg","text":"TemporaryFile(/tmp/multipartBody1991036756281470652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180114180,"filename":"image_29012025_15_22_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/29/04eeeaed864884f741e02ea552a4fee3.jpg","text":"TemporaryFile(/tmp/multipartBody4978628517605848294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180114180,"filename":"image_29012025_15_22_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/29/9c958787a8936d75ff9511e5ec2439ce.jpg","text":"TemporaryFile(/tmp/multipartBody6081091134546127098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180114180,"filename":"image_29012025_15_22_04_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332750509","file1":"1332750503","file0":"1332750497","file4":"1332750519","file5":"1332750521","file3":"1332750515"},"map_files_photo_id_array":[{"photo_id":"1332750521","filename":"file5"},{"photo_id":"1332750509","filename":"file2"},{"photo_id":"1332750519","filename":"file4"},{"photo_id":"1332750503","filename":"file1"},{"photo_id":"1332750497","filename":"file0"},{"photo_id":"1332750515","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332750521":["hashtag1","hashtag2"]},{"1332750515":["hashtag1","hashtag2"]},{"1332750509":["hashtag1","hashtag2"]},{"1332750503":["hashtag1","hashtag2"]},{"1332750519":["hashtag1","hashtag2"]},{"1332750497":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332750521, 1332750515, 1332750509, 1332750503, 1332750519, 1332750497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.289011001586914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:48:32.353294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/22/image_29012025_15_23_05_10331.jpg', '/home/pi/Desktop/images/29012025/15/23/image_29012025_15_23_14_9473.jpg', '/home/pi/Desktop/images/29012025/15/23/image_29012025_15_23_24_10368.jpg', '/home/pi/Desktop/images/29012025/15/23/image_29012025_15_23_35_10348.jpg', '/home/pi/Desktop/images/29012025/15/23/image_29012025_15_23_44_9443.jpg', '/home/pi/Desktop/images/29012025/15/23/image_29012025_15_23_55_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/22/image_29012025_15_23_05_10331.jpg
/home/pi/Desktop/images/29012025/15/23/image_29012025_15_23_14_9473.jpg
/home/pi/Desktop/images/29012025/15/23/image_29012025_15_23_24_10368.jpg
/home/pi/Desktop/images/29012025/15/23/image_29012025_15_23_35_10348.jpg
/home/pi/Desktop/images/29012025/15/23/image_29012025_15_23_44_9443.jpg
/home/pi/Desktop/images/29012025/15/23/image_29012025_15_23_55_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":["1332750538","1332750546","1332750555","1332750560","1332750542","1332750551"],"photo_ids_order":["1332750538","1332750542","1332750546","1332750551","1332750555","1332750560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8e4cd2d3b4fd8ea5f9ce8fc237c08f68.jpg","text":"TemporaryFile(/tmp/multipartBody7719547614451207253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180173324,"filename":"image_29012025_15_23_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/29/61d111c316889734ea2d2a473408be99.jpg","text":"TemporaryFile(/tmp/multipartBody5957023917880196590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180173324,"filename":"image_29012025_15_23_24_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/29/fafda2fb45e6e936bbb12ecb3c721932.jpg","text":"TemporaryFile(/tmp/multipartBody1671629197480659066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180173324,"filename":"image_29012025_15_23_44_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/29/c4e615eb5a2c72d0facc11aa91154137.jpg","text":"TemporaryFile(/tmp/multipartBody2893871537641904487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180173324,"filename":"image_29012025_15_23_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/29/0c5ea4f6adc32d452c75a61d2b2fd901.jpg","text":"TemporaryFile(/tmp/multipartBody6306769086359305283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180173324,"filename":"image_29012025_15_23_14_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/29/6e1e35742a30e552b9fa843807facf41.jpg","text":"TemporaryFile(/tmp/multipartBody8584835100188613767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180173324,"filename":"image_29012025_15_23_35_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332750546","file1":"1332750542","file0":"1332750538","file4":"1332750555","file5":"1332750560","file3":"1332750551"},"map_files_photo_id_array":[{"photo_id":"1332750560","filename":"file5"},{"photo_id":"1332750546","filename":"file2"},{"photo_id":"1332750555","filename":"file4"},{"photo_id":"1332750542","filename":"file1"},{"photo_id":"1332750538","filename":"file0"},{"photo_id":"1332750551","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332750538":["hashtag1","hashtag2"]},{"1332750546":["hashtag1","hashtag2"]},{"1332750555":["hashtag1","hashtag2"]},{"1332750560":["hashtag1","hashtag2"]},{"1332750542":["hashtag1","hashtag2"]},{"1332750551":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332750538, 1332750546, 1332750555, 1332750560, 1332750542, 1332750551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.92075848579407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:49:32.734355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/23/image_29012025_15_24_04_9321.jpg', '/home/pi/Desktop/images/29012025/15/24/image_29012025_15_24_14_10376.jpg', '/home/pi/Desktop/images/29012025/15/24/image_29012025_15_24_25_10335.jpg', '/home/pi/Desktop/images/29012025/15/24/image_29012025_15_24_34_9475.jpg', '/home/pi/Desktop/images/29012025/15/24/image_29012025_15_24_44_10350.jpg', '/home/pi/Desktop/images/29012025/15/24/image_29012025_15_24_55_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/23/image_29012025_15_24_04_9321.jpg
/home/pi/Desktop/images/29012025/15/24/image_29012025_15_24_14_10376.jpg
/home/pi/Desktop/images/29012025/15/24/image_29012025_15_24_25_10335.jpg
/home/pi/Desktop/images/29012025/15/24/image_29012025_15_24_34_9475.jpg
/home/pi/Desktop/images/29012025/15/24/image_29012025_15_24_44_10350.jpg
/home/pi/Desktop/images/29012025/15/24/image_29012025_15_24_55_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":["1332750608","1332750604","1332750597","1332750645","1332750593","1332750611"],"photo_ids_order":["1332750593","1332750597","1332750604","1332750608","1332750611","1332750645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/45f1914b5bcab9ef1e18790adc2b3782.jpg","text":"TemporaryFile(/tmp/multipartBody5382922650177292771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180233706,"filename":"image_29012025_15_24_34_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/29/90a463f3f50f66e1c2c9dd08f3456b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5799407149980608654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180233706,"filename":"image_29012025_15_24_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/29/e29d33ad441490f7f04759ae1f8b7204.jpg","text":"TemporaryFile(/tmp/multipartBody3416331639608306734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180233706,"filename":"image_29012025_15_24_14_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/29/4eae0b80bb2de8bdc301024dcc5655f3.jpg","text":"TemporaryFile(/tmp/multipartBody2316273451233827687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180233706,"filename":"image_29012025_15_24_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/29/867b8446ec9cfbeaea1b04a48f0214cf.jpg","text":"TemporaryFile(/tmp/multipartBody7052752987343070256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180233706,"filename":"image_29012025_15_24_04_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/29/7e711249ad5355c89fdd97f691c9f0f5.jpg","text":"TemporaryFile(/tmp/multipartBody4945468905563069784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180233706,"filename":"image_29012025_15_24_44_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332750604","file1":"1332750597","file0":"1332750593","file4":"1332750611","file5":"1332750645","file3":"1332750608"},"map_files_photo_id_array":[{"photo_id":"1332750645","filename":"file5"},{"photo_id":"1332750604","filename":"file2"},{"photo_id":"1332750611","filename":"file4"},{"photo_id":"1332750597","filename":"file1"},{"photo_id":"1332750593","filename":"file0"},{"photo_id":"1332750608","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332750608":["hashtag1","hashtag2"]},{"1332750604":["hashtag1","hashtag2"]},{"1332750597":["hashtag1","hashtag2"]},{"1332750645":["hashtag1","hashtag2"]},{"1332750593":["hashtag1","hashtag2"]},{"1332750611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332750608, 1332750604, 1332750597, 1332750645, 1332750593, 1332750611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.060790061950684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:50:32.921136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/24/image_29012025_15_25_04_9465.jpg', '/home/pi/Desktop/images/29012025/15/25/image_29012025_15_25_15_10366.jpg', '/home/pi/Desktop/images/29012025/15/25/image_29012025_15_25_24_9391.jpg', '/home/pi/Desktop/images/29012025/15/25/image_29012025_15_25_34_10362.jpg', '/home/pi/Desktop/images/29012025/15/25/image_29012025_15_25_45_10331.jpg', '/home/pi/Desktop/images/29012025/15/25/image_29012025_15_25_54_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/24/image_29012025_15_25_04_9465.jpg
/home/pi/Desktop/images/29012025/15/25/image_29012025_15_25_15_10366.jpg
/home/pi/Desktop/images/29012025/15/25/image_29012025_15_25_24_9391.jpg
/home/pi/Desktop/images/29012025/15/25/image_29012025_15_25_34_10362.jpg
/home/pi/Desktop/images/29012025/15/25/image_29012025_15_25_45_10331.jpg
/home/pi/Desktop/images/29012025/15/25/image_29012025_15_25_54_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":["1332750745","1332750739","1332750730","1332750735","1332750749","1332750725"],"photo_ids_order":["1332750725","1332750730","1332750735","1332750739","1332750745","1332750749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/74acedd3ff1c5cffca2c2dfc6d5eb37f.jpg","text":"TemporaryFile(/tmp/multipartBody535432413891362320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180293901,"filename":"image_29012025_15_25_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/29/c30cb32e98fb761483a073acae05fa7d.jpg","text":"TemporaryFile(/tmp/multipartBody6432840880441479170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180293901,"filename":"image_29012025_15_25_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/29/f5878edc6d3380ac200cd2f1767f93f4.jpg","text":"TemporaryFile(/tmp/multipartBody6178902273221696681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180293901,"filename":"image_29012025_15_25_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/29/4e470d3eec4adcc63b312475fee8c915.jpg","text":"TemporaryFile(/tmp/multipartBody5392437785041381129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180293901,"filename":"image_29012025_15_25_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/29/fcd715b9cc401c15ecc848ed521f02aa.jpg","text":"TemporaryFile(/tmp/multipartBody6286653294602715479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180293901,"filename":"image_29012025_15_25_54_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/29/5ba31e79efbed2aa228cd274de452d55.jpg","text":"TemporaryFile(/tmp/multipartBody6290480582795365973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180293901,"filename":"image_29012025_15_25_04_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332750735","file1":"1332750730","file0":"1332750725","file4":"1332750745","file5":"1332750749","file3":"1332750739"},"map_files_photo_id_array":[{"photo_id":"1332750749","filename":"file5"},{"photo_id":"1332750735","filename":"file2"},{"photo_id":"1332750745","filename":"file4"},{"photo_id":"1332750730","filename":"file1"},{"photo_id":"1332750725","filename":"file0"},{"photo_id":"1332750739","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332750745":["hashtag1","hashtag2"]},{"1332750739":["hashtag1","hashtag2"]},{"1332750730":["hashtag1","hashtag2"]},{"1332750735":["hashtag1","hashtag2"]},{"1332750749":["hashtag1","hashtag2"]},{"1332750725":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332750745, 1332750739, 1332750730, 1332750735, 1332750749, 1332750725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58705759048462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:51:33.184832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/25/image_29012025_15_26_04_10350.jpg', '/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_15_10349.jpg', '/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_34_10332.jpg', '/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_45_10341.jpg', '/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_54_9424.jpg', '/home/pi/Desktop/images/29012025/15/26/image_29012025_15_27_05_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/25/image_29012025_15_26_04_10350.jpg
/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_15_10349.jpg
/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_34_10332.jpg
/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_45_10341.jpg
/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_54_9424.jpg
/home/pi/Desktop/images/29012025/15/26/image_29012025_15_27_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.6015572547912598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 20:51:43.075226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/25/image_29012025_15_26_04_10350.jpg', '/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_15_10349.jpg', '/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_34_10332.jpg', '/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_45_10341.jpg', '/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_54_9424.jpg', '/home/pi/Desktop/images/29012025/15/26/image_29012025_15_27_05_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/25/image_29012025_15_26_04_10350.jpg
/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_15_10349.jpg
/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_34_10332.jpg
/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_45_10341.jpg
/home/pi/Desktop/images/29012025/15/26/image_29012025_15_26_54_9424.jpg
/home/pi/Desktop/images/29012025/15/26/image_29012025_15_27_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":["1332751090","1332751066","1332751000","1332751016","1332751087","1332751081"],"photo_ids_order":["1332751000","1332751016","1332751066","1332751081","1332751087","1332751090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dccdecbda4351663bfd6896b0594cd29.jpg","text":"TemporaryFile(/tmp/multipartBody7626578699782624563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180363977,"filename":"image_29012025_15_27_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/29/9a092b9cd520ecec450fb714b0ac1860.jpg","text":"TemporaryFile(/tmp/multipartBody4854164519656955983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180363977,"filename":"image_29012025_15_26_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/29/c9fb64d1f75f78283473418c99a40066.jpg","text":"TemporaryFile(/tmp/multipartBody420649352890226282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180363977,"filename":"image_29012025_15_26_04_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/29/7e17d7aeb83950db9e76ea38d50b53a4.jpg","text":"TemporaryFile(/tmp/multipartBody9155817960251836922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180363977,"filename":"image_29012025_15_26_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/29/8c7427d5491cfd1cef50725cea51a4d7.jpg","text":"TemporaryFile(/tmp/multipartBody2247926051459302231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180363977,"filename":"image_29012025_15_26_54_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/29/03a5273fdd2cb693d3b7fd2d7f6420bb.jpg","text":"TemporaryFile(/tmp/multipartBody2741377026109820305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180363977,"filename":"image_29012025_15_26_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332751066","file1":"1332751016","file0":"1332751000","file4":"1332751087","file5":"1332751090","file3":"1332751081"},"map_files_photo_id_array":[{"photo_id":"1332751090","filename":"file5"},{"photo_id":"1332751066","filename":"file2"},{"photo_id":"1332751087","filename":"file4"},{"photo_id":"1332751016","filename":"file1"},{"photo_id":"1332751000","filename":"file0"},{"photo_id":"1332751081","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332751090":["hashtag1","hashtag2"]},{"1332751066":["hashtag1","hashtag2"]},{"1332751000":["hashtag1","hashtag2"]},{"1332751016":["hashtag1","hashtag2"]},{"1332751087":["hashtag1","hashtag2"]},{"1332751081":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332751090, 1332751066, 1332751000, 1332751016, 1332751087, 1332751081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.297139167785645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:52:32.404876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/27/image_29012025_15_27_14_9475.jpg', '/home/pi/Desktop/images/29012025/15/27/image_29012025_15_27_35_10407.jpg', '/home/pi/Desktop/images/29012025/15/27/image_29012025_15_27_44_9348.jpg', '/home/pi/Desktop/images/29012025/15/27/image_29012025_15_28_04_9470.jpg', '/home/pi/Desktop/images/29012025/15/28/image_29012025_15_28_14_10415.jpg', '/home/pi/Desktop/images/29012025/15/28/image_29012025_15_28_25_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/27/image_29012025_15_27_14_9475.jpg
/home/pi/Desktop/images/29012025/15/27/image_29012025_15_27_35_10407.jpg
/home/pi/Desktop/images/29012025/15/27/image_29012025_15_27_44_9348.jpg
/home/pi/Desktop/images/29012025/15/27/image_29012025_15_28_04_9470.jpg
/home/pi/Desktop/images/29012025/15/28/image_29012025_15_28_14_10415.jpg
/home/pi/Desktop/images/29012025/15/28/image_29012025_15_28_25_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":["1332751405","1332751386","1332751419","1332751412","1332751483","1332751415"],"photo_ids_order":["1332751386","1332751405","1332751412","1332751415","1332751419","1332751483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8c37ff66165e1afa84be1466476ffd74.jpg","text":"TemporaryFile(/tmp/multipartBody3312255266296213384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180413425,"filename":"image_29012025_15_27_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/29/4d84053b772f8d53f38bdbeabfe059cd.jpg","text":"TemporaryFile(/tmp/multipartBody3730830356528039009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180413425,"filename":"image_29012025_15_27_14_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/29/c52421c63b4e49233aa2958aeb78086e.jpg","text":"TemporaryFile(/tmp/multipartBody7838546776152008982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180413425,"filename":"image_29012025_15_28_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/29/a2645cd35801a06f455540cf5b75191d.jpg","text":"TemporaryFile(/tmp/multipartBody5845999573097090749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180413425,"filename":"image_29012025_15_27_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/29/c9552c93a78f973e7abbd4c413cbac34.jpg","text":"TemporaryFile(/tmp/multipartBody3666414339824209622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180413425,"filename":"image_29012025_15_28_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/29/4f162721ac6d249801a6f0a87051c7ee.jpg","text":"TemporaryFile(/tmp/multipartBody3958770603524664536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180413425,"filename":"image_29012025_15_28_04_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332751412","file1":"1332751405","file0":"1332751386","file4":"1332751419","file5":"1332751483","file3":"1332751415"},"map_files_photo_id_array":[{"photo_id":"1332751483","filename":"file5"},{"photo_id":"1332751412","filename":"file2"},{"photo_id":"1332751419","filename":"file4"},{"photo_id":"1332751405","filename":"file1"},{"photo_id":"1332751386","filename":"file0"},{"photo_id":"1332751415","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332751405":["hashtag1","hashtag2"]},{"1332751386":["hashtag1","hashtag2"]},{"1332751419":["hashtag1","hashtag2"]},{"1332751412":["hashtag1","hashtag2"]},{"1332751483":["hashtag1","hashtag2"]},{"1332751415":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332751405, 1332751386, 1332751419, 1332751412, 1332751483, 1332751415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.96515655517578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:53:32.656439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/28/image_29012025_15_28_45_10331.jpg', '/home/pi/Desktop/images/29012025/15/28/image_29012025_15_28_55_10348.jpg', '/home/pi/Desktop/images/29012025/15/28/image_29012025_15_29_04_9349.jpg', '/home/pi/Desktop/images/29012025/15/29/image_29012025_15_29_24_9417.jpg', '/home/pi/Desktop/images/29012025/15/29/image_29012025_15_29_45_10335.jpg', '/home/pi/Desktop/images/29012025/15/29/image_29012025_15_29_54_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/28/image_29012025_15_28_45_10331.jpg
/home/pi/Desktop/images/29012025/15/28/image_29012025_15_28_55_10348.jpg
/home/pi/Desktop/images/29012025/15/28/image_29012025_15_29_04_9349.jpg
/home/pi/Desktop/images/29012025/15/29/image_29012025_15_29_24_9417.jpg
/home/pi/Desktop/images/29012025/15/29/image_29012025_15_29_45_10335.jpg
/home/pi/Desktop/images/29012025/15/29/image_29012025_15_29_54_9424.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":["1332751561","1332751557","1332751566","1332751571","1332751553","1332751547"],"photo_ids_order":["1332751547","1332751553","1332751557","1332751561","1332751566","1332751571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1a1e650bc189ba0dc01c03c8521fac62.jpg","text":"TemporaryFile(/tmp/multipartBody8617017480632110113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180476185,"filename":"image_29012025_15_29_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/29/c4cb91f317ebeb035d738a37a17b58d0.jpg","text":"TemporaryFile(/tmp/multipartBody6288515251594978999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180476185,"filename":"image_29012025_15_29_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/29/69b5656d77ee05c21998ed4760c9f603.jpg","text":"TemporaryFile(/tmp/multipartBody7840428204466445101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180476185,"filename":"image_29012025_15_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/29/fd34ea1d85fdd9584a797611ee97f703.jpg","text":"TemporaryFile(/tmp/multipartBody976768968171503877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180476185,"filename":"image_29012025_15_29_54_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/29/ec3df80884d6db3bec35cee612c68725.jpg","text":"TemporaryFile(/tmp/multipartBody6665674079600351783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180476185,"filename":"image_29012025_15_28_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/29/ef2ca468ed90a2b577654531647b4333.jpg","text":"TemporaryFile(/tmp/multipartBody7427579076941459202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180476185,"filename":"image_29012025_15_28_45_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332751557","file1":"1332751553","file0":"1332751547","file4":"1332751566","file5":"1332751571","file3":"1332751561"},"map_files_photo_id_array":[{"photo_id":"1332751571","filename":"file5"},{"photo_id":"1332751557","filename":"file2"},{"photo_id":"1332751566","filename":"file4"},{"photo_id":"1332751553","filename":"file1"},{"photo_id":"1332751547","filename":"file0"},{"photo_id":"1332751561","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332751561":["hashtag1","hashtag2"]},{"1332751557":["hashtag1","hashtag2"]},{"1332751566":["hashtag1","hashtag2"]},{"1332751571":["hashtag1","hashtag2"]},{"1332751553":["hashtag1","hashtag2"]},{"1332751547":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332751561, 1332751557, 1332751566, 1332751571, 1332751553, 1332751547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.53826355934143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:54:52.916243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/29/image_29012025_15_30_05_10384.jpg', '/home/pi/Desktop/images/29012025/15/30/image_29012025_15_30_14_9333.jpg', '/home/pi/Desktop/images/29012025/15/30/image_29012025_15_30_24_10419.jpg', '/home/pi/Desktop/images/29012025/15/30/image_29012025_15_30_35_10353.jpg', '/home/pi/Desktop/images/29012025/15/30/image_29012025_15_30_44_9460.jpg', '/home/pi/Desktop/images/29012025/15/30/image_29012025_15_30_55_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/29/image_29012025_15_30_05_10384.jpg
/home/pi/Desktop/images/29012025/15/30/image_29012025_15_30_14_9333.jpg
/home/pi/Desktop/images/29012025/15/30/image_29012025_15_30_24_10419.jpg
/home/pi/Desktop/images/29012025/15/30/image_29012025_15_30_35_10353.jpg
/home/pi/Desktop/images/29012025/15/30/image_29012025_15_30_44_9460.jpg
/home/pi/Desktop/images/29012025/15/30/image_29012025_15_30_55_10359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332751609","1332751596","1332751589","1332751631","1332751604","1332751607"],"photo_ids_order":["1332751589","1332751596","1332751604","1332751607","1332751609","1332751631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5b12d506e53c6757e109fa74da66b2a4.jpg","text":"TemporaryFile(/tmp/multipartBody7316975662194337448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180553882,"filename":"image_29012025_15_30_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/29/9ba4db9d710700a3623ef95334c4df46.jpg","text":"TemporaryFile(/tmp/multipartBody1178788470913991918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180553882,"filename":"image_29012025_15_30_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/29/6548969d2d86370e24737831d8cf7c4c.jpg","text":"TemporaryFile(/tmp/multipartBody7265776573001818816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180553882,"filename":"image_29012025_15_30_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/29/c15343a752eef27a3b52e8b1113e7d21.jpg","text":"TemporaryFile(/tmp/multipartBody8962554311163061855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180553882,"filename":"image_29012025_15_30_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/29/b38879fb37cc709a5e984ddeb2767bbb.jpg","text":"TemporaryFile(/tmp/multipartBody9120297883157171838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180553882,"filename":"image_29012025_15_30_24_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/29/989d4dcb08498823df330e2152c245a8.jpg","text":"TemporaryFile(/tmp/multipartBody3863173207703760272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180553882,"filename":"image_29012025_15_30_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332751604","file1":"1332751596","file0":"1332751589","file4":"1332751609","file5":"1332751631","file3":"1332751607"},"map_files_photo_id_array":[{"photo_id":"1332751631","filename":"file5"},{"photo_id":"1332751604","filename":"file2"},{"photo_id":"1332751609","filename":"file4"},{"photo_id":"1332751596","filename":"file1"},{"photo_id":"1332751589","filename":"file0"},{"photo_id":"1332751607","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332751609":["hashtag1","hashtag2"]},{"1332751596":["hashtag1","hashtag2"]},{"1332751589":["hashtag1","hashtag2"]},{"1332751631":["hashtag1","hashtag2"]},{"1332751604":["hashtag1","hashtag2"]},{"1332751607":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332751609, 1332751596, 1332751589, 1332751631, 1332751604, 1332751607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95548439025879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:55:33.098128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/30/image_29012025_15_31_05_10354.jpg', '/home/pi/Desktop/images/29012025/15/31/image_29012025_15_31_14_9338.jpg', '/home/pi/Desktop/images/29012025/15/31/image_29012025_15_31_25_10361.jpg', '/home/pi/Desktop/images/29012025/15/31/image_29012025_15_31_34_9344.jpg', '/home/pi/Desktop/images/29012025/15/31/image_29012025_15_31_44_10343.jpg', '/home/pi/Desktop/images/29012025/15/31/image_29012025_15_31_55_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/30/image_29012025_15_31_05_10354.jpg
/home/pi/Desktop/images/29012025/15/31/image_29012025_15_31_14_9338.jpg
/home/pi/Desktop/images/29012025/15/31/image_29012025_15_31_25_10361.jpg
/home/pi/Desktop/images/29012025/15/31/image_29012025_15_31_34_9344.jpg
/home/pi/Desktop/images/29012025/15/31/image_29012025_15_31_44_10343.jpg
/home/pi/Desktop/images/29012025/15/31/image_29012025_15_31_55_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":["1332751732","1332751686","1332751728","1332751709","1332751675","1332751684"],"photo_ids_order":["1332751675","1332751684","1332751686","1332751709","1332751728","1332751732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3d8359d1f25a1cede9fe5b7ac39e704b.jpg","text":"TemporaryFile(/tmp/multipartBody4855540889659453592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180594074,"filename":"image_29012025_15_31_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/29/14264a7a80f03c26e3408fb0640c841c.jpg","text":"TemporaryFile(/tmp/multipartBody7637479540841320593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180594074,"filename":"image_29012025_15_31_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/29/c9e8981f5ab5b99b59d48024560b533b.jpg","text":"TemporaryFile(/tmp/multipartBody8160208842075993886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180594074,"filename":"image_29012025_15_31_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/29/b682eb22022c84a00b4f7bf9b48163f5.jpg","text":"TemporaryFile(/tmp/multipartBody9158859952227981909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180594074,"filename":"image_29012025_15_31_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/29/bb0fb79c1068d6810ddfcbbe8064aeea.jpg","text":"TemporaryFile(/tmp/multipartBody1620363450021255997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180594074,"filename":"image_29012025_15_31_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/29/53203dbc6814a94aec308a3de2575a61.jpg","text":"TemporaryFile(/tmp/multipartBody982668670252814670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180594074,"filename":"image_29012025_15_31_14_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332751686","file1":"1332751684","file0":"1332751675","file4":"1332751728","file5":"1332751732","file3":"1332751709"},"map_files_photo_id_array":[{"photo_id":"1332751732","filename":"file5"},{"photo_id":"1332751686","filename":"file2"},{"photo_id":"1332751728","filename":"file4"},{"photo_id":"1332751684","filename":"file1"},{"photo_id":"1332751675","filename":"file0"},{"photo_id":"1332751709","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332751732":["hashtag1","hashtag2"]},{"1332751686":["hashtag1","hashtag2"]},{"1332751728":["hashtag1","hashtag2"]},{"1332751709":["hashtag1","hashtag2"]},{"1332751675":["hashtag1","hashtag2"]},{"1332751684":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332751732, 1332751686, 1332751728, 1332751709, 1332751675, 1332751684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9592707157135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:56:32.408642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_15_10339.jpg', '/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_25_10336.jpg', '/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_34_9331.jpg', '/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_45_10414.jpg', '/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_54_9423.jpg', '/home/pi/Desktop/images/29012025/15/32/image_29012025_15_33_04_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_15_10339.jpg
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_25_10336.jpg
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_34_9331.jpg
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_45_10414.jpg
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_54_9423.jpg
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_33_04_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.5787973403930664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 20:56:42.387773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_15_10339.jpg', '/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_25_10336.jpg', '/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_34_9331.jpg', '/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_45_10414.jpg', '/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_54_9423.jpg', '/home/pi/Desktop/images/29012025/15/32/image_29012025_15_33_04_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_15_10339.jpg
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_25_10336.jpg
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_34_9331.jpg
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_45_10414.jpg
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_32_54_9423.jpg
/home/pi/Desktop/images/29012025/15/32/image_29012025_15_33_04_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":["1332751843","1332751849","1332751840","1332751872","1332751845","1332751853"],"photo_ids_order":["1332751840","1332751843","1332751845","1332751849","1332751853","1332751872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2cec9d5809987e587cedb9557699303b.jpg","text":"TemporaryFile(/tmp/multipartBody5503763674179094634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180663297,"filename":"image_29012025_15_32_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/29/0ce288d03defef348f41147483b6b113.jpg","text":"TemporaryFile(/tmp/multipartBody7644187938180627090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180663297,"filename":"image_29012025_15_32_45_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/29/dd8abe9305b5c2010da9c5a95923b701.jpg","text":"TemporaryFile(/tmp/multipartBody6769176640473111377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180663297,"filename":"image_29012025_15_32_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/29/8a8c593cd97253aab43331ee7f17faab.jpg","text":"TemporaryFile(/tmp/multipartBody6429809474019755445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180663297,"filename":"image_29012025_15_33_04_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/29/bb215245223c004fdb651753c998bc05.jpg","text":"TemporaryFile(/tmp/multipartBody7747017110834774104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180663297,"filename":"image_29012025_15_32_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/29/f3c890d750a84ae8b83362b5bc22d747.jpg","text":"TemporaryFile(/tmp/multipartBody3642642459306581856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180663297,"filename":"image_29012025_15_32_54_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332751845","file1":"1332751843","file0":"1332751840","file4":"1332751853","file5":"1332751872","file3":"1332751849"},"map_files_photo_id_array":[{"photo_id":"1332751872","filename":"file5"},{"photo_id":"1332751845","filename":"file2"},{"photo_id":"1332751853","filename":"file4"},{"photo_id":"1332751843","filename":"file1"},{"photo_id":"1332751840","filename":"file0"},{"photo_id":"1332751849","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332751843":["hashtag1","hashtag2"]},{"1332751849":["hashtag1","hashtag2"]},{"1332751840":["hashtag1","hashtag2"]},{"1332751872":["hashtag1","hashtag2"]},{"1332751845":["hashtag1","hashtag2"]},{"1332751853":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332751843, 1332751849, 1332751840, 1332751872, 1332751845, 1332751853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.197455167770386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:57:32.647145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_15_10463.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_24_9419.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_35_10351.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_44_9412.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_54_10365.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_34_05_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_15_10463.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_24_9419.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_35_10351.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_44_9412.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_54_10365.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_34_05_10326.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-29 20:59:03.866226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_15_10463.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_24_9419.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_35_10351.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_44_9412.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_54_10365.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_34_05_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_15_10463.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_24_9419.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_35_10351.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_44_9412.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_54_10365.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_34_05_10326.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.6779575347900391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 20:59:32.291561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_15_10463.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_24_9419.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_35_10351.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_44_9412.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_54_10365.jpg', '/home/pi/Desktop/images/29012025/15/33/image_29012025_15_34_05_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_15_10463.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_24_9419.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_35_10351.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_44_9412.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_33_54_10365.jpg
/home/pi/Desktop/images/29012025/15/33/image_29012025_15_34_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":["1332752778","1332752532","1332752696","1332752783","1332752786","1332752611"],"photo_ids_order":["1332752532","1332752611","1332752696","1332752778","1332752783","1332752786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2ace4cb368e77dc7af541e64a2505c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5065039760452336564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180833182,"filename":"image_29012025_15_33_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/29/f1318010e9d870abc5c9275f6e21bc1f.jpg","text":"TemporaryFile(/tmp/multipartBody503663287377323206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180833182,"filename":"image_29012025_15_33_15_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/29/ef85c745aa7aab352de6b44a7ceca571.jpg","text":"TemporaryFile(/tmp/multipartBody4770725355114217408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180833182,"filename":"image_29012025_15_33_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/29/c0c66adafb9d535ddb54175872222917.jpg","text":"TemporaryFile(/tmp/multipartBody1674180488950328710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180833182,"filename":"image_29012025_15_33_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/29/23364b88a19166466db70c241ef5b9c5.jpg","text":"TemporaryFile(/tmp/multipartBody2419471181686071052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180833182,"filename":"image_29012025_15_34_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/29/e0242a9b696c246ffac347fedf640e92.jpg","text":"TemporaryFile(/tmp/multipartBody4003262021768691690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180833182,"filename":"image_29012025_15_33_24_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332752696","file1":"1332752611","file0":"1332752532","file4":"1332752783","file5":"1332752786","file3":"1332752778"},"map_files_photo_id_array":[{"photo_id":"1332752786","filename":"file5"},{"photo_id":"1332752696","filename":"file2"},{"photo_id":"1332752783","filename":"file4"},{"photo_id":"1332752611","filename":"file1"},{"photo_id":"1332752532","filename":"file0"},{"photo_id":"1332752778","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332752778":["hashtag1","hashtag2"]},{"1332752532":["hashtag1","hashtag2"]},{"1332752696":["hashtag1","hashtag2"]},{"1332752783":["hashtag1","hashtag2"]},{"1332752786":["hashtag1","hashtag2"]},{"1332752611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332752778, 1332752532, 1332752696, 1332752783, 1332752786, 1332752611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.295210123062134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:00:32.569554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/34/image_29012025_15_34_14_9350.jpg', '/home/pi/Desktop/images/29012025/15/34/image_29012025_15_34_24_10339.jpg', '/home/pi/Desktop/images/29012025/15/34/image_29012025_15_34_35_10334.jpg', '/home/pi/Desktop/images/29012025/15/34/image_29012025_15_34_44_9438.jpg', '/home/pi/Desktop/images/29012025/15/34/image_29012025_15_35_04_9382.jpg', '/home/pi/Desktop/images/29012025/15/35/image_29012025_15_35_14_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/34/image_29012025_15_34_14_9350.jpg
/home/pi/Desktop/images/29012025/15/34/image_29012025_15_34_24_10339.jpg
/home/pi/Desktop/images/29012025/15/34/image_29012025_15_34_35_10334.jpg
/home/pi/Desktop/images/29012025/15/34/image_29012025_15_34_44_9438.jpg
/home/pi/Desktop/images/29012025/15/34/image_29012025_15_35_04_9382.jpg
/home/pi/Desktop/images/29012025/15/35/image_29012025_15_35_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":["1332753147","1332753094","1332753091","1332753151","1332753124","1332753087"],"photo_ids_order":["1332753087","1332753091","1332753094","1332753124","1332753147","1332753151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2e7b415ff220764f1b6904d6272d3ce9.jpg","text":"TemporaryFile(/tmp/multipartBody4405804218515252035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180893529,"filename":"image_29012025_15_35_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/29/f2241179797ef883798819b2b553b109.jpg","text":"TemporaryFile(/tmp/multipartBody5626153026422062035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180893529,"filename":"image_29012025_15_34_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/29/64b65470594b0788748b51937d56f48b.jpg","text":"TemporaryFile(/tmp/multipartBody7072707198271351347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180893529,"filename":"image_29012025_15_34_24_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/29/67487da57cbde080c141edf817988ff3.jpg","text":"TemporaryFile(/tmp/multipartBody8423588766288254395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180893529,"filename":"image_29012025_15_35_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/29/51687c74aebafa01765b601ebce0fefb.jpg","text":"TemporaryFile(/tmp/multipartBody6081784547586271394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180893529,"filename":"image_29012025_15_34_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/29/cf7396cc8c7ec1b2cdbd69d1a8e05c27.jpg","text":"TemporaryFile(/tmp/multipartBody5913628335683938780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180893529,"filename":"image_29012025_15_34_14_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332753094","file1":"1332753091","file0":"1332753087","file4":"1332753147","file5":"1332753151","file3":"1332753124"},"map_files_photo_id_array":[{"photo_id":"1332753151","filename":"file5"},{"photo_id":"1332753094","filename":"file2"},{"photo_id":"1332753147","filename":"file4"},{"photo_id":"1332753091","filename":"file1"},{"photo_id":"1332753087","filename":"file0"},{"photo_id":"1332753124","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332753147":["hashtag1","hashtag2"]},{"1332753094":["hashtag1","hashtag2"]},{"1332753091":["hashtag1","hashtag2"]},{"1332753151":["hashtag1","hashtag2"]},{"1332753124":["hashtag1","hashtag2"]},{"1332753087":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332753147, 1332753094, 1332753091, 1332753151, 1332753124, 1332753087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.866567611694336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:01:32.701658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/35/image_29012025_15_35_25_10361.jpg', '/home/pi/Desktop/images/29012025/15/35/image_29012025_15_35_34_9448.jpg', '/home/pi/Desktop/images/29012025/15/35/image_29012025_15_35_45_10354.jpg', '/home/pi/Desktop/images/29012025/15/35/image_29012025_15_35_55_10346.jpg', '/home/pi/Desktop/images/29012025/15/35/image_29012025_15_36_04_9339.jpg', '/home/pi/Desktop/images/29012025/15/36/image_29012025_15_36_15_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/35/image_29012025_15_35_25_10361.jpg
/home/pi/Desktop/images/29012025/15/35/image_29012025_15_35_34_9448.jpg
/home/pi/Desktop/images/29012025/15/35/image_29012025_15_35_45_10354.jpg
/home/pi/Desktop/images/29012025/15/35/image_29012025_15_35_55_10346.jpg
/home/pi/Desktop/images/29012025/15/35/image_29012025_15_36_04_9339.jpg
/home/pi/Desktop/images/29012025/15/36/image_29012025_15_36_15_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":["1332753348","1332753590","1332753586","1332753238","1332753235","1332753520"],"photo_ids_order":["1332753235","1332753238","1332753348","1332753520","1332753586","1332753590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/394ab083808b4816a51371799ddff148.jpg","text":"TemporaryFile(/tmp/multipartBody6564304004900552428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180953688,"filename":"image_29012025_15_35_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/29/ec1b4372eb7729cd0978256d229624b8.jpg","text":"TemporaryFile(/tmp/multipartBody7036028910926256366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180953688,"filename":"image_29012025_15_36_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/29/388fb9de577e29b6aa7618008f2163c0.jpg","text":"TemporaryFile(/tmp/multipartBody4901031627667098195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180953688,"filename":"image_29012025_15_36_04_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/29/8f40fa1200f890362ef3f58f632c1c32.jpg","text":"TemporaryFile(/tmp/multipartBody2564573989448386033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180953688,"filename":"image_29012025_15_35_34_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/29/6d704b5bcec2d63761d84970748a4613.jpg","text":"TemporaryFile(/tmp/multipartBody4615241033629690911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180953688,"filename":"image_29012025_15_35_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/29/0e841ef654bcf52191bf0a1c212f512c.jpg","text":"TemporaryFile(/tmp/multipartBody8520301139485108848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738180953688,"filename":"image_29012025_15_35_55_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332753348","file1":"1332753238","file0":"1332753235","file4":"1332753586","file5":"1332753590","file3":"1332753520"},"map_files_photo_id_array":[{"photo_id":"1332753590","filename":"file5"},{"photo_id":"1332753348","filename":"file2"},{"photo_id":"1332753586","filename":"file4"},{"photo_id":"1332753238","filename":"file1"},{"photo_id":"1332753235","filename":"file0"},{"photo_id":"1332753520","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332753348":["hashtag1","hashtag2"]},{"1332753590":["hashtag1","hashtag2"]},{"1332753586":["hashtag1","hashtag2"]},{"1332753238":["hashtag1","hashtag2"]},{"1332753235":["hashtag1","hashtag2"]},{"1332753520":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332753348, 1332753590, 1332753586, 1332753238, 1332753235, 1332753520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17708373069763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:02:33.064676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/36/image_29012025_15_36_24_9405.jpg', '/home/pi/Desktop/images/29012025/15/36/image_29012025_15_36_34_10358.jpg', '/home/pi/Desktop/images/29012025/15/36/image_29012025_15_36_45_10356.jpg', '/home/pi/Desktop/images/29012025/15/36/image_29012025_15_36_54_9428.jpg', '/home/pi/Desktop/images/29012025/15/36/image_29012025_15_37_05_10418.jpg', '/home/pi/Desktop/images/29012025/15/37/image_29012025_15_37_14_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/36/image_29012025_15_36_24_9405.jpg
/home/pi/Desktop/images/29012025/15/36/image_29012025_15_36_34_10358.jpg
/home/pi/Desktop/images/29012025/15/36/image_29012025_15_36_45_10356.jpg
/home/pi/Desktop/images/29012025/15/36/image_29012025_15_36_54_9428.jpg
/home/pi/Desktop/images/29012025/15/36/image_29012025_15_37_05_10418.jpg
/home/pi/Desktop/images/29012025/15/37/image_29012025_15_37_14_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":["1332753866","1332753764","1332753746","1332753769","1332753873","1332753811"],"photo_ids_order":["1332753746","1332753764","1332753769","1332753811","1332753866","1332753873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c3aca5b5a9be55fba1a9239baa6193a9.jpg","text":"TemporaryFile(/tmp/multipartBody4658214946674202587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181014050,"filename":"image_29012025_15_37_05_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/29/2057785c4d1c568636a75f828882b811.jpg","text":"TemporaryFile(/tmp/multipartBody401612265717852419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181014050,"filename":"image_29012025_15_36_34_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/29/ad72b2caf252435d1663f6a9b669daf7.jpg","text":"TemporaryFile(/tmp/multipartBody9099339483990950314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181014050,"filename":"image_29012025_15_36_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/29/f884d9b3d51937fa41bdc627f420b26b.jpg","text":"TemporaryFile(/tmp/multipartBody4514904271683138113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181014050,"filename":"image_29012025_15_36_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/29/20b840d27d4d836cdebb5a2f24ee6fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2510538910473584955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181014050,"filename":"image_29012025_15_37_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/29/d58499c04fdb4fa775a3b83e38077c25.jpg","text":"TemporaryFile(/tmp/multipartBody1722641523431702765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181014050,"filename":"image_29012025_15_36_54_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332753769","file1":"1332753764","file0":"1332753746","file4":"1332753866","file5":"1332753873","file3":"1332753811"},"map_files_photo_id_array":[{"photo_id":"1332753873","filename":"file5"},{"photo_id":"1332753769","filename":"file2"},{"photo_id":"1332753866","filename":"file4"},{"photo_id":"1332753764","filename":"file1"},{"photo_id":"1332753746","filename":"file0"},{"photo_id":"1332753811","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332753866":["hashtag1","hashtag2"]},{"1332753764":["hashtag1","hashtag2"]},{"1332753746":["hashtag1","hashtag2"]},{"1332753769":["hashtag1","hashtag2"]},{"1332753873":["hashtag1","hashtag2"]},{"1332753811":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332753866, 1332753764, 1332753746, 1332753769, 1332753873, 1332753811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.96209692955017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:03:32.257958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/37/image_29012025_15_37_24_10428.jpg', '/home/pi/Desktop/images/29012025/15/37/image_29012025_15_37_35_10370.jpg', '/home/pi/Desktop/images/29012025/15/37/image_29012025_15_37_44_9406.jpg', '/home/pi/Desktop/images/29012025/15/37/image_29012025_15_37_54_10350.jpg', '/home/pi/Desktop/images/29012025/15/37/image_29012025_15_38_05_10361.jpg', '/home/pi/Desktop/images/29012025/15/38/image_29012025_15_38_14_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/37/image_29012025_15_37_24_10428.jpg
/home/pi/Desktop/images/29012025/15/37/image_29012025_15_37_35_10370.jpg
/home/pi/Desktop/images/29012025/15/37/image_29012025_15_37_44_9406.jpg
/home/pi/Desktop/images/29012025/15/37/image_29012025_15_37_54_10350.jpg
/home/pi/Desktop/images/29012025/15/37/image_29012025_15_38_05_10361.jpg
/home/pi/Desktop/images/29012025/15/38/image_29012025_15_38_14_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":["1332754637","1332754115","1332754639","1332754630","1332754474","1332754642"],"photo_ids_order":["1332754115","1332754474","1332754630","1332754637","1332754639","1332754642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/390d4a97c6cdacb4b1a257285089ec4d.jpg","text":"TemporaryFile(/tmp/multipartBody7582040626254279126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181073211,"filename":"image_29012025_15_37_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/29/f126a28b08fa9d4ecc563d27ce2dc5d1.jpg","text":"TemporaryFile(/tmp/multipartBody3439683704850352449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181073211,"filename":"image_29012025_15_37_24_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/29/bd70750afc1268093a46dd80d81383fd.jpg","text":"TemporaryFile(/tmp/multipartBody5333851941900233218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181073211,"filename":"image_29012025_15_38_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/29/e833f758327834d881e8faf3e6956030.jpg","text":"TemporaryFile(/tmp/multipartBody6496497336612694547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181073211,"filename":"image_29012025_15_37_44_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/29/4bc3e7258fb84ac871433ab9f397597c.jpg","text":"TemporaryFile(/tmp/multipartBody4190629424689295037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181073211,"filename":"image_29012025_15_37_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/29/819c790fe263ef1089e9dc35eba17150.jpg","text":"TemporaryFile(/tmp/multipartBody542008269143942795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181073211,"filename":"image_29012025_15_38_14_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332754630","file1":"1332754474","file0":"1332754115","file4":"1332754639","file5":"1332754642","file3":"1332754637"},"map_files_photo_id_array":[{"photo_id":"1332754642","filename":"file5"},{"photo_id":"1332754630","filename":"file2"},{"photo_id":"1332754639","filename":"file4"},{"photo_id":"1332754474","filename":"file1"},{"photo_id":"1332754115","filename":"file0"},{"photo_id":"1332754637","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332754637":["hashtag1","hashtag2"]},{"1332754115":["hashtag1","hashtag2"]},{"1332754639":["hashtag1","hashtag2"]},{"1332754630":["hashtag1","hashtag2"]},{"1332754474":["hashtag1","hashtag2"]},{"1332754642":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332754637, 1332754115, 1332754639, 1332754630, 1332754474, 1332754642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70130395889282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:04:32.435060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/38/image_29012025_15_38_25_10343.jpg', '/home/pi/Desktop/images/29012025/15/38/image_29012025_15_38_44_10415.jpg', '/home/pi/Desktop/images/29012025/15/38/image_29012025_15_39_04_9433.jpg', '/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_15_10339.jpg', '/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_25_10351.jpg', '/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_34_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/38/image_29012025_15_38_25_10343.jpg
/home/pi/Desktop/images/29012025/15/38/image_29012025_15_38_44_10415.jpg
/home/pi/Desktop/images/29012025/15/38/image_29012025_15_39_04_9433.jpg
/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_15_10339.jpg
/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_25_10351.jpg
/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_34_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":["1332754937","1332754940","1332754934","1332754891","1332754930","1332754932"],"photo_ids_order":["1332754891","1332754930","1332754932","1332754934","1332754937","1332754940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/aadc26dcb901c50ce13d01122bb08a29.jpg","text":"TemporaryFile(/tmp/multipartBody6813898150854785728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181133416,"filename":"image_29012025_15_39_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/29/b08cacd0f5088067d14a6536c741f2ef.jpg","text":"TemporaryFile(/tmp/multipartBody1014777180397801941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181133416,"filename":"image_29012025_15_39_34_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/29/94956c1e1406db9bdf0960a9f8f77868.jpg","text":"TemporaryFile(/tmp/multipartBody3254498144564624215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181133416,"filename":"image_29012025_15_39_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/29/4aedd13bcf28a33835888393cac1d0b0.jpg","text":"TemporaryFile(/tmp/multipartBody5053294101984790473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181133416,"filename":"image_29012025_15_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/29/63de49d94caaa6b13bd5d76e83cde48f.jpg","text":"TemporaryFile(/tmp/multipartBody8086834972405045659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181133416,"filename":"image_29012025_15_38_44_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/29/e47edd10c0ea74e6644257c9f9243089.jpg","text":"TemporaryFile(/tmp/multipartBody937686458399790562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181133416,"filename":"image_29012025_15_39_04_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332754932","file1":"1332754930","file0":"1332754891","file4":"1332754937","file5":"1332754940","file3":"1332754934"},"map_files_photo_id_array":[{"photo_id":"1332754940","filename":"file5"},{"photo_id":"1332754932","filename":"file2"},{"photo_id":"1332754937","filename":"file4"},{"photo_id":"1332754930","filename":"file1"},{"photo_id":"1332754891","filename":"file0"},{"photo_id":"1332754934","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332754937":["hashtag1","hashtag2"]},{"1332754940":["hashtag1","hashtag2"]},{"1332754934":["hashtag1","hashtag2"]},{"1332754891":["hashtag1","hashtag2"]},{"1332754930":["hashtag1","hashtag2"]},{"1332754932":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332754937, 1332754940, 1332754934, 1332754891, 1332754930, 1332754932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.65566110610962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:05:32.662872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_45_10424.jpg', '/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_54_9455.jpg', '/home/pi/Desktop/images/29012025/15/39/image_29012025_15_40_05_10366.jpg', '/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_15_10378.jpg', '/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_24_9342.jpg', '/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_55_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_45_10424.jpg
/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_54_9455.jpg
/home/pi/Desktop/images/29012025/15/39/image_29012025_15_40_05_10366.jpg
/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_15_10378.jpg
/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_24_9342.jpg
/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_55_10454.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.5993127822875977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 21:05:42.672895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_45_10424.jpg', '/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_54_9455.jpg', '/home/pi/Desktop/images/29012025/15/39/image_29012025_15_40_05_10366.jpg', '/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_15_10378.jpg', '/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_24_9342.jpg', '/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_55_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_45_10424.jpg
/home/pi/Desktop/images/29012025/15/39/image_29012025_15_39_54_9455.jpg
/home/pi/Desktop/images/29012025/15/39/image_29012025_15_40_05_10366.jpg
/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_15_10378.jpg
/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_24_9342.jpg
/home/pi/Desktop/images/29012025/15/40/image_29012025_15_40_55_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332754988","1332755051","1332755018","1332755012","1332754985","1332754991"],"photo_ids_order":["1332754985","1332754988","1332754991","1332755012","1332755018","1332755051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b6ca76d31bbf783e8900c1276e810eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8798724877144613108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181203571,"filename":"image_29012025_15_39_54_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/29/840d8c06980660dd51d6b080d1a3b217.jpg","text":"TemporaryFile(/tmp/multipartBody5184572741236471523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181203571,"filename":"image_29012025_15_40_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/29/7d6da893a5b38f9e237db2c68b8a6269.jpg","text":"TemporaryFile(/tmp/multipartBody8260793648308600147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181203571,"filename":"image_29012025_15_40_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/29/dbc062f9bb4ad01e2eecf48cb7536843.jpg","text":"TemporaryFile(/tmp/multipartBody3527543541078465921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181203571,"filename":"image_29012025_15_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/29/6809bf5dfc6a67d19a1c4f7969ce0ff5.jpg","text":"TemporaryFile(/tmp/multipartBody54402086838063195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181203571,"filename":"image_29012025_15_39_45_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/29/b13a5c33f06d36936527e92bedbbdf25.jpg","text":"TemporaryFile(/tmp/multipartBody7932760531239228957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181203571,"filename":"image_29012025_15_40_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332754991","file1":"1332754988","file0":"1332754985","file4":"1332755018","file5":"1332755051","file3":"1332755012"},"map_files_photo_id_array":[{"photo_id":"1332755051","filename":"file5"},{"photo_id":"1332754991","filename":"file2"},{"photo_id":"1332755018","filename":"file4"},{"photo_id":"1332754988","filename":"file1"},{"photo_id":"1332754985","filename":"file0"},{"photo_id":"1332755012","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332754988":["hashtag1","hashtag2"]},{"1332755051":["hashtag1","hashtag2"]},{"1332755018":["hashtag1","hashtag2"]},{"1332755012":["hashtag1","hashtag2"]},{"1332754985":["hashtag1","hashtag2"]},{"1332754991":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332754988, 1332755051, 1332755018, 1332755012, 1332754985, 1332754991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21389818191528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:06:32.936693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/40/image_29012025_15_41_05_10351.jpg', '/home/pi/Desktop/images/29012025/15/41/image_29012025_15_41_14_9389.jpg', '/home/pi/Desktop/images/29012025/15/41/image_29012025_15_41_25_10357.jpg', '/home/pi/Desktop/images/29012025/15/41/image_29012025_15_41_34_9451.jpg', '/home/pi/Desktop/images/29012025/15/41/image_29012025_15_41_44_10349.jpg', '/home/pi/Desktop/images/29012025/15/41/image_29012025_15_41_55_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/40/image_29012025_15_41_05_10351.jpg
/home/pi/Desktop/images/29012025/15/41/image_29012025_15_41_14_9389.jpg
/home/pi/Desktop/images/29012025/15/41/image_29012025_15_41_25_10357.jpg
/home/pi/Desktop/images/29012025/15/41/image_29012025_15_41_34_9451.jpg
/home/pi/Desktop/images/29012025/15/41/image_29012025_15_41_44_10349.jpg
/home/pi/Desktop/images/29012025/15/41/image_29012025_15_41_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":["1332755132","1332755126","1332755143","1332755137","1332755122","1332755142"],"photo_ids_order":["1332755122","1332755126","1332755132","1332755137","1332755142","1332755143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3a4ee1b33eb4a5164ecd810ff0a6ad90.jpg","text":"TemporaryFile(/tmp/multipartBody7277313437213848992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181253913,"filename":"image_29012025_15_41_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/29/c4edf84d51a43a7bd1b6e857e6278460.jpg","text":"TemporaryFile(/tmp/multipartBody5225779849013389444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181253913,"filename":"image_29012025_15_41_14_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/29/c23d7ca12883de95f1591e60be081074.jpg","text":"TemporaryFile(/tmp/multipartBody1588988798540307428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181253913,"filename":"image_29012025_15_41_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/29/bd3456d479104a9a7cbee31ed130ef6f.jpg","text":"TemporaryFile(/tmp/multipartBody4749245220306871304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181253913,"filename":"image_29012025_15_41_34_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/29/d7b09bdc785cad9e92ee685c4d764289.jpg","text":"TemporaryFile(/tmp/multipartBody649541465101732125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181253913,"filename":"image_29012025_15_41_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/29/d398fea7c90c35811bac9204fd846c03.jpg","text":"TemporaryFile(/tmp/multipartBody2904926501487355344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181253913,"filename":"image_29012025_15_41_44_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332755132","file1":"1332755126","file0":"1332755122","file4":"1332755142","file5":"1332755143","file3":"1332755137"},"map_files_photo_id_array":[{"photo_id":"1332755143","filename":"file5"},{"photo_id":"1332755132","filename":"file2"},{"photo_id":"1332755142","filename":"file4"},{"photo_id":"1332755126","filename":"file1"},{"photo_id":"1332755122","filename":"file0"},{"photo_id":"1332755137","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332755132":["hashtag1","hashtag2"]},{"1332755126":["hashtag1","hashtag2"]},{"1332755143":["hashtag1","hashtag2"]},{"1332755137":["hashtag1","hashtag2"]},{"1332755122":["hashtag1","hashtag2"]},{"1332755142":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332755132, 1332755126, 1332755143, 1332755137, 1332755122, 1332755142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80027437210083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:07:33.110133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/41/image_29012025_15_42_04_9349.jpg', '/home/pi/Desktop/images/29012025/15/42/image_29012025_15_42_14_10337.jpg', '/home/pi/Desktop/images/29012025/15/42/image_29012025_15_42_25_10360.jpg', '/home/pi/Desktop/images/29012025/15/42/image_29012025_15_42_34_9351.jpg', '/home/pi/Desktop/images/29012025/15/42/image_29012025_15_42_45_10432.jpg', '/home/pi/Desktop/images/29012025/15/42/image_29012025_15_42_54_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/41/image_29012025_15_42_04_9349.jpg
/home/pi/Desktop/images/29012025/15/42/image_29012025_15_42_14_10337.jpg
/home/pi/Desktop/images/29012025/15/42/image_29012025_15_42_25_10360.jpg
/home/pi/Desktop/images/29012025/15/42/image_29012025_15_42_34_9351.jpg
/home/pi/Desktop/images/29012025/15/42/image_29012025_15_42_45_10432.jpg
/home/pi/Desktop/images/29012025/15/42/image_29012025_15_42_54_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":["1332755236","1332755175","1332755190","1332755211","1332755217","1332755171"],"photo_ids_order":["1332755171","1332755175","1332755190","1332755211","1332755217","1332755236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d10805b666ef93f02b1e45fca67df510.jpg","text":"TemporaryFile(/tmp/multipartBody6390558004421630274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181314073,"filename":"image_29012025_15_42_54_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/29/7f3dc392bf3473206f061f3fb0f5819c.jpg","text":"TemporaryFile(/tmp/multipartBody3338974974702309525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181314073,"filename":"image_29012025_15_42_14_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/29/3f42bea9699e9e0eba50eeb27e0c5863.jpg","text":"TemporaryFile(/tmp/multipartBody2312688951793323867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181314073,"filename":"image_29012025_15_42_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/29/e726efef85cadb90c670e6d9c910f64f.jpg","text":"TemporaryFile(/tmp/multipartBody8912068091766178998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181314073,"filename":"image_29012025_15_42_34_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/29/e1eefa84f5ac34ae98894825ee0e795f.jpg","text":"TemporaryFile(/tmp/multipartBody6430977453935641557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181314073,"filename":"image_29012025_15_42_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/29/754a971d1bff2422a01d828e94c6f1db.jpg","text":"TemporaryFile(/tmp/multipartBody307886651307575001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181314073,"filename":"image_29012025_15_42_04_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332755190","file1":"1332755175","file0":"1332755171","file4":"1332755217","file5":"1332755236","file3":"1332755211"},"map_files_photo_id_array":[{"photo_id":"1332755236","filename":"file5"},{"photo_id":"1332755190","filename":"file2"},{"photo_id":"1332755217","filename":"file4"},{"photo_id":"1332755175","filename":"file1"},{"photo_id":"1332755171","filename":"file0"},{"photo_id":"1332755211","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332755236":["hashtag1","hashtag2"]},{"1332755175":["hashtag1","hashtag2"]},{"1332755190":["hashtag1","hashtag2"]},{"1332755211":["hashtag1","hashtag2"]},{"1332755217":["hashtag1","hashtag2"]},{"1332755171":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332755236, 1332755175, 1332755190, 1332755211, 1332755217, 1332755171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01879167556763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:08:32.311355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/42/image_29012025_15_43_04_10350.jpg', '/home/pi/Desktop/images/29012025/15/43/image_29012025_15_43_15_10344.jpg', '/home/pi/Desktop/images/29012025/15/43/image_29012025_15_43_24_9393.jpg', '/home/pi/Desktop/images/29012025/15/43/image_29012025_15_43_35_10367.jpg', '/home/pi/Desktop/images/29012025/15/43/image_29012025_15_43_45_10359.jpg', '/home/pi/Desktop/images/29012025/15/43/image_29012025_15_43_54_9325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/42/image_29012025_15_43_04_10350.jpg
/home/pi/Desktop/images/29012025/15/43/image_29012025_15_43_15_10344.jpg
/home/pi/Desktop/images/29012025/15/43/image_29012025_15_43_24_9393.jpg
/home/pi/Desktop/images/29012025/15/43/image_29012025_15_43_35_10367.jpg
/home/pi/Desktop/images/29012025/15/43/image_29012025_15_43_45_10359.jpg
/home/pi/Desktop/images/29012025/15/43/image_29012025_15_43_54_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":["1332755263","1332755266","1332755275","1332755260","1332755257","1332755271"],"photo_ids_order":["1332755257","1332755260","1332755263","1332755266","1332755271","1332755275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/92902ad106803c12783ad1798321655d.jpg","text":"TemporaryFile(/tmp/multipartBody4732520003469946178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181373280,"filename":"image_29012025_15_43_24_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/29/62708ac18e3e07d1f44eb702708a92f6.jpg","text":"TemporaryFile(/tmp/multipartBody7656202577821279384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181373280,"filename":"image_29012025_15_43_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/29/b311a69ab05a1511259a4ade3ed39263.jpg","text":"TemporaryFile(/tmp/multipartBody292328153314954777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181373280,"filename":"image_29012025_15_43_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/29/0757068d6416ba9d7e493cd5ff95fc4a.jpg","text":"TemporaryFile(/tmp/multipartBody4258123646748643032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181373280,"filename":"image_29012025_15_43_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/29/1261e04c55a1d70e55092e56851d5d36.jpg","text":"TemporaryFile(/tmp/multipartBody7430101946111017433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181373280,"filename":"image_29012025_15_43_04_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/29/dea35244c77e7814946d4f1179c56db6.jpg","text":"TemporaryFile(/tmp/multipartBody9055740099596758275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181373280,"filename":"image_29012025_15_43_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332755263","file1":"1332755260","file0":"1332755257","file4":"1332755271","file5":"1332755275","file3":"1332755266"},"map_files_photo_id_array":[{"photo_id":"1332755275","filename":"file5"},{"photo_id":"1332755263","filename":"file2"},{"photo_id":"1332755271","filename":"file4"},{"photo_id":"1332755260","filename":"file1"},{"photo_id":"1332755257","filename":"file0"},{"photo_id":"1332755266","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332755263":["hashtag1","hashtag2"]},{"1332755266":["hashtag1","hashtag2"]},{"1332755275":["hashtag1","hashtag2"]},{"1332755260":["hashtag1","hashtag2"]},{"1332755257":["hashtag1","hashtag2"]},{"1332755271":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332755263, 1332755266, 1332755275, 1332755260, 1332755257, 1332755271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07977104187012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:09:32.584432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/43/image_29012025_15_44_05_10352.jpg', '/home/pi/Desktop/images/29012025/15/44/image_29012025_15_44_15_10337.jpg', '/home/pi/Desktop/images/29012025/15/44/image_29012025_15_44_24_9397.jpg', '/home/pi/Desktop/images/29012025/15/44/image_29012025_15_44_35_10420.jpg', '/home/pi/Desktop/images/29012025/15/44/image_29012025_15_44_44_9412.jpg', '/home/pi/Desktop/images/29012025/15/44/image_29012025_15_44_54_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/43/image_29012025_15_44_05_10352.jpg
/home/pi/Desktop/images/29012025/15/44/image_29012025_15_44_15_10337.jpg
/home/pi/Desktop/images/29012025/15/44/image_29012025_15_44_24_9397.jpg
/home/pi/Desktop/images/29012025/15/44/image_29012025_15_44_35_10420.jpg
/home/pi/Desktop/images/29012025/15/44/image_29012025_15_44_44_9412.jpg
/home/pi/Desktop/images/29012025/15/44/image_29012025_15_44_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":["1332755303","1332755309","1332755299","1332755293","1332755305","1332755307"],"photo_ids_order":["1332755293","1332755299","1332755303","1332755305","1332755307","1332755309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a5f36595cf66379de41ed27a7eaddcd5.jpg","text":"TemporaryFile(/tmp/multipartBody4762632086064626421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181433578,"filename":"image_29012025_15_44_24_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/29/7e383706cd73bf586780c3f470e739d9.jpg","text":"TemporaryFile(/tmp/multipartBody5502748880976529171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181433578,"filename":"image_29012025_15_44_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/29/fe69a8999823902060f884e72f59f9bb.jpg","text":"TemporaryFile(/tmp/multipartBody438044597385624129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181433578,"filename":"image_29012025_15_44_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/29/9316ff9cc7316856916a02d653a828c6.jpg","text":"TemporaryFile(/tmp/multipartBody5524704067751634471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181433578,"filename":"image_29012025_15_44_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/29/b1de2de6ebae8e4b19979d0f3fb36f31.jpg","text":"TemporaryFile(/tmp/multipartBody7107458259690475844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181433578,"filename":"image_29012025_15_44_35_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/29/a9bb57ab1108a1a040641d55d1d0e24e.jpg","text":"TemporaryFile(/tmp/multipartBody1791382935755601906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181433578,"filename":"image_29012025_15_44_44_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332755303","file1":"1332755299","file0":"1332755293","file4":"1332755307","file5":"1332755309","file3":"1332755305"},"map_files_photo_id_array":[{"photo_id":"1332755309","filename":"file5"},{"photo_id":"1332755303","filename":"file2"},{"photo_id":"1332755307","filename":"file4"},{"photo_id":"1332755299","filename":"file1"},{"photo_id":"1332755293","filename":"file0"},{"photo_id":"1332755305","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332755303":["hashtag1","hashtag2"]},{"1332755309":["hashtag1","hashtag2"]},{"1332755299":["hashtag1","hashtag2"]},{"1332755293":["hashtag1","hashtag2"]},{"1332755305":["hashtag1","hashtag2"]},{"1332755307":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332755303, 1332755309, 1332755299, 1332755293, 1332755305, 1332755307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95234203338623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:10:32.740614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/44/image_29012025_15_45_05_10355.jpg', '/home/pi/Desktop/images/29012025/15/45/image_29012025_15_45_14_9360.jpg', '/home/pi/Desktop/images/29012025/15/45/image_29012025_15_45_25_10436.jpg', '/home/pi/Desktop/images/29012025/15/45/image_29012025_15_45_34_9443.jpg', '/home/pi/Desktop/images/29012025/15/45/image_29012025_15_45_45_10512.jpg', '/home/pi/Desktop/images/29012025/15/45/image_29012025_15_45_55_10264.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/44/image_29012025_15_45_05_10355.jpg
/home/pi/Desktop/images/29012025/15/45/image_29012025_15_45_14_9360.jpg
/home/pi/Desktop/images/29012025/15/45/image_29012025_15_45_25_10436.jpg
/home/pi/Desktop/images/29012025/15/45/image_29012025_15_45_34_9443.jpg
/home/pi/Desktop/images/29012025/15/45/image_29012025_15_45_45_10512.jpg
/home/pi/Desktop/images/29012025/15/45/image_29012025_15_45_55_10264.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332755354","1332755348","1332755333","1332755339","1332755332","1332755343"],"photo_ids_order":["1332755332","1332755333","1332755339","1332755343","1332755348","1332755354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/10f20ff0ce57dd3490a68659f42afe70.jpg","text":"TemporaryFile(/tmp/multipartBody1912634122990991692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181493704,"filename":"image_29012025_15_45_55_10264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f8e09b95832c5882b15fbc6e837774a3.jpg","text":"TemporaryFile(/tmp/multipartBody7918115930592635895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181493704,"filename":"image_29012025_15_45_45_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3b9097cb2f45dc297309cd4d0513477a.jpg","text":"TemporaryFile(/tmp/multipartBody7589378637406344094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181493704,"filename":"image_29012025_15_45_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/29/dcc214adfb3f67e6114baeaee5cf9e5e.jpg","text":"TemporaryFile(/tmp/multipartBody8612672911093265126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181493704,"filename":"image_29012025_15_45_25_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/29/7fbc9ba404411c7538a593be409a85a1.jpg","text":"TemporaryFile(/tmp/multipartBody2338098552942217109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181493704,"filename":"image_29012025_15_45_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/29/d9d8f58e13a8e5995dd3e54e32cb1c69.jpg","text":"TemporaryFile(/tmp/multipartBody9053876315783455800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181493704,"filename":"image_29012025_15_45_34_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332755339","file1":"1332755333","file0":"1332755332","file4":"1332755348","file5":"1332755354","file3":"1332755343"},"map_files_photo_id_array":[{"photo_id":"1332755354","filename":"file5"},{"photo_id":"1332755339","filename":"file2"},{"photo_id":"1332755348","filename":"file4"},{"photo_id":"1332755333","filename":"file1"},{"photo_id":"1332755332","filename":"file0"},{"photo_id":"1332755343","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332755354":["hashtag1","hashtag2"]},{"1332755348":["hashtag1","hashtag2"]},{"1332755333":["hashtag1","hashtag2"]},{"1332755339":["hashtag1","hashtag2"]},{"1332755332":["hashtag1","hashtag2"]},{"1332755343":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332755354, 1332755348, 1332755333, 1332755339, 1332755332, 1332755343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.15871477127075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:11:33.031104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/45/image_29012025_15_46_04_9333.jpg', '/home/pi/Desktop/images/29012025/15/46/image_29012025_15_46_15_10329.jpg', '/home/pi/Desktop/images/29012025/15/46/image_29012025_15_46_25_10357.jpg', '/home/pi/Desktop/images/29012025/15/46/image_29012025_15_46_34_9410.jpg', '/home/pi/Desktop/images/29012025/15/46/image_29012025_15_46_45_10429.jpg', '/home/pi/Desktop/images/29012025/15/46/image_29012025_15_46_54_9478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/45/image_29012025_15_46_04_9333.jpg
/home/pi/Desktop/images/29012025/15/46/image_29012025_15_46_15_10329.jpg
/home/pi/Desktop/images/29012025/15/46/image_29012025_15_46_25_10357.jpg
/home/pi/Desktop/images/29012025/15/46/image_29012025_15_46_34_9410.jpg
/home/pi/Desktop/images/29012025/15/46/image_29012025_15_46_45_10429.jpg
/home/pi/Desktop/images/29012025/15/46/image_29012025_15_46_54_9478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332755429","1332755414","1332755405","1332755395","1332755377","1332755401"],"photo_ids_order":["1332755377","1332755395","1332755401","1332755405","1332755414","1332755429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/97d21b629f85bd931c38dade06477bd0.jpg","text":"TemporaryFile(/tmp/multipartBody377313563122249640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181553992,"filename":"image_29012025_15_46_54_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/29/d5a6998719de1c564911c305194d4c64.jpg","text":"TemporaryFile(/tmp/multipartBody6881510213889791505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181553992,"filename":"image_29012025_15_46_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/29/87be79cd803ce413c71c666799b4b289.jpg","text":"TemporaryFile(/tmp/multipartBody4169995912073207895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181553992,"filename":"image_29012025_15_46_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/29/ed20dc6f15e816921266e8cd84a75720.jpg","text":"TemporaryFile(/tmp/multipartBody7659183409475211482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181553992,"filename":"image_29012025_15_46_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/29/7718b414d94bc20537a4d3c3795c18a2.jpg","text":"TemporaryFile(/tmp/multipartBody5603288482764333059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181553992,"filename":"image_29012025_15_46_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/29/5012eca910abc7ce29f113022bd2c863.jpg","text":"TemporaryFile(/tmp/multipartBody6205188680952421488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181553992,"filename":"image_29012025_15_46_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332755401","file1":"1332755395","file0":"1332755377","file4":"1332755414","file5":"1332755429","file3":"1332755405"},"map_files_photo_id_array":[{"photo_id":"1332755429","filename":"file5"},{"photo_id":"1332755401","filename":"file2"},{"photo_id":"1332755414","filename":"file4"},{"photo_id":"1332755395","filename":"file1"},{"photo_id":"1332755377","filename":"file0"},{"photo_id":"1332755405","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332755429":["hashtag1","hashtag2"]},{"1332755414":["hashtag1","hashtag2"]},{"1332755405":["hashtag1","hashtag2"]},{"1332755395":["hashtag1","hashtag2"]},{"1332755377":["hashtag1","hashtag2"]},{"1332755401":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332755429, 1332755414, 1332755405, 1332755395, 1332755377, 1332755401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8524706363678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:12:32.326202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/46/image_29012025_15_47_05_10348.jpg', '/home/pi/Desktop/images/29012025/15/47/image_29012025_15_47_15_10338.jpg', '/home/pi/Desktop/images/29012025/15/47/image_29012025_15_47_24_9432.jpg', '/home/pi/Desktop/images/29012025/15/47/image_29012025_15_47_35_10452.jpg', '/home/pi/Desktop/images/29012025/15/47/image_29012025_15_47_44_9429.jpg', '/home/pi/Desktop/images/29012025/15/47/image_29012025_15_48_05_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/46/image_29012025_15_47_05_10348.jpg
/home/pi/Desktop/images/29012025/15/47/image_29012025_15_47_15_10338.jpg
/home/pi/Desktop/images/29012025/15/47/image_29012025_15_47_24_9432.jpg
/home/pi/Desktop/images/29012025/15/47/image_29012025_15_47_35_10452.jpg
/home/pi/Desktop/images/29012025/15/47/image_29012025_15_47_44_9429.jpg
/home/pi/Desktop/images/29012025/15/47/image_29012025_15_48_05_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":["1332755519","1332755507","1332755482","1332755704","1332755594","1332755768"],"photo_ids_order":["1332755482","1332755507","1332755519","1332755594","1332755704","1332755768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c07c9b4ebd0a65b6890a34073aa2fec6.jpg","text":"TemporaryFile(/tmp/multipartBody7105500242379064612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181613290,"filename":"image_29012025_15_47_24_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/29/b9fd854e71b4c161175c5608a31ee629.jpg","text":"TemporaryFile(/tmp/multipartBody1414586581878645930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181613290,"filename":"image_29012025_15_47_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/29/1edd4dbb171f37240534dc8f7b7cb273.jpg","text":"TemporaryFile(/tmp/multipartBody1078137790135252103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181613290,"filename":"image_29012025_15_47_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/29/2ece13862e36255f4d56ebd52eff9b58.jpg","text":"TemporaryFile(/tmp/multipartBody7510239396840017300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181613290,"filename":"image_29012025_15_47_44_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/29/6b365b495c721c8563f83fa8165709e3.jpg","text":"TemporaryFile(/tmp/multipartBody5931969221060677307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181613290,"filename":"image_29012025_15_47_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/29/b123ce52b7ed879216c146573d1ac9ea.jpg","text":"TemporaryFile(/tmp/multipartBody962540364373920728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181613290,"filename":"image_29012025_15_48_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332755519","file1":"1332755507","file0":"1332755482","file4":"1332755704","file5":"1332755768","file3":"1332755594"},"map_files_photo_id_array":[{"photo_id":"1332755768","filename":"file5"},{"photo_id":"1332755519","filename":"file2"},{"photo_id":"1332755704","filename":"file4"},{"photo_id":"1332755507","filename":"file1"},{"photo_id":"1332755482","filename":"file0"},{"photo_id":"1332755594","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332755519":["hashtag1","hashtag2"]},{"1332755507":["hashtag1","hashtag2"]},{"1332755482":["hashtag1","hashtag2"]},{"1332755704":["hashtag1","hashtag2"]},{"1332755594":["hashtag1","hashtag2"]},{"1332755768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332755519, 1332755507, 1332755482, 1332755704, 1332755594, 1332755768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41956400871277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:13:32.462651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/48/image_29012025_15_48_14_9408.jpg', '/home/pi/Desktop/images/29012025/15/48/image_29012025_15_48_25_10336.jpg', '/home/pi/Desktop/images/29012025/15/48/image_29012025_15_48_34_9385.jpg', '/home/pi/Desktop/images/29012025/15/48/image_29012025_15_48_44_10347.jpg', '/home/pi/Desktop/images/29012025/15/48/image_29012025_15_48_55_10369.jpg', '/home/pi/Desktop/images/29012025/15/48/image_29012025_15_49_04_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/48/image_29012025_15_48_14_9408.jpg
/home/pi/Desktop/images/29012025/15/48/image_29012025_15_48_25_10336.jpg
/home/pi/Desktop/images/29012025/15/48/image_29012025_15_48_34_9385.jpg
/home/pi/Desktop/images/29012025/15/48/image_29012025_15_48_44_10347.jpg
/home/pi/Desktop/images/29012025/15/48/image_29012025_15_48_55_10369.jpg
/home/pi/Desktop/images/29012025/15/48/image_29012025_15_49_04_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":["1332755852","1332755846","1332755971","1332755830","1332755967","1332755940"],"photo_ids_order":["1332755830","1332755846","1332755852","1332755940","1332755967","1332755971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/84e054932c57dd5d26cf098acca91a50.jpg","text":"TemporaryFile(/tmp/multipartBody7405340102088682933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181673440,"filename":"image_29012025_15_48_34_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/29/8b600708c94e283fea07c5d331ba73ac.jpg","text":"TemporaryFile(/tmp/multipartBody5869505385559054308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181673440,"filename":"image_29012025_15_48_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/29/b4f14b995d58e0b9bf43ea7b5533264e.jpg","text":"TemporaryFile(/tmp/multipartBody8234723010961610146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181673440,"filename":"image_29012025_15_49_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/29/1ba405e43879305f7d9634661255111f.jpg","text":"TemporaryFile(/tmp/multipartBody7556212185910003972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181673440,"filename":"image_29012025_15_48_14_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/29/14a1c5d1deb2199eb13d6a4dbb0af71a.jpg","text":"TemporaryFile(/tmp/multipartBody8621940961936583582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181673440,"filename":"image_29012025_15_48_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/29/08917be688a287c69eacf328182fec1e.jpg","text":"TemporaryFile(/tmp/multipartBody8610548828411823610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181673440,"filename":"image_29012025_15_48_44_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332755852","file1":"1332755846","file0":"1332755830","file4":"1332755967","file5":"1332755971","file3":"1332755940"},"map_files_photo_id_array":[{"photo_id":"1332755971","filename":"file5"},{"photo_id":"1332755852","filename":"file2"},{"photo_id":"1332755967","filename":"file4"},{"photo_id":"1332755846","filename":"file1"},{"photo_id":"1332755830","filename":"file0"},{"photo_id":"1332755940","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332755852":["hashtag1","hashtag2"]},{"1332755846":["hashtag1","hashtag2"]},{"1332755971":["hashtag1","hashtag2"]},{"1332755830":["hashtag1","hashtag2"]},{"1332755967":["hashtag1","hashtag2"]},{"1332755940":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332755852, 1332755846, 1332755971, 1332755830, 1332755967, 1332755940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.04604625701904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:14:32.687366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/49/image_29012025_15_49_14_10357.jpg', '/home/pi/Desktop/images/29012025/15/49/image_29012025_15_49_25_10452.jpg', '/home/pi/Desktop/images/29012025/15/49/image_29012025_15_49_34_9359.jpg', '/home/pi/Desktop/images/29012025/15/49/image_29012025_15_49_45_10335.jpg', '/home/pi/Desktop/images/29012025/15/49/image_29012025_15_49_54_9422.jpg', '/home/pi/Desktop/images/29012025/15/49/image_29012025_15_50_04_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/49/image_29012025_15_49_14_10357.jpg
/home/pi/Desktop/images/29012025/15/49/image_29012025_15_49_25_10452.jpg
/home/pi/Desktop/images/29012025/15/49/image_29012025_15_49_34_9359.jpg
/home/pi/Desktop/images/29012025/15/49/image_29012025_15_49_45_10335.jpg
/home/pi/Desktop/images/29012025/15/49/image_29012025_15_49_54_9422.jpg
/home/pi/Desktop/images/29012025/15/49/image_29012025_15_50_04_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":["1332756014","1332756001","1332756010","1332756004","1332756007","1332756006"],"photo_ids_order":["1332756001","1332756004","1332756006","1332756007","1332756010","1332756014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6b9d05f62cdd4f2527b5679476f55bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8623217393716520399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181733655,"filename":"image_29012025_15_50_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/29/a852fdcc400625033d574a48c2010ead.jpg","text":"TemporaryFile(/tmp/multipartBody8445123679253628589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181733655,"filename":"image_29012025_15_49_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/29/e2b69a0fbdcc96e60b83a893255e5198.jpg","text":"TemporaryFile(/tmp/multipartBody4269741254369492723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181733655,"filename":"image_29012025_15_49_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/29/6d4b1d53bc35bdef702ca0bdb635a1c6.jpg","text":"TemporaryFile(/tmp/multipartBody774552558446054351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181733655,"filename":"image_29012025_15_49_25_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/29/e5b36c1ab7a5095c663b83aa01da6d1a.jpg","text":"TemporaryFile(/tmp/multipartBody1527390913088492147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181733655,"filename":"image_29012025_15_49_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/29/ec0feea9f9f6219d3e4fdd7c4734aed4.jpg","text":"TemporaryFile(/tmp/multipartBody3387724700269269161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181733655,"filename":"image_29012025_15_49_34_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332756006","file1":"1332756004","file0":"1332756001","file4":"1332756010","file5":"1332756014","file3":"1332756007"},"map_files_photo_id_array":[{"photo_id":"1332756014","filename":"file5"},{"photo_id":"1332756006","filename":"file2"},{"photo_id":"1332756010","filename":"file4"},{"photo_id":"1332756004","filename":"file1"},{"photo_id":"1332756001","filename":"file0"},{"photo_id":"1332756007","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332756014":["hashtag1","hashtag2"]},{"1332756001":["hashtag1","hashtag2"]},{"1332756010":["hashtag1","hashtag2"]},{"1332756004":["hashtag1","hashtag2"]},{"1332756007":["hashtag1","hashtag2"]},{"1332756006":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332756014, 1332756001, 1332756010, 1332756004, 1332756007, 1332756006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.580488443374634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:15:32.931449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/50/image_29012025_15_50_15_10362.jpg', '/home/pi/Desktop/images/29012025/15/50/image_29012025_15_50_24_9447.jpg', '/home/pi/Desktop/images/29012025/15/50/image_29012025_15_50_35_10347.jpg', '/home/pi/Desktop/images/29012025/15/50/image_29012025_15_50_44_9490.jpg', '/home/pi/Desktop/images/29012025/15/50/image_29012025_15_50_54_10348.jpg', '/home/pi/Desktop/images/29012025/15/50/image_29012025_15_51_05_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/50/image_29012025_15_50_15_10362.jpg
/home/pi/Desktop/images/29012025/15/50/image_29012025_15_50_24_9447.jpg
/home/pi/Desktop/images/29012025/15/50/image_29012025_15_50_35_10347.jpg
/home/pi/Desktop/images/29012025/15/50/image_29012025_15_50_44_9490.jpg
/home/pi/Desktop/images/29012025/15/50/image_29012025_15_50_54_10348.jpg
/home/pi/Desktop/images/29012025/15/50/image_29012025_15_51_05_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":["1332756076","1332756037","1332756063","1332756048","1332756080","1332756041"],"photo_ids_order":["1332756037","1332756041","1332756048","1332756063","1332756076","1332756080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/63ed0c2e6a1dd55e6d0fec6808db625c.jpg","text":"TemporaryFile(/tmp/multipartBody7680852320351203494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181793875,"filename":"image_29012025_15_50_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/29/ed2efd84d0e6ac5b49242b95a62f164c.jpg","text":"TemporaryFile(/tmp/multipartBody6487448251369992649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181793875,"filename":"image_29012025_15_50_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/29/63d0ada9efc7cea41e45de1eb9b70301.jpg","text":"TemporaryFile(/tmp/multipartBody8580910391364313849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181793875,"filename":"image_29012025_15_50_44_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/29/18e36716f17dfce36b1ddd17f92cdfc4.jpg","text":"TemporaryFile(/tmp/multipartBody1475225736005306439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181793875,"filename":"image_29012025_15_50_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/29/b2b27f98de2936f59947079890b33ff2.jpg","text":"TemporaryFile(/tmp/multipartBody1515771268649845660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181793875,"filename":"image_29012025_15_51_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/29/350da5e18974ea73c80478a1a8243a94.jpg","text":"TemporaryFile(/tmp/multipartBody3312540192832328760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181793875,"filename":"image_29012025_15_50_24_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332756048","file1":"1332756041","file0":"1332756037","file4":"1332756076","file5":"1332756080","file3":"1332756063"},"map_files_photo_id_array":[{"photo_id":"1332756080","filename":"file5"},{"photo_id":"1332756048","filename":"file2"},{"photo_id":"1332756076","filename":"file4"},{"photo_id":"1332756041","filename":"file1"},{"photo_id":"1332756037","filename":"file0"},{"photo_id":"1332756063","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332756076":["hashtag1","hashtag2"]},{"1332756037":["hashtag1","hashtag2"]},{"1332756063":["hashtag1","hashtag2"]},{"1332756048":["hashtag1","hashtag2"]},{"1332756080":["hashtag1","hashtag2"]},{"1332756041":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332756076, 1332756037, 1332756063, 1332756048, 1332756080, 1332756041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.793577909469604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:16:32.154222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/51/image_29012025_15_51_14_9464.jpg', '/home/pi/Desktop/images/29012025/15/51/image_29012025_15_51_25_10330.jpg', '/home/pi/Desktop/images/29012025/15/51/image_29012025_15_51_35_10350.jpg', '/home/pi/Desktop/images/29012025/15/51/image_29012025_15_51_44_9339.jpg', '/home/pi/Desktop/images/29012025/15/51/image_29012025_15_51_55_10352.jpg', '/home/pi/Desktop/images/29012025/15/51/image_29012025_15_52_05_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/51/image_29012025_15_51_14_9464.jpg
/home/pi/Desktop/images/29012025/15/51/image_29012025_15_51_25_10330.jpg
/home/pi/Desktop/images/29012025/15/51/image_29012025_15_51_35_10350.jpg
/home/pi/Desktop/images/29012025/15/51/image_29012025_15_51_44_9339.jpg
/home/pi/Desktop/images/29012025/15/51/image_29012025_15_51_55_10352.jpg
/home/pi/Desktop/images/29012025/15/51/image_29012025_15_52_05_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":["1332756142","1332756139","1332756136","1332756132","1332756126","1332756122"],"photo_ids_order":["1332756122","1332756126","1332756132","1332756136","1332756139","1332756142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/548dfdb260af2c0c31bf5ada3cfc274d.jpg","text":"TemporaryFile(/tmp/multipartBody3696350363465482755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181853115,"filename":"image_29012025_15_52_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/29/b9543b7e171067c7d461255ee4c59fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6223461706866978369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181853115,"filename":"image_29012025_15_51_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/29/dc1007e21f0ebb0c787f0f72be2a66f0.jpg","text":"TemporaryFile(/tmp/multipartBody3652325818444350325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181853115,"filename":"image_29012025_15_51_44_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/29/9d32ea58aca7215591f2dc3680326fac.jpg","text":"TemporaryFile(/tmp/multipartBody8434867301458006974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181853115,"filename":"image_29012025_15_51_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/29/1c71b6690aeb75a2202ef1abf2b5ac2a.jpg","text":"TemporaryFile(/tmp/multipartBody4692324879406316520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181853115,"filename":"image_29012025_15_51_25_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/29/71375510589fc598aa97c2f234b67afe.jpg","text":"TemporaryFile(/tmp/multipartBody6205242423592615286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181853115,"filename":"image_29012025_15_51_14_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332756132","file1":"1332756126","file0":"1332756122","file4":"1332756139","file5":"1332756142","file3":"1332756136"},"map_files_photo_id_array":[{"photo_id":"1332756142","filename":"file5"},{"photo_id":"1332756132","filename":"file2"},{"photo_id":"1332756139","filename":"file4"},{"photo_id":"1332756126","filename":"file1"},{"photo_id":"1332756122","filename":"file0"},{"photo_id":"1332756136","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332756142":["hashtag1","hashtag2"]},{"1332756139":["hashtag1","hashtag2"]},{"1332756136":["hashtag1","hashtag2"]},{"1332756132":["hashtag1","hashtag2"]},{"1332756126":["hashtag1","hashtag2"]},{"1332756122":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332756142, 1332756139, 1332756136, 1332756132, 1332756126, 1332756122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.302725315093994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:17:32.468263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/52/image_29012025_15_52_14_9342.jpg', '/home/pi/Desktop/images/29012025/15/52/image_29012025_15_52_25_10445.jpg', '/home/pi/Desktop/images/29012025/15/52/image_29012025_15_52_34_9503.jpg', '/home/pi/Desktop/images/29012025/15/52/image_29012025_15_52_45_10355.jpg', '/home/pi/Desktop/images/29012025/15/52/image_29012025_15_52_55_10338.jpg', '/home/pi/Desktop/images/29012025/15/53/image_29012025_15_53_15_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/52/image_29012025_15_52_14_9342.jpg
/home/pi/Desktop/images/29012025/15/52/image_29012025_15_52_25_10445.jpg
/home/pi/Desktop/images/29012025/15/52/image_29012025_15_52_34_9503.jpg
/home/pi/Desktop/images/29012025/15/52/image_29012025_15_52_45_10355.jpg
/home/pi/Desktop/images/29012025/15/52/image_29012025_15_52_55_10338.jpg
/home/pi/Desktop/images/29012025/15/53/image_29012025_15_53_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":["1332756181","1332756192","1332756204","1332756197","1332756185","1332756188"],"photo_ids_order":["1332756181","1332756185","1332756188","1332756192","1332756197","1332756204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/853bc3586988789606970a38f203e2d9.jpg","text":"TemporaryFile(/tmp/multipartBody6262010131790412574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181913427,"filename":"image_29012025_15_52_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/29/75d5c3ce32e5f22fc197fe73ca1e55d5.jpg","text":"TemporaryFile(/tmp/multipartBody7824434361589796391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181913427,"filename":"image_29012025_15_52_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/29/f272b529ee3e48a0dd7a29058bc0af82.jpg","text":"TemporaryFile(/tmp/multipartBody8039661131405389665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181913427,"filename":"image_29012025_15_53_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/29/8a72f3047607cd71906d035fe081eacd.jpg","text":"TemporaryFile(/tmp/multipartBody3769358739832433622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181913427,"filename":"image_29012025_15_52_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/29/096c8e3f6e5dd205bc8d31bcf3815aab.jpg","text":"TemporaryFile(/tmp/multipartBody4441376207094098488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181913427,"filename":"image_29012025_15_52_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/29/9e326f071c3f584cbfb049d49228dee2.jpg","text":"TemporaryFile(/tmp/multipartBody1893778705419227613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181913427,"filename":"image_29012025_15_52_34_9503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332756188","file1":"1332756185","file0":"1332756181","file4":"1332756197","file5":"1332756204","file3":"1332756192"},"map_files_photo_id_array":[{"photo_id":"1332756204","filename":"file5"},{"photo_id":"1332756188","filename":"file2"},{"photo_id":"1332756197","filename":"file4"},{"photo_id":"1332756185","filename":"file1"},{"photo_id":"1332756181","filename":"file0"},{"photo_id":"1332756192","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332756181":["hashtag1","hashtag2"]},{"1332756192":["hashtag1","hashtag2"]},{"1332756204":["hashtag1","hashtag2"]},{"1332756197":["hashtag1","hashtag2"]},{"1332756185":["hashtag1","hashtag2"]},{"1332756188":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332756181, 1332756192, 1332756204, 1332756197, 1332756185, 1332756188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27652430534363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:18:32.575147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/53/image_29012025_15_53_24_9391.jpg', '/home/pi/Desktop/images/29012025/15/53/image_29012025_15_53_34_10342.jpg', '/home/pi/Desktop/images/29012025/15/53/image_29012025_15_53_45_10350.jpg', '/home/pi/Desktop/images/29012025/15/53/image_29012025_15_53_54_9364.jpg', '/home/pi/Desktop/images/29012025/15/53/image_29012025_15_54_04_10357.jpg', '/home/pi/Desktop/images/29012025/15/54/image_29012025_15_54_15_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/53/image_29012025_15_53_24_9391.jpg
/home/pi/Desktop/images/29012025/15/53/image_29012025_15_53_34_10342.jpg
/home/pi/Desktop/images/29012025/15/53/image_29012025_15_53_45_10350.jpg
/home/pi/Desktop/images/29012025/15/53/image_29012025_15_53_54_9364.jpg
/home/pi/Desktop/images/29012025/15/53/image_29012025_15_54_04_10357.jpg
/home/pi/Desktop/images/29012025/15/54/image_29012025_15_54_15_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332756388","1332756397","1332756364","1332756384","1332756393","1332756369"],"photo_ids_order":["1332756364","1332756369","1332756384","1332756388","1332756393","1332756397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/754da0460625003eda0db474c8363e8b.jpg","text":"TemporaryFile(/tmp/multipartBody3455701226927477327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181973559,"filename":"image_29012025_15_53_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/29/39cdd8779b6c2cdac2dcf532235b8f30.jpg","text":"TemporaryFile(/tmp/multipartBody1683525734725509030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181973559,"filename":"image_29012025_15_54_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/29/45d9e2244d98d969952650ebc69586f5.jpg","text":"TemporaryFile(/tmp/multipartBody2025619242613553239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181973559,"filename":"image_29012025_15_53_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/29/09ece4194836456357f95a55342d222e.jpg","text":"TemporaryFile(/tmp/multipartBody4248574668183268013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181973559,"filename":"image_29012025_15_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/29/fc76db1151f491ae9426cc1db24baa86.jpg","text":"TemporaryFile(/tmp/multipartBody6233988626035878532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181973559,"filename":"image_29012025_15_54_04_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/29/760418f57a392308cae4c1283fac2c25.jpg","text":"TemporaryFile(/tmp/multipartBody6522017059214938081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738181973559,"filename":"image_29012025_15_53_34_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332756384","file1":"1332756369","file0":"1332756364","file4":"1332756393","file5":"1332756397","file3":"1332756388"},"map_files_photo_id_array":[{"photo_id":"1332756397","filename":"file5"},{"photo_id":"1332756384","filename":"file2"},{"photo_id":"1332756393","filename":"file4"},{"photo_id":"1332756369","filename":"file1"},{"photo_id":"1332756364","filename":"file0"},{"photo_id":"1332756388","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332756388":["hashtag1","hashtag2"]},{"1332756397":["hashtag1","hashtag2"]},{"1332756364":["hashtag1","hashtag2"]},{"1332756384":["hashtag1","hashtag2"]},{"1332756393":["hashtag1","hashtag2"]},{"1332756369":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332756388, 1332756397, 1332756364, 1332756384, 1332756393, 1332756369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78645944595337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:19:33.066698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/54/image_29012025_15_54_24_9361.jpg', '/home/pi/Desktop/images/29012025/15/54/image_29012025_15_54_35_10343.jpg', '/home/pi/Desktop/images/29012025/15/54/image_29012025_15_54_45_10335.jpg', '/home/pi/Desktop/images/29012025/15/54/image_29012025_15_54_54_9420.jpg', '/home/pi/Desktop/images/29012025/15/54/image_29012025_15_55_05_10345.jpg', '/home/pi/Desktop/images/29012025/15/55/image_29012025_15_55_14_9510.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/54/image_29012025_15_54_24_9361.jpg
/home/pi/Desktop/images/29012025/15/54/image_29012025_15_54_35_10343.jpg
/home/pi/Desktop/images/29012025/15/54/image_29012025_15_54_45_10335.jpg
/home/pi/Desktop/images/29012025/15/54/image_29012025_15_54_54_9420.jpg
/home/pi/Desktop/images/29012025/15/54/image_29012025_15_55_05_10345.jpg
/home/pi/Desktop/images/29012025/15/55/image_29012025_15_55_14_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":["1332756541","1332756535","1332756538","1332756532","1332756546","1332756551"],"photo_ids_order":["1332756532","1332756535","1332756538","1332756541","1332756546","1332756551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2dd3bb401723660273fd165ed01c36c8.jpg","text":"TemporaryFile(/tmp/multipartBody4118694639312079248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182034048,"filename":"image_29012025_15_54_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/29/f0c8838f952d2b988c45771b6b178297.jpg","text":"TemporaryFile(/tmp/multipartBody6216928497387861304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182034048,"filename":"image_29012025_15_54_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/29/16e8bb22662c9223b887b765e96398fc.jpg","text":"TemporaryFile(/tmp/multipartBody350453206664505489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182034048,"filename":"image_29012025_15_54_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/29/14e6eed4ecee95f79e03b8eba8c67456.jpg","text":"TemporaryFile(/tmp/multipartBody3430948720769160794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182034048,"filename":"image_29012025_15_54_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/29/3b2a58bc958995aa79b42142f26921a4.jpg","text":"TemporaryFile(/tmp/multipartBody2296256892610194143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182034048,"filename":"image_29012025_15_55_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/29/0e6c8e3dadbf1f4fda32fe6e42a9bfd2.jpg","text":"TemporaryFile(/tmp/multipartBody133774930073149908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182034048,"filename":"image_29012025_15_55_14_9510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332756538","file1":"1332756535","file0":"1332756532","file4":"1332756546","file5":"1332756551","file3":"1332756541"},"map_files_photo_id_array":[{"photo_id":"1332756551","filename":"file5"},{"photo_id":"1332756538","filename":"file2"},{"photo_id":"1332756546","filename":"file4"},{"photo_id":"1332756535","filename":"file1"},{"photo_id":"1332756532","filename":"file0"},{"photo_id":"1332756541","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332756541":["hashtag1","hashtag2"]},{"1332756535":["hashtag1","hashtag2"]},{"1332756538":["hashtag1","hashtag2"]},{"1332756532":["hashtag1","hashtag2"]},{"1332756546":["hashtag1","hashtag2"]},{"1332756551":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332756541, 1332756535, 1332756538, 1332756532, 1332756546, 1332756551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.572237491607666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:20:33.125844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/55/image_29012025_15_55_24_10339.jpg', '/home/pi/Desktop/images/29012025/15/55/image_29012025_15_55_35_10334.jpg', '/home/pi/Desktop/images/29012025/15/55/image_29012025_15_55_44_9450.jpg', '/home/pi/Desktop/images/29012025/15/55/image_29012025_15_55_55_10450.jpg', '/home/pi/Desktop/images/29012025/15/55/image_29012025_15_56_04_9414.jpg', '/home/pi/Desktop/images/29012025/15/56/image_29012025_15_56_14_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/55/image_29012025_15_55_24_10339.jpg
/home/pi/Desktop/images/29012025/15/55/image_29012025_15_55_35_10334.jpg
/home/pi/Desktop/images/29012025/15/55/image_29012025_15_55_44_9450.jpg
/home/pi/Desktop/images/29012025/15/55/image_29012025_15_55_55_10450.jpg
/home/pi/Desktop/images/29012025/15/55/image_29012025_15_56_04_9414.jpg
/home/pi/Desktop/images/29012025/15/56/image_29012025_15_56_14_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":["1332756592","1332756700","1332756597","1332756585","1332756720","1332756595"],"photo_ids_order":["1332756585","1332756592","1332756595","1332756597","1332756700","1332756720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fc3487cb0439a602667be9432aaaad3c.jpg","text":"TemporaryFile(/tmp/multipartBody4802159544937062005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182094095,"filename":"image_29012025_15_55_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/29/d8f2aace11ba32d5b3dfc31f903ea870.jpg","text":"TemporaryFile(/tmp/multipartBody5615806808526303236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182094095,"filename":"image_29012025_15_56_04_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/29/a76a9808456e02dd19147212499e3181.jpg","text":"TemporaryFile(/tmp/multipartBody7867471834638972608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182094095,"filename":"image_29012025_15_55_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/29/b82d4a629cd0511931c897d1a3731b23.jpg","text":"TemporaryFile(/tmp/multipartBody3191504977060983650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182094095,"filename":"image_29012025_15_55_24_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/29/ea2c142628ac83fe1759b25f135dc34d.jpg","text":"TemporaryFile(/tmp/multipartBody2005083625661944710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182094095,"filename":"image_29012025_15_56_14_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/29/325aba2c4a3bb7a5d82cd9234c8e6409.jpg","text":"TemporaryFile(/tmp/multipartBody1287680485066820075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182094095,"filename":"image_29012025_15_55_44_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332756595","file1":"1332756592","file0":"1332756585","file4":"1332756700","file5":"1332756720","file3":"1332756597"},"map_files_photo_id_array":[{"photo_id":"1332756720","filename":"file5"},{"photo_id":"1332756595","filename":"file2"},{"photo_id":"1332756700","filename":"file4"},{"photo_id":"1332756592","filename":"file1"},{"photo_id":"1332756585","filename":"file0"},{"photo_id":"1332756597","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332756592":["hashtag1","hashtag2"]},{"1332756700":["hashtag1","hashtag2"]},{"1332756597":["hashtag1","hashtag2"]},{"1332756585":["hashtag1","hashtag2"]},{"1332756720":["hashtag1","hashtag2"]},{"1332756595":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332756592, 1332756700, 1332756597, 1332756585, 1332756720, 1332756595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.38133525848389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:21:32.429203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/56/image_29012025_15_56_25_10358.jpg', '/home/pi/Desktop/images/29012025/15/56/image_29012025_15_56_34_9351.jpg', '/home/pi/Desktop/images/29012025/15/56/image_29012025_15_56_45_10428.jpg', '/home/pi/Desktop/images/29012025/15/56/image_29012025_15_56_54_9332.jpg', '/home/pi/Desktop/images/29012025/15/56/image_29012025_15_57_04_10418.jpg', '/home/pi/Desktop/images/29012025/15/57/image_29012025_15_57_15_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/56/image_29012025_15_56_25_10358.jpg
/home/pi/Desktop/images/29012025/15/56/image_29012025_15_56_34_9351.jpg
/home/pi/Desktop/images/29012025/15/56/image_29012025_15_56_45_10428.jpg
/home/pi/Desktop/images/29012025/15/56/image_29012025_15_56_54_9332.jpg
/home/pi/Desktop/images/29012025/15/56/image_29012025_15_57_04_10418.jpg
/home/pi/Desktop/images/29012025/15/57/image_29012025_15_57_15_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332756745","1332756835","1332756822","1332756794","1332756869","1332756857"],"photo_ids_order":["1332756745","1332756794","1332756822","1332756835","1332756857","1332756869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/19ebeade6d414932a0b995c39b6b5f48.jpg","text":"TemporaryFile(/tmp/multipartBody4302949361197679043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182153402,"filename":"image_29012025_15_56_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/29/53cfb8d5678e864facab2e687cc2a3b2.jpg","text":"TemporaryFile(/tmp/multipartBody76545779111597528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182153402,"filename":"image_29012025_15_56_54_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/29/efb7f6bb01d2ce396afb9d6c130bc24e.jpg","text":"TemporaryFile(/tmp/multipartBody595796058138277920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182153402,"filename":"image_29012025_15_56_45_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/29/815412fa7296b4bbedb05a8db9f1cccf.jpg","text":"TemporaryFile(/tmp/multipartBody7576461582121485295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182153402,"filename":"image_29012025_15_56_34_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/29/0f67e0cd638700456b94afa96c19f553.jpg","text":"TemporaryFile(/tmp/multipartBody8247468345255311196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182153402,"filename":"image_29012025_15_57_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/29/c79913d946782d5eb0a1e4a6920fb147.jpg","text":"TemporaryFile(/tmp/multipartBody5853064511724975078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182153402,"filename":"image_29012025_15_57_04_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332756822","file1":"1332756794","file0":"1332756745","file4":"1332756857","file5":"1332756869","file3":"1332756835"},"map_files_photo_id_array":[{"photo_id":"1332756869","filename":"file5"},{"photo_id":"1332756822","filename":"file2"},{"photo_id":"1332756857","filename":"file4"},{"photo_id":"1332756794","filename":"file1"},{"photo_id":"1332756745","filename":"file0"},{"photo_id":"1332756835","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332756745":["hashtag1","hashtag2"]},{"1332756835":["hashtag1","hashtag2"]},{"1332756822":["hashtag1","hashtag2"]},{"1332756794":["hashtag1","hashtag2"]},{"1332756869":["hashtag1","hashtag2"]},{"1332756857":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332756745, 1332756835, 1332756822, 1332756794, 1332756869, 1332756857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.092915534973145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:22:32.559770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/57/image_29012025_15_57_24_9386.jpg', '/home/pi/Desktop/images/29012025/15/57/image_29012025_15_57_45_10335.jpg', '/home/pi/Desktop/images/29012025/15/57/image_29012025_15_57_54_9420.jpg', '/home/pi/Desktop/images/29012025/15/57/image_29012025_15_58_05_10355.jpg', '/home/pi/Desktop/images/29012025/15/58/image_29012025_15_58_14_9464.jpg', '/home/pi/Desktop/images/29012025/15/58/image_29012025_15_58_24_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/57/image_29012025_15_57_24_9386.jpg
/home/pi/Desktop/images/29012025/15/57/image_29012025_15_57_45_10335.jpg
/home/pi/Desktop/images/29012025/15/57/image_29012025_15_57_54_9420.jpg
/home/pi/Desktop/images/29012025/15/57/image_29012025_15_58_05_10355.jpg
/home/pi/Desktop/images/29012025/15/58/image_29012025_15_58_14_9464.jpg
/home/pi/Desktop/images/29012025/15/58/image_29012025_15_58_24_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":["1332756905","1332756997","1332756975","1332756909","1332757013","1332756986"],"photo_ids_order":["1332756905","1332756909","1332756975","1332756986","1332756997","1332757013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cf8c9f32f0cc1509e3046a955aa46731.jpg","text":"TemporaryFile(/tmp/multipartBody2319099283092109722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182213524,"filename":"image_29012025_15_57_24_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/29/fbacb343681e91caf7773d17bcabbf2e.jpg","text":"TemporaryFile(/tmp/multipartBody2363439438852762706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182213524,"filename":"image_29012025_15_58_14_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/29/16be95f03ff8f55774192cdf1788222e.jpg","text":"TemporaryFile(/tmp/multipartBody8347854816198852763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182213524,"filename":"image_29012025_15_57_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/29/b5b700b423a3eeb5538abffde593cbb5.jpg","text":"TemporaryFile(/tmp/multipartBody6844866730179132473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182213524,"filename":"image_29012025_15_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/29/434817c4173efcc2d5e937db34830174.jpg","text":"TemporaryFile(/tmp/multipartBody1562932163816850171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182213524,"filename":"image_29012025_15_58_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/29/d28d1f9b0b1c2da513d76dab505e1d40.jpg","text":"TemporaryFile(/tmp/multipartBody9187848553621725258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182213524,"filename":"image_29012025_15_58_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332756975","file1":"1332756909","file0":"1332756905","file4":"1332756997","file5":"1332757013","file3":"1332756986"},"map_files_photo_id_array":[{"photo_id":"1332757013","filename":"file5"},{"photo_id":"1332756975","filename":"file2"},{"photo_id":"1332756997","filename":"file4"},{"photo_id":"1332756909","filename":"file1"},{"photo_id":"1332756905","filename":"file0"},{"photo_id":"1332756986","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332756905":["hashtag1","hashtag2"]},{"1332756997":["hashtag1","hashtag2"]},{"1332756975":["hashtag1","hashtag2"]},{"1332756909":["hashtag1","hashtag2"]},{"1332757013":["hashtag1","hashtag2"]},{"1332756986":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332756905, 1332756997, 1332756975, 1332756909, 1332757013, 1332756986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.931050300598145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:23:32.902190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/58/image_29012025_15_58_35_10439.jpg', '/home/pi/Desktop/images/29012025/15/58/image_29012025_15_58_44_9433.jpg', '/home/pi/Desktop/images/29012025/15/58/image_29012025_15_58_55_10361.jpg', '/home/pi/Desktop/images/29012025/15/58/image_29012025_15_59_04_9437.jpg', '/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_14_10357.jpg', '/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_25_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/58/image_29012025_15_58_35_10439.jpg
/home/pi/Desktop/images/29012025/15/58/image_29012025_15_58_44_9433.jpg
/home/pi/Desktop/images/29012025/15/58/image_29012025_15_58_55_10361.jpg
/home/pi/Desktop/images/29012025/15/58/image_29012025_15_59_04_9437.jpg
/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_14_10357.jpg
/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_25_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":["1332757135","1332757204","1332757201","1332757191","1332757196","1332757130"],"photo_ids_order":["1332757130","1332757135","1332757191","1332757196","1332757201","1332757204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d90ba1290c802218e911fb67adf44842.jpg","text":"TemporaryFile(/tmp/multipartBody6012738379080290314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182274163,"filename":"image_29012025_15_58_44_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/29/555a2b335a1b7e22fe136305a78f21e1.jpg","text":"TemporaryFile(/tmp/multipartBody5262708244493602417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182274163,"filename":"image_29012025_15_59_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/29/b6addc9e63a1f99aa995886d02c08a34.jpg","text":"TemporaryFile(/tmp/multipartBody7481143318517179403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182274163,"filename":"image_29012025_15_59_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/29/32beb8102ee405a22efd95b4f162ed3e.jpg","text":"TemporaryFile(/tmp/multipartBody8014820449077944484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182274163,"filename":"image_29012025_15_58_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/29/41ca1aab3260e29e08f24663f3ef07b5.jpg","text":"TemporaryFile(/tmp/multipartBody2474391354554856698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182274163,"filename":"image_29012025_15_59_04_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/29/ff9a04274699c9525094bb0af20a1764.jpg","text":"TemporaryFile(/tmp/multipartBody5146049053656529555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182274163,"filename":"image_29012025_15_58_35_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332757191","file1":"1332757135","file0":"1332757130","file4":"1332757201","file5":"1332757204","file3":"1332757196"},"map_files_photo_id_array":[{"photo_id":"1332757204","filename":"file5"},{"photo_id":"1332757191","filename":"file2"},{"photo_id":"1332757201","filename":"file4"},{"photo_id":"1332757135","filename":"file1"},{"photo_id":"1332757130","filename":"file0"},{"photo_id":"1332757196","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332757135":["hashtag1","hashtag2"]},{"1332757204":["hashtag1","hashtag2"]},{"1332757201":["hashtag1","hashtag2"]},{"1332757191":["hashtag1","hashtag2"]},{"1332757196":["hashtag1","hashtag2"]},{"1332757130":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332757135, 1332757204, 1332757201, 1332757191, 1332757196, 1332757130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.413342237472534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:24:32.977951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_34_9351.jpg', '/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_45_10355.jpg', '/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_55_10368.jpg', '/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_16_10079.jpg', '/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_26_10433.jpg', '/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_37_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_34_9351.jpg
/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_45_10355.jpg
/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_55_10368.jpg
/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_16_10079.jpg
/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_26_10433.jpg
/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_37_10441.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.5768153667449951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 21:24:42.905767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_34_9351.jpg', '/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_45_10355.jpg', '/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_55_10368.jpg', '/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_16_10079.jpg', '/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_26_10433.jpg', '/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_37_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_34_9351.jpg
/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_45_10355.jpg
/home/pi/Desktop/images/29012025/15/59/image_29012025_15_59_55_10368.jpg
/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_16_10079.jpg
/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_26_10433.jpg
/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_37_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332758026","1332758034","1332758022","1332758019","1332758030","1332758047"],"photo_ids_order":["1332758019","1332758022","1332758026","1332758030","1332758034","1332758047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bc024513b141c236fd171597051fc399.jpg","text":"TemporaryFile(/tmp/multipartBody879354065421336995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182343822,"filename":"image_29012025_15_59_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/29/a873c3ddc851915105c8004a4a2044dd.jpg","text":"TemporaryFile(/tmp/multipartBody8717533772675825701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182343822,"filename":"image_29012025_16_00_26_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/29/3247f2d1290b6c7773af9569b6342f8c.jpg","text":"TemporaryFile(/tmp/multipartBody803870697864816514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182343822,"filename":"image_29012025_15_59_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/29/b07453b638f8b1f9a598295f056c528a.jpg","text":"TemporaryFile(/tmp/multipartBody7288872924113667140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182343822,"filename":"image_29012025_15_59_34_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/29/73bce3568528916f30cb3d970f716e30.jpg","text":"TemporaryFile(/tmp/multipartBody6870825342826301208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182343822,"filename":"image_29012025_16_00_16_10079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7e223c65037245cbf10479e8168adb5d.jpg","text":"TemporaryFile(/tmp/multipartBody1484771086040340084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182343822,"filename":"image_29012025_16_00_37_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332758026","file1":"1332758022","file0":"1332758019","file4":"1332758034","file5":"1332758047","file3":"1332758030"},"map_files_photo_id_array":[{"photo_id":"1332758047","filename":"file5"},{"photo_id":"1332758026","filename":"file2"},{"photo_id":"1332758034","filename":"file4"},{"photo_id":"1332758022","filename":"file1"},{"photo_id":"1332758019","filename":"file0"},{"photo_id":"1332758030","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332758026":["hashtag1","hashtag2"]},{"1332758034":["hashtag1","hashtag2"]},{"1332758022":["hashtag1","hashtag2"]},{"1332758019":["hashtag1","hashtag2"]},{"1332758030":["hashtag1","hashtag2"]},{"1332758047":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332758026, 1332758034, 1332758022, 1332758019, 1332758030, 1332758047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.058220863342285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:25:33.099251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_46_9490.jpg', '/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_56_10335.jpg', '/home/pi/Desktop/images/29012025/16/00/image_29012025_16_01_06_9376.jpg', '/home/pi/Desktop/images/29012025/16/01/image_29012025_16_01_16_10364.jpg', '/home/pi/Desktop/images/29012025/16/01/image_29012025_16_01_26_10359.jpg', '/home/pi/Desktop/images/29012025/16/01/image_29012025_16_01_36_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_46_9490.jpg
/home/pi/Desktop/images/29012025/16/00/image_29012025_16_00_56_10335.jpg
/home/pi/Desktop/images/29012025/16/00/image_29012025_16_01_06_9376.jpg
/home/pi/Desktop/images/29012025/16/01/image_29012025_16_01_16_10364.jpg
/home/pi/Desktop/images/29012025/16/01/image_29012025_16_01_26_10359.jpg
/home/pi/Desktop/images/29012025/16/01/image_29012025_16_01_36_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":["1332758373","1332758367","1332758436","1332758439","1332758427","1332758371"],"photo_ids_order":["1332758367","1332758371","1332758373","1332758427","1332758436","1332758439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cf8fc09326c0734d56761012f7734de4.jpg","text":"TemporaryFile(/tmp/multipartBody7093568980135180399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182394084,"filename":"image_29012025_16_01_06_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/29/29136b32d078e1e828c3b0e73312f210.jpg","text":"TemporaryFile(/tmp/multipartBody6127969361783250661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182394084,"filename":"image_29012025_16_00_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/29/a2095130fd3b5573486f178a6d5d4f61.jpg","text":"TemporaryFile(/tmp/multipartBody5637632815043871388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182394084,"filename":"image_29012025_16_01_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/29/574147761e772576e0c1f8d3ef07a073.jpg","text":"TemporaryFile(/tmp/multipartBody4742089488711280706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182394084,"filename":"image_29012025_16_01_36_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/29/6f2848a94708029696785a5ecc5ea0c0.jpg","text":"TemporaryFile(/tmp/multipartBody7857029421688105440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182394084,"filename":"image_29012025_16_01_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/29/5b575d0e708490b3cb1977900d7d18b6.jpg","text":"TemporaryFile(/tmp/multipartBody3393161933676456747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182394084,"filename":"image_29012025_16_00_56_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332758373","file1":"1332758371","file0":"1332758367","file4":"1332758436","file5":"1332758439","file3":"1332758427"},"map_files_photo_id_array":[{"photo_id":"1332758439","filename":"file5"},{"photo_id":"1332758373","filename":"file2"},{"photo_id":"1332758436","filename":"file4"},{"photo_id":"1332758371","filename":"file1"},{"photo_id":"1332758367","filename":"file0"},{"photo_id":"1332758427","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332758373":["hashtag1","hashtag2"]},{"1332758367":["hashtag1","hashtag2"]},{"1332758436":["hashtag1","hashtag2"]},{"1332758439":["hashtag1","hashtag2"]},{"1332758427":["hashtag1","hashtag2"]},{"1332758371":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332758373, 1332758367, 1332758436, 1332758439, 1332758427, 1332758371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87907361984253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:26:32.519239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/01/image_29012025_16_01_46_10329.jpg', '/home/pi/Desktop/images/29012025/16/01/image_29012025_16_01_56_9674.jpg', '/home/pi/Desktop/images/29012025/16/01/image_29012025_16_02_06_10412.jpg', '/home/pi/Desktop/images/29012025/16/02/image_29012025_16_02_16_9411.jpg', '/home/pi/Desktop/images/29012025/16/02/image_29012025_16_02_26_10411.jpg', '/home/pi/Desktop/images/29012025/16/02/image_29012025_16_02_36_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/01/image_29012025_16_01_46_10329.jpg
/home/pi/Desktop/images/29012025/16/01/image_29012025_16_01_56_9674.jpg
/home/pi/Desktop/images/29012025/16/01/image_29012025_16_02_06_10412.jpg
/home/pi/Desktop/images/29012025/16/02/image_29012025_16_02_16_9411.jpg
/home/pi/Desktop/images/29012025/16/02/image_29012025_16_02_26_10411.jpg
/home/pi/Desktop/images/29012025/16/02/image_29012025_16_02_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":["1332758475","1332758489","1332758456","1332758485","1332758494","1332758479"],"photo_ids_order":["1332758456","1332758475","1332758479","1332758485","1332758489","1332758494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/54dc18878435d1f080893b3c38ff04ca.jpg","text":"TemporaryFile(/tmp/multipartBody5899223024287694829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182453498,"filename":"image_29012025_16_01_56_9674.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/71d191b7c38ca6dba85ac58e7e4468ab.jpg","text":"TemporaryFile(/tmp/multipartBody2156661632939981427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182453498,"filename":"image_29012025_16_02_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/29/30f365af164f9fc2f8a4f6d8d56b9a81.jpg","text":"TemporaryFile(/tmp/multipartBody1392271137572872818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182453498,"filename":"image_29012025_16_01_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/29/603df4d0486cfeb2f0b339d228b16eca.jpg","text":"TemporaryFile(/tmp/multipartBody6575700946028703379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182453498,"filename":"image_29012025_16_02_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/29/9d910f4007eac871acd8211e55a488ae.jpg","text":"TemporaryFile(/tmp/multipartBody2538564688943140777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182453498,"filename":"image_29012025_16_02_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/29/6c1eae65f3099691488056da1f803432.jpg","text":"TemporaryFile(/tmp/multipartBody7661081830445446236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182453498,"filename":"image_29012025_16_02_06_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332758479","file1":"1332758475","file0":"1332758456","file4":"1332758489","file5":"1332758494","file3":"1332758485"},"map_files_photo_id_array":[{"photo_id":"1332758494","filename":"file5"},{"photo_id":"1332758479","filename":"file2"},{"photo_id":"1332758489","filename":"file4"},{"photo_id":"1332758475","filename":"file1"},{"photo_id":"1332758456","filename":"file0"},{"photo_id":"1332758485","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332758475":["hashtag1","hashtag2"]},{"1332758489":["hashtag1","hashtag2"]},{"1332758456":["hashtag1","hashtag2"]},{"1332758485":["hashtag1","hashtag2"]},{"1332758494":["hashtag1","hashtag2"]},{"1332758479":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332758475, 1332758489, 1332758456, 1332758485, 1332758494, 1332758479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22441101074219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:27:32.541825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/02/image_29012025_16_02_46_9338.jpg', '/home/pi/Desktop/images/29012025/16/02/image_29012025_16_02_56_10427.jpg', '/home/pi/Desktop/images/29012025/16/02/image_29012025_16_03_07_10363.jpg', '/home/pi/Desktop/images/29012025/16/03/image_29012025_16_03_16_9406.jpg', '/home/pi/Desktop/images/29012025/16/03/image_29012025_16_03_26_10430.jpg', '/home/pi/Desktop/images/29012025/16/03/image_29012025_16_03_36_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/02/image_29012025_16_02_46_9338.jpg
/home/pi/Desktop/images/29012025/16/02/image_29012025_16_02_56_10427.jpg
/home/pi/Desktop/images/29012025/16/02/image_29012025_16_03_07_10363.jpg
/home/pi/Desktop/images/29012025/16/03/image_29012025_16_03_16_9406.jpg
/home/pi/Desktop/images/29012025/16/03/image_29012025_16_03_26_10430.jpg
/home/pi/Desktop/images/29012025/16/03/image_29012025_16_03_36_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":["1332758888","1332758896","1332758881","1332758900","1332758884","1332758892"],"photo_ids_order":["1332758881","1332758884","1332758888","1332758892","1332758896","1332758900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f804c6d030cad8e625978ed748698071.jpg","text":"TemporaryFile(/tmp/multipartBody8147801863085852550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182513510,"filename":"image_29012025_16_03_07_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/29/62ae6eebe9899ede8838c939dcc55708.jpg","text":"TemporaryFile(/tmp/multipartBody1931041828749242464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182513510,"filename":"image_29012025_16_03_26_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/29/c96b45c42c74dbaa06a56ed3755ad9ee.jpg","text":"TemporaryFile(/tmp/multipartBody2159939423779804135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182513510,"filename":"image_29012025_16_02_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/29/06e385d24eaebb611079f0950d4ca6be.jpg","text":"TemporaryFile(/tmp/multipartBody1874447217690739789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182513510,"filename":"image_29012025_16_03_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/29/561b918935b029a44041cd5230f0e643.jpg","text":"TemporaryFile(/tmp/multipartBody6017756915580255185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182513510,"filename":"image_29012025_16_02_56_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/29/0c815850b92f5a2473f934bcf20342bf.jpg","text":"TemporaryFile(/tmp/multipartBody7932628446185884382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182513510,"filename":"image_29012025_16_03_16_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332758888","file1":"1332758884","file0":"1332758881","file4":"1332758896","file5":"1332758900","file3":"1332758892"},"map_files_photo_id_array":[{"photo_id":"1332758900","filename":"file5"},{"photo_id":"1332758888","filename":"file2"},{"photo_id":"1332758896","filename":"file4"},{"photo_id":"1332758884","filename":"file1"},{"photo_id":"1332758881","filename":"file0"},{"photo_id":"1332758892","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332758888":["hashtag1","hashtag2"]},{"1332758896":["hashtag1","hashtag2"]},{"1332758881":["hashtag1","hashtag2"]},{"1332758900":["hashtag1","hashtag2"]},{"1332758884":["hashtag1","hashtag2"]},{"1332758892":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332758888, 1332758896, 1332758881, 1332758900, 1332758884, 1332758892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12209463119507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:28:32.829671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/03/image_29012025_16_03_46_10460.jpg', '/home/pi/Desktop/images/29012025/16/03/image_29012025_16_03_57_10346.jpg', '/home/pi/Desktop/images/29012025/16/03/image_29012025_16_04_06_9563.jpg', '/home/pi/Desktop/images/29012025/16/04/image_29012025_16_04_17_10367.jpg', '/home/pi/Desktop/images/29012025/16/04/image_29012025_16_04_26_9367.jpg', '/home/pi/Desktop/images/29012025/16/04/image_29012025_16_04_36_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/03/image_29012025_16_03_46_10460.jpg
/home/pi/Desktop/images/29012025/16/03/image_29012025_16_03_57_10346.jpg
/home/pi/Desktop/images/29012025/16/03/image_29012025_16_04_06_9563.jpg
/home/pi/Desktop/images/29012025/16/04/image_29012025_16_04_17_10367.jpg
/home/pi/Desktop/images/29012025/16/04/image_29012025_16_04_26_9367.jpg
/home/pi/Desktop/images/29012025/16/04/image_29012025_16_04_36_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":["1332758994","1332758984","1332758951","1332758989","1332758986","1332758956"],"photo_ids_order":["1332758951","1332758956","1332758984","1332758986","1332758989","1332758994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1612b11d65a01555aa945552a0e1efb9.jpg","text":"TemporaryFile(/tmp/multipartBody194007709767351054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182573782,"filename":"image_29012025_16_04_36_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/29/3bc041afc414ff28fbd7ce8eeb39b925.jpg","text":"TemporaryFile(/tmp/multipartBody2453785082224093676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182573782,"filename":"image_29012025_16_04_06_9563.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/328c6b69ab67604edcba5d16ca20650f.jpg","text":"TemporaryFile(/tmp/multipartBody3915355259087765050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182573782,"filename":"image_29012025_16_03_46_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/29/c5c03cc6de7ed70d659c9a56796fe96f.jpg","text":"TemporaryFile(/tmp/multipartBody8358066026290639321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182573782,"filename":"image_29012025_16_04_26_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/29/7747d15877cd41058c0804addfc309c0.jpg","text":"TemporaryFile(/tmp/multipartBody4014174761653977877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182573782,"filename":"image_29012025_16_04_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/29/de2206cfd8e193aefcdde4c43bb169ba.jpg","text":"TemporaryFile(/tmp/multipartBody382822583071267078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182573782,"filename":"image_29012025_16_03_57_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332758984","file1":"1332758956","file0":"1332758951","file4":"1332758989","file5":"1332758994","file3":"1332758986"},"map_files_photo_id_array":[{"photo_id":"1332758994","filename":"file5"},{"photo_id":"1332758984","filename":"file2"},{"photo_id":"1332758989","filename":"file4"},{"photo_id":"1332758956","filename":"file1"},{"photo_id":"1332758951","filename":"file0"},{"photo_id":"1332758986","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332758994":["hashtag1","hashtag2"]},{"1332758984":["hashtag1","hashtag2"]},{"1332758951":["hashtag1","hashtag2"]},{"1332758989":["hashtag1","hashtag2"]},{"1332758986":["hashtag1","hashtag2"]},{"1332758956":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332758994, 1332758984, 1332758951, 1332758989, 1332758986, 1332758956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28262948989868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:29:33.021123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/04/image_29012025_16_04_46_9409.jpg', '/home/pi/Desktop/images/29012025/16/04/image_29012025_16_04_56_10409.jpg', '/home/pi/Desktop/images/29012025/16/04/image_29012025_16_05_06_10370.jpg', '/home/pi/Desktop/images/29012025/16/05/image_29012025_16_05_16_9402.jpg', '/home/pi/Desktop/images/29012025/16/05/image_29012025_16_05_26_10353.jpg', '/home/pi/Desktop/images/29012025/16/05/image_29012025_16_05_37_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/04/image_29012025_16_04_46_9409.jpg
/home/pi/Desktop/images/29012025/16/04/image_29012025_16_04_56_10409.jpg
/home/pi/Desktop/images/29012025/16/04/image_29012025_16_05_06_10370.jpg
/home/pi/Desktop/images/29012025/16/05/image_29012025_16_05_16_9402.jpg
/home/pi/Desktop/images/29012025/16/05/image_29012025_16_05_26_10353.jpg
/home/pi/Desktop/images/29012025/16/05/image_29012025_16_05_37_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":["1332759135","1332759036","1332759352","1332759460","1332759223","1332759049"],"photo_ids_order":["1332759036","1332759049","1332759135","1332759223","1332759352","1332759460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/555391b6b0df597ea3730b951ad5d1d2.jpg","text":"TemporaryFile(/tmp/multipartBody8503039870223104596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182633980,"filename":"image_29012025_16_05_06_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/29/fc5d2f0c4d26402dbed7dd4fa3d2d535.jpg","text":"TemporaryFile(/tmp/multipartBody5733322542690962044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182633980,"filename":"image_29012025_16_04_46_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/29/b2b749e8bb736a5bdf14c0d5c1bd0657.jpg","text":"TemporaryFile(/tmp/multipartBody105212923624923031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182633980,"filename":"image_29012025_16_05_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/29/77cae43d6674eeef2f710dcbc506a6f5.jpg","text":"TemporaryFile(/tmp/multipartBody6366383361053868155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182633980,"filename":"image_29012025_16_05_37_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/29/0ac5f06cd6e4f59240ea64313ce968a2.jpg","text":"TemporaryFile(/tmp/multipartBody825189725060290898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182633980,"filename":"image_29012025_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/29/be5fd87d45fd5d9ee27b1bd560d2e92a.jpg","text":"TemporaryFile(/tmp/multipartBody6654022173804724028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182633980,"filename":"image_29012025_16_04_56_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332759135","file1":"1332759049","file0":"1332759036","file4":"1332759352","file5":"1332759460","file3":"1332759223"},"map_files_photo_id_array":[{"photo_id":"1332759460","filename":"file5"},{"photo_id":"1332759135","filename":"file2"},{"photo_id":"1332759352","filename":"file4"},{"photo_id":"1332759049","filename":"file1"},{"photo_id":"1332759036","filename":"file0"},{"photo_id":"1332759223","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332759135":["hashtag1","hashtag2"]},{"1332759036":["hashtag1","hashtag2"]},{"1332759352":["hashtag1","hashtag2"]},{"1332759460":["hashtag1","hashtag2"]},{"1332759223":["hashtag1","hashtag2"]},{"1332759049":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332759135, 1332759036, 1332759352, 1332759460, 1332759223, 1332759049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15912461280823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:30:32.134286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/05/image_29012025_16_05_46_9459.jpg', '/home/pi/Desktop/images/29012025/16/05/image_29012025_16_05_56_10413.jpg', '/home/pi/Desktop/images/29012025/16/05/image_29012025_16_06_06_9333.jpg', '/home/pi/Desktop/images/29012025/16/06/image_29012025_16_06_16_10451.jpg', '/home/pi/Desktop/images/29012025/16/06/image_29012025_16_06_27_10351.jpg', '/home/pi/Desktop/images/29012025/16/06/image_29012025_16_06_36_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/05/image_29012025_16_05_46_9459.jpg
/home/pi/Desktop/images/29012025/16/05/image_29012025_16_05_56_10413.jpg
/home/pi/Desktop/images/29012025/16/05/image_29012025_16_06_06_9333.jpg
/home/pi/Desktop/images/29012025/16/06/image_29012025_16_06_16_10451.jpg
/home/pi/Desktop/images/29012025/16/06/image_29012025_16_06_27_10351.jpg
/home/pi/Desktop/images/29012025/16/06/image_29012025_16_06_36_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":["1332759878","1332759950","1332759845","1332759833","1332759852","1332759849"],"photo_ids_order":["1332759833","1332759845","1332759849","1332759852","1332759878","1332759950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6dd85589ec84924ddfdc5dbe08693ba3.jpg","text":"TemporaryFile(/tmp/multipartBody597698249856423023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182693109,"filename":"image_29012025_16_06_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/29/927fbd440f03fb2887cf8fb984341dd2.jpg","text":"TemporaryFile(/tmp/multipartBody3342460051820593279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182693109,"filename":"image_29012025_16_06_36_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/29/f40a5bad072e7676658882b558943da9.jpg","text":"TemporaryFile(/tmp/multipartBody7385154419695672078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182693109,"filename":"image_29012025_16_05_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/29/b21a30a5ca25858c72f20c1e2d7d9031.jpg","text":"TemporaryFile(/tmp/multipartBody4388075827049837244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182693109,"filename":"image_29012025_16_05_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/29/2a04917f63967ffdf0f8fa751b527ab4.jpg","text":"TemporaryFile(/tmp/multipartBody7641234567905522280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182693109,"filename":"image_29012025_16_06_16_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/29/cb540126fe87b39b5deb4d898d1958c1.jpg","text":"TemporaryFile(/tmp/multipartBody4693969682382714155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182693109,"filename":"image_29012025_16_06_06_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332759849","file1":"1332759845","file0":"1332759833","file4":"1332759878","file5":"1332759950","file3":"1332759852"},"map_files_photo_id_array":[{"photo_id":"1332759950","filename":"file5"},{"photo_id":"1332759849","filename":"file2"},{"photo_id":"1332759878","filename":"file4"},{"photo_id":"1332759845","filename":"file1"},{"photo_id":"1332759833","filename":"file0"},{"photo_id":"1332759852","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332759878":["hashtag1","hashtag2"]},{"1332759950":["hashtag1","hashtag2"]},{"1332759845":["hashtag1","hashtag2"]},{"1332759833":["hashtag1","hashtag2"]},{"1332759852":["hashtag1","hashtag2"]},{"1332759849":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332759878, 1332759950, 1332759845, 1332759833, 1332759852, 1332759849)","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-29 21:31:32.565406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/06/image_29012025_16_06_46_10334.jpg', '/home/pi/Desktop/images/29012025/16/06/image_29012025_16_06_56_9342.jpg', '/home/pi/Desktop/images/29012025/16/06/image_29012025_16_07_06_10378.jpg', '/home/pi/Desktop/images/29012025/16/07/image_29012025_16_07_16_10365.jpg', '/home/pi/Desktop/images/29012025/16/07/image_29012025_16_07_26_9351.jpg', '/home/pi/Desktop/images/29012025/16/07/image_29012025_16_07_36_10478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/06/image_29012025_16_06_46_10334.jpg
/home/pi/Desktop/images/29012025/16/06/image_29012025_16_06_56_9342.jpg
/home/pi/Desktop/images/29012025/16/06/image_29012025_16_07_06_10378.jpg
/home/pi/Desktop/images/29012025/16/07/image_29012025_16_07_16_10365.jpg
/home/pi/Desktop/images/29012025/16/07/image_29012025_16_07_26_9351.jpg
/home/pi/Desktop/images/29012025/16/07/image_29012025_16_07_36_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332760023","1332760032","1332760011","1332760007","1332760037","1332760051"],"photo_ids_order":["1332760007","1332760011","1332760023","1332760032","1332760037","1332760051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c9361c29c565a3dd825b4111539f398d.jpg","text":"TemporaryFile(/tmp/multipartBody4313127161058357958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182753528,"filename":"image_29012025_16_07_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/29/2df6c563c897f919c83c2f5f4b0cf38a.jpg","text":"TemporaryFile(/tmp/multipartBody8070986307289238177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182753528,"filename":"image_29012025_16_07_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/29/351ddafdac49c79791d6be1c1840d0a2.jpg","text":"TemporaryFile(/tmp/multipartBody3183367192017111819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182753528,"filename":"image_29012025_16_06_56_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/29/854814c93ebfe8a55deea95a7ddf4813.jpg","text":"TemporaryFile(/tmp/multipartBody6731533832318240470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182753528,"filename":"image_29012025_16_06_46_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/29/dea4598bfa9985b3616cdb64fd50b036.jpg","text":"TemporaryFile(/tmp/multipartBody5765851513376499806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182753528,"filename":"image_29012025_16_07_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/29/f9fc1aef5dac406e4be455f34967919e.jpg","text":"TemporaryFile(/tmp/multipartBody8128522926189219546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182753528,"filename":"image_29012025_16_07_36_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332760023","file1":"1332760011","file0":"1332760007","file4":"1332760037","file5":"1332760051","file3":"1332760032"},"map_files_photo_id_array":[{"photo_id":"1332760051","filename":"file5"},{"photo_id":"1332760023","filename":"file2"},{"photo_id":"1332760037","filename":"file4"},{"photo_id":"1332760011","filename":"file1"},{"photo_id":"1332760007","filename":"file0"},{"photo_id":"1332760032","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332760023":["hashtag1","hashtag2"]},{"1332760032":["hashtag1","hashtag2"]},{"1332760011":["hashtag1","hashtag2"]},{"1332760007":["hashtag1","hashtag2"]},{"1332760037":["hashtag1","hashtag2"]},{"1332760051":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332760023, 1332760032, 1332760011, 1332760007, 1332760037, 1332760051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.954779624938965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:32:32.710702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/07/image_29012025_16_07_46_9346.jpg', '/home/pi/Desktop/images/29012025/16/07/image_29012025_16_07_56_10387.jpg', '/home/pi/Desktop/images/29012025/16/07/image_29012025_16_08_06_10423.jpg', '/home/pi/Desktop/images/29012025/16/08/image_29012025_16_08_16_9338.jpg', '/home/pi/Desktop/images/29012025/16/08/image_29012025_16_08_37_10358.jpg', '/home/pi/Desktop/images/29012025/16/08/image_29012025_16_08_46_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/07/image_29012025_16_07_46_9346.jpg
/home/pi/Desktop/images/29012025/16/07/image_29012025_16_07_56_10387.jpg
/home/pi/Desktop/images/29012025/16/07/image_29012025_16_08_06_10423.jpg
/home/pi/Desktop/images/29012025/16/08/image_29012025_16_08_16_9338.jpg
/home/pi/Desktop/images/29012025/16/08/image_29012025_16_08_37_10358.jpg
/home/pi/Desktop/images/29012025/16/08/image_29012025_16_08_46_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":["1332760090","1332760093","1332760087","1332760096","1332760081","1332760075"],"photo_ids_order":["1332760075","1332760081","1332760087","1332760090","1332760093","1332760096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0ef18b44433b5e3e49462f72ec759cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4122639412574121806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182813673,"filename":"image_29012025_16_08_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/29/e579aefad0c88977e4df72828cbd9f28.jpg","text":"TemporaryFile(/tmp/multipartBody3252103608254671428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182813673,"filename":"image_29012025_16_08_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/29/9100d3d273fa26193d739f3ccf5ec9b1.jpg","text":"TemporaryFile(/tmp/multipartBody6406956613454951045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182813673,"filename":"image_29012025_16_08_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/29/2a185c2caea4ee248f8810cf2566d4f1.jpg","text":"TemporaryFile(/tmp/multipartBody3986485911897895533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182813673,"filename":"image_29012025_16_08_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/29/c66ca3de0c6b4b808d92917cca5e5884.jpg","text":"TemporaryFile(/tmp/multipartBody2876058994332104038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182813673,"filename":"image_29012025_16_07_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/29/b2539b2d1805a1967ddc2f47396d7d7e.jpg","text":"TemporaryFile(/tmp/multipartBody8517714383188592326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182813673,"filename":"image_29012025_16_07_46_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332760087","file1":"1332760081","file0":"1332760075","file4":"1332760093","file5":"1332760096","file3":"1332760090"},"map_files_photo_id_array":[{"photo_id":"1332760096","filename":"file5"},{"photo_id":"1332760087","filename":"file2"},{"photo_id":"1332760093","filename":"file4"},{"photo_id":"1332760081","filename":"file1"},{"photo_id":"1332760075","filename":"file0"},{"photo_id":"1332760090","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332760090":["hashtag1","hashtag2"]},{"1332760093":["hashtag1","hashtag2"]},{"1332760087":["hashtag1","hashtag2"]},{"1332760096":["hashtag1","hashtag2"]},{"1332760081":["hashtag1","hashtag2"]},{"1332760075":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332760090, 1332760093, 1332760087, 1332760096, 1332760081, 1332760075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89042782783508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:33:32.887964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/08/image_29012025_16_08_56_10382.jpg', '/home/pi/Desktop/images/29012025/16/08/image_29012025_16_09_06_9353.jpg', '/home/pi/Desktop/images/29012025/16/09/image_29012025_16_09_16_10489.jpg', '/home/pi/Desktop/images/29012025/16/09/image_29012025_16_09_26_10351.jpg', '/home/pi/Desktop/images/29012025/16/09/image_29012025_16_09_36_9329.jpg', '/home/pi/Desktop/images/29012025/16/09/image_29012025_16_09_46_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/08/image_29012025_16_08_56_10382.jpg
/home/pi/Desktop/images/29012025/16/08/image_29012025_16_09_06_9353.jpg
/home/pi/Desktop/images/29012025/16/09/image_29012025_16_09_16_10489.jpg
/home/pi/Desktop/images/29012025/16/09/image_29012025_16_09_26_10351.jpg
/home/pi/Desktop/images/29012025/16/09/image_29012025_16_09_36_9329.jpg
/home/pi/Desktop/images/29012025/16/09/image_29012025_16_09_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":["1332760220","1332760546","1332760216","1332760537","1332760210","1332760204"],"photo_ids_order":["1332760204","1332760210","1332760216","1332760220","1332760537","1332760546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f2adf901de1e6a37b6561baf1b7f2676.jpg","text":"TemporaryFile(/tmp/multipartBody5282956503936891104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182873859,"filename":"image_29012025_16_09_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/29/c3f56d19911b0d8f1eed6aaa9f52bc95.jpg","text":"TemporaryFile(/tmp/multipartBody6282319273663658018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182873859,"filename":"image_29012025_16_09_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/29/ad1244f0021ceb61d37fc523160be0aa.jpg","text":"TemporaryFile(/tmp/multipartBody566231743931691713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182873859,"filename":"image_29012025_16_09_16_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/29/c0b33b2d9a6045b9b87f8b45b5dd6642.jpg","text":"TemporaryFile(/tmp/multipartBody612632788212552076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182873859,"filename":"image_29012025_16_09_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/29/6da52d1629e9f9fab0e88701b6fbb103.jpg","text":"TemporaryFile(/tmp/multipartBody8174095084111188071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182873859,"filename":"image_29012025_16_09_06_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/29/ea829b35ebb0c925275d2b66cc9b49c5.jpg","text":"TemporaryFile(/tmp/multipartBody6494926554248148350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182873859,"filename":"image_29012025_16_08_56_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332760216","file1":"1332760210","file0":"1332760204","file4":"1332760537","file5":"1332760546","file3":"1332760220"},"map_files_photo_id_array":[{"photo_id":"1332760546","filename":"file5"},{"photo_id":"1332760216","filename":"file2"},{"photo_id":"1332760537","filename":"file4"},{"photo_id":"1332760210","filename":"file1"},{"photo_id":"1332760204","filename":"file0"},{"photo_id":"1332760220","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332760220":["hashtag1","hashtag2"]},{"1332760546":["hashtag1","hashtag2"]},{"1332760216":["hashtag1","hashtag2"]},{"1332760537":["hashtag1","hashtag2"]},{"1332760210":["hashtag1","hashtag2"]},{"1332760204":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332760220, 1332760546, 1332760216, 1332760537, 1332760210, 1332760204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.303466796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:34:33.062822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/09/image_29012025_16_09_57_10357.jpg', '/home/pi/Desktop/images/29012025/16/09/image_29012025_16_10_06_9346.jpg', '/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_16_10421.jpg', '/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_26_9359.jpg', '/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_36_10412.jpg', '/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/09/image_29012025_16_09_57_10357.jpg
/home/pi/Desktop/images/29012025/16/09/image_29012025_16_10_06_9346.jpg
/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_16_10421.jpg
/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_26_9359.jpg
/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_36_10412.jpg
/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_46_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":["1332760791","1332760787","1332760739","1332760795","1332760744","1332760726"],"photo_ids_order":["1332760726","1332760739","1332760744","1332760787","1332760791","1332760795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ca0e5e9b61eb1010e39d07f51106b1f8.jpg","text":"TemporaryFile(/tmp/multipartBody7229745306086987956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182934006,"filename":"image_29012025_16_10_36_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/29/cd3bfc707798a3f7403a02ec4aad3515.jpg","text":"TemporaryFile(/tmp/multipartBody6831994996147513340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182934006,"filename":"image_29012025_16_10_26_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/29/20ba6ddf8c407dceadca2f8b46071a89.jpg","text":"TemporaryFile(/tmp/multipartBody4221619906495045741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182934006,"filename":"image_29012025_16_10_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/29/2e1aeee52699e88ef4a4a83ef89c9394.jpg","text":"TemporaryFile(/tmp/multipartBody2547184142104543509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182934006,"filename":"image_29012025_16_10_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/29/d3d7213cc78c0bb32183463ba457eb75.jpg","text":"TemporaryFile(/tmp/multipartBody4756884668957266213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182934006,"filename":"image_29012025_16_10_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/29/973a7760ed8daf899ea3e13e4522c56c.jpg","text":"TemporaryFile(/tmp/multipartBody536944116728813025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738182934006,"filename":"image_29012025_16_09_57_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332760744","file1":"1332760739","file0":"1332760726","file4":"1332760791","file5":"1332760795","file3":"1332760787"},"map_files_photo_id_array":[{"photo_id":"1332760795","filename":"file5"},{"photo_id":"1332760744","filename":"file2"},{"photo_id":"1332760791","filename":"file4"},{"photo_id":"1332760739","filename":"file1"},{"photo_id":"1332760726","filename":"file0"},{"photo_id":"1332760787","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332760791":["hashtag1","hashtag2"]},{"1332760787":["hashtag1","hashtag2"]},{"1332760739":["hashtag1","hashtag2"]},{"1332760795":["hashtag1","hashtag2"]},{"1332760744":["hashtag1","hashtag2"]},{"1332760726":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332760791, 1332760787, 1332760739, 1332760795, 1332760744, 1332760726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.523622035980225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:35:32.380386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_56_9360.jpg', '/home/pi/Desktop/images/29012025/16/10/image_29012025_16_11_06_10381.jpg', '/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_16_10345.jpg', '/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_26_9343.jpg', '/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_36_10360.jpg', '/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_47_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_56_9360.jpg
/home/pi/Desktop/images/29012025/16/10/image_29012025_16_11_06_10381.jpg
/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_16_10345.jpg
/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_26_9343.jpg
/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_36_10360.jpg
/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_47_10361.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.5769939422607422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 21:35:42.296205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_56_9360.jpg', '/home/pi/Desktop/images/29012025/16/10/image_29012025_16_11_06_10381.jpg', '/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_16_10345.jpg', '/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_26_9343.jpg', '/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_36_10360.jpg', '/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_47_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/10/image_29012025_16_10_56_9360.jpg
/home/pi/Desktop/images/29012025/16/10/image_29012025_16_11_06_10381.jpg
/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_16_10345.jpg
/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_26_9343.jpg
/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_36_10360.jpg
/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_47_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332760977","1332760988","1332760997","1332760982","1332760993","1332760972"],"photo_ids_order":["1332760972","1332760977","1332760982","1332760988","1332760993","1332760997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/15bb27439357b3dbc01738c8b41b781b.jpg","text":"TemporaryFile(/tmp/multipartBody251724631591472219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183003203,"filename":"image_29012025_16_11_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/29/797180ccb0e776836a6760b028ca28ff.jpg","text":"TemporaryFile(/tmp/multipartBody1983978457541116582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183003203,"filename":"image_29012025_16_11_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/29/a33449908f3bdd63ebdab121cce8f81d.jpg","text":"TemporaryFile(/tmp/multipartBody1058083882000002809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183003203,"filename":"image_29012025_16_11_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/29/25785c32d5fbd5a79f1ae68790f267f5.jpg","text":"TemporaryFile(/tmp/multipartBody6159534631065209995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183003203,"filename":"image_29012025_16_11_16_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/29/7eadf0b5e74109767aa11559e7ee6d2e.jpg","text":"TemporaryFile(/tmp/multipartBody6950431480879527841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183003203,"filename":"image_29012025_16_11_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/29/2ff4f9a50a7bd5640c8e292fc097df5d.jpg","text":"TemporaryFile(/tmp/multipartBody1206155936086808150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183003203,"filename":"image_29012025_16_10_56_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332760982","file1":"1332760977","file0":"1332760972","file4":"1332760993","file5":"1332760997","file3":"1332760988"},"map_files_photo_id_array":[{"photo_id":"1332760997","filename":"file5"},{"photo_id":"1332760982","filename":"file2"},{"photo_id":"1332760993","filename":"file4"},{"photo_id":"1332760977","filename":"file1"},{"photo_id":"1332760972","filename":"file0"},{"photo_id":"1332760988","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332760977":["hashtag1","hashtag2"]},{"1332760988":["hashtag1","hashtag2"]},{"1332760997":["hashtag1","hashtag2"]},{"1332760982":["hashtag1","hashtag2"]},{"1332760993":["hashtag1","hashtag2"]},{"1332760972":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332760977, 1332760988, 1332760997, 1332760982, 1332760993, 1332760972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37434411048889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:36:32.493064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_56_9363.jpg', '/home/pi/Desktop/images/29012025/16/11/image_29012025_16_12_06_10436.jpg', '/home/pi/Desktop/images/29012025/16/12/image_29012025_16_12_16_9332.jpg', '/home/pi/Desktop/images/29012025/16/12/image_29012025_16_12_26_10400.jpg', '/home/pi/Desktop/images/29012025/16/12/image_29012025_16_12_36_10349.jpg', '/home/pi/Desktop/images/29012025/16/12/image_29012025_16_12_46_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/11/image_29012025_16_11_56_9363.jpg
/home/pi/Desktop/images/29012025/16/11/image_29012025_16_12_06_10436.jpg
/home/pi/Desktop/images/29012025/16/12/image_29012025_16_12_16_9332.jpg
/home/pi/Desktop/images/29012025/16/12/image_29012025_16_12_26_10400.jpg
/home/pi/Desktop/images/29012025/16/12/image_29012025_16_12_36_10349.jpg
/home/pi/Desktop/images/29012025/16/12/image_29012025_16_12_46_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":["1332761034","1332761018","1332761105","1332761027","1332761012","1332761213"],"photo_ids_order":["1332761012","1332761018","1332761027","1332761034","1332761105","1332761213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b6bc6f816ff57a2557c806315f1d2c85.jpg","text":"TemporaryFile(/tmp/multipartBody7284484657966354049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183053451,"filename":"image_29012025_16_12_26_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/29/a06270a0fc104f55a406c39a2c54df32.jpg","text":"TemporaryFile(/tmp/multipartBody6618126973633604236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183053451,"filename":"image_29012025_16_12_06_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/29/030442d198c3cb147cb10f93baff38f6.jpg","text":"TemporaryFile(/tmp/multipartBody407780529599199286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183053451,"filename":"image_29012025_16_12_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/29/f0afb41d612f45e92a281883d5de59f4.jpg","text":"TemporaryFile(/tmp/multipartBody455527639953716872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183053451,"filename":"image_29012025_16_12_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/29/523b44b99b83b4a2690a9814f7cc96f0.jpg","text":"TemporaryFile(/tmp/multipartBody5858988810423979352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183053451,"filename":"image_29012025_16_11_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/29/a1df99554fb53c2af9fd4a8a66b51720.jpg","text":"TemporaryFile(/tmp/multipartBody3362813745286600349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183053451,"filename":"image_29012025_16_12_46_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332761027","file1":"1332761018","file0":"1332761012","file4":"1332761105","file5":"1332761213","file3":"1332761034"},"map_files_photo_id_array":[{"photo_id":"1332761213","filename":"file5"},{"photo_id":"1332761027","filename":"file2"},{"photo_id":"1332761105","filename":"file4"},{"photo_id":"1332761018","filename":"file1"},{"photo_id":"1332761012","filename":"file0"},{"photo_id":"1332761034","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332761034":["hashtag1","hashtag2"]},{"1332761018":["hashtag1","hashtag2"]},{"1332761105":["hashtag1","hashtag2"]},{"1332761027":["hashtag1","hashtag2"]},{"1332761012":["hashtag1","hashtag2"]},{"1332761213":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332761034, 1332761018, 1332761105, 1332761027, 1332761012, 1332761213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13646745681763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:37:32.760068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/12/image_29012025_16_12_56_10360.jpg', '/home/pi/Desktop/images/29012025/16/12/image_29012025_16_13_07_10352.jpg', '/home/pi/Desktop/images/29012025/16/13/image_29012025_16_13_16_9334.jpg', '/home/pi/Desktop/images/29012025/16/13/image_29012025_16_13_26_10443.jpg', '/home/pi/Desktop/images/29012025/16/13/image_29012025_16_13_36_9327.jpg', '/home/pi/Desktop/images/29012025/16/13/image_29012025_16_13_46_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/12/image_29012025_16_12_56_10360.jpg
/home/pi/Desktop/images/29012025/16/12/image_29012025_16_13_07_10352.jpg
/home/pi/Desktop/images/29012025/16/13/image_29012025_16_13_16_9334.jpg
/home/pi/Desktop/images/29012025/16/13/image_29012025_16_13_26_10443.jpg
/home/pi/Desktop/images/29012025/16/13/image_29012025_16_13_36_9327.jpg
/home/pi/Desktop/images/29012025/16/13/image_29012025_16_13_46_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":["1332761606","1332761488","1332761545","1332761611","1332761602","1332761565"],"photo_ids_order":["1332761488","1332761545","1332761565","1332761602","1332761606","1332761611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ca8360bc51ffac5d2c9ca34ce045ee09.jpg","text":"TemporaryFile(/tmp/multipartBody8975203866155556044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183113743,"filename":"image_29012025_16_13_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/29/bd1105989353b8fff953e4a601c33461.jpg","text":"TemporaryFile(/tmp/multipartBody6947439596499445491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183113743,"filename":"image_29012025_16_12_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/29/e2f9a17563fe7e0b7ba98b822a83cc1e.jpg","text":"TemporaryFile(/tmp/multipartBody5972931723930978818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183113743,"filename":"image_29012025_16_13_07_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/29/df4a15729e1ee1f05e555a23c7f8952e.jpg","text":"TemporaryFile(/tmp/multipartBody3507982670591456799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183113743,"filename":"image_29012025_16_13_46_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/29/4f56df3322189e22be351472b4379566.jpg","text":"TemporaryFile(/tmp/multipartBody5055399554924194200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183113743,"filename":"image_29012025_16_13_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/29/4a33fc11a263483d346aa59f49e38734.jpg","text":"TemporaryFile(/tmp/multipartBody2669181619765166580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183113743,"filename":"image_29012025_16_13_16_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332761565","file1":"1332761545","file0":"1332761488","file4":"1332761606","file5":"1332761611","file3":"1332761602"},"map_files_photo_id_array":[{"photo_id":"1332761611","filename":"file5"},{"photo_id":"1332761565","filename":"file2"},{"photo_id":"1332761606","filename":"file4"},{"photo_id":"1332761545","filename":"file1"},{"photo_id":"1332761488","filename":"file0"},{"photo_id":"1332761602","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332761606":["hashtag1","hashtag2"]},{"1332761488":["hashtag1","hashtag2"]},{"1332761545":["hashtag1","hashtag2"]},{"1332761611":["hashtag1","hashtag2"]},{"1332761602":["hashtag1","hashtag2"]},{"1332761565":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332761606, 1332761488, 1332761545, 1332761611, 1332761602, 1332761565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3337926864624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:38:32.999877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/13/image_29012025_16_14_06_9344.jpg', '/home/pi/Desktop/images/29012025/16/14/image_29012025_16_14_16_10402.jpg', '/home/pi/Desktop/images/29012025/16/14/image_29012025_16_14_36_9350.jpg', '/home/pi/Desktop/images/29012025/16/14/image_29012025_16_14_46_10363.jpg', '/home/pi/Desktop/images/29012025/16/14/image_29012025_16_14_57_10360.jpg', '/home/pi/Desktop/images/29012025/16/14/image_29012025_16_15_06_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/13/image_29012025_16_14_06_9344.jpg
/home/pi/Desktop/images/29012025/16/14/image_29012025_16_14_16_10402.jpg
/home/pi/Desktop/images/29012025/16/14/image_29012025_16_14_36_9350.jpg
/home/pi/Desktop/images/29012025/16/14/image_29012025_16_14_46_10363.jpg
/home/pi/Desktop/images/29012025/16/14/image_29012025_16_14_57_10360.jpg
/home/pi/Desktop/images/29012025/16/14/image_29012025_16_15_06_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":["1332761748","1332761756","1332761765","1332761779","1332761761","1332761730"],"photo_ids_order":["1332761730","1332761748","1332761756","1332761761","1332761765","1332761779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/188696a2bf4edd2cc3e448e3b4c7cd61.jpg","text":"TemporaryFile(/tmp/multipartBody8491704224546234653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183173978,"filename":"image_29012025_16_14_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/29/524b3178610fc5fdfdbf60c49ddaa1b1.jpg","text":"TemporaryFile(/tmp/multipartBody8074309586770985526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183173978,"filename":"image_29012025_16_14_36_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/29/da5fb6b4dc9e2ec38dca04746aa6e013.jpg","text":"TemporaryFile(/tmp/multipartBody2075801984501763329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183173978,"filename":"image_29012025_16_14_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/29/845774217526ae71b1b710a930751c58.jpg","text":"TemporaryFile(/tmp/multipartBody8645139446126338889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183173978,"filename":"image_29012025_16_15_06_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/29/19f2ed04595a680aa456f98b2476d0cb.jpg","text":"TemporaryFile(/tmp/multipartBody8653371691743649615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183173978,"filename":"image_29012025_16_14_46_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/29/582de1a4ead2aecfb97f6d11a951fe55.jpg","text":"TemporaryFile(/tmp/multipartBody5268901675566941359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183173978,"filename":"image_29012025_16_14_06_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332761756","file1":"1332761748","file0":"1332761730","file4":"1332761765","file5":"1332761779","file3":"1332761761"},"map_files_photo_id_array":[{"photo_id":"1332761779","filename":"file5"},{"photo_id":"1332761756","filename":"file2"},{"photo_id":"1332761765","filename":"file4"},{"photo_id":"1332761748","filename":"file1"},{"photo_id":"1332761730","filename":"file0"},{"photo_id":"1332761761","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332761748":["hashtag1","hashtag2"]},{"1332761756":["hashtag1","hashtag2"]},{"1332761765":["hashtag1","hashtag2"]},{"1332761779":["hashtag1","hashtag2"]},{"1332761761":["hashtag1","hashtag2"]},{"1332761730":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332761748, 1332761756, 1332761765, 1332761779, 1332761761, 1332761730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.337037563323975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:39:32.264760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/15/image_29012025_16_15_16_10355.jpg', '/home/pi/Desktop/images/29012025/16/15/image_29012025_16_15_26_9343.jpg', '/home/pi/Desktop/images/29012025/16/15/image_29012025_16_15_36_10436.jpg', '/home/pi/Desktop/images/29012025/16/15/image_29012025_16_15_46_10391.jpg', '/home/pi/Desktop/images/29012025/16/15/image_29012025_16_15_56_9452.jpg', '/home/pi/Desktop/images/29012025/16/15/image_29012025_16_16_06_9733.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/15/image_29012025_16_15_16_10355.jpg
/home/pi/Desktop/images/29012025/16/15/image_29012025_16_15_26_9343.jpg
/home/pi/Desktop/images/29012025/16/15/image_29012025_16_15_36_10436.jpg
/home/pi/Desktop/images/29012025/16/15/image_29012025_16_15_46_10391.jpg
/home/pi/Desktop/images/29012025/16/15/image_29012025_16_15_56_9452.jpg
/home/pi/Desktop/images/29012025/16/15/image_29012025_16_16_06_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332761934","1332761990","1332761984","1332761954","1332761959","1332762006"],"photo_ids_order":["1332761934","1332761954","1332761959","1332761984","1332761990","1332762006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6f0870cb7725f51305b90d456b2b40db.jpg","text":"TemporaryFile(/tmp/multipartBody2446138561572769047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183233238,"filename":"image_29012025_16_15_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/29/e92d8b495d28031282b9f1d5c0376490.jpg","text":"TemporaryFile(/tmp/multipartBody1659799321574710233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183233238,"filename":"image_29012025_16_15_56_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/29/37406bb1c2a16f6de6270730778c3ff6.jpg","text":"TemporaryFile(/tmp/multipartBody681517235175624017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183233238,"filename":"image_29012025_16_15_46_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/29/9448b3802b11a4c7a896940f2b5ca805.jpg","text":"TemporaryFile(/tmp/multipartBody5931975572410085138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183233238,"filename":"image_29012025_16_15_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/29/d49a187fec0eac87fd852bf6d339b117.jpg","text":"TemporaryFile(/tmp/multipartBody8357844853620373893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183233238,"filename":"image_29012025_16_15_36_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/29/45186514013f50bb93a10c1c634ed35a.jpg","text":"TemporaryFile(/tmp/multipartBody8356647504924163819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183233238,"filename":"image_29012025_16_16_06_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332761959","file1":"1332761954","file0":"1332761934","file4":"1332761990","file5":"1332762006","file3":"1332761984"},"map_files_photo_id_array":[{"photo_id":"1332762006","filename":"file5"},{"photo_id":"1332761959","filename":"file2"},{"photo_id":"1332761990","filename":"file4"},{"photo_id":"1332761954","filename":"file1"},{"photo_id":"1332761934","filename":"file0"},{"photo_id":"1332761984","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332761934":["hashtag1","hashtag2"]},{"1332761990":["hashtag1","hashtag2"]},{"1332761984":["hashtag1","hashtag2"]},{"1332761954":["hashtag1","hashtag2"]},{"1332761959":["hashtag1","hashtag2"]},{"1332762006":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332761934, 1332761990, 1332761984, 1332761954, 1332761959, 1332762006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39807724952698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:40:32.483589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/16/image_29012025_16_16_26_10365.jpg', '/home/pi/Desktop/images/29012025/16/16/image_29012025_16_16_36_9336.jpg', '/home/pi/Desktop/images/29012025/16/16/image_29012025_16_16_46_10346.jpg', '/home/pi/Desktop/images/29012025/16/17/image_29012025_16_17_26_9374.jpg', '/home/pi/Desktop/images/29012025/16/17/image_29012025_16_17_36_10430.jpg', '/home/pi/Desktop/images/29012025/16/17/image_29012025_16_17_46_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/16/image_29012025_16_16_26_10365.jpg
/home/pi/Desktop/images/29012025/16/16/image_29012025_16_16_36_9336.jpg
/home/pi/Desktop/images/29012025/16/16/image_29012025_16_16_46_10346.jpg
/home/pi/Desktop/images/29012025/16/17/image_29012025_16_17_26_9374.jpg
/home/pi/Desktop/images/29012025/16/17/image_29012025_16_17_36_10430.jpg
/home/pi/Desktop/images/29012025/16/17/image_29012025_16_17_46_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":["1332762179","1332762134","1332762163","1332762154","1332762174","1332762168"],"photo_ids_order":["1332762134","1332762154","1332762163","1332762168","1332762174","1332762179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b6fc7a16b41ff112ba6ca2dcf547bba0.jpg","text":"TemporaryFile(/tmp/multipartBody6817509922123938431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183293443,"filename":"image_29012025_16_17_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/29/441289fbb805a00af764195a8839a939.jpg","text":"TemporaryFile(/tmp/multipartBody8618742811726322893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183293443,"filename":"image_29012025_16_16_26_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/29/e7cbe3801931b60abee24be70f242683.jpg","text":"TemporaryFile(/tmp/multipartBody4453616977855336537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183293443,"filename":"image_29012025_16_16_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/29/9c2aee5208f476c0c7a1e4b734668093.jpg","text":"TemporaryFile(/tmp/multipartBody3945234783477557980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183293443,"filename":"image_29012025_16_16_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/29/5c220cf12c318ec008c19412df5e5b27.jpg","text":"TemporaryFile(/tmp/multipartBody8844572160799340424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183293443,"filename":"image_29012025_16_17_36_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/29/526933dc6fa375807cff47341b9f87ba.jpg","text":"TemporaryFile(/tmp/multipartBody2627179885720619472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183293443,"filename":"image_29012025_16_17_26_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332762163","file1":"1332762154","file0":"1332762134","file4":"1332762174","file5":"1332762179","file3":"1332762168"},"map_files_photo_id_array":[{"photo_id":"1332762179","filename":"file5"},{"photo_id":"1332762163","filename":"file2"},{"photo_id":"1332762174","filename":"file4"},{"photo_id":"1332762154","filename":"file1"},{"photo_id":"1332762134","filename":"file0"},{"photo_id":"1332762168","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332762179":["hashtag1","hashtag2"]},{"1332762134":["hashtag1","hashtag2"]},{"1332762163":["hashtag1","hashtag2"]},{"1332762154":["hashtag1","hashtag2"]},{"1332762174":["hashtag1","hashtag2"]},{"1332762168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332762179, 1332762134, 1332762163, 1332762154, 1332762174, 1332762168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63869881629944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:41:32.760402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/17/image_29012025_16_17_56_9356.jpg', '/home/pi/Desktop/images/29012025/16/17/image_29012025_16_18_06_10422.jpg', '/home/pi/Desktop/images/29012025/16/18/image_29012025_16_18_17_10363.jpg', '/home/pi/Desktop/images/29012025/16/18/image_29012025_16_18_26_9363.jpg', '/home/pi/Desktop/images/29012025/16/18/image_29012025_16_18_36_10397.jpg', '/home/pi/Desktop/images/29012025/16/18/image_29012025_16_18_46_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/17/image_29012025_16_17_56_9356.jpg
/home/pi/Desktop/images/29012025/16/17/image_29012025_16_18_06_10422.jpg
/home/pi/Desktop/images/29012025/16/18/image_29012025_16_18_17_10363.jpg
/home/pi/Desktop/images/29012025/16/18/image_29012025_16_18_26_9363.jpg
/home/pi/Desktop/images/29012025/16/18/image_29012025_16_18_36_10397.jpg
/home/pi/Desktop/images/29012025/16/18/image_29012025_16_18_46_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":["1332762290","1332762287","1332762295","1332762283","1332762277","1332762285"],"photo_ids_order":["1332762277","1332762283","1332762285","1332762287","1332762290","1332762295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d7997bdda33da60be0e74e67781a125f.jpg","text":"TemporaryFile(/tmp/multipartBody2248751682728551924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183353752,"filename":"image_29012025_16_18_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/29/d2902e948c59145dae81bf13c512a762.jpg","text":"TemporaryFile(/tmp/multipartBody2945527760344586875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183353752,"filename":"image_29012025_16_18_26_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/29/1f507320819d9785bd36ab502da3fc17.jpg","text":"TemporaryFile(/tmp/multipartBody8203717977574471381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183353752,"filename":"image_29012025_16_18_46_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/29/606467fb4dfe8a56089a5c84a47fb40d.jpg","text":"TemporaryFile(/tmp/multipartBody3286261461162171229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183353752,"filename":"image_29012025_16_18_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/29/111a6d9c34a222a60fe22088de1155f5.jpg","text":"TemporaryFile(/tmp/multipartBody2142258462001295648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183353752,"filename":"image_29012025_16_17_56_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/29/16de4aff8b58495af55f622a33dea95e.jpg","text":"TemporaryFile(/tmp/multipartBody4537290988544339862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183353752,"filename":"image_29012025_16_18_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332762285","file1":"1332762283","file0":"1332762277","file4":"1332762290","file5":"1332762295","file3":"1332762287"},"map_files_photo_id_array":[{"photo_id":"1332762295","filename":"file5"},{"photo_id":"1332762285","filename":"file2"},{"photo_id":"1332762290","filename":"file4"},{"photo_id":"1332762283","filename":"file1"},{"photo_id":"1332762277","filename":"file0"},{"photo_id":"1332762287","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332762290":["hashtag1","hashtag2"]},{"1332762287":["hashtag1","hashtag2"]},{"1332762295":["hashtag1","hashtag2"]},{"1332762283":["hashtag1","hashtag2"]},{"1332762277":["hashtag1","hashtag2"]},{"1332762285":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332762290, 1332762287, 1332762295, 1332762283, 1332762277, 1332762285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22377586364746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:42:32.901761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/18/image_29012025_16_18_56_10433.jpg', '/home/pi/Desktop/images/29012025/16/18/image_29012025_16_19_06_10408.jpg', '/home/pi/Desktop/images/29012025/16/19/image_29012025_16_19_16_9338.jpg', '/home/pi/Desktop/images/29012025/16/19/image_29012025_16_19_26_10401.jpg', '/home/pi/Desktop/images/29012025/16/19/image_29012025_16_20_06_9323.jpg', '/home/pi/Desktop/images/29012025/16/20/image_29012025_16_20_16_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/18/image_29012025_16_18_56_10433.jpg
/home/pi/Desktop/images/29012025/16/18/image_29012025_16_19_06_10408.jpg
/home/pi/Desktop/images/29012025/16/19/image_29012025_16_19_16_9338.jpg
/home/pi/Desktop/images/29012025/16/19/image_29012025_16_19_26_10401.jpg
/home/pi/Desktop/images/29012025/16/19/image_29012025_16_20_06_9323.jpg
/home/pi/Desktop/images/29012025/16/20/image_29012025_16_20_16_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":["1332762411","1332762422","1332762416","1332762373","1332762367","1332762403"],"photo_ids_order":["1332762367","1332762373","1332762403","1332762411","1332762416","1332762422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e9d78ebdc42c4d8d1de4b9dbc9b9f67c.jpg","text":"TemporaryFile(/tmp/multipartBody2111008946986701485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183413889,"filename":"image_29012025_16_19_26_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/29/3c2f54d7030a91510b0f32dec6b7520e.jpg","text":"TemporaryFile(/tmp/multipartBody4791910001113611315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183413889,"filename":"image_29012025_16_20_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/29/221bc30ada250df052742b4e9aa9e840.jpg","text":"TemporaryFile(/tmp/multipartBody6045298647091186975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183413889,"filename":"image_29012025_16_20_06_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/29/2659802265b81bfbdb4647de035d2f32.jpg","text":"TemporaryFile(/tmp/multipartBody5476405571694024406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183413889,"filename":"image_29012025_16_19_06_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/29/2e4415d84a493835f7ff49cf4096da6e.jpg","text":"TemporaryFile(/tmp/multipartBody8789264390367756323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183413889,"filename":"image_29012025_16_18_56_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/29/7950e43d141a53974d1d66901050f8f3.jpg","text":"TemporaryFile(/tmp/multipartBody1161616949883339216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183413889,"filename":"image_29012025_16_19_16_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332762403","file1":"1332762373","file0":"1332762367","file4":"1332762416","file5":"1332762422","file3":"1332762411"},"map_files_photo_id_array":[{"photo_id":"1332762422","filename":"file5"},{"photo_id":"1332762403","filename":"file2"},{"photo_id":"1332762416","filename":"file4"},{"photo_id":"1332762373","filename":"file1"},{"photo_id":"1332762367","filename":"file0"},{"photo_id":"1332762411","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332762411":["hashtag1","hashtag2"]},{"1332762422":["hashtag1","hashtag2"]},{"1332762416":["hashtag1","hashtag2"]},{"1332762373":["hashtag1","hashtag2"]},{"1332762367":["hashtag1","hashtag2"]},{"1332762403":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332762411, 1332762422, 1332762416, 1332762373, 1332762367, 1332762403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62426209449768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:43:33.095482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/20/image_29012025_16_20_27_10406.jpg', '/home/pi/Desktop/images/29012025/16/20/image_29012025_16_20_36_9471.jpg', '/home/pi/Desktop/images/29012025/16/20/image_29012025_16_20_46_10396.jpg', '/home/pi/Desktop/images/29012025/16/20/image_29012025_16_20_56_9359.jpg', '/home/pi/Desktop/images/29012025/16/20/image_29012025_16_21_06_10355.jpg', '/home/pi/Desktop/images/29012025/16/21/image_29012025_16_21_16_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/20/image_29012025_16_20_27_10406.jpg
/home/pi/Desktop/images/29012025/16/20/image_29012025_16_20_36_9471.jpg
/home/pi/Desktop/images/29012025/16/20/image_29012025_16_20_46_10396.jpg
/home/pi/Desktop/images/29012025/16/20/image_29012025_16_20_56_9359.jpg
/home/pi/Desktop/images/29012025/16/20/image_29012025_16_21_06_10355.jpg
/home/pi/Desktop/images/29012025/16/21/image_29012025_16_21_16_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":["1332762530","1332762527","1332762506","1332762515","1332762511","1332762501"],"photo_ids_order":["1332762501","1332762506","1332762511","1332762515","1332762527","1332762530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7f738e8d63fe928b3a54ddf7deca2dc0.jpg","text":"TemporaryFile(/tmp/multipartBody1212398611002571441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183474087,"filename":"image_29012025_16_21_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/29/6bd89ca261a5857234c3ea73ed51d14d.jpg","text":"TemporaryFile(/tmp/multipartBody7081544100170329535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183474087,"filename":"image_29012025_16_21_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/29/65846b0fffb8eb929b5277dfb367b114.jpg","text":"TemporaryFile(/tmp/multipartBody4231673006563841436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183474087,"filename":"image_29012025_16_20_36_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/29/ea04edd0b6456066d014a6606e44ada6.jpg","text":"TemporaryFile(/tmp/multipartBody5632351696651937169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183474087,"filename":"image_29012025_16_20_56_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/29/5f482c03fd9535906111aef565f515b8.jpg","text":"TemporaryFile(/tmp/multipartBody2568123592591154436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183474087,"filename":"image_29012025_16_20_46_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/29/b1ee2ebe3d76e879a9c8d27cfd0eb119.jpg","text":"TemporaryFile(/tmp/multipartBody5778160628191596447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183474087,"filename":"image_29012025_16_20_27_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332762511","file1":"1332762506","file0":"1332762501","file4":"1332762527","file5":"1332762530","file3":"1332762515"},"map_files_photo_id_array":[{"photo_id":"1332762530","filename":"file5"},{"photo_id":"1332762511","filename":"file2"},{"photo_id":"1332762527","filename":"file4"},{"photo_id":"1332762506","filename":"file1"},{"photo_id":"1332762501","filename":"file0"},{"photo_id":"1332762515","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332762530":["hashtag1","hashtag2"]},{"1332762527":["hashtag1","hashtag2"]},{"1332762506":["hashtag1","hashtag2"]},{"1332762515":["hashtag1","hashtag2"]},{"1332762511":["hashtag1","hashtag2"]},{"1332762501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332762530, 1332762527, 1332762506, 1332762515, 1332762511, 1332762501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.587456703186035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:44:32.418935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/21/image_29012025_16_21_26_9342.jpg', '/home/pi/Desktop/images/29012025/16/21/image_29012025_16_21_36_10429.jpg', '/home/pi/Desktop/images/29012025/16/21/image_29012025_16_21_46_9446.jpg', '/home/pi/Desktop/images/29012025/16/21/image_29012025_16_21_56_10477.jpg', '/home/pi/Desktop/images/29012025/16/21/image_29012025_16_22_07_10364.jpg', '/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_16_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/21/image_29012025_16_21_26_9342.jpg
/home/pi/Desktop/images/29012025/16/21/image_29012025_16_21_36_10429.jpg
/home/pi/Desktop/images/29012025/16/21/image_29012025_16_21_46_9446.jpg
/home/pi/Desktop/images/29012025/16/21/image_29012025_16_21_56_10477.jpg
/home/pi/Desktop/images/29012025/16/21/image_29012025_16_22_07_10364.jpg
/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_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":["1332762848","1332762827","1332762844","1332762861","1332762840","1332762831"],"photo_ids_order":["1332762827","1332762831","1332762840","1332762844","1332762848","1332762861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7703aa76daa0808ccba243e50d3a552d.jpg","text":"TemporaryFile(/tmp/multipartBody3664577740033467369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183533401,"filename":"image_29012025_16_22_07_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/29/1a3050ffb49676cba76a91fad1f3fec5.jpg","text":"TemporaryFile(/tmp/multipartBody7637407366688203394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183533401,"filename":"image_29012025_16_21_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/29/cf2721efeaa189c2028edec72114568f.jpg","text":"TemporaryFile(/tmp/multipartBody8010963773609537271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183533401,"filename":"image_29012025_16_21_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/29/966b2b2c43867939f3fa1425e52460b5.jpg","text":"TemporaryFile(/tmp/multipartBody6994818155834158809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183533401,"filename":"image_29012025_16_22_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/29/37868b39f3b1ee61c12e046e29dbf78e.jpg","text":"TemporaryFile(/tmp/multipartBody3093673249259168105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183533401,"filename":"image_29012025_16_21_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/29/e5795861a3c875d2964c5ca7f0478c2f.jpg","text":"TemporaryFile(/tmp/multipartBody6163360245166822293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183533401,"filename":"image_29012025_16_21_36_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332762840","file1":"1332762831","file0":"1332762827","file4":"1332762848","file5":"1332762861","file3":"1332762844"},"map_files_photo_id_array":[{"photo_id":"1332762861","filename":"file5"},{"photo_id":"1332762840","filename":"file2"},{"photo_id":"1332762848","filename":"file4"},{"photo_id":"1332762831","filename":"file1"},{"photo_id":"1332762827","filename":"file0"},{"photo_id":"1332762844","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332762848":["hashtag1","hashtag2"]},{"1332762827":["hashtag1","hashtag2"]},{"1332762844":["hashtag1","hashtag2"]},{"1332762861":["hashtag1","hashtag2"]},{"1332762840":["hashtag1","hashtag2"]},{"1332762831":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332762848, 1332762827, 1332762844, 1332762861, 1332762840, 1332762831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.457637786865234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:45:32.575197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_26_10435.jpg', '/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_36_9332.jpg', '/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_46_10434.jpg', '/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_56_10372.jpg', '/home/pi/Desktop/images/29012025/16/22/image_29012025_16_23_06_9347.jpg', '/home/pi/Desktop/images/29012025/16/23/image_29012025_16_23_16_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_26_10435.jpg
/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_36_9332.jpg
/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_46_10434.jpg
/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_56_10372.jpg
/home/pi/Desktop/images/29012025/16/22/image_29012025_16_23_06_9347.jpg
/home/pi/Desktop/images/29012025/16/23/image_29012025_16_23_16_10461.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.5697836875915527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 21:45:42.547197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_26_10435.jpg', '/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_36_9332.jpg', '/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_46_10434.jpg', '/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_56_10372.jpg', '/home/pi/Desktop/images/29012025/16/22/image_29012025_16_23_06_9347.jpg', '/home/pi/Desktop/images/29012025/16/23/image_29012025_16_23_16_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_26_10435.jpg
/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_36_9332.jpg
/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_46_10434.jpg
/home/pi/Desktop/images/29012025/16/22/image_29012025_16_22_56_10372.jpg
/home/pi/Desktop/images/29012025/16/22/image_29012025_16_23_06_9347.jpg
/home/pi/Desktop/images/29012025/16/23/image_29012025_16_23_16_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332763403","1332763427","1332763432","1332763398","1332763326","1332763320"],"photo_ids_order":["1332763320","1332763326","1332763398","1332763403","1332763427","1332763432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/500303417ea9a447f14c172417600a01.jpg","text":"TemporaryFile(/tmp/multipartBody3041408028252703448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183603453,"filename":"image_29012025_16_22_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/29/be10b2c103a12b75c1567a3c032ccf27.jpg","text":"TemporaryFile(/tmp/multipartBody3646230572680550456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183603453,"filename":"image_29012025_16_23_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/29/45798c2ef173dea896a99a6bebb5f7b8.jpg","text":"TemporaryFile(/tmp/multipartBody4910458525402833026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183603453,"filename":"image_29012025_16_23_16_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/29/ddd374e7b578f639b97b2e942af276e9.jpg","text":"TemporaryFile(/tmp/multipartBody9164792758992249617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183603453,"filename":"image_29012025_16_22_46_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/29/db56b38d7d12015c066e53115f35d2d2.jpg","text":"TemporaryFile(/tmp/multipartBody6390908421515394394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183603453,"filename":"image_29012025_16_22_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/29/fbac2c9f7bebd64b4bff4e90276cc875.jpg","text":"TemporaryFile(/tmp/multipartBody2459997597310867958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183603453,"filename":"image_29012025_16_22_26_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332763398","file1":"1332763326","file0":"1332763320","file4":"1332763427","file5":"1332763432","file3":"1332763403"},"map_files_photo_id_array":[{"photo_id":"1332763432","filename":"file5"},{"photo_id":"1332763398","filename":"file2"},{"photo_id":"1332763427","filename":"file4"},{"photo_id":"1332763326","filename":"file1"},{"photo_id":"1332763320","filename":"file0"},{"photo_id":"1332763403","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332763403":["hashtag1","hashtag2"]},{"1332763427":["hashtag1","hashtag2"]},{"1332763432":["hashtag1","hashtag2"]},{"1332763398":["hashtag1","hashtag2"]},{"1332763326":["hashtag1","hashtag2"]},{"1332763320":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332763403, 1332763427, 1332763432, 1332763398, 1332763326, 1332763320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.350330114364624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:46:32.898492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/23/image_29012025_16_23_26_9355.jpg', '/home/pi/Desktop/images/29012025/16/23/image_29012025_16_23_46_10363.jpg', '/home/pi/Desktop/images/29012025/16/23/image_29012025_16_23_56_9353.jpg', '/home/pi/Desktop/images/29012025/16/23/image_29012025_16_24_06_10459.jpg', '/home/pi/Desktop/images/29012025/16/24/image_29012025_16_24_17_10339.jpg', '/home/pi/Desktop/images/29012025/16/24/image_29012025_16_24_26_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/23/image_29012025_16_23_26_9355.jpg
/home/pi/Desktop/images/29012025/16/23/image_29012025_16_23_46_10363.jpg
/home/pi/Desktop/images/29012025/16/23/image_29012025_16_23_56_9353.jpg
/home/pi/Desktop/images/29012025/16/23/image_29012025_16_24_06_10459.jpg
/home/pi/Desktop/images/29012025/16/24/image_29012025_16_24_17_10339.jpg
/home/pi/Desktop/images/29012025/16/24/image_29012025_16_24_26_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":["1332763517","1332763508","1332763471","1332763513","1332763476","1332763515"],"photo_ids_order":["1332763471","1332763476","1332763508","1332763513","1332763515","1332763517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/36b6f4c15ac163d42f95cdfde5018cfd.jpg","text":"TemporaryFile(/tmp/multipartBody6790045614238093750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183653861,"filename":"image_29012025_16_24_26_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/29/a5d2225b4ca5f6efb3b495b27c8b6736.jpg","text":"TemporaryFile(/tmp/multipartBody8230382354882817189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183653861,"filename":"image_29012025_16_23_56_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/29/3f5483f61f2c82c0e4640de32636c12a.jpg","text":"TemporaryFile(/tmp/multipartBody8452752310651413030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183653861,"filename":"image_29012025_16_23_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/29/2bac78bb5f43ac4913576907df9c8cd4.jpg","text":"TemporaryFile(/tmp/multipartBody2136690427131895385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183653861,"filename":"image_29012025_16_24_06_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/29/3e7e8953789c0ecda99643bf514bc4dc.jpg","text":"TemporaryFile(/tmp/multipartBody3188588408249822563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183653861,"filename":"image_29012025_16_23_46_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/29/d9c4146b8b9c33e4d64cbbb799d7b527.jpg","text":"TemporaryFile(/tmp/multipartBody3213804437742801432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183653861,"filename":"image_29012025_16_24_17_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332763508","file1":"1332763476","file0":"1332763471","file4":"1332763515","file5":"1332763517","file3":"1332763513"},"map_files_photo_id_array":[{"photo_id":"1332763517","filename":"file5"},{"photo_id":"1332763508","filename":"file2"},{"photo_id":"1332763515","filename":"file4"},{"photo_id":"1332763476","filename":"file1"},{"photo_id":"1332763471","filename":"file0"},{"photo_id":"1332763513","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332763517":["hashtag1","hashtag2"]},{"1332763508":["hashtag1","hashtag2"]},{"1332763471":["hashtag1","hashtag2"]},{"1332763513":["hashtag1","hashtag2"]},{"1332763476":["hashtag1","hashtag2"]},{"1332763515":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332763517, 1332763508, 1332763471, 1332763513, 1332763476, 1332763515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.424421072006226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:47:33.088831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/24/image_29012025_16_24_36_10399.jpg', '/home/pi/Desktop/images/29012025/16/24/image_29012025_16_24_46_9354.jpg', '/home/pi/Desktop/images/29012025/16/24/image_29012025_16_24_56_10414.jpg', '/home/pi/Desktop/images/29012025/16/24/image_29012025_16_25_06_10358.jpg', '/home/pi/Desktop/images/29012025/16/25/image_29012025_16_25_16_9331.jpg', '/home/pi/Desktop/images/29012025/16/25/image_29012025_16_25_26_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/24/image_29012025_16_24_36_10399.jpg
/home/pi/Desktop/images/29012025/16/24/image_29012025_16_24_46_9354.jpg
/home/pi/Desktop/images/29012025/16/24/image_29012025_16_24_56_10414.jpg
/home/pi/Desktop/images/29012025/16/24/image_29012025_16_25_06_10358.jpg
/home/pi/Desktop/images/29012025/16/25/image_29012025_16_25_16_9331.jpg
/home/pi/Desktop/images/29012025/16/25/image_29012025_16_25_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":["1332763733","1332763721","1332763715","1332763729","1332763708","1332763739"],"photo_ids_order":["1332763708","1332763715","1332763721","1332763729","1332763733","1332763739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/873f0c79a0746439ea837ac3b1bc4dad.jpg","text":"TemporaryFile(/tmp/multipartBody501022183931990471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183714076,"filename":"image_29012025_16_25_16_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/29/3ba8b75779b9b8b4bcb1e6394905b75b.jpg","text":"TemporaryFile(/tmp/multipartBody4635515157198813287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183714076,"filename":"image_29012025_16_24_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/29/a1367bf0b9dab14c84c311149db881c9.jpg","text":"TemporaryFile(/tmp/multipartBody5876193862181236179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183714076,"filename":"image_29012025_16_24_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/29/a6b5384cfe18a95de69daeab1e2ef33d.jpg","text":"TemporaryFile(/tmp/multipartBody8098438747381675996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183714076,"filename":"image_29012025_16_25_06_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/29/ce584d49a43b48e00f1fef4a33604369.jpg","text":"TemporaryFile(/tmp/multipartBody477846241217836917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183714076,"filename":"image_29012025_16_24_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/29/2d25c196943b7ad17e5dbc83599fef55.jpg","text":"TemporaryFile(/tmp/multipartBody4934515593975857368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183714076,"filename":"image_29012025_16_25_26_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332763721","file1":"1332763715","file0":"1332763708","file4":"1332763733","file5":"1332763739","file3":"1332763729"},"map_files_photo_id_array":[{"photo_id":"1332763739","filename":"file5"},{"photo_id":"1332763721","filename":"file2"},{"photo_id":"1332763733","filename":"file4"},{"photo_id":"1332763715","filename":"file1"},{"photo_id":"1332763708","filename":"file0"},{"photo_id":"1332763729","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332763733":["hashtag1","hashtag2"]},{"1332763721":["hashtag1","hashtag2"]},{"1332763715":["hashtag1","hashtag2"]},{"1332763729":["hashtag1","hashtag2"]},{"1332763708":["hashtag1","hashtag2"]},{"1332763739":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332763733, 1332763721, 1332763715, 1332763729, 1332763708, 1332763739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43290328979492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:48:32.303189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/25/image_29012025_16_25_36_10352.jpg', '/home/pi/Desktop/images/29012025/16/25/image_29012025_16_25_46_9352.jpg', '/home/pi/Desktop/images/29012025/16/25/image_29012025_16_25_56_10348.jpg', '/home/pi/Desktop/images/29012025/16/25/image_29012025_16_26_07_10424.jpg', '/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_16_9404.jpg', '/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_26_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/25/image_29012025_16_25_36_10352.jpg
/home/pi/Desktop/images/29012025/16/25/image_29012025_16_25_46_9352.jpg
/home/pi/Desktop/images/29012025/16/25/image_29012025_16_25_56_10348.jpg
/home/pi/Desktop/images/29012025/16/25/image_29012025_16_26_07_10424.jpg
/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_16_9404.jpg
/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_26_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":["1332763805","1332763798","1332763789","1332763785","1332763761","1332763793"],"photo_ids_order":["1332763761","1332763785","1332763789","1332763793","1332763798","1332763805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/25f0c38f8ba461ecc90d7a537d8456c6.jpg","text":"TemporaryFile(/tmp/multipartBody2058485024458142676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183773266,"filename":"image_29012025_16_26_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/29/2189cc625b9e99efffd64735066372e7.jpg","text":"TemporaryFile(/tmp/multipartBody2423586393966848177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183773266,"filename":"image_29012025_16_26_16_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/29/9205dc996ae36e017d28265afd05577b.jpg","text":"TemporaryFile(/tmp/multipartBody3774230830191144440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183773266,"filename":"image_29012025_16_25_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/29/00bf60a778a81358021d9c0a61ec6aff.jpg","text":"TemporaryFile(/tmp/multipartBody778546137143743566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183773266,"filename":"image_29012025_16_25_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/29/61e66396765605c6c2b4ce0adbe46a09.jpg","text":"TemporaryFile(/tmp/multipartBody4387372249971106647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183773266,"filename":"image_29012025_16_25_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/29/a3807b091ffaa338dac85e1209b8332f.jpg","text":"TemporaryFile(/tmp/multipartBody3757197880493718881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183773266,"filename":"image_29012025_16_26_07_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332763789","file1":"1332763785","file0":"1332763761","file4":"1332763798","file5":"1332763805","file3":"1332763793"},"map_files_photo_id_array":[{"photo_id":"1332763805","filename":"file5"},{"photo_id":"1332763789","filename":"file2"},{"photo_id":"1332763798","filename":"file4"},{"photo_id":"1332763785","filename":"file1"},{"photo_id":"1332763761","filename":"file0"},{"photo_id":"1332763793","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332763805":["hashtag1","hashtag2"]},{"1332763798":["hashtag1","hashtag2"]},{"1332763789":["hashtag1","hashtag2"]},{"1332763785":["hashtag1","hashtag2"]},{"1332763761":["hashtag1","hashtag2"]},{"1332763793":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332763805, 1332763798, 1332763789, 1332763785, 1332763761, 1332763793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.70019841194153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:49:32.648415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_36_9343.jpg', '/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_46_10463.jpg', '/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_57_10353.jpg', '/home/pi/Desktop/images/29012025/16/26/image_29012025_16_27_06_9459.jpg', '/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_16_10417.jpg', '/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_26_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_36_9343.jpg
/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_46_10463.jpg
/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_57_10353.jpg
/home/pi/Desktop/images/29012025/16/26/image_29012025_16_27_06_9459.jpg
/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_16_10417.jpg
/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_26_9358.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.5990316867828369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 21:49:42.616412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_36_9343.jpg', '/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_46_10463.jpg', '/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_57_10353.jpg', '/home/pi/Desktop/images/29012025/16/26/image_29012025_16_27_06_9459.jpg', '/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_16_10417.jpg', '/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_26_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_36_9343.jpg
/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_46_10463.jpg
/home/pi/Desktop/images/29012025/16/26/image_29012025_16_26_57_10353.jpg
/home/pi/Desktop/images/29012025/16/26/image_29012025_16_27_06_9459.jpg
/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_16_10417.jpg
/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_26_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332764044","1332764061","1332764067","1332764054","1332764063","1332764027"],"photo_ids_order":["1332764027","1332764044","1332764054","1332764061","1332764063","1332764067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/95de63acc290e10afab66f357e4a0e9f.jpg","text":"TemporaryFile(/tmp/multipartBody3279790639614674111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183843519,"filename":"image_29012025_16_26_46_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/29/dc86772bb4a2c9abf4c5b974bf50bb14.jpg","text":"TemporaryFile(/tmp/multipartBody1470305422606597934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183843519,"filename":"image_29012025_16_27_06_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/29/0f4fc0c30287cfbcb680c2ff8543bfb4.jpg","text":"TemporaryFile(/tmp/multipartBody1358823870176092566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183843519,"filename":"image_29012025_16_27_26_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/29/9b9c4ca6112e790bc8d8f7b5341c2a1f.jpg","text":"TemporaryFile(/tmp/multipartBody8366644627566129842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183843519,"filename":"image_29012025_16_26_57_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/29/f0312bf007dd1de8dc25c40d3a648077.jpg","text":"TemporaryFile(/tmp/multipartBody3598242473978649456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183843519,"filename":"image_29012025_16_27_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/29/f074f45eae57b5c3d170a2322cf1dd22.jpg","text":"TemporaryFile(/tmp/multipartBody7781036790939991696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183843519,"filename":"image_29012025_16_26_36_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332764054","file1":"1332764044","file0":"1332764027","file4":"1332764063","file5":"1332764067","file3":"1332764061"},"map_files_photo_id_array":[{"photo_id":"1332764067","filename":"file5"},{"photo_id":"1332764054","filename":"file2"},{"photo_id":"1332764063","filename":"file4"},{"photo_id":"1332764044","filename":"file1"},{"photo_id":"1332764027","filename":"file0"},{"photo_id":"1332764061","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332764044":["hashtag1","hashtag2"]},{"1332764061":["hashtag1","hashtag2"]},{"1332764067":["hashtag1","hashtag2"]},{"1332764054":["hashtag1","hashtag2"]},{"1332764063":["hashtag1","hashtag2"]},{"1332764027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332764044, 1332764061, 1332764067, 1332764054, 1332764063, 1332764027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61292767524719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:50:32.826989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_36_10429.jpg', '/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_47_10374.jpg', '/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_56_9340.jpg', '/home/pi/Desktop/images/29012025/16/27/image_29012025_16_28_06_10398.jpg', '/home/pi/Desktop/images/29012025/16/28/image_29012025_16_28_17_10273.jpg', '/home/pi/Desktop/images/29012025/16/28/image_29012025_16_28_26_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_36_10429.jpg
/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_47_10374.jpg
/home/pi/Desktop/images/29012025/16/27/image_29012025_16_27_56_9340.jpg
/home/pi/Desktop/images/29012025/16/27/image_29012025_16_28_06_10398.jpg
/home/pi/Desktop/images/29012025/16/28/image_29012025_16_28_17_10273.jpg
/home/pi/Desktop/images/29012025/16/28/image_29012025_16_28_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":["1332764207","1332764191","1332764185","1332764179","1332764198","1332764204"],"photo_ids_order":["1332764179","1332764185","1332764191","1332764198","1332764204","1332764207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/32a5073d83dcae87bdd97618410e1251.jpg","text":"TemporaryFile(/tmp/multipartBody2360936919455046001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183893817,"filename":"image_29012025_16_28_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/29/1eb0529a5cb201935c5b08dd8083fad8.jpg","text":"TemporaryFile(/tmp/multipartBody6202433682964105393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183893817,"filename":"image_29012025_16_27_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/29/25afa9bc4977acc0dde7f3fec7a95a16.jpg","text":"TemporaryFile(/tmp/multipartBody2525962918463838671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183893817,"filename":"image_29012025_16_27_47_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/29/21bd4dc83b4efdc5881ce53a4e065fb4.jpg","text":"TemporaryFile(/tmp/multipartBody2086240767544144035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183893817,"filename":"image_29012025_16_27_36_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/29/b66dd6833de04d486962558d346f50da.jpg","text":"TemporaryFile(/tmp/multipartBody3858964528819449370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183893817,"filename":"image_29012025_16_28_06_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/29/cb46e3ee1e763f5dd4a584eead27d300.jpg","text":"TemporaryFile(/tmp/multipartBody8649630794421513471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183893817,"filename":"image_29012025_16_28_17_10273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332764191","file1":"1332764185","file0":"1332764179","file4":"1332764204","file5":"1332764207","file3":"1332764198"},"map_files_photo_id_array":[{"photo_id":"1332764207","filename":"file5"},{"photo_id":"1332764191","filename":"file2"},{"photo_id":"1332764204","filename":"file4"},{"photo_id":"1332764185","filename":"file1"},{"photo_id":"1332764179","filename":"file0"},{"photo_id":"1332764198","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332764207":["hashtag1","hashtag2"]},{"1332764191":["hashtag1","hashtag2"]},{"1332764185":["hashtag1","hashtag2"]},{"1332764179":["hashtag1","hashtag2"]},{"1332764198":["hashtag1","hashtag2"]},{"1332764204":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332764207, 1332764191, 1332764185, 1332764179, 1332764198, 1332764204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85212850570679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:51:33.029537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/28/image_29012025_16_28_36_10350.jpg', '/home/pi/Desktop/images/29012025/16/28/image_29012025_16_28_46_9336.jpg', '/home/pi/Desktop/images/29012025/16/28/image_29012025_16_28_56_10454.jpg', '/home/pi/Desktop/images/29012025/16/28/image_29012025_16_29_07_10421.jpg', '/home/pi/Desktop/images/29012025/16/29/image_29012025_16_29_16_9343.jpg', '/home/pi/Desktop/images/29012025/16/29/image_29012025_16_29_26_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/28/image_29012025_16_28_36_10350.jpg
/home/pi/Desktop/images/29012025/16/28/image_29012025_16_28_46_9336.jpg
/home/pi/Desktop/images/29012025/16/28/image_29012025_16_28_56_10454.jpg
/home/pi/Desktop/images/29012025/16/28/image_29012025_16_29_07_10421.jpg
/home/pi/Desktop/images/29012025/16/29/image_29012025_16_29_16_9343.jpg
/home/pi/Desktop/images/29012025/16/29/image_29012025_16_29_26_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":["1332764268","1332764253","1332764262","1332764256","1332764249","1332764243"],"photo_ids_order":["1332764243","1332764249","1332764253","1332764256","1332764262","1332764268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f4f0e06e27241a88bedbb4b52357df1c.jpg","text":"TemporaryFile(/tmp/multipartBody5807850175030071706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183954020,"filename":"image_29012025_16_29_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/29/fb1f44aaeff0758d22b19313b720b1cd.jpg","text":"TemporaryFile(/tmp/multipartBody4426241311657371019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183954020,"filename":"image_29012025_16_28_56_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/29/37a3eca3e5a454da3403cc3193fada84.jpg","text":"TemporaryFile(/tmp/multipartBody3820873026916856556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183954020,"filename":"image_29012025_16_29_16_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/29/9bb443eb4343a540dafb72f886a8b995.jpg","text":"TemporaryFile(/tmp/multipartBody5668118080754662566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183954020,"filename":"image_29012025_16_29_07_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/29/7cd210e581e9aeda249ad9960677ec7b.jpg","text":"TemporaryFile(/tmp/multipartBody4964618291447291286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183954020,"filename":"image_29012025_16_28_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/29/b49899a41556389a2b84ac4ad67c6354.jpg","text":"TemporaryFile(/tmp/multipartBody6057585332915485652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738183954020,"filename":"image_29012025_16_28_36_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332764253","file1":"1332764249","file0":"1332764243","file4":"1332764262","file5":"1332764268","file3":"1332764256"},"map_files_photo_id_array":[{"photo_id":"1332764268","filename":"file5"},{"photo_id":"1332764253","filename":"file2"},{"photo_id":"1332764262","filename":"file4"},{"photo_id":"1332764249","filename":"file1"},{"photo_id":"1332764243","filename":"file0"},{"photo_id":"1332764256","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332764268":["hashtag1","hashtag2"]},{"1332764253":["hashtag1","hashtag2"]},{"1332764262":["hashtag1","hashtag2"]},{"1332764256":["hashtag1","hashtag2"]},{"1332764249":["hashtag1","hashtag2"]},{"1332764243":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332764268, 1332764253, 1332764262, 1332764256, 1332764249, 1332764243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.72541260719299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:52:32.294754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/29/image_29012025_16_29_36_9337.jpg', '/home/pi/Desktop/images/29012025/16/29/image_29012025_16_29_46_10459.jpg', '/home/pi/Desktop/images/29012025/16/29/image_29012025_16_29_56_10359.jpg', '/home/pi/Desktop/images/29012025/16/29/image_29012025_16_30_06_9349.jpg', '/home/pi/Desktop/images/29012025/16/30/image_29012025_16_30_16_10463.jpg', '/home/pi/Desktop/images/29012025/16/30/image_29012025_16_30_26_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/29/image_29012025_16_29_36_9337.jpg
/home/pi/Desktop/images/29012025/16/29/image_29012025_16_29_46_10459.jpg
/home/pi/Desktop/images/29012025/16/29/image_29012025_16_29_56_10359.jpg
/home/pi/Desktop/images/29012025/16/29/image_29012025_16_30_06_9349.jpg
/home/pi/Desktop/images/29012025/16/30/image_29012025_16_30_16_10463.jpg
/home/pi/Desktop/images/29012025/16/30/image_29012025_16_30_26_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":["1332764395","1332764464","1332764317","1332764481","1332764475","1332764469"],"photo_ids_order":["1332764317","1332764395","1332764464","1332764469","1332764475","1332764481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4d635fda1a1970e64dce3f8eaac587f9.jpg","text":"TemporaryFile(/tmp/multipartBody8448310449153345040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184013266,"filename":"image_29012025_16_29_46_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/29/a56ebcc129755c0ed940536407cd4de4.jpg","text":"TemporaryFile(/tmp/multipartBody4972701725542893715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184013266,"filename":"image_29012025_16_29_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/29/4640000810256e48c5e2e8d5b9085654.jpg","text":"TemporaryFile(/tmp/multipartBody1935513138999103780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184013266,"filename":"image_29012025_16_29_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/29/1aa28b96a1b2056b89efb6b9b650245c.jpg","text":"TemporaryFile(/tmp/multipartBody3021017673222126367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184013266,"filename":"image_29012025_16_30_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/29/25a1a7084992198008a56cc392ce7dac.jpg","text":"TemporaryFile(/tmp/multipartBody8464715033329321779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184013266,"filename":"image_29012025_16_30_16_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/29/fad3f471114b1a45fb14ab02d2335ced.jpg","text":"TemporaryFile(/tmp/multipartBody3426439230298078669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184013266,"filename":"image_29012025_16_30_06_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332764464","file1":"1332764395","file0":"1332764317","file4":"1332764475","file5":"1332764481","file3":"1332764469"},"map_files_photo_id_array":[{"photo_id":"1332764481","filename":"file5"},{"photo_id":"1332764464","filename":"file2"},{"photo_id":"1332764475","filename":"file4"},{"photo_id":"1332764395","filename":"file1"},{"photo_id":"1332764317","filename":"file0"},{"photo_id":"1332764469","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332764395":["hashtag1","hashtag2"]},{"1332764464":["hashtag1","hashtag2"]},{"1332764317":["hashtag1","hashtag2"]},{"1332764481":["hashtag1","hashtag2"]},{"1332764475":["hashtag1","hashtag2"]},{"1332764469":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332764395, 1332764464, 1332764317, 1332764481, 1332764475, 1332764469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.34852623939514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:53:32.535549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/30/image_29012025_16_30_36_10407.jpg', '/home/pi/Desktop/images/29012025/16/30/image_29012025_16_30_46_10423.jpg', '/home/pi/Desktop/images/29012025/16/30/image_29012025_16_30_56_9345.jpg', '/home/pi/Desktop/images/29012025/16/30/image_29012025_16_31_06_10417.jpg', '/home/pi/Desktop/images/29012025/16/31/image_29012025_16_31_17_10356.jpg', '/home/pi/Desktop/images/29012025/16/31/image_29012025_16_31_26_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/30/image_29012025_16_30_36_10407.jpg
/home/pi/Desktop/images/29012025/16/30/image_29012025_16_30_46_10423.jpg
/home/pi/Desktop/images/29012025/16/30/image_29012025_16_30_56_9345.jpg
/home/pi/Desktop/images/29012025/16/30/image_29012025_16_31_06_10417.jpg
/home/pi/Desktop/images/29012025/16/31/image_29012025_16_31_17_10356.jpg
/home/pi/Desktop/images/29012025/16/31/image_29012025_16_31_26_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332764509","1332764535","1332764505","1332764498","1332764540","1332764501"],"photo_ids_order":["1332764498","1332764501","1332764505","1332764509","1332764535","1332764540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e95a523c1735da310746d17e1c876469.jpg","text":"TemporaryFile(/tmp/multipartBody9016354076625068134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184073501,"filename":"image_29012025_16_31_06_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/29/df508a0ae8c89455338c65ea498d7173.jpg","text":"TemporaryFile(/tmp/multipartBody3850136212518884426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184073501,"filename":"image_29012025_16_31_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/29/76009933c5ce14d5f314003058876151.jpg","text":"TemporaryFile(/tmp/multipartBody5442776627044659709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184073501,"filename":"image_29012025_16_30_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/29/5af4be799745796c8c9e6c8e5f8debe7.jpg","text":"TemporaryFile(/tmp/multipartBody7809808238103941654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184073501,"filename":"image_29012025_16_30_36_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/29/1ede001929f4253484037b861c4d9602.jpg","text":"TemporaryFile(/tmp/multipartBody8807023148314710132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184073501,"filename":"image_29012025_16_31_26_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/29/c82d4623527b93b3dc1c77eb60830baa.jpg","text":"TemporaryFile(/tmp/multipartBody4236462678983177955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184073501,"filename":"image_29012025_16_30_46_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332764505","file1":"1332764501","file0":"1332764498","file4":"1332764535","file5":"1332764540","file3":"1332764509"},"map_files_photo_id_array":[{"photo_id":"1332764540","filename":"file5"},{"photo_id":"1332764505","filename":"file2"},{"photo_id":"1332764535","filename":"file4"},{"photo_id":"1332764501","filename":"file1"},{"photo_id":"1332764498","filename":"file0"},{"photo_id":"1332764509","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332764509":["hashtag1","hashtag2"]},{"1332764535":["hashtag1","hashtag2"]},{"1332764505":["hashtag1","hashtag2"]},{"1332764498":["hashtag1","hashtag2"]},{"1332764540":["hashtag1","hashtag2"]},{"1332764501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332764509, 1332764535, 1332764505, 1332764498, 1332764540, 1332764501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54663157463074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:54:32.694364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/31/image_29012025_16_31_36_10337.jpg', '/home/pi/Desktop/images/29012025/16/31/image_29012025_16_31_46_9340.jpg', '/home/pi/Desktop/images/29012025/16/31/image_29012025_16_31_56_10348.jpg', '/home/pi/Desktop/images/29012025/16/31/image_29012025_16_32_06_10349.jpg', '/home/pi/Desktop/images/29012025/16/32/image_29012025_16_32_16_9375.jpg', '/home/pi/Desktop/images/29012025/16/32/image_29012025_16_32_26_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/31/image_29012025_16_31_36_10337.jpg
/home/pi/Desktop/images/29012025/16/31/image_29012025_16_31_46_9340.jpg
/home/pi/Desktop/images/29012025/16/31/image_29012025_16_31_56_10348.jpg
/home/pi/Desktop/images/29012025/16/31/image_29012025_16_32_06_10349.jpg
/home/pi/Desktop/images/29012025/16/32/image_29012025_16_32_16_9375.jpg
/home/pi/Desktop/images/29012025/16/32/image_29012025_16_32_26_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":["1332764770","1332764614","1332764748","1332764610","1332764606","1332764776"],"photo_ids_order":["1332764606","1332764610","1332764614","1332764748","1332764770","1332764776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a69069c05de21feff76bbc9f3dbe4321.jpg","text":"TemporaryFile(/tmp/multipartBody2131089694805515774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184133688,"filename":"image_29012025_16_32_16_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/29/1fed63a057d8c3b2ad2dfd624f7d756d.jpg","text":"TemporaryFile(/tmp/multipartBody5392852767085447831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184133688,"filename":"image_29012025_16_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/29/a928c0aa0b32ae158d7a4d53c964ede0.jpg","text":"TemporaryFile(/tmp/multipartBody6453037932390135203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184133688,"filename":"image_29012025_16_32_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/29/0bbc234ab5e596af8abb5e7729498f1f.jpg","text":"TemporaryFile(/tmp/multipartBody430786743370998198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184133688,"filename":"image_29012025_16_31_46_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/29/852490336f78abbf9ef94e8611617dd4.jpg","text":"TemporaryFile(/tmp/multipartBody3239987102650289550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184133688,"filename":"image_29012025_16_31_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/29/85e6ab9ebf0a41098f4003044444a343.jpg","text":"TemporaryFile(/tmp/multipartBody6188632718803465727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184133688,"filename":"image_29012025_16_32_26_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332764614","file1":"1332764610","file0":"1332764606","file4":"1332764770","file5":"1332764776","file3":"1332764748"},"map_files_photo_id_array":[{"photo_id":"1332764776","filename":"file5"},{"photo_id":"1332764614","filename":"file2"},{"photo_id":"1332764770","filename":"file4"},{"photo_id":"1332764610","filename":"file1"},{"photo_id":"1332764606","filename":"file0"},{"photo_id":"1332764748","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332764770":["hashtag1","hashtag2"]},{"1332764614":["hashtag1","hashtag2"]},{"1332764748":["hashtag1","hashtag2"]},{"1332764610":["hashtag1","hashtag2"]},{"1332764606":["hashtag1","hashtag2"]},{"1332764776":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332764770, 1332764614, 1332764748, 1332764610, 1332764606, 1332764776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.54438877105713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:55:33.026627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/32/image_29012025_16_32_36_10335.jpg', '/home/pi/Desktop/images/29012025/16/32/image_29012025_16_32_46_9357.jpg', '/home/pi/Desktop/images/29012025/16/32/image_29012025_16_32_56_10357.jpg', '/home/pi/Desktop/images/29012025/16/32/image_29012025_16_33_07_10331.jpg', '/home/pi/Desktop/images/29012025/16/33/image_29012025_16_33_16_9474.jpg', '/home/pi/Desktop/images/29012025/16/33/image_29012025_16_33_26_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/32/image_29012025_16_32_36_10335.jpg
/home/pi/Desktop/images/29012025/16/32/image_29012025_16_32_46_9357.jpg
/home/pi/Desktop/images/29012025/16/32/image_29012025_16_32_56_10357.jpg
/home/pi/Desktop/images/29012025/16/32/image_29012025_16_33_07_10331.jpg
/home/pi/Desktop/images/29012025/16/33/image_29012025_16_33_16_9474.jpg
/home/pi/Desktop/images/29012025/16/33/image_29012025_16_33_26_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":["1332764839","1332764844","1332764832","1332764834","1332764825","1332764828"],"photo_ids_order":["1332764825","1332764828","1332764832","1332764834","1332764839","1332764844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bd02e7ad73874cfda318a9521ed8ecde.jpg","text":"TemporaryFile(/tmp/multipartBody6186737390379347551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184193992,"filename":"image_29012025_16_33_16_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/29/ed5cd059e770b761bfe9a73423a4bd24.jpg","text":"TemporaryFile(/tmp/multipartBody3742962176366424854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184193992,"filename":"image_29012025_16_33_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/29/3be7f633a3dd41cef13f99ba43b179f0.jpg","text":"TemporaryFile(/tmp/multipartBody4421588320358479425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184193992,"filename":"image_29012025_16_32_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/29/73d243855c64533698ad0a4eeef1208b.jpg","text":"TemporaryFile(/tmp/multipartBody2827543428420952962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184193992,"filename":"image_29012025_16_33_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/29/45f7f27d8bd3a6fd713d6ee91dcd11db.jpg","text":"TemporaryFile(/tmp/multipartBody3614898667969821306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184193992,"filename":"image_29012025_16_32_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/29/94c447debb5b79e8049b85627b79d64e.jpg","text":"TemporaryFile(/tmp/multipartBody7818700264127942973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184193992,"filename":"image_29012025_16_32_46_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332764832","file1":"1332764828","file0":"1332764825","file4":"1332764839","file5":"1332764844","file3":"1332764834"},"map_files_photo_id_array":[{"photo_id":"1332764844","filename":"file5"},{"photo_id":"1332764832","filename":"file2"},{"photo_id":"1332764839","filename":"file4"},{"photo_id":"1332764828","filename":"file1"},{"photo_id":"1332764825","filename":"file0"},{"photo_id":"1332764834","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332764839":["hashtag1","hashtag2"]},{"1332764844":["hashtag1","hashtag2"]},{"1332764832":["hashtag1","hashtag2"]},{"1332764834":["hashtag1","hashtag2"]},{"1332764825":["hashtag1","hashtag2"]},{"1332764828":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332764839, 1332764844, 1332764832, 1332764834, 1332764825, 1332764828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4795126914978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:56:32.324849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/33/image_29012025_16_33_36_9369.jpg', '/home/pi/Desktop/images/29012025/16/33/image_29012025_16_33_46_10334.jpg', '/home/pi/Desktop/images/29012025/16/33/image_29012025_16_34_06_9331.jpg', '/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_16_10435.jpg', '/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_27_10363.jpg', '/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_36_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/33/image_29012025_16_33_36_9369.jpg
/home/pi/Desktop/images/29012025/16/33/image_29012025_16_33_46_10334.jpg
/home/pi/Desktop/images/29012025/16/33/image_29012025_16_34_06_9331.jpg
/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_16_10435.jpg
/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_27_10363.jpg
/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_36_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":["1332764932","1332764860","1332764913","1332764891","1332764870","1332764881"],"photo_ids_order":["1332764860","1332764870","1332764881","1332764891","1332764913","1332764932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4bb9efd1dc0716ae4ed4dd65813c0754.jpg","text":"TemporaryFile(/tmp/multipartBody5909015338512992243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184253302,"filename":"image_29012025_16_34_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/29/11a3cab5d1ffdb384482c88ca32d2031.jpg","text":"TemporaryFile(/tmp/multipartBody8614867221541386651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184253302,"filename":"image_29012025_16_33_36_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/29/a9d8cf7c8520d293daa43cf9ad940979.jpg","text":"TemporaryFile(/tmp/multipartBody5597555929918499833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184253302,"filename":"image_29012025_16_34_27_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/29/f2161cd34c427bcde76c174d76576203.jpg","text":"TemporaryFile(/tmp/multipartBody7496389657103042619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184253302,"filename":"image_29012025_16_34_16_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/29/0c41290f2c948b774f726482d4cef291.jpg","text":"TemporaryFile(/tmp/multipartBody4198627378678630331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184253302,"filename":"image_29012025_16_33_46_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/29/33931f81ca6e8861ae670fd84583f974.jpg","text":"TemporaryFile(/tmp/multipartBody2275610373044397144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184253302,"filename":"image_29012025_16_34_06_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332764881","file1":"1332764870","file0":"1332764860","file4":"1332764913","file5":"1332764932","file3":"1332764891"},"map_files_photo_id_array":[{"photo_id":"1332764932","filename":"file5"},{"photo_id":"1332764881","filename":"file2"},{"photo_id":"1332764913","filename":"file4"},{"photo_id":"1332764870","filename":"file1"},{"photo_id":"1332764860","filename":"file0"},{"photo_id":"1332764891","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332764932":["hashtag1","hashtag2"]},{"1332764860":["hashtag1","hashtag2"]},{"1332764913":["hashtag1","hashtag2"]},{"1332764891":["hashtag1","hashtag2"]},{"1332764870":["hashtag1","hashtag2"]},{"1332764881":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332764932, 1332764860, 1332764913, 1332764891, 1332764870, 1332764881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.53077220916748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 21:57:32.576098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_46_10418.jpg', '/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_56_9350.jpg', '/home/pi/Desktop/images/29012025/16/34/image_29012025_16_35_06_10444.jpg', '/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_17_10372.jpg', '/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_26_9423.jpg', '/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_36_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_46_10418.jpg
/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_56_9350.jpg
/home/pi/Desktop/images/29012025/16/34/image_29012025_16_35_06_10444.jpg
/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_17_10372.jpg
/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_26_9423.jpg
/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_36_10368.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-29 21:59:03.371296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_46_10418.jpg', '/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_56_9350.jpg', '/home/pi/Desktop/images/29012025/16/34/image_29012025_16_35_06_10444.jpg', '/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_17_10372.jpg', '/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_26_9423.jpg', '/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_36_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_46_10418.jpg
/home/pi/Desktop/images/29012025/16/34/image_29012025_16_34_56_9350.jpg
/home/pi/Desktop/images/29012025/16/34/image_29012025_16_35_06_10444.jpg
/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_17_10372.jpg
/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_26_9423.jpg
/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_36_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":["1332765098","1332765092","1332765074","1332765068","1332765088","1332765082"],"photo_ids_order":["1332765068","1332765074","1332765082","1332765088","1332765092","1332765098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/214ac1654054030bee750c33d3db839b.jpg","text":"TemporaryFile(/tmp/multipartBody8399696228609644220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184404331,"filename":"image_29012025_16_35_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/29/68511b7ad96105928c88b97f2c9d75bf.jpg","text":"TemporaryFile(/tmp/multipartBody2411254795574270155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184404331,"filename":"image_29012025_16_35_26_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/29/f49465f2e4c0e463e5ae40d91ef6a080.jpg","text":"TemporaryFile(/tmp/multipartBody6728997919026369672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184404331,"filename":"image_29012025_16_34_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/29/2a9caf0c6ec6979433acf91dc028413e.jpg","text":"TemporaryFile(/tmp/multipartBody7203196645745132318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184404331,"filename":"image_29012025_16_34_46_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/29/5f33317a4b7f7b7903beef5a726372d7.jpg","text":"TemporaryFile(/tmp/multipartBody524712544725521354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184404331,"filename":"image_29012025_16_35_17_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/29/b6253061fcf307dc6cc31d591242eea7.jpg","text":"TemporaryFile(/tmp/multipartBody3282883173971524941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184404331,"filename":"image_29012025_16_35_06_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332765082","file1":"1332765074","file0":"1332765068","file4":"1332765092","file5":"1332765098","file3":"1332765088"},"map_files_photo_id_array":[{"photo_id":"1332765098","filename":"file5"},{"photo_id":"1332765082","filename":"file2"},{"photo_id":"1332765092","filename":"file4"},{"photo_id":"1332765074","filename":"file1"},{"photo_id":"1332765068","filename":"file0"},{"photo_id":"1332765088","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332765098":["hashtag1","hashtag2"]},{"1332765092":["hashtag1","hashtag2"]},{"1332765074":["hashtag1","hashtag2"]},{"1332765068":["hashtag1","hashtag2"]},{"1332765088":["hashtag1","hashtag2"]},{"1332765082":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332765098, 1332765092, 1332765074, 1332765068, 1332765088, 1332765082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.672300577163696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 22:00:03.157202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_46_9350.jpg', '/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_56_10434.jpg', '/home/pi/Desktop/images/29012025/16/35/image_29012025_16_36_06_10349.jpg', '/home/pi/Desktop/images/29012025/16/36/image_29012025_16_36_16_9396.jpg', '/home/pi/Desktop/images/29012025/16/36/image_29012025_16_36_26_10349.jpg', '/home/pi/Desktop/images/29012025/16/36/image_29012025_16_36_37_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_46_9350.jpg
/home/pi/Desktop/images/29012025/16/35/image_29012025_16_35_56_10434.jpg
/home/pi/Desktop/images/29012025/16/35/image_29012025_16_36_06_10349.jpg
/home/pi/Desktop/images/29012025/16/36/image_29012025_16_36_16_9396.jpg
/home/pi/Desktop/images/29012025/16/36/image_29012025_16_36_26_10349.jpg
/home/pi/Desktop/images/29012025/16/36/image_29012025_16_36_37_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332765106","1332765121","1332765129","1332765126","1332765111","1332765116"],"photo_ids_order":["1332765106","1332765111","1332765116","1332765121","1332765126","1332765129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8e69eaad201488bd4e6acdbe43990a27.jpg","text":"TemporaryFile(/tmp/multipartBody2649439290166742560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184464159,"filename":"image_29012025_16_35_46_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/29/60c2ec4e53cee5ec5508715549a62b91.jpg","text":"TemporaryFile(/tmp/multipartBody348579248306794758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184464159,"filename":"image_29012025_16_36_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/29/33b0b2595b4126995513120ef8c95f81.jpg","text":"TemporaryFile(/tmp/multipartBody4242045763326292975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184464159,"filename":"image_29012025_16_36_37_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/29/34b56bb417ac4a84a95f1efed13a3af0.jpg","text":"TemporaryFile(/tmp/multipartBody1831594564061495262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184464159,"filename":"image_29012025_16_36_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/29/410cd09244cbbd43931ae1beece83739.jpg","text":"TemporaryFile(/tmp/multipartBody89669064670412343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184464159,"filename":"image_29012025_16_35_56_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/29/b937c4b580473b24dbff4ee739b06b03.jpg","text":"TemporaryFile(/tmp/multipartBody3444091671341585400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184464159,"filename":"image_29012025_16_36_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332765116","file1":"1332765111","file0":"1332765106","file4":"1332765126","file5":"1332765129","file3":"1332765121"},"map_files_photo_id_array":[{"photo_id":"1332765129","filename":"file5"},{"photo_id":"1332765116","filename":"file2"},{"photo_id":"1332765126","filename":"file4"},{"photo_id":"1332765111","filename":"file1"},{"photo_id":"1332765106","filename":"file0"},{"photo_id":"1332765121","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332765106":["hashtag1","hashtag2"]},{"1332765121":["hashtag1","hashtag2"]},{"1332765129":["hashtag1","hashtag2"]},{"1332765126":["hashtag1","hashtag2"]},{"1332765111":["hashtag1","hashtag2"]},{"1332765116":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332765106, 1332765121, 1332765129, 1332765126, 1332765111, 1332765116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.428977251052856 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-29 22:00:52.456221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/36/image_29012025_16_36_46_9330.jpg', '/home/pi/Desktop/images/29012025/16/36/image_29012025_16_36_56_10438.jpg', '/home/pi/Desktop/images/29012025/16/36/image_29012025_16_37_06_9348.jpg', '/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_16_10454.jpg', '/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_26_10356.jpg', '/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_36_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/36/image_29012025_16_36_46_9330.jpg
/home/pi/Desktop/images/29012025/16/36/image_29012025_16_36_56_10438.jpg
/home/pi/Desktop/images/29012025/16/36/image_29012025_16_37_06_9348.jpg
/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_16_10454.jpg
/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_26_10356.jpg
/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_36_9424.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332765444","1332765150","1332765230","1332765155","1332765160","1332765334"],"photo_ids_order":["1332765150","1332765155","1332765160","1332765230","1332765334","1332765444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/62743966c435643a73ef1db35e537cfb.jpg","text":"TemporaryFile(/tmp/multipartBody8814973423689158403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184513425,"filename":"image_29012025_16_37_36_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/29/bfcec4d2a54e1541c00ae50bd28ec62f.jpg","text":"TemporaryFile(/tmp/multipartBody6511865863938303631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184513425,"filename":"image_29012025_16_36_46_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/29/76803a9b0b0de9254d2d8afdbddbe662.jpg","text":"TemporaryFile(/tmp/multipartBody6081472966878875616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184513425,"filename":"image_29012025_16_37_16_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/29/65a098b05a6756da0bfea6b29db723a8.jpg","text":"TemporaryFile(/tmp/multipartBody3873080374825051747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184513425,"filename":"image_29012025_16_36_56_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/29/56b5d655532805392600e67253e86408.jpg","text":"TemporaryFile(/tmp/multipartBody2754382236133200443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184513425,"filename":"image_29012025_16_37_06_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/29/ffa40749be1b0ac9c943837d9c2b2fe1.jpg","text":"TemporaryFile(/tmp/multipartBody1713602767573340341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184513425,"filename":"image_29012025_16_37_26_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332765160","file1":"1332765155","file0":"1332765150","file4":"1332765334","file5":"1332765444","file3":"1332765230"},"map_files_photo_id_array":[{"photo_id":"1332765444","filename":"file5"},{"photo_id":"1332765160","filename":"file2"},{"photo_id":"1332765334","filename":"file4"},{"photo_id":"1332765155","filename":"file1"},{"photo_id":"1332765150","filename":"file0"},{"photo_id":"1332765230","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332765444":["hashtag1","hashtag2"]},{"1332765150":["hashtag1","hashtag2"]},{"1332765230":["hashtag1","hashtag2"]},{"1332765155":["hashtag1","hashtag2"]},{"1332765160":["hashtag1","hashtag2"]},{"1332765334":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332765444, 1332765150, 1332765230, 1332765155, 1332765160, 1332765334)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.32756543159485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 22:01:42.699377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_46_10450.jpg', '/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_56_9354.jpg', '/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_16_10355.jpg', '/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_26_9397.jpg', '/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_36_10392.jpg', '/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_47_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_46_10450.jpg
/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_56_9354.jpg
/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_16_10355.jpg
/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_26_9397.jpg
/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_36_10392.jpg
/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_47_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.5616343021392822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:01:52.691300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_46_10450.jpg', '/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_56_9354.jpg', '/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_16_10355.jpg', '/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_26_9397.jpg', '/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_36_10392.jpg', '/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_47_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_46_10450.jpg
/home/pi/Desktop/images/29012025/16/37/image_29012025_16_37_56_9354.jpg
/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_16_10355.jpg
/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_26_9397.jpg
/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_36_10392.jpg
/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_47_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":["1332765963","1332765960","1332765954","1332765965","1332765938","1332765967"],"photo_ids_order":["1332765938","1332765954","1332765960","1332765963","1332765965","1332765967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ef529ef921568217eb4706eff357609a.jpg","text":"TemporaryFile(/tmp/multipartBody5625833552102077718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184573595,"filename":"image_29012025_16_38_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/29/ae66a82f47a2eb46454ec4aa6c7ff9d7.jpg","text":"TemporaryFile(/tmp/multipartBody1138901736142220599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184573595,"filename":"image_29012025_16_38_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/29/49094b5ee1ec9cb20065e5e300146e83.jpg","text":"TemporaryFile(/tmp/multipartBody3460210221060281250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184573595,"filename":"image_29012025_16_37_56_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/29/906b80dda8145484e268ed2b00242ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5850906213129448175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184573595,"filename":"image_29012025_16_38_36_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/29/8eec1dee73424a6ea288069f4995cd59.jpg","text":"TemporaryFile(/tmp/multipartBody5324725204130348763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184573595,"filename":"image_29012025_16_37_46_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/29/a13394725c2216e7413dbc9b23115323.jpg","text":"TemporaryFile(/tmp/multipartBody3982511767542034175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184573595,"filename":"image_29012025_16_38_47_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332765960","file1":"1332765954","file0":"1332765938","file4":"1332765965","file5":"1332765967","file3":"1332765963"},"map_files_photo_id_array":[{"photo_id":"1332765967","filename":"file5"},{"photo_id":"1332765960","filename":"file2"},{"photo_id":"1332765965","filename":"file4"},{"photo_id":"1332765954","filename":"file1"},{"photo_id":"1332765938","filename":"file0"},{"photo_id":"1332765963","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332765963":["hashtag1","hashtag2"]},{"1332765960":["hashtag1","hashtag2"]},{"1332765954":["hashtag1","hashtag2"]},{"1332765965":["hashtag1","hashtag2"]},{"1332765938":["hashtag1","hashtag2"]},{"1332765967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332765963, 1332765960, 1332765954, 1332765965, 1332765938, 1332765967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16204857826233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 22:02:42.935730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_56_9481.jpg', '/home/pi/Desktop/images/29012025/16/38/image_29012025_16_39_06_10357.jpg', '/home/pi/Desktop/images/29012025/16/39/image_29012025_16_39_16_9331.jpg', '/home/pi/Desktop/images/29012025/16/39/image_29012025_16_39_26_10450.jpg', '/home/pi/Desktop/images/29012025/16/39/image_29012025_16_39_37_10342.jpg', '/home/pi/Desktop/images/29012025/16/39/image_29012025_16_39_46_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/38/image_29012025_16_38_56_9481.jpg
/home/pi/Desktop/images/29012025/16/38/image_29012025_16_39_06_10357.jpg
/home/pi/Desktop/images/29012025/16/39/image_29012025_16_39_16_9331.jpg
/home/pi/Desktop/images/29012025/16/39/image_29012025_16_39_26_10450.jpg
/home/pi/Desktop/images/29012025/16/39/image_29012025_16_39_37_10342.jpg
/home/pi/Desktop/images/29012025/16/39/image_29012025_16_39_46_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":["1332766023","1332766002","1332766025","1332766112","1332766220","1332766228"],"photo_ids_order":["1332766002","1332766023","1332766025","1332766112","1332766220","1332766228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/77a12afd3ac78fb06a7f8146751c1fc3.jpg","text":"TemporaryFile(/tmp/multipartBody6186880167164506735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184624008,"filename":"image_29012025_16_39_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/29/8e6dd25e11620194a17613ae532ad11a.jpg","text":"TemporaryFile(/tmp/multipartBody5904889489609217513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184624008,"filename":"image_29012025_16_38_56_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/befe17cd40df1701fa64ca968e7eb5f8.jpg","text":"TemporaryFile(/tmp/multipartBody7930243850268294302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184624008,"filename":"image_29012025_16_39_16_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/29/29b1fe98cb61b4f7ffb57442835dbffc.jpg","text":"TemporaryFile(/tmp/multipartBody7752960029403520413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184624008,"filename":"image_29012025_16_39_26_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/29/2cdc7289a41608d0136dac2eb4fd05ba.jpg","text":"TemporaryFile(/tmp/multipartBody8392475871603356683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184624008,"filename":"image_29012025_16_39_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/29/0a0bde056cffe13587b15a0e6d66647e.jpg","text":"TemporaryFile(/tmp/multipartBody4369875037802142146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184624008,"filename":"image_29012025_16_39_46_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332766025","file1":"1332766023","file0":"1332766002","file4":"1332766220","file5":"1332766228","file3":"1332766112"},"map_files_photo_id_array":[{"photo_id":"1332766228","filename":"file5"},{"photo_id":"1332766025","filename":"file2"},{"photo_id":"1332766220","filename":"file4"},{"photo_id":"1332766023","filename":"file1"},{"photo_id":"1332766002","filename":"file0"},{"photo_id":"1332766112","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332766023":["hashtag1","hashtag2"]},{"1332766002":["hashtag1","hashtag2"]},{"1332766025":["hashtag1","hashtag2"]},{"1332766112":["hashtag1","hashtag2"]},{"1332766220":["hashtag1","hashtag2"]},{"1332766228":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332766023, 1332766002, 1332766025, 1332766112, 1332766220, 1332766228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64242458343506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:03:32.175545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/39/image_29012025_16_39_56_10422.jpg', '/home/pi/Desktop/images/29012025/16/39/image_29012025_16_40_06_9337.jpg', '/home/pi/Desktop/images/29012025/16/40/image_29012025_16_40_16_10453.jpg', '/home/pi/Desktop/images/29012025/16/40/image_29012025_16_40_26_10372.jpg', '/home/pi/Desktop/images/29012025/16/40/image_29012025_16_40_36_9324.jpg', '/home/pi/Desktop/images/29012025/16/40/image_29012025_16_40_46_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/39/image_29012025_16_39_56_10422.jpg
/home/pi/Desktop/images/29012025/16/39/image_29012025_16_40_06_9337.jpg
/home/pi/Desktop/images/29012025/16/40/image_29012025_16_40_16_10453.jpg
/home/pi/Desktop/images/29012025/16/40/image_29012025_16_40_26_10372.jpg
/home/pi/Desktop/images/29012025/16/40/image_29012025_16_40_36_9324.jpg
/home/pi/Desktop/images/29012025/16/40/image_29012025_16_40_46_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":["1332766257","1332766280","1332766448","1332766265","1332766288","1332766273"],"photo_ids_order":["1332766257","1332766265","1332766273","1332766280","1332766288","1332766448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c13cd4134215fc48cda755aa69daaf24.jpg","text":"TemporaryFile(/tmp/multipartBody2615278229458646331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184673155,"filename":"image_29012025_16_39_56_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/29/c2ed470523df68e8f5e0b734cb03e766.jpg","text":"TemporaryFile(/tmp/multipartBody4573535740982715576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184673155,"filename":"image_29012025_16_40_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/29/f3eb68ea6d72bcbedd465b24378de8b2.jpg","text":"TemporaryFile(/tmp/multipartBody467227673132123296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184673155,"filename":"image_29012025_16_40_46_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/29/2496943fce54d9bf261a697379dc3672.jpg","text":"TemporaryFile(/tmp/multipartBody8274207557598670255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184673155,"filename":"image_29012025_16_40_06_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/29/6de1be60c78f52490e401f4395846509.jpg","text":"TemporaryFile(/tmp/multipartBody5538607585942671724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184673155,"filename":"image_29012025_16_40_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/29/a74ad0425c8a29752cfc14720792517c.jpg","text":"TemporaryFile(/tmp/multipartBody7710729812380557782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184673155,"filename":"image_29012025_16_40_16_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332766273","file1":"1332766265","file0":"1332766257","file4":"1332766288","file5":"1332766448","file3":"1332766280"},"map_files_photo_id_array":[{"photo_id":"1332766448","filename":"file5"},{"photo_id":"1332766273","filename":"file2"},{"photo_id":"1332766288","filename":"file4"},{"photo_id":"1332766265","filename":"file1"},{"photo_id":"1332766257","filename":"file0"},{"photo_id":"1332766280","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332766257":["hashtag1","hashtag2"]},{"1332766280":["hashtag1","hashtag2"]},{"1332766448":["hashtag1","hashtag2"]},{"1332766265":["hashtag1","hashtag2"]},{"1332766288":["hashtag1","hashtag2"]},{"1332766273":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332766257, 1332766280, 1332766448, 1332766265, 1332766288, 1332766273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14638376235962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:04:32.375420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/40/image_29012025_16_40_56_9369.jpg', '/home/pi/Desktop/images/29012025/16/40/image_29012025_16_41_06_10461.jpg', '/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_16_10410.jpg', '/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_26_9340.jpg', '/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_36_10458.jpg', '/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_46_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/40/image_29012025_16_40_56_9369.jpg
/home/pi/Desktop/images/29012025/16/40/image_29012025_16_41_06_10461.jpg
/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_16_10410.jpg
/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_26_9340.jpg
/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_36_10458.jpg
/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_46_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":["1332766629","1332766704","1332766583","1332766679","1332766579","1332766570"],"photo_ids_order":["1332766570","1332766579","1332766583","1332766629","1332766679","1332766704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d01ff6289797b4a4cc4901802356ec6d.jpg","text":"TemporaryFile(/tmp/multipartBody3460401804830194136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184733340,"filename":"image_29012025_16_41_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/29/9919a3dcdca4475133d0c3bda0331e76.jpg","text":"TemporaryFile(/tmp/multipartBody2919242686739284717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184733340,"filename":"image_29012025_16_41_46_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/29/fd46d0d36ec8a0cf8109c9a615d32c01.jpg","text":"TemporaryFile(/tmp/multipartBody6971648833666080551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184733340,"filename":"image_29012025_16_41_16_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/29/c761a6abd1d98f369ce213127ec33078.jpg","text":"TemporaryFile(/tmp/multipartBody4488529605493369907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184733340,"filename":"image_29012025_16_41_36_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/29/a8d7ccbc318aa01af7eeadc01cee3cad.jpg","text":"TemporaryFile(/tmp/multipartBody8862906707429431679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184733340,"filename":"image_29012025_16_41_06_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/29/c85951040b84fe0dea0f0f55f4653d74.jpg","text":"TemporaryFile(/tmp/multipartBody2609318622828623025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184733340,"filename":"image_29012025_16_40_56_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332766583","file1":"1332766579","file0":"1332766570","file4":"1332766679","file5":"1332766704","file3":"1332766629"},"map_files_photo_id_array":[{"photo_id":"1332766704","filename":"file5"},{"photo_id":"1332766583","filename":"file2"},{"photo_id":"1332766679","filename":"file4"},{"photo_id":"1332766579","filename":"file1"},{"photo_id":"1332766570","filename":"file0"},{"photo_id":"1332766629","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332766629":["hashtag1","hashtag2"]},{"1332766704":["hashtag1","hashtag2"]},{"1332766583":["hashtag1","hashtag2"]},{"1332766679":["hashtag1","hashtag2"]},{"1332766579":["hashtag1","hashtag2"]},{"1332766570":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332766629, 1332766704, 1332766583, 1332766679, 1332766579, 1332766570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.336933612823486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:05:32.636558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_56_10448.jpg', '/home/pi/Desktop/images/29012025/16/41/image_29012025_16_42_06_10338.jpg', '/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_16_9338.jpg', '/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_26_10407.jpg', '/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_46_9348.jpg', '/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_56_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_56_10448.jpg
/home/pi/Desktop/images/29012025/16/41/image_29012025_16_42_06_10338.jpg
/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_16_9338.jpg
/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_26_10407.jpg
/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_46_9348.jpg
/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_56_10358.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.5643796920776367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 22:05:42.685205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_56_10448.jpg', '/home/pi/Desktop/images/29012025/16/41/image_29012025_16_42_06_10338.jpg', '/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_16_9338.jpg', '/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_26_10407.jpg', '/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_46_9348.jpg', '/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_56_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/41/image_29012025_16_41_56_10448.jpg
/home/pi/Desktop/images/29012025/16/41/image_29012025_16_42_06_10338.jpg
/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_16_9338.jpg
/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_26_10407.jpg
/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_46_9348.jpg
/home/pi/Desktop/images/29012025/16/42/image_29012025_16_42_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":["1332766731","1332766740","1332766748","1332766736","1332766750","1332766744"],"photo_ids_order":["1332766731","1332766736","1332766740","1332766744","1332766748","1332766750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d840d6392a70eb1d06a9181725124777.jpg","text":"TemporaryFile(/tmp/multipartBody4856656278969452079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184803583,"filename":"image_29012025_16_41_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/29/783183e7a281fd21c4ec19a212e4d214.jpg","text":"TemporaryFile(/tmp/multipartBody1901890571998908288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184803583,"filename":"image_29012025_16_42_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/29/e70ee9ce7ca2239d0f88db102899b837.jpg","text":"TemporaryFile(/tmp/multipartBody5596391033027111566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184803583,"filename":"image_29012025_16_42_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/29/c2110ba41f392e6517a430126c70de74.jpg","text":"TemporaryFile(/tmp/multipartBody960933155767610753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184803583,"filename":"image_29012025_16_42_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/29/7ec7426a9ceebaf6510de03a9bb202fd.jpg","text":"TemporaryFile(/tmp/multipartBody7583298682135854276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184803583,"filename":"image_29012025_16_42_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/29/f16ede8e3f65653ab3f808dc963de72f.jpg","text":"TemporaryFile(/tmp/multipartBody2488226582781561477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184803583,"filename":"image_29012025_16_42_26_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332766740","file1":"1332766736","file0":"1332766731","file4":"1332766748","file5":"1332766750","file3":"1332766744"},"map_files_photo_id_array":[{"photo_id":"1332766750","filename":"file5"},{"photo_id":"1332766740","filename":"file2"},{"photo_id":"1332766748","filename":"file4"},{"photo_id":"1332766736","filename":"file1"},{"photo_id":"1332766731","filename":"file0"},{"photo_id":"1332766744","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332766731":["hashtag1","hashtag2"]},{"1332766740":["hashtag1","hashtag2"]},{"1332766748":["hashtag1","hashtag2"]},{"1332766736":["hashtag1","hashtag2"]},{"1332766750":["hashtag1","hashtag2"]},{"1332766744":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332766731, 1332766740, 1332766748, 1332766736, 1332766750, 1332766744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.83080267906189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:06:32.863819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/42/image_29012025_16_43_06_9394.jpg', '/home/pi/Desktop/images/29012025/16/43/image_29012025_16_43_16_10407.jpg', '/home/pi/Desktop/images/29012025/16/43/image_29012025_16_43_26_10395.jpg', '/home/pi/Desktop/images/29012025/16/43/image_29012025_16_43_36_9328.jpg', '/home/pi/Desktop/images/29012025/16/43/image_29012025_16_43_46_10390.jpg', '/home/pi/Desktop/images/29012025/16/43/image_29012025_16_43_56_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/42/image_29012025_16_43_06_9394.jpg
/home/pi/Desktop/images/29012025/16/43/image_29012025_16_43_16_10407.jpg
/home/pi/Desktop/images/29012025/16/43/image_29012025_16_43_26_10395.jpg
/home/pi/Desktop/images/29012025/16/43/image_29012025_16_43_36_9328.jpg
/home/pi/Desktop/images/29012025/16/43/image_29012025_16_43_46_10390.jpg
/home/pi/Desktop/images/29012025/16/43/image_29012025_16_43_56_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":["1332766763","1332766772","1332766783","1332766789","1332766768","1332766777"],"photo_ids_order":["1332766763","1332766768","1332766772","1332766777","1332766783","1332766789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ba98dc518e4528e8035caea9e57e4d76.jpg","text":"TemporaryFile(/tmp/multipartBody4124649992022588476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184853827,"filename":"image_29012025_16_43_06_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/29/fe7a87de9fb649c26f03ad2fda73ae8a.jpg","text":"TemporaryFile(/tmp/multipartBody4376626123822844660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184853827,"filename":"image_29012025_16_43_26_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/29/0d3b09a11990a7c6409fc11ad88d8f79.jpg","text":"TemporaryFile(/tmp/multipartBody4979647660914760212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184853827,"filename":"image_29012025_16_43_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/29/dc57b7e470d9b021b5110cd408ff9cf5.jpg","text":"TemporaryFile(/tmp/multipartBody356117300256043491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184853827,"filename":"image_29012025_16_43_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/29/902b7012264eb332bbef3e215b625ca1.jpg","text":"TemporaryFile(/tmp/multipartBody1401629858294407478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184853827,"filename":"image_29012025_16_43_16_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/29/c3ade485ee2021a2f93fb64cd9b5c1cb.jpg","text":"TemporaryFile(/tmp/multipartBody453602869764732083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184853827,"filename":"image_29012025_16_43_36_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332766772","file1":"1332766768","file0":"1332766763","file4":"1332766783","file5":"1332766789","file3":"1332766777"},"map_files_photo_id_array":[{"photo_id":"1332766789","filename":"file5"},{"photo_id":"1332766772","filename":"file2"},{"photo_id":"1332766783","filename":"file4"},{"photo_id":"1332766768","filename":"file1"},{"photo_id":"1332766763","filename":"file0"},{"photo_id":"1332766777","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332766763":["hashtag1","hashtag2"]},{"1332766772":["hashtag1","hashtag2"]},{"1332766783":["hashtag1","hashtag2"]},{"1332766789":["hashtag1","hashtag2"]},{"1332766768":["hashtag1","hashtag2"]},{"1332766777":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332766763, 1332766772, 1332766783, 1332766789, 1332766768, 1332766777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.540406942367554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:07:33.115215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/43/image_29012025_16_44_06_9339.jpg', '/home/pi/Desktop/images/29012025/16/44/image_29012025_16_44_26_9409.jpg', '/home/pi/Desktop/images/29012025/16/44/image_29012025_16_44_36_10454.jpg', '/home/pi/Desktop/images/29012025/16/44/image_29012025_16_44_47_10390.jpg', '/home/pi/Desktop/images/29012025/16/44/image_29012025_16_44_56_9394.jpg', '/home/pi/Desktop/images/29012025/16/44/image_29012025_16_45_06_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/43/image_29012025_16_44_06_9339.jpg
/home/pi/Desktop/images/29012025/16/44/image_29012025_16_44_26_9409.jpg
/home/pi/Desktop/images/29012025/16/44/image_29012025_16_44_36_10454.jpg
/home/pi/Desktop/images/29012025/16/44/image_29012025_16_44_47_10390.jpg
/home/pi/Desktop/images/29012025/16/44/image_29012025_16_44_56_9394.jpg
/home/pi/Desktop/images/29012025/16/44/image_29012025_16_45_06_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":["1332766851","1332766845","1332766860","1332766854","1332766856","1332766840"],"photo_ids_order":["1332766840","1332766845","1332766851","1332766854","1332766856","1332766860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/438d357e8138602d9059609b81327216.jpg","text":"TemporaryFile(/tmp/multipartBody7308911063764713949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184914080,"filename":"image_29012025_16_44_36_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/29/b7b36cc448812e828c29d06f05c3d0ce.jpg","text":"TemporaryFile(/tmp/multipartBody3570332214343122483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184914080,"filename":"image_29012025_16_44_26_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/29/d53a3d5c61a07bd2c7baa6d1a02a70c0.jpg","text":"TemporaryFile(/tmp/multipartBody8129787429611520201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184914080,"filename":"image_29012025_16_45_06_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/29/0822e0fc98d9f6f78b9c3bea0906d888.jpg","text":"TemporaryFile(/tmp/multipartBody667851106734354824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184914080,"filename":"image_29012025_16_44_47_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/29/07266ebee88951de78cae95d167edef7.jpg","text":"TemporaryFile(/tmp/multipartBody2179800627159114842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184914080,"filename":"image_29012025_16_44_56_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/29/d4204f1e7fa41d0d18a380b04a5264df.jpg","text":"TemporaryFile(/tmp/multipartBody1103867631371327201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184914080,"filename":"image_29012025_16_44_06_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332766851","file1":"1332766845","file0":"1332766840","file4":"1332766856","file5":"1332766860","file3":"1332766854"},"map_files_photo_id_array":[{"photo_id":"1332766860","filename":"file5"},{"photo_id":"1332766851","filename":"file2"},{"photo_id":"1332766856","filename":"file4"},{"photo_id":"1332766845","filename":"file1"},{"photo_id":"1332766840","filename":"file0"},{"photo_id":"1332766854","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332766851":["hashtag1","hashtag2"]},{"1332766845":["hashtag1","hashtag2"]},{"1332766860":["hashtag1","hashtag2"]},{"1332766854":["hashtag1","hashtag2"]},{"1332766856":["hashtag1","hashtag2"]},{"1332766840":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332766851, 1332766845, 1332766860, 1332766854, 1332766856, 1332766840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.406155586242676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:08:32.312578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_16_9336.jpg', '/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_26_10492.jpg', '/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_36_10348.jpg', '/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_46_9338.jpg', '/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_56_10447.jpg', '/home/pi/Desktop/images/29012025/16/45/image_29012025_16_46_07_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_16_9336.jpg
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_26_10492.jpg
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_36_10348.jpg
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_46_9338.jpg
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_56_10447.jpg
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_46_07_10348.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.5727741718292236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 22:08:42.261558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_16_9336.jpg', '/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_26_10492.jpg', '/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_36_10348.jpg', '/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_46_9338.jpg', '/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_56_10447.jpg', '/home/pi/Desktop/images/29012025/16/45/image_29012025_16_46_07_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_16_9336.jpg
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_26_10492.jpg
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_36_10348.jpg
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_46_9338.jpg
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_45_56_10447.jpg
/home/pi/Desktop/images/29012025/16/45/image_29012025_16_46_07_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":["1332766911","1332766914","1332766917","1332766892","1332766897","1332766888"],"photo_ids_order":["1332766888","1332766892","1332766897","1332766911","1332766914","1332766917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b7151deec4323d15b24c589687e461fd.jpg","text":"TemporaryFile(/tmp/multipartBody4533428507087956555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184983160,"filename":"image_29012025_16_45_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/29/29b9fa41d34dfd868a42f7c9c87dd104.jpg","text":"TemporaryFile(/tmp/multipartBody3815872482967846295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184983160,"filename":"image_29012025_16_45_56_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/29/9319de413f688f36bd3741fae777af1a.jpg","text":"TemporaryFile(/tmp/multipartBody5845561684927134222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184983160,"filename":"image_29012025_16_46_07_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/29/7789b4dbacece34eea6b647a3067d3a4.jpg","text":"TemporaryFile(/tmp/multipartBody9106128767886910978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184983160,"filename":"image_29012025_16_45_26_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/29/8b144aa0aa4a841106f53afcfae7b824.jpg","text":"TemporaryFile(/tmp/multipartBody1044206779142524563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184983160,"filename":"image_29012025_16_45_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/29/93b7f8e476afd8264ed2fb114898a9e2.jpg","text":"TemporaryFile(/tmp/multipartBody505404793373014811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738184983160,"filename":"image_29012025_16_45_16_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332766897","file1":"1332766892","file0":"1332766888","file4":"1332766914","file5":"1332766917","file3":"1332766911"},"map_files_photo_id_array":[{"photo_id":"1332766917","filename":"file5"},{"photo_id":"1332766897","filename":"file2"},{"photo_id":"1332766914","filename":"file4"},{"photo_id":"1332766892","filename":"file1"},{"photo_id":"1332766888","filename":"file0"},{"photo_id":"1332766911","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332766911":["hashtag1","hashtag2"]},{"1332766914":["hashtag1","hashtag2"]},{"1332766917":["hashtag1","hashtag2"]},{"1332766892":["hashtag1","hashtag2"]},{"1332766897":["hashtag1","hashtag2"]},{"1332766888":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332766911, 1332766914, 1332766917, 1332766892, 1332766897, 1332766888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01406145095825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:09:32.565233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/46/image_29012025_16_46_16_9326.jpg', '/home/pi/Desktop/images/29012025/16/46/image_29012025_16_46_27_10596.jpg', '/home/pi/Desktop/images/29012025/16/46/image_29012025_16_46_36_9429.jpg', '/home/pi/Desktop/images/29012025/16/46/image_29012025_16_46_46_10400.jpg', '/home/pi/Desktop/images/29012025/16/46/image_29012025_16_46_56_9347.jpg', '/home/pi/Desktop/images/29012025/16/46/image_29012025_16_47_06_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/46/image_29012025_16_46_16_9326.jpg
/home/pi/Desktop/images/29012025/16/46/image_29012025_16_46_27_10596.jpg
/home/pi/Desktop/images/29012025/16/46/image_29012025_16_46_36_9429.jpg
/home/pi/Desktop/images/29012025/16/46/image_29012025_16_46_46_10400.jpg
/home/pi/Desktop/images/29012025/16/46/image_29012025_16_46_56_9347.jpg
/home/pi/Desktop/images/29012025/16/46/image_29012025_16_47_06_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":["1332766959","1332766947","1332766937","1332766931","1332766954","1332766942"],"photo_ids_order":["1332766931","1332766937","1332766942","1332766947","1332766954","1332766959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9448c7f199ca93633d9bd99793b5ced5.jpg","text":"TemporaryFile(/tmp/multipartBody5180793396662915890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185033532,"filename":"image_29012025_16_47_06_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/29/c84582af0373f0dc19160e3c37faf5ab.jpg","text":"TemporaryFile(/tmp/multipartBody3074699364646817017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185033532,"filename":"image_29012025_16_46_46_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/29/56d6903a4a3e1a6c691a0de585af2d50.jpg","text":"TemporaryFile(/tmp/multipartBody5868659616482597960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185033532,"filename":"image_29012025_16_46_27_10596.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cb6c237a87614cc442095c81a83eef63.jpg","text":"TemporaryFile(/tmp/multipartBody4482166689819200872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185033532,"filename":"image_29012025_16_46_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/29/f291f580027da3aa23e5e1d960f2204c.jpg","text":"TemporaryFile(/tmp/multipartBody1903510715626588592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185033532,"filename":"image_29012025_16_46_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/29/21251f8e2eee344e7a975657bb265622.jpg","text":"TemporaryFile(/tmp/multipartBody2221768386034037144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185033532,"filename":"image_29012025_16_46_36_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332766942","file1":"1332766937","file0":"1332766931","file4":"1332766954","file5":"1332766959","file3":"1332766947"},"map_files_photo_id_array":[{"photo_id":"1332766959","filename":"file5"},{"photo_id":"1332766942","filename":"file2"},{"photo_id":"1332766954","filename":"file4"},{"photo_id":"1332766937","filename":"file1"},{"photo_id":"1332766931","filename":"file0"},{"photo_id":"1332766947","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332766959":["hashtag1","hashtag2"]},{"1332766947":["hashtag1","hashtag2"]},{"1332766937":["hashtag1","hashtag2"]},{"1332766931":["hashtag1","hashtag2"]},{"1332766954":["hashtag1","hashtag2"]},{"1332766942":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332766959, 1332766947, 1332766937, 1332766931, 1332766954, 1332766942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76148009300232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:10:32.732238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/47/image_29012025_16_47_17_10394.jpg', '/home/pi/Desktop/images/29012025/16/47/image_29012025_16_47_26_9356.jpg', '/home/pi/Desktop/images/29012025/16/47/image_29012025_16_47_36_10412.jpg', '/home/pi/Desktop/images/29012025/16/47/image_29012025_16_47_46_9422.jpg', '/home/pi/Desktop/images/29012025/16/47/image_29012025_16_47_56_10375.jpg', '/home/pi/Desktop/images/29012025/16/47/image_29012025_16_48_06_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/47/image_29012025_16_47_17_10394.jpg
/home/pi/Desktop/images/29012025/16/47/image_29012025_16_47_26_9356.jpg
/home/pi/Desktop/images/29012025/16/47/image_29012025_16_47_36_10412.jpg
/home/pi/Desktop/images/29012025/16/47/image_29012025_16_47_46_9422.jpg
/home/pi/Desktop/images/29012025/16/47/image_29012025_16_47_56_10375.jpg
/home/pi/Desktop/images/29012025/16/47/image_29012025_16_48_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":["1332768035","1332768085","1332768110","1332767930","1332768031","1332767926"],"photo_ids_order":["1332767926","1332767930","1332768031","1332768035","1332768085","1332768110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/39de56d7d7864d408fa01017595d9032.jpg","text":"TemporaryFile(/tmp/multipartBody79226767227854538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185093692,"filename":"image_29012025_16_47_46_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/29/e87091fac84a2f2d2b3a4aec38254b43.jpg","text":"TemporaryFile(/tmp/multipartBody2970916032543374764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185093692,"filename":"image_29012025_16_47_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/29/286c7cff57ada2073af0c54b1e0d8b92.jpg","text":"TemporaryFile(/tmp/multipartBody1967597758706222308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185093692,"filename":"image_29012025_16_48_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/29/d85ddc4a485f90418d1c3026a4b1a798.jpg","text":"TemporaryFile(/tmp/multipartBody6012207270227027889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185093692,"filename":"image_29012025_16_47_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/29/ccd376eb80625ffd070371053e884076.jpg","text":"TemporaryFile(/tmp/multipartBody4734215263097935285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185093692,"filename":"image_29012025_16_47_36_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/29/291419fbae06c103358626816c6a3289.jpg","text":"TemporaryFile(/tmp/multipartBody3086700115649609750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185093692,"filename":"image_29012025_16_47_17_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332768031","file1":"1332767930","file0":"1332767926","file4":"1332768085","file5":"1332768110","file3":"1332768035"},"map_files_photo_id_array":[{"photo_id":"1332768110","filename":"file5"},{"photo_id":"1332768031","filename":"file2"},{"photo_id":"1332768085","filename":"file4"},{"photo_id":"1332767930","filename":"file1"},{"photo_id":"1332767926","filename":"file0"},{"photo_id":"1332768035","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332768035":["hashtag1","hashtag2"]},{"1332768085":["hashtag1","hashtag2"]},{"1332768110":["hashtag1","hashtag2"]},{"1332767930":["hashtag1","hashtag2"]},{"1332768031":["hashtag1","hashtag2"]},{"1332767926":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332768035, 1332768085, 1332768110, 1332767930, 1332768031, 1332767926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74681878089905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:11:32.942939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/48/image_29012025_16_48_16_9365.jpg', '/home/pi/Desktop/images/29012025/16/48/image_29012025_16_48_26_10389.jpg', '/home/pi/Desktop/images/29012025/16/48/image_29012025_16_48_37_10348.jpg', '/home/pi/Desktop/images/29012025/16/48/image_29012025_16_48_46_9339.jpg', '/home/pi/Desktop/images/29012025/16/48/image_29012025_16_48_56_10344.jpg', '/home/pi/Desktop/images/29012025/16/48/image_29012025_16_49_07_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/48/image_29012025_16_48_16_9365.jpg
/home/pi/Desktop/images/29012025/16/48/image_29012025_16_48_26_10389.jpg
/home/pi/Desktop/images/29012025/16/48/image_29012025_16_48_37_10348.jpg
/home/pi/Desktop/images/29012025/16/48/image_29012025_16_48_46_9339.jpg
/home/pi/Desktop/images/29012025/16/48/image_29012025_16_48_56_10344.jpg
/home/pi/Desktop/images/29012025/16/48/image_29012025_16_49_07_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":["1332768496","1332768487","1332768169","1332768139","1332768366","1332768162"],"photo_ids_order":["1332768139","1332768162","1332768169","1332768366","1332768487","1332768496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b732068f3e87716cf769b08ba9d60c25.jpg","text":"TemporaryFile(/tmp/multipartBody6816870149528999672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185153894,"filename":"image_29012025_16_49_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/29/32ca333db87227eb083c20ad9e00c140.jpg","text":"TemporaryFile(/tmp/multipartBody7708532933929418398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185153894,"filename":"image_29012025_16_48_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/29/54a7e6988813463b0b1fa5847c2317af.jpg","text":"TemporaryFile(/tmp/multipartBody6929073495359048310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185153894,"filename":"image_29012025_16_48_37_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/29/d61837a4348ff46931c5b9f91283bfad.jpg","text":"TemporaryFile(/tmp/multipartBody4372946974741859441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185153894,"filename":"image_29012025_16_48_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/29/1258c30deff47292c4ad2249e575ec3a.jpg","text":"TemporaryFile(/tmp/multipartBody1507074637524660572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185153894,"filename":"image_29012025_16_48_46_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/29/fbc67c6683085792f65d23c656830ae8.jpg","text":"TemporaryFile(/tmp/multipartBody8781298636623304152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185153894,"filename":"image_29012025_16_48_26_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332768169","file1":"1332768162","file0":"1332768139","file4":"1332768487","file5":"1332768496","file3":"1332768366"},"map_files_photo_id_array":[{"photo_id":"1332768496","filename":"file5"},{"photo_id":"1332768169","filename":"file2"},{"photo_id":"1332768487","filename":"file4"},{"photo_id":"1332768162","filename":"file1"},{"photo_id":"1332768139","filename":"file0"},{"photo_id":"1332768366","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332768496":["hashtag1","hashtag2"]},{"1332768487":["hashtag1","hashtag2"]},{"1332768169":["hashtag1","hashtag2"]},{"1332768139":["hashtag1","hashtag2"]},{"1332768366":["hashtag1","hashtag2"]},{"1332768162":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332768496, 1332768487, 1332768169, 1332768139, 1332768366, 1332768162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88268542289734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:12:32.168622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/49/image_29012025_16_49_36_9396.jpg', '/home/pi/Desktop/images/29012025/16/49/image_29012025_16_49_46_10400.jpg', '/home/pi/Desktop/images/29012025/16/49/image_29012025_16_49_56_9355.jpg', '/home/pi/Desktop/images/29012025/16/49/image_29012025_16_50_06_10321.jpg', '/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_16_10399.jpg', '/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_26_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/49/image_29012025_16_49_36_9396.jpg
/home/pi/Desktop/images/29012025/16/49/image_29012025_16_49_46_10400.jpg
/home/pi/Desktop/images/29012025/16/49/image_29012025_16_49_56_9355.jpg
/home/pi/Desktop/images/29012025/16/49/image_29012025_16_50_06_10321.jpg
/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_16_10399.jpg
/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_26_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":["1332768635","1332768638","1332768724","1332768631","1332768645","1332768732"],"photo_ids_order":["1332768631","1332768635","1332768638","1332768645","1332768724","1332768732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/967380a1c0263448545db1bc828fa152.jpg","text":"TemporaryFile(/tmp/multipartBody317764597596306180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185213125,"filename":"image_29012025_16_49_46_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/29/226ca1c6ce843528c965083bf08995b1.jpg","text":"TemporaryFile(/tmp/multipartBody8699903762991885154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185213125,"filename":"image_29012025_16_49_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/29/228308fa977d8d34cdf97d239e7ecf42.jpg","text":"TemporaryFile(/tmp/multipartBody5295741738513172148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185213125,"filename":"image_29012025_16_50_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/29/bd8d014e09b7a2d9427139e5ba742974.jpg","text":"TemporaryFile(/tmp/multipartBody2468986622433568512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185213125,"filename":"image_29012025_16_49_36_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/29/772b8b77f62963699586f7f7045f8c28.jpg","text":"TemporaryFile(/tmp/multipartBody9046588007413440248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185213125,"filename":"image_29012025_16_50_06_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/29/ae15e5119f9a3ae659043bf0c982f200.jpg","text":"TemporaryFile(/tmp/multipartBody5948333708755156439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185213125,"filename":"image_29012025_16_50_26_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332768638","file1":"1332768635","file0":"1332768631","file4":"1332768724","file5":"1332768732","file3":"1332768645"},"map_files_photo_id_array":[{"photo_id":"1332768732","filename":"file5"},{"photo_id":"1332768638","filename":"file2"},{"photo_id":"1332768724","filename":"file4"},{"photo_id":"1332768635","filename":"file1"},{"photo_id":"1332768631","filename":"file0"},{"photo_id":"1332768645","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332768635":["hashtag1","hashtag2"]},{"1332768638":["hashtag1","hashtag2"]},{"1332768724":["hashtag1","hashtag2"]},{"1332768631":["hashtag1","hashtag2"]},{"1332768645":["hashtag1","hashtag2"]},{"1332768732":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332768635, 1332768638, 1332768724, 1332768631, 1332768645, 1332768732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88351845741272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:13:32.401942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_36_10388.jpg', '/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_46_10337.jpg', '/home/pi/Desktop/images/29012025/16/50/image_29012025_16_51_06_10429.jpg', '/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_16_9340.jpg', '/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_26_10420.jpg', '/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_46_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_36_10388.jpg
/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_46_10337.jpg
/home/pi/Desktop/images/29012025/16/50/image_29012025_16_51_06_10429.jpg
/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_16_9340.jpg
/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_26_10420.jpg
/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_46_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.564661979675293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 22:13:42.395805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_36_10388.jpg', '/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_46_10337.jpg', '/home/pi/Desktop/images/29012025/16/50/image_29012025_16_51_06_10429.jpg', '/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_16_9340.jpg', '/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_26_10420.jpg', '/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_46_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_36_10388.jpg
/home/pi/Desktop/images/29012025/16/50/image_29012025_16_50_46_10337.jpg
/home/pi/Desktop/images/29012025/16/50/image_29012025_16_51_06_10429.jpg
/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_16_9340.jpg
/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_26_10420.jpg
/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_46_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":["1332768854","1332768836","1332768838","1332768820","1332768816","1332768807"],"photo_ids_order":["1332768807","1332768816","1332768820","1332768836","1332768838","1332768854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8c2bbe6752613a2a0cee604f04e753bf.jpg","text":"TemporaryFile(/tmp/multipartBody772559251856852149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185283289,"filename":"image_29012025_16_51_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/29/d1c66531cfe8900ed6806f71ab56b971.jpg","text":"TemporaryFile(/tmp/multipartBody5534366122237133323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185283289,"filename":"image_29012025_16_51_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/29/6f011fb3420fa33634191202416fe2c6.jpg","text":"TemporaryFile(/tmp/multipartBody4389565027596522670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185283289,"filename":"image_29012025_16_51_26_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/29/a180e4b27ba7d6e279ed579f1ea8625d.jpg","text":"TemporaryFile(/tmp/multipartBody6569710598802155638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185283289,"filename":"image_29012025_16_51_06_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/29/3a103b864344dd36a0d446276aad9697.jpg","text":"TemporaryFile(/tmp/multipartBody2559150709998612780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185283289,"filename":"image_29012025_16_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/29/f241acb4aab2822aace8cb1b3eb63a47.jpg","text":"TemporaryFile(/tmp/multipartBody7657960625932948529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185283289,"filename":"image_29012025_16_50_36_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332768820","file1":"1332768816","file0":"1332768807","file4":"1332768838","file5":"1332768854","file3":"1332768836"},"map_files_photo_id_array":[{"photo_id":"1332768854","filename":"file5"},{"photo_id":"1332768820","filename":"file2"},{"photo_id":"1332768838","filename":"file4"},{"photo_id":"1332768816","filename":"file1"},{"photo_id":"1332768807","filename":"file0"},{"photo_id":"1332768836","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332768854":["hashtag1","hashtag2"]},{"1332768836":["hashtag1","hashtag2"]},{"1332768838":["hashtag1","hashtag2"]},{"1332768820":["hashtag1","hashtag2"]},{"1332768816":["hashtag1","hashtag2"]},{"1332768807":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332768854, 1332768836, 1332768838, 1332768820, 1332768816, 1332768807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79997396469116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:14:32.667237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_56_10449.jpg', '/home/pi/Desktop/images/29012025/16/51/image_29012025_16_52_07_10353.jpg', '/home/pi/Desktop/images/29012025/16/52/image_29012025_16_52_16_9338.jpg', '/home/pi/Desktop/images/29012025/16/52/image_29012025_16_52_26_10439.jpg', '/home/pi/Desktop/images/29012025/16/52/image_29012025_16_52_36_9441.jpg', '/home/pi/Desktop/images/29012025/16/52/image_29012025_16_52_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/51/image_29012025_16_51_56_10449.jpg
/home/pi/Desktop/images/29012025/16/51/image_29012025_16_52_07_10353.jpg
/home/pi/Desktop/images/29012025/16/52/image_29012025_16_52_16_9338.jpg
/home/pi/Desktop/images/29012025/16/52/image_29012025_16_52_26_10439.jpg
/home/pi/Desktop/images/29012025/16/52/image_29012025_16_52_36_9441.jpg
/home/pi/Desktop/images/29012025/16/52/image_29012025_16_52_46_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":["1332769168","1332769176","1332769152","1332769140","1332769199","1332769172"],"photo_ids_order":["1332769140","1332769152","1332769168","1332769172","1332769176","1332769199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9feafaff8db8bd9ac4d0c2b23b4668d7.jpg","text":"TemporaryFile(/tmp/multipartBody4146010066252745932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185333641,"filename":"image_29012025_16_52_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/29/f5a1f9166bed160b02e1eda96094ddf8.jpg","text":"TemporaryFile(/tmp/multipartBody2045039586380011619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185333641,"filename":"image_29012025_16_52_36_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/29/259eb4530faecc5a36600c932fb80f05.jpg","text":"TemporaryFile(/tmp/multipartBody7012670192828165428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185333641,"filename":"image_29012025_16_52_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/29/990eae9b6ccead8ed2913ca78e719a11.jpg","text":"TemporaryFile(/tmp/multipartBody1282831681526837116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185333641,"filename":"image_29012025_16_51_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/29/3f6daa1305a19237e4c2f9df71f74137.jpg","text":"TemporaryFile(/tmp/multipartBody4442832581769474699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185333641,"filename":"image_29012025_16_52_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/29/c1a58e922d3fa8b10005e64f41da0d9a.jpg","text":"TemporaryFile(/tmp/multipartBody8228410637112231934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185333641,"filename":"image_29012025_16_52_26_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332769168","file1":"1332769152","file0":"1332769140","file4":"1332769176","file5":"1332769199","file3":"1332769172"},"map_files_photo_id_array":[{"photo_id":"1332769199","filename":"file5"},{"photo_id":"1332769168","filename":"file2"},{"photo_id":"1332769176","filename":"file4"},{"photo_id":"1332769152","filename":"file1"},{"photo_id":"1332769140","filename":"file0"},{"photo_id":"1332769172","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332769168":["hashtag1","hashtag2"]},{"1332769176":["hashtag1","hashtag2"]},{"1332769152":["hashtag1","hashtag2"]},{"1332769140":["hashtag1","hashtag2"]},{"1332769199":["hashtag1","hashtag2"]},{"1332769172":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332769168, 1332769176, 1332769152, 1332769140, 1332769199, 1332769172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.080137968063354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:15:32.903562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/52/image_29012025_16_52_56_10359.jpg', '/home/pi/Desktop/images/29012025/16/52/image_29012025_16_53_06_9342.jpg', '/home/pi/Desktop/images/29012025/16/53/image_29012025_16_53_16_10401.jpg', '/home/pi/Desktop/images/29012025/16/53/image_29012025_16_53_26_9415.jpg', '/home/pi/Desktop/images/29012025/16/53/image_29012025_16_53_36_10411.jpg', '/home/pi/Desktop/images/29012025/16/53/image_29012025_16_53_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/52/image_29012025_16_52_56_10359.jpg
/home/pi/Desktop/images/29012025/16/52/image_29012025_16_53_06_9342.jpg
/home/pi/Desktop/images/29012025/16/53/image_29012025_16_53_16_10401.jpg
/home/pi/Desktop/images/29012025/16/53/image_29012025_16_53_26_9415.jpg
/home/pi/Desktop/images/29012025/16/53/image_29012025_16_53_36_10411.jpg
/home/pi/Desktop/images/29012025/16/53/image_29012025_16_53_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":["1332769543","1332769566","1332769461","1332769503","1332769556","1332769550"],"photo_ids_order":["1332769461","1332769503","1332769543","1332769550","1332769556","1332769566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/de661a731ab0c7ecfef71265d37a2be2.jpg","text":"TemporaryFile(/tmp/multipartBody3921196276569248748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185393870,"filename":"image_29012025_16_53_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/29/eb9103c9d010a362f8d39624693b8ae0.jpg","text":"TemporaryFile(/tmp/multipartBody8502194276041304823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185393870,"filename":"image_29012025_16_53_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/29/4083798bcd2fa91ce6883d3c96d78e78.jpg","text":"TemporaryFile(/tmp/multipartBody2487160580204070665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185393870,"filename":"image_29012025_16_52_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/29/a234660a48ac4ba16fdfa99d3ae5d967.jpg","text":"TemporaryFile(/tmp/multipartBody4865362946505804073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185393870,"filename":"image_29012025_16_53_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/29/2b271e01c14f959515e22b9ab756fcac.jpg","text":"TemporaryFile(/tmp/multipartBody5678254010461593390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185393870,"filename":"image_29012025_16_53_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/29/f0cf7795615c7490c18feeb72b34d341.jpg","text":"TemporaryFile(/tmp/multipartBody2203109376459144529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185393870,"filename":"image_29012025_16_53_26_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332769543","file1":"1332769503","file0":"1332769461","file4":"1332769556","file5":"1332769566","file3":"1332769550"},"map_files_photo_id_array":[{"photo_id":"1332769566","filename":"file5"},{"photo_id":"1332769543","filename":"file2"},{"photo_id":"1332769556","filename":"file4"},{"photo_id":"1332769503","filename":"file1"},{"photo_id":"1332769461","filename":"file0"},{"photo_id":"1332769550","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332769543":["hashtag1","hashtag2"]},{"1332769566":["hashtag1","hashtag2"]},{"1332769461":["hashtag1","hashtag2"]},{"1332769503":["hashtag1","hashtag2"]},{"1332769556":["hashtag1","hashtag2"]},{"1332769550":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332769543, 1332769566, 1332769461, 1332769503, 1332769556, 1332769550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.967103004455566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:16:33.034383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/53/image_29012025_16_53_56_9353.jpg', '/home/pi/Desktop/images/29012025/16/53/image_29012025_16_54_06_10399.jpg', '/home/pi/Desktop/images/29012025/16/54/image_29012025_16_54_16_10367.jpg', '/home/pi/Desktop/images/29012025/16/54/image_29012025_16_54_26_9358.jpg', '/home/pi/Desktop/images/29012025/16/54/image_29012025_16_54_36_10344.jpg', '/home/pi/Desktop/images/29012025/16/54/image_29012025_16_54_47_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/53/image_29012025_16_53_56_9353.jpg
/home/pi/Desktop/images/29012025/16/53/image_29012025_16_54_06_10399.jpg
/home/pi/Desktop/images/29012025/16/54/image_29012025_16_54_16_10367.jpg
/home/pi/Desktop/images/29012025/16/54/image_29012025_16_54_26_9358.jpg
/home/pi/Desktop/images/29012025/16/54/image_29012025_16_54_36_10344.jpg
/home/pi/Desktop/images/29012025/16/54/image_29012025_16_54_47_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":["1332769699","1332769756","1332769752","1332769731","1332769734","1332769728"],"photo_ids_order":["1332769699","1332769728","1332769731","1332769734","1332769752","1332769756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fd83cca83870ef9373dd4c24ab3d0fff.jpg","text":"TemporaryFile(/tmp/multipartBody1840427117878319195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185453997,"filename":"image_29012025_16_53_56_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/29/32c0842742a6893f5a2793118f077f79.jpg","text":"TemporaryFile(/tmp/multipartBody7269397988670697159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185453997,"filename":"image_29012025_16_54_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/29/f6319648798d2b03d27827f257260834.jpg","text":"TemporaryFile(/tmp/multipartBody3830330943474845133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185453997,"filename":"image_29012025_16_54_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/29/d8f380a7d21458a2912adebba1848671.jpg","text":"TemporaryFile(/tmp/multipartBody5493954924610359560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185453997,"filename":"image_29012025_16_54_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/29/57ebe1adceb85b540d4997f3475b2398.jpg","text":"TemporaryFile(/tmp/multipartBody6938112886584984184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185453997,"filename":"image_29012025_16_54_26_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/29/9bc4ed36712c9974ecd624c40c28de36.jpg","text":"TemporaryFile(/tmp/multipartBody7214920591088577335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185453997,"filename":"image_29012025_16_54_06_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332769731","file1":"1332769728","file0":"1332769699","file4":"1332769752","file5":"1332769756","file3":"1332769734"},"map_files_photo_id_array":[{"photo_id":"1332769756","filename":"file5"},{"photo_id":"1332769731","filename":"file2"},{"photo_id":"1332769752","filename":"file4"},{"photo_id":"1332769728","filename":"file1"},{"photo_id":"1332769699","filename":"file0"},{"photo_id":"1332769734","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332769699":["hashtag1","hashtag2"]},{"1332769756":["hashtag1","hashtag2"]},{"1332769752":["hashtag1","hashtag2"]},{"1332769731":["hashtag1","hashtag2"]},{"1332769734":["hashtag1","hashtag2"]},{"1332769728":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332769699, 1332769756, 1332769752, 1332769731, 1332769734, 1332769728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25996375083923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:17:32.275368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/54/image_29012025_16_54_56_9337.jpg', '/home/pi/Desktop/images/29012025/16/54/image_29012025_16_55_06_10360.jpg', '/home/pi/Desktop/images/29012025/16/55/image_29012025_16_55_17_10350.jpg', '/home/pi/Desktop/images/29012025/16/55/image_29012025_16_55_26_9417.jpg', '/home/pi/Desktop/images/29012025/16/55/image_29012025_16_55_36_10351.jpg', '/home/pi/Desktop/images/29012025/16/55/image_29012025_16_55_56_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/54/image_29012025_16_54_56_9337.jpg
/home/pi/Desktop/images/29012025/16/54/image_29012025_16_55_06_10360.jpg
/home/pi/Desktop/images/29012025/16/55/image_29012025_16_55_17_10350.jpg
/home/pi/Desktop/images/29012025/16/55/image_29012025_16_55_26_9417.jpg
/home/pi/Desktop/images/29012025/16/55/image_29012025_16_55_36_10351.jpg
/home/pi/Desktop/images/29012025/16/55/image_29012025_16_55_56_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":["1332769808","1332769792","1332769800","1332769790","1332769803","1332769796"],"photo_ids_order":["1332769790","1332769792","1332769796","1332769800","1332769803","1332769808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/16346fa25484ca85a6c1a4c3034f209e.jpg","text":"TemporaryFile(/tmp/multipartBody7974136730423666466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185513232,"filename":"image_29012025_16_55_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/29/3cd72228c6d21b474e1c472e658c3967.jpg","text":"TemporaryFile(/tmp/multipartBody5051130455935029314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185513232,"filename":"image_29012025_16_55_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/29/3744805a147484f12149ca63341dd8fd.jpg","text":"TemporaryFile(/tmp/multipartBody6515790858440590249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185513232,"filename":"image_29012025_16_55_26_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/29/b8c499baaa4b7cb67e665044cdab3fe7.jpg","text":"TemporaryFile(/tmp/multipartBody9133920682693001398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185513232,"filename":"image_29012025_16_54_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/29/adbb41b78d533d58e2d83e62d8b94966.jpg","text":"TemporaryFile(/tmp/multipartBody2064925916839567516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185513232,"filename":"image_29012025_16_55_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/29/7ba09bccc91b4f526b261de51a3771a2.jpg","text":"TemporaryFile(/tmp/multipartBody2356057281800905083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185513232,"filename":"image_29012025_16_55_17_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332769796","file1":"1332769792","file0":"1332769790","file4":"1332769803","file5":"1332769808","file3":"1332769800"},"map_files_photo_id_array":[{"photo_id":"1332769808","filename":"file5"},{"photo_id":"1332769796","filename":"file2"},{"photo_id":"1332769803","filename":"file4"},{"photo_id":"1332769792","filename":"file1"},{"photo_id":"1332769790","filename":"file0"},{"photo_id":"1332769800","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332769808":["hashtag1","hashtag2"]},{"1332769792":["hashtag1","hashtag2"]},{"1332769800":["hashtag1","hashtag2"]},{"1332769790":["hashtag1","hashtag2"]},{"1332769803":["hashtag1","hashtag2"]},{"1332769796":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332769808, 1332769792, 1332769800, 1332769790, 1332769803, 1332769796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.798312187194824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:18:32.666542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/55/image_29012025_16_56_06_10344.jpg', '/home/pi/Desktop/images/29012025/16/56/image_29012025_16_56_37_10404.jpg', '/home/pi/Desktop/images/29012025/16/56/image_29012025_16_56_46_9356.jpg', '/home/pi/Desktop/images/29012025/16/56/image_29012025_16_56_56_10367.jpg', '/home/pi/Desktop/images/29012025/16/56/image_29012025_16_57_06_9353.jpg', '/home/pi/Desktop/images/29012025/16/57/image_29012025_16_57_26_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/55/image_29012025_16_56_06_10344.jpg
/home/pi/Desktop/images/29012025/16/56/image_29012025_16_56_37_10404.jpg
/home/pi/Desktop/images/29012025/16/56/image_29012025_16_56_46_9356.jpg
/home/pi/Desktop/images/29012025/16/56/image_29012025_16_56_56_10367.jpg
/home/pi/Desktop/images/29012025/16/56/image_29012025_16_57_06_9353.jpg
/home/pi/Desktop/images/29012025/16/57/image_29012025_16_57_26_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":["1332769930","1332769867","1332769921","1332769924","1332769914","1332769895"],"photo_ids_order":["1332769867","1332769895","1332769914","1332769921","1332769924","1332769930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1a740bb11202c82afbf8fa220feb2dd8.jpg","text":"TemporaryFile(/tmp/multipartBody7993923306653941412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185573647,"filename":"image_29012025_16_57_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/29/f8ca891e0f08b87180a1b8e76f89624b.jpg","text":"TemporaryFile(/tmp/multipartBody6172863308052859710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185573647,"filename":"image_29012025_16_56_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/29/0f5cfe1f767a0eda15befc562b328107.jpg","text":"TemporaryFile(/tmp/multipartBody8742299053813916112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185573647,"filename":"image_29012025_16_56_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/29/3e5d3596e11497bb944c3a802b0b0196.jpg","text":"TemporaryFile(/tmp/multipartBody780612042677503273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185573647,"filename":"image_29012025_16_57_06_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/29/00e76abf9e7f48a175e7b0efdfca7473.jpg","text":"TemporaryFile(/tmp/multipartBody5119610137539829640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185573647,"filename":"image_29012025_16_56_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/29/a3373321be87a6715ae05338e6b016f7.jpg","text":"TemporaryFile(/tmp/multipartBody7110688517328423082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185573647,"filename":"image_29012025_16_56_37_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332769914","file1":"1332769895","file0":"1332769867","file4":"1332769924","file5":"1332769930","file3":"1332769921"},"map_files_photo_id_array":[{"photo_id":"1332769930","filename":"file5"},{"photo_id":"1332769914","filename":"file2"},{"photo_id":"1332769924","filename":"file4"},{"photo_id":"1332769895","filename":"file1"},{"photo_id":"1332769867","filename":"file0"},{"photo_id":"1332769921","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332769930":["hashtag1","hashtag2"]},{"1332769867":["hashtag1","hashtag2"]},{"1332769921":["hashtag1","hashtag2"]},{"1332769924":["hashtag1","hashtag2"]},{"1332769914":["hashtag1","hashtag2"]},{"1332769895":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332769930, 1332769867, 1332769921, 1332769924, 1332769914, 1332769895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42696285247803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:19:32.752908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/57/image_29012025_16_57_36_9396.jpg', '/home/pi/Desktop/images/29012025/16/57/image_29012025_16_57_56_9516.jpg', '/home/pi/Desktop/images/29012025/16/57/image_29012025_16_58_06_10356.jpg', '/home/pi/Desktop/images/29012025/16/58/image_29012025_16_58_16_10329.jpg', '/home/pi/Desktop/images/29012025/16/58/image_29012025_16_58_26_9333.jpg', '/home/pi/Desktop/images/29012025/16/58/image_29012025_16_58_36_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/57/image_29012025_16_57_36_9396.jpg
/home/pi/Desktop/images/29012025/16/57/image_29012025_16_57_56_9516.jpg
/home/pi/Desktop/images/29012025/16/57/image_29012025_16_58_06_10356.jpg
/home/pi/Desktop/images/29012025/16/58/image_29012025_16_58_16_10329.jpg
/home/pi/Desktop/images/29012025/16/58/image_29012025_16_58_26_9333.jpg
/home/pi/Desktop/images/29012025/16/58/image_29012025_16_58_36_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":["1332770021","1332770009","1332770017","1332770002","1332770025","1332770013"],"photo_ids_order":["1332770002","1332770009","1332770013","1332770017","1332770021","1332770025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b8ba296a58bd11ef565c413dc9997367.jpg","text":"TemporaryFile(/tmp/multipartBody934855982430813418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185633714,"filename":"image_29012025_16_58_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/29/e988a611f4529153fd375a74bf83ac41.jpg","text":"TemporaryFile(/tmp/multipartBody1612836198846037011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185633714,"filename":"image_29012025_16_57_56_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8659a752fc1efdfdf47c035ae47ade89.jpg","text":"TemporaryFile(/tmp/multipartBody4640923357056471106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185633714,"filename":"image_29012025_16_58_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/29/df7da788ede75bdd1e081e527251b3b2.jpg","text":"TemporaryFile(/tmp/multipartBody279887274028638152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185633714,"filename":"image_29012025_16_57_36_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/29/78ca2b5e6c6d4b5ef0446bbfe41b3a3e.jpg","text":"TemporaryFile(/tmp/multipartBody7971789482147806020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185633714,"filename":"image_29012025_16_58_36_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/29/db5d38ab6f0d58c4e747cda1a8f5c6dd.jpg","text":"TemporaryFile(/tmp/multipartBody2138588632365206953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185633714,"filename":"image_29012025_16_58_06_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332770013","file1":"1332770009","file0":"1332770002","file4":"1332770021","file5":"1332770025","file3":"1332770017"},"map_files_photo_id_array":[{"photo_id":"1332770025","filename":"file5"},{"photo_id":"1332770013","filename":"file2"},{"photo_id":"1332770021","filename":"file4"},{"photo_id":"1332770009","filename":"file1"},{"photo_id":"1332770002","filename":"file0"},{"photo_id":"1332770017","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332770021":["hashtag1","hashtag2"]},{"1332770009":["hashtag1","hashtag2"]},{"1332770017":["hashtag1","hashtag2"]},{"1332770002":["hashtag1","hashtag2"]},{"1332770025":["hashtag1","hashtag2"]},{"1332770013":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332770021, 1332770009, 1332770017, 1332770002, 1332770025, 1332770013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78497123718262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:20:33.025136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/58/image_29012025_16_58_47_10348.jpg', '/home/pi/Desktop/images/29012025/16/58/image_29012025_16_58_56_9423.jpg', '/home/pi/Desktop/images/29012025/16/58/image_29012025_16_59_06_10409.jpg', '/home/pi/Desktop/images/29012025/16/59/image_29012025_16_59_16_9414.jpg', '/home/pi/Desktop/images/29012025/16/59/image_29012025_16_59_26_10415.jpg', '/home/pi/Desktop/images/29012025/16/59/image_29012025_16_59_37_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/58/image_29012025_16_58_47_10348.jpg
/home/pi/Desktop/images/29012025/16/58/image_29012025_16_58_56_9423.jpg
/home/pi/Desktop/images/29012025/16/58/image_29012025_16_59_06_10409.jpg
/home/pi/Desktop/images/29012025/16/59/image_29012025_16_59_16_9414.jpg
/home/pi/Desktop/images/29012025/16/59/image_29012025_16_59_26_10415.jpg
/home/pi/Desktop/images/29012025/16/59/image_29012025_16_59_37_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":["1332770225","1332770044","1332770074","1332770209","1332770190","1332770046"],"photo_ids_order":["1332770044","1332770046","1332770074","1332770190","1332770209","1332770225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2f607e706435d31951fa933caedc4888.jpg","text":"TemporaryFile(/tmp/multipartBody1933410639290467776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185693997,"filename":"image_29012025_16_59_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/29/b3bd7071bbb849957550fc844c9ba109.jpg","text":"TemporaryFile(/tmp/multipartBody1077205886470022390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185693997,"filename":"image_29012025_16_58_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/29/3b511def0b7924831519258cd597c3de.jpg","text":"TemporaryFile(/tmp/multipartBody2010481162817189956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185693997,"filename":"image_29012025_16_59_06_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/29/dc23fd9681e34e48a2cd6edb5d130447.jpg","text":"TemporaryFile(/tmp/multipartBody1084587149112470992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185693997,"filename":"image_29012025_16_59_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/29/62699443968ccd96636dc1518b581a02.jpg","text":"TemporaryFile(/tmp/multipartBody5540882309727602641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185693997,"filename":"image_29012025_16_59_16_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/29/9c56edb8fe02ae304ed84275e742a15c.jpg","text":"TemporaryFile(/tmp/multipartBody9021555763096055535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185693997,"filename":"image_29012025_16_58_56_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332770074","file1":"1332770046","file0":"1332770044","file4":"1332770209","file5":"1332770225","file3":"1332770190"},"map_files_photo_id_array":[{"photo_id":"1332770225","filename":"file5"},{"photo_id":"1332770074","filename":"file2"},{"photo_id":"1332770209","filename":"file4"},{"photo_id":"1332770046","filename":"file1"},{"photo_id":"1332770044","filename":"file0"},{"photo_id":"1332770190","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332770225":["hashtag1","hashtag2"]},{"1332770044":["hashtag1","hashtag2"]},{"1332770074":["hashtag1","hashtag2"]},{"1332770209":["hashtag1","hashtag2"]},{"1332770190":["hashtag1","hashtag2"]},{"1332770046":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332770225, 1332770044, 1332770074, 1332770209, 1332770190, 1332770046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.90808176994324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:21:32.424085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/16/59/image_29012025_16_59_46_9338.jpg', '/home/pi/Desktop/images/29012025/16/59/image_29012025_16_59_56_10419.jpg', '/home/pi/Desktop/images/29012025/17/01/image_29012025_17_01_14_10084.jpg', '/home/pi/Desktop/images/29012025/17/01/image_29012025_17_01_25_10348.jpg', '/home/pi/Desktop/images/29012025/17/01/image_29012025_17_01_35_10342.jpg', '/home/pi/Desktop/images/29012025/17/01/image_29012025_17_01_44_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/16/59/image_29012025_16_59_46_9338.jpg
/home/pi/Desktop/images/29012025/16/59/image_29012025_16_59_56_10419.jpg
/home/pi/Desktop/images/29012025/17/01/image_29012025_17_01_14_10084.jpg
/home/pi/Desktop/images/29012025/17/01/image_29012025_17_01_25_10348.jpg
/home/pi/Desktop/images/29012025/17/01/image_29012025_17_01_35_10342.jpg
/home/pi/Desktop/images/29012025/17/01/image_29012025_17_01_44_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":["1332770390","1332770387","1332770392","1332770395","1332770400","1332770393"],"photo_ids_order":["1332770387","1332770390","1332770392","1332770393","1332770395","1332770400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/596091e6aaa15ee187c27bb89595c559.jpg","text":"TemporaryFile(/tmp/multipartBody8124200822377150319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185753383,"filename":"image_29012025_16_59_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/29/be129cf851ecf68e5713ad6050dbbe27.jpg","text":"TemporaryFile(/tmp/multipartBody3697918215940551638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185753383,"filename":"image_29012025_16_59_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/29/180d33f057d56ef5a432567d87229952.jpg","text":"TemporaryFile(/tmp/multipartBody6254445442952836299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185753383,"filename":"image_29012025_17_01_14_10084.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8a236beb961f2948ce5e03f5d63d52b6.jpg","text":"TemporaryFile(/tmp/multipartBody3185994343826813249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185753383,"filename":"image_29012025_17_01_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/29/b17d8e0c4064e59425fe5354b340598e.jpg","text":"TemporaryFile(/tmp/multipartBody5120552997577072398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185753383,"filename":"image_29012025_17_01_44_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/29/925b684537479fba434fce05cea4da7c.jpg","text":"TemporaryFile(/tmp/multipartBody3118117856572376372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185753383,"filename":"image_29012025_17_01_25_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332770392","file1":"1332770390","file0":"1332770387","file4":"1332770395","file5":"1332770400","file3":"1332770393"},"map_files_photo_id_array":[{"photo_id":"1332770400","filename":"file5"},{"photo_id":"1332770392","filename":"file2"},{"photo_id":"1332770395","filename":"file4"},{"photo_id":"1332770390","filename":"file1"},{"photo_id":"1332770387","filename":"file0"},{"photo_id":"1332770393","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332770390":["hashtag1","hashtag2"]},{"1332770387":["hashtag1","hashtag2"]},{"1332770392":["hashtag1","hashtag2"]},{"1332770395":["hashtag1","hashtag2"]},{"1332770400":["hashtag1","hashtag2"]},{"1332770393":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332770390, 1332770387, 1332770392, 1332770395, 1332770400, 1332770393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71890997886658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:22:32.644200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/01/image_29012025_17_01_55_10449.jpg', '/home/pi/Desktop/images/29012025/17/01/image_29012025_17_02_05_10414.jpg', '/home/pi/Desktop/images/29012025/17/02/image_29012025_17_02_14_9336.jpg', '/home/pi/Desktop/images/29012025/17/02/image_29012025_17_02_25_10340.jpg', '/home/pi/Desktop/images/29012025/17/02/image_29012025_17_02_35_10333.jpg', '/home/pi/Desktop/images/29012025/17/02/image_29012025_17_02_44_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/01/image_29012025_17_01_55_10449.jpg
/home/pi/Desktop/images/29012025/17/01/image_29012025_17_02_05_10414.jpg
/home/pi/Desktop/images/29012025/17/02/image_29012025_17_02_14_9336.jpg
/home/pi/Desktop/images/29012025/17/02/image_29012025_17_02_25_10340.jpg
/home/pi/Desktop/images/29012025/17/02/image_29012025_17_02_35_10333.jpg
/home/pi/Desktop/images/29012025/17/02/image_29012025_17_02_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":["1332771387","1332771447","1332771156","1332771395","1332771368","1332771365"],"photo_ids_order":["1332771156","1332771365","1332771368","1332771387","1332771395","1332771447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/538a41e943c670820fcf3a2047296de6.jpg","text":"TemporaryFile(/tmp/multipartBody6027716284095016609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185813651,"filename":"image_29012025_17_02_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/29/0bcba72e6284d59fe8d878fc1a6b664d.jpg","text":"TemporaryFile(/tmp/multipartBody2938536972198791042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185813651,"filename":"image_29012025_17_02_44_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/29/c24e1084d224c522c579f0776c2ed00f.jpg","text":"TemporaryFile(/tmp/multipartBody5997583679668293535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185813651,"filename":"image_29012025_17_01_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/29/c0b0cceec6e44e75c8e47548110616a0.jpg","text":"TemporaryFile(/tmp/multipartBody1683963278869946972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185813651,"filename":"image_29012025_17_02_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/29/457b28577d908f5d39f6a4f2c430888c.jpg","text":"TemporaryFile(/tmp/multipartBody2437806378043438604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185813651,"filename":"image_29012025_17_02_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/29/455e606df9f3aa62b2a9a5c6f9f12244.jpg","text":"TemporaryFile(/tmp/multipartBody6518965382441021492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185813651,"filename":"image_29012025_17_02_05_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332771368","file1":"1332771365","file0":"1332771156","file4":"1332771395","file5":"1332771447","file3":"1332771387"},"map_files_photo_id_array":[{"photo_id":"1332771447","filename":"file5"},{"photo_id":"1332771368","filename":"file2"},{"photo_id":"1332771395","filename":"file4"},{"photo_id":"1332771365","filename":"file1"},{"photo_id":"1332771156","filename":"file0"},{"photo_id":"1332771387","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332771387":["hashtag1","hashtag2"]},{"1332771447":["hashtag1","hashtag2"]},{"1332771156":["hashtag1","hashtag2"]},{"1332771395":["hashtag1","hashtag2"]},{"1332771368":["hashtag1","hashtag2"]},{"1332771365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332771387, 1332771447, 1332771156, 1332771395, 1332771368, 1332771365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46086549758911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:23:32.930568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/02/image_29012025_17_02_55_10360.jpg', '/home/pi/Desktop/images/29012025/17/02/image_29012025_17_03_04_9427.jpg', '/home/pi/Desktop/images/29012025/17/03/image_29012025_17_03_15_10336.jpg', '/home/pi/Desktop/images/29012025/17/03/image_29012025_17_03_25_10358.jpg', '/home/pi/Desktop/images/29012025/17/03/image_29012025_17_03_34_9361.jpg', '/home/pi/Desktop/images/29012025/17/03/image_29012025_17_03_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/02/image_29012025_17_02_55_10360.jpg
/home/pi/Desktop/images/29012025/17/02/image_29012025_17_03_04_9427.jpg
/home/pi/Desktop/images/29012025/17/03/image_29012025_17_03_15_10336.jpg
/home/pi/Desktop/images/29012025/17/03/image_29012025_17_03_25_10358.jpg
/home/pi/Desktop/images/29012025/17/03/image_29012025_17_03_34_9361.jpg
/home/pi/Desktop/images/29012025/17/03/image_29012025_17_03_45_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":["1332773004","1332772932","1332772926","1332772920","1332773057","1332772699"],"photo_ids_order":["1332772699","1332772920","1332772926","1332772932","1332773004","1332773057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c745d8d60686a2c9bb7140ca360340fb.jpg","text":"TemporaryFile(/tmp/multipartBody1397238056585004927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185873950,"filename":"image_29012025_17_03_34_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/29/63ac32e59ab4011d0b7e3bdb03896985.jpg","text":"TemporaryFile(/tmp/multipartBody5834560801800936801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185873950,"filename":"image_29012025_17_03_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/29/c89ec4fcca641c2aa84f22b3e2e870f9.jpg","text":"TemporaryFile(/tmp/multipartBody454001103953686522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185873950,"filename":"image_29012025_17_03_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/29/ac35583863bbdf626dc5b0721852068e.jpg","text":"TemporaryFile(/tmp/multipartBody1363074076944142794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185873950,"filename":"image_29012025_17_03_04_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/29/54a806b96c025e8d977deec0f8338fa6.jpg","text":"TemporaryFile(/tmp/multipartBody6329422346720495082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185873950,"filename":"image_29012025_17_03_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/29/dfca88743fdeb8b046eaceac24079d5d.jpg","text":"TemporaryFile(/tmp/multipartBody8085487930354619489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185873950,"filename":"image_29012025_17_02_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332772926","file1":"1332772920","file0":"1332772699","file4":"1332773004","file5":"1332773057","file3":"1332772932"},"map_files_photo_id_array":[{"photo_id":"1332773057","filename":"file5"},{"photo_id":"1332772926","filename":"file2"},{"photo_id":"1332773004","filename":"file4"},{"photo_id":"1332772920","filename":"file1"},{"photo_id":"1332772699","filename":"file0"},{"photo_id":"1332772932","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332773004":["hashtag1","hashtag2"]},{"1332772932":["hashtag1","hashtag2"]},{"1332772926":["hashtag1","hashtag2"]},{"1332772920":["hashtag1","hashtag2"]},{"1332773057":["hashtag1","hashtag2"]},{"1332772699":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332773004, 1332772932, 1332772926, 1332772920, 1332773057, 1332772699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.80390977859497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:24:33.161897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/03/image_29012025_17_03_55_10402.jpg', '/home/pi/Desktop/images/29012025/17/03/image_29012025_17_04_04_9394.jpg', '/home/pi/Desktop/images/29012025/17/04/image_29012025_17_04_15_10353.jpg', '/home/pi/Desktop/images/29012025/17/04/image_29012025_17_04_24_9451.jpg', '/home/pi/Desktop/images/29012025/17/04/image_29012025_17_04_35_10341.jpg', '/home/pi/Desktop/images/29012025/17/04/image_29012025_17_04_45_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/03/image_29012025_17_03_55_10402.jpg
/home/pi/Desktop/images/29012025/17/03/image_29012025_17_04_04_9394.jpg
/home/pi/Desktop/images/29012025/17/04/image_29012025_17_04_15_10353.jpg
/home/pi/Desktop/images/29012025/17/04/image_29012025_17_04_24_9451.jpg
/home/pi/Desktop/images/29012025/17/04/image_29012025_17_04_35_10341.jpg
/home/pi/Desktop/images/29012025/17/04/image_29012025_17_04_45_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":["1332773091","1332773085","1332773088","1332773363","1332773081","1332773254"],"photo_ids_order":["1332773081","1332773085","1332773088","1332773091","1332773254","1332773363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a0ee7408ea3949cded761b7cf0479e9d.jpg","text":"TemporaryFile(/tmp/multipartBody5347020384996922463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185934132,"filename":"image_29012025_17_04_24_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/29/b76c90d4ee1e9e4cb2499fe6078da1bf.jpg","text":"TemporaryFile(/tmp/multipartBody462616764448586565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185934132,"filename":"image_29012025_17_04_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/29/ac7ad8297217fd516d22238484c28811.jpg","text":"TemporaryFile(/tmp/multipartBody8853411140932311809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185934132,"filename":"image_29012025_17_04_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/29/7069e8cc5388ba4de348e2555a696f17.jpg","text":"TemporaryFile(/tmp/multipartBody4001850795304868477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185934132,"filename":"image_29012025_17_04_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/29/8f9a5a2d1797d9f82041560ec604046f.jpg","text":"TemporaryFile(/tmp/multipartBody4996611926373509705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185934132,"filename":"image_29012025_17_03_55_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/29/202a305aa4f7f9f4156e296b42e1b901.jpg","text":"TemporaryFile(/tmp/multipartBody59358438559382804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185934132,"filename":"image_29012025_17_04_35_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332773088","file1":"1332773085","file0":"1332773081","file4":"1332773254","file5":"1332773363","file3":"1332773091"},"map_files_photo_id_array":[{"photo_id":"1332773363","filename":"file5"},{"photo_id":"1332773088","filename":"file2"},{"photo_id":"1332773254","filename":"file4"},{"photo_id":"1332773085","filename":"file1"},{"photo_id":"1332773081","filename":"file0"},{"photo_id":"1332773091","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332773091":["hashtag1","hashtag2"]},{"1332773085":["hashtag1","hashtag2"]},{"1332773088":["hashtag1","hashtag2"]},{"1332773363":["hashtag1","hashtag2"]},{"1332773081":["hashtag1","hashtag2"]},{"1332773254":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332773091, 1332773085, 1332773088, 1332773363, 1332773081, 1332773254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.998398303985596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:25:32.357028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/04/image_29012025_17_04_54_9332.jpg', '/home/pi/Desktop/images/29012025/17/04/image_29012025_17_05_05_10339.jpg', '/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_15_10406.jpg', '/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_24_9345.jpg', '/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_35_10351.jpg', '/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_44_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/04/image_29012025_17_04_54_9332.jpg
/home/pi/Desktop/images/29012025/17/04/image_29012025_17_05_05_10339.jpg
/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_15_10406.jpg
/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_24_9345.jpg
/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_35_10351.jpg
/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_44_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332773850","1332773844","1332773823","1332773909","1332773887","1332773906"],"photo_ids_order":["1332773823","1332773844","1332773850","1332773887","1332773906","1332773909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fd3ff79e567b8178ecb3d09ae26dbdc8.jpg","text":"TemporaryFile(/tmp/multipartBody266275695137707695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185993333,"filename":"image_29012025_17_05_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/29/dc7b768842f28e2702910f7ebbd28d33.jpg","text":"TemporaryFile(/tmp/multipartBody2613147714958039149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185993333,"filename":"image_29012025_17_05_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/29/2fa0f50e95fb14320daabd31371b2e37.jpg","text":"TemporaryFile(/tmp/multipartBody5890840224602985897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185993333,"filename":"image_29012025_17_04_54_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/29/15139a75c923b5cc0b05e0f6064d205d.jpg","text":"TemporaryFile(/tmp/multipartBody3224333283097699632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185993333,"filename":"image_29012025_17_05_44_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/29/275c3499f050a0a32fae826568c0c2e5.jpg","text":"TemporaryFile(/tmp/multipartBody6531370128528185897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185993333,"filename":"image_29012025_17_05_24_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/29/c9c5dc55fe09c234b5027fd9025d6b3b.jpg","text":"TemporaryFile(/tmp/multipartBody5164940001688124006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738185993333,"filename":"image_29012025_17_05_35_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332773850","file1":"1332773844","file0":"1332773823","file4":"1332773906","file5":"1332773909","file3":"1332773887"},"map_files_photo_id_array":[{"photo_id":"1332773909","filename":"file5"},{"photo_id":"1332773850","filename":"file2"},{"photo_id":"1332773906","filename":"file4"},{"photo_id":"1332773844","filename":"file1"},{"photo_id":"1332773823","filename":"file0"},{"photo_id":"1332773887","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332773850":["hashtag1","hashtag2"]},{"1332773844":["hashtag1","hashtag2"]},{"1332773823":["hashtag1","hashtag2"]},{"1332773909":["hashtag1","hashtag2"]},{"1332773887":["hashtag1","hashtag2"]},{"1332773906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332773850, 1332773844, 1332773823, 1332773909, 1332773887, 1332773906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.308486461639404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:26:32.567546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_55_10343.jpg', '/home/pi/Desktop/images/29012025/17/05/image_29012025_17_06_05_10414.jpg', '/home/pi/Desktop/images/29012025/17/06/image_29012025_17_06_25_10346.jpg', '/home/pi/Desktop/images/29012025/17/06/image_29012025_17_06_55_10332.jpg', '/home/pi/Desktop/images/29012025/17/06/image_29012025_17_07_04_9400.jpg', '/home/pi/Desktop/images/29012025/17/07/image_29012025_17_07_15_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_55_10343.jpg
/home/pi/Desktop/images/29012025/17/05/image_29012025_17_06_05_10414.jpg
/home/pi/Desktop/images/29012025/17/06/image_29012025_17_06_25_10346.jpg
/home/pi/Desktop/images/29012025/17/06/image_29012025_17_06_55_10332.jpg
/home/pi/Desktop/images/29012025/17/06/image_29012025_17_07_04_9400.jpg
/home/pi/Desktop/images/29012025/17/07/image_29012025_17_07_15_10398.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.5759661197662354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 22:26:42.605836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_55_10343.jpg', '/home/pi/Desktop/images/29012025/17/05/image_29012025_17_06_05_10414.jpg', '/home/pi/Desktop/images/29012025/17/06/image_29012025_17_06_25_10346.jpg', '/home/pi/Desktop/images/29012025/17/06/image_29012025_17_06_55_10332.jpg', '/home/pi/Desktop/images/29012025/17/06/image_29012025_17_07_04_9400.jpg', '/home/pi/Desktop/images/29012025/17/07/image_29012025_17_07_15_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/05/image_29012025_17_05_55_10343.jpg
/home/pi/Desktop/images/29012025/17/05/image_29012025_17_06_05_10414.jpg
/home/pi/Desktop/images/29012025/17/06/image_29012025_17_06_25_10346.jpg
/home/pi/Desktop/images/29012025/17/06/image_29012025_17_06_55_10332.jpg
/home/pi/Desktop/images/29012025/17/06/image_29012025_17_07_04_9400.jpg
/home/pi/Desktop/images/29012025/17/07/image_29012025_17_07_15_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":["1332774345","1332774341","1332774137","1332774338","1332774271","1332774180"],"photo_ids_order":["1332774137","1332774180","1332774271","1332774338","1332774341","1332774345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/21e92a49971415d50b98514522856455.jpg","text":"TemporaryFile(/tmp/multipartBody5859130850750603836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186063519,"filename":"image_29012025_17_07_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/29/42141687d219acf91d06a9306828958b.jpg","text":"TemporaryFile(/tmp/multipartBody6758765621449831112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186063519,"filename":"image_29012025_17_07_04_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/29/dd8d483fd7a3359ada9d791f8aa67cb1.jpg","text":"TemporaryFile(/tmp/multipartBody621698562309075509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186063519,"filename":"image_29012025_17_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/29/d44d71bd50a09fbea9c448657e73a07a.jpg","text":"TemporaryFile(/tmp/multipartBody606919737894795226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186063519,"filename":"image_29012025_17_06_55_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/29/ca51b6d93352074ec4974c0624ec1f83.jpg","text":"TemporaryFile(/tmp/multipartBody124013175982352976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186063519,"filename":"image_29012025_17_06_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/29/117e14f98a9bf17ac20b03f82f7b94e8.jpg","text":"TemporaryFile(/tmp/multipartBody7412670829879717426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186063519,"filename":"image_29012025_17_06_05_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332774271","file1":"1332774180","file0":"1332774137","file4":"1332774341","file5":"1332774345","file3":"1332774338"},"map_files_photo_id_array":[{"photo_id":"1332774345","filename":"file5"},{"photo_id":"1332774271","filename":"file2"},{"photo_id":"1332774341","filename":"file4"},{"photo_id":"1332774180","filename":"file1"},{"photo_id":"1332774137","filename":"file0"},{"photo_id":"1332774338","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332774345":["hashtag1","hashtag2"]},{"1332774341":["hashtag1","hashtag2"]},{"1332774137":["hashtag1","hashtag2"]},{"1332774338":["hashtag1","hashtag2"]},{"1332774271":["hashtag1","hashtag2"]},{"1332774180":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332774345, 1332774341, 1332774137, 1332774338, 1332774271, 1332774180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.51968050003052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:27:32.871946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/07/image_29012025_17_07_34_9390.jpg', '/home/pi/Desktop/images/29012025/17/07/image_29012025_17_07_45_10357.jpg', '/home/pi/Desktop/images/29012025/17/07/image_29012025_17_07_55_10382.jpg', '/home/pi/Desktop/images/29012025/17/07/image_29012025_17_08_04_9337.jpg', '/home/pi/Desktop/images/29012025/17/08/image_29012025_17_08_15_10334.jpg', '/home/pi/Desktop/images/29012025/17/08/image_29012025_17_08_24_9438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/07/image_29012025_17_07_34_9390.jpg
/home/pi/Desktop/images/29012025/17/07/image_29012025_17_07_45_10357.jpg
/home/pi/Desktop/images/29012025/17/07/image_29012025_17_07_55_10382.jpg
/home/pi/Desktop/images/29012025/17/07/image_29012025_17_08_04_9337.jpg
/home/pi/Desktop/images/29012025/17/08/image_29012025_17_08_15_10334.jpg
/home/pi/Desktop/images/29012025/17/08/image_29012025_17_08_24_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332774525","1332774530","1332774457","1332774454","1332774520","1332774517"],"photo_ids_order":["1332774454","1332774457","1332774517","1332774520","1332774525","1332774530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/682d3353963bcf213ae203028d74e87a.jpg","text":"TemporaryFile(/tmp/multipartBody3238405381935398918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186113867,"filename":"image_29012025_17_08_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/29/6f4678221381d61bce27c0df7ff598fe.jpg","text":"TemporaryFile(/tmp/multipartBody4610238210060149031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186113867,"filename":"image_29012025_17_08_24_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/29/7de78e7bbfa0e31243c09db3999963d8.jpg","text":"TemporaryFile(/tmp/multipartBody7314200451953546673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186113867,"filename":"image_29012025_17_07_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/29/b43c44fd59ac75531846e11cda35198b.jpg","text":"TemporaryFile(/tmp/multipartBody6077614350334477793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186113867,"filename":"image_29012025_17_07_34_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/29/0d170baca0a28a241660f9a02c4ac765.jpg","text":"TemporaryFile(/tmp/multipartBody5850953669759239042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186113867,"filename":"image_29012025_17_08_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/29/bd1ce0ffcab03cceb771db56d044d615.jpg","text":"TemporaryFile(/tmp/multipartBody2294171720469931289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186113867,"filename":"image_29012025_17_07_55_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332774517","file1":"1332774457","file0":"1332774454","file4":"1332774525","file5":"1332774530","file3":"1332774520"},"map_files_photo_id_array":[{"photo_id":"1332774530","filename":"file5"},{"photo_id":"1332774517","filename":"file2"},{"photo_id":"1332774525","filename":"file4"},{"photo_id":"1332774457","filename":"file1"},{"photo_id":"1332774454","filename":"file0"},{"photo_id":"1332774520","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332774525":["hashtag1","hashtag2"]},{"1332774530":["hashtag1","hashtag2"]},{"1332774457":["hashtag1","hashtag2"]},{"1332774454":["hashtag1","hashtag2"]},{"1332774520":["hashtag1","hashtag2"]},{"1332774517":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332774525, 1332774530, 1332774457, 1332774454, 1332774520, 1332774517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.562846183776855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:28:33.063454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/08/image_29012025_17_08_44_9559.jpg', '/home/pi/Desktop/images/29012025/17/08/image_29012025_17_08_55_10357.jpg', '/home/pi/Desktop/images/29012025/17/08/image_29012025_17_09_05_10436.jpg', '/home/pi/Desktop/images/29012025/17/09/image_29012025_17_09_14_9361.jpg', '/home/pi/Desktop/images/29012025/17/09/image_29012025_17_09_25_10349.jpg', '/home/pi/Desktop/images/29012025/17/09/image_29012025_17_09_35_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/08/image_29012025_17_08_44_9559.jpg
/home/pi/Desktop/images/29012025/17/08/image_29012025_17_08_55_10357.jpg
/home/pi/Desktop/images/29012025/17/08/image_29012025_17_09_05_10436.jpg
/home/pi/Desktop/images/29012025/17/09/image_29012025_17_09_14_9361.jpg
/home/pi/Desktop/images/29012025/17/09/image_29012025_17_09_25_10349.jpg
/home/pi/Desktop/images/29012025/17/09/image_29012025_17_09_35_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":["1332774576","1332774549","1332774554","1332774583","1332774559","1332774588"],"photo_ids_order":["1332774549","1332774554","1332774559","1332774576","1332774583","1332774588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/31874b7ecc1bdfa098eb2b8d9b599621.jpg","text":"TemporaryFile(/tmp/multipartBody2481147254247621202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186174048,"filename":"image_29012025_17_09_14_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/29/a495c9a58fff711e139f6ca79a36c468.jpg","text":"TemporaryFile(/tmp/multipartBody5767772636725103533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186174048,"filename":"image_29012025_17_08_44_9559.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b333c896f784ecc6b7ea57f3d0feaca3.jpg","text":"TemporaryFile(/tmp/multipartBody7326484592445789232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186174048,"filename":"image_29012025_17_08_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/29/fef51985edc95223b39e499e0673f442.jpg","text":"TemporaryFile(/tmp/multipartBody4554652720089829626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186174048,"filename":"image_29012025_17_09_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/29/cf12f9f4a107b9980fca39aac64671a6.jpg","text":"TemporaryFile(/tmp/multipartBody2819926026244782690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186174048,"filename":"image_29012025_17_09_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/29/25a64c04acb99574164221452c707125.jpg","text":"TemporaryFile(/tmp/multipartBody4935937330339992357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186174048,"filename":"image_29012025_17_09_35_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332774559","file1":"1332774554","file0":"1332774549","file4":"1332774583","file5":"1332774588","file3":"1332774576"},"map_files_photo_id_array":[{"photo_id":"1332774588","filename":"file5"},{"photo_id":"1332774559","filename":"file2"},{"photo_id":"1332774583","filename":"file4"},{"photo_id":"1332774554","filename":"file1"},{"photo_id":"1332774549","filename":"file0"},{"photo_id":"1332774576","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332774576":["hashtag1","hashtag2"]},{"1332774549":["hashtag1","hashtag2"]},{"1332774554":["hashtag1","hashtag2"]},{"1332774583":["hashtag1","hashtag2"]},{"1332774559":["hashtag1","hashtag2"]},{"1332774588":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332774576, 1332774549, 1332774554, 1332774583, 1332774559, 1332774588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.426859855651855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:29:32.478163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/09/image_29012025_17_09_45_9417.jpg', '/home/pi/Desktop/images/29012025/17/09/image_29012025_17_09_55_10353.jpg', '/home/pi/Desktop/images/29012025/17/09/image_29012025_17_10_04_9440.jpg', '/home/pi/Desktop/images/29012025/17/10/image_29012025_17_10_15_10375.jpg', '/home/pi/Desktop/images/29012025/17/10/image_29012025_17_10_25_10371.jpg', '/home/pi/Desktop/images/29012025/17/10/image_29012025_17_10_34_9414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/09/image_29012025_17_09_45_9417.jpg
/home/pi/Desktop/images/29012025/17/09/image_29012025_17_09_55_10353.jpg
/home/pi/Desktop/images/29012025/17/09/image_29012025_17_10_04_9440.jpg
/home/pi/Desktop/images/29012025/17/10/image_29012025_17_10_15_10375.jpg
/home/pi/Desktop/images/29012025/17/10/image_29012025_17_10_25_10371.jpg
/home/pi/Desktop/images/29012025/17/10/image_29012025_17_10_34_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":["1332774621","1332774639","1332774627","1332774635","1332774643","1332774631"],"photo_ids_order":["1332774621","1332774627","1332774631","1332774635","1332774639","1332774643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bcac32f3cdb4b8372d06c8607932d1fb.jpg","text":"TemporaryFile(/tmp/multipartBody3784678807215377494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186233453,"filename":"image_29012025_17_09_45_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/29/29450281a405464f724d87155700e3b1.jpg","text":"TemporaryFile(/tmp/multipartBody7718237956005778950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186233453,"filename":"image_29012025_17_10_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/29/694bf92da9e390b148e3cff04f7d96c0.jpg","text":"TemporaryFile(/tmp/multipartBody5403677304436805284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186233453,"filename":"image_29012025_17_09_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/29/0f1d4a014fe9754d73972c2b8de4b132.jpg","text":"TemporaryFile(/tmp/multipartBody1437304236303387921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186233453,"filename":"image_29012025_17_10_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/29/38bd2eb01ebdcc4bc4e622f2ca95f1df.jpg","text":"TemporaryFile(/tmp/multipartBody8691476870003112395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186233453,"filename":"image_29012025_17_10_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/29/bdd4417619d34ff9f343596033157e0e.jpg","text":"TemporaryFile(/tmp/multipartBody2589224649597789722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186233453,"filename":"image_29012025_17_10_04_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332774631","file1":"1332774627","file0":"1332774621","file4":"1332774639","file5":"1332774643","file3":"1332774635"},"map_files_photo_id_array":[{"photo_id":"1332774643","filename":"file5"},{"photo_id":"1332774631","filename":"file2"},{"photo_id":"1332774639","filename":"file4"},{"photo_id":"1332774627","filename":"file1"},{"photo_id":"1332774621","filename":"file0"},{"photo_id":"1332774635","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332774621":["hashtag1","hashtag2"]},{"1332774639":["hashtag1","hashtag2"]},{"1332774627":["hashtag1","hashtag2"]},{"1332774635":["hashtag1","hashtag2"]},{"1332774643":["hashtag1","hashtag2"]},{"1332774631":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332774621, 1332774639, 1332774627, 1332774635, 1332774643, 1332774631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76563096046448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:30:32.685981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/10/image_29012025_17_10_45_10337.jpg', '/home/pi/Desktop/images/29012025/17/10/image_29012025_17_10_54_9430.jpg', '/home/pi/Desktop/images/29012025/17/10/image_29012025_17_11_05_10370.jpg', '/home/pi/Desktop/images/29012025/17/11/image_29012025_17_11_15_10443.jpg', '/home/pi/Desktop/images/29012025/17/11/image_29012025_17_11_24_9387.jpg', '/home/pi/Desktop/images/29012025/17/11/image_29012025_17_11_35_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/10/image_29012025_17_10_45_10337.jpg
/home/pi/Desktop/images/29012025/17/10/image_29012025_17_10_54_9430.jpg
/home/pi/Desktop/images/29012025/17/10/image_29012025_17_11_05_10370.jpg
/home/pi/Desktop/images/29012025/17/11/image_29012025_17_11_15_10443.jpg
/home/pi/Desktop/images/29012025/17/11/image_29012025_17_11_24_9387.jpg
/home/pi/Desktop/images/29012025/17/11/image_29012025_17_11_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":["1332774663","1332774810","1332774842","1332774839","1332774658","1332774687"],"photo_ids_order":["1332774658","1332774663","1332774687","1332774810","1332774839","1332774842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/012f2cb53446650a00de2d815278ef09.jpg","text":"TemporaryFile(/tmp/multipartBody9169930233849849743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186293683,"filename":"image_29012025_17_10_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/29/e83c2df642a8b8d70a12b10481c26e28.jpg","text":"TemporaryFile(/tmp/multipartBody3464495836261841230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186293683,"filename":"image_29012025_17_11_15_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/29/174cc097d574007befe3225693deffca.jpg","text":"TemporaryFile(/tmp/multipartBody3004621122274584199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186293683,"filename":"image_29012025_17_11_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/29/68a67f9f3e1c7679a6d876f569697016.jpg","text":"TemporaryFile(/tmp/multipartBody4866269935578717623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186293683,"filename":"image_29012025_17_11_24_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/29/7824a8dcc476e200fffb5a013f8506f3.jpg","text":"TemporaryFile(/tmp/multipartBody2158128542386343058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186293683,"filename":"image_29012025_17_10_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/29/45c30ba97c11391473766c8566db9574.jpg","text":"TemporaryFile(/tmp/multipartBody267417725109929235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186293683,"filename":"image_29012025_17_11_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332774687","file1":"1332774663","file0":"1332774658","file4":"1332774839","file5":"1332774842","file3":"1332774810"},"map_files_photo_id_array":[{"photo_id":"1332774842","filename":"file5"},{"photo_id":"1332774687","filename":"file2"},{"photo_id":"1332774839","filename":"file4"},{"photo_id":"1332774663","filename":"file1"},{"photo_id":"1332774658","filename":"file0"},{"photo_id":"1332774810","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332774663":["hashtag1","hashtag2"]},{"1332774810":["hashtag1","hashtag2"]},{"1332774842":["hashtag1","hashtag2"]},{"1332774839":["hashtag1","hashtag2"]},{"1332774658":["hashtag1","hashtag2"]},{"1332774687":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332774663, 1332774810, 1332774842, 1332774839, 1332774658, 1332774687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35841774940491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:31:32.871558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/11/image_29012025_17_11_44_9381.jpg', '/home/pi/Desktop/images/29012025/17/11/image_29012025_17_11_55_10357.jpg', '/home/pi/Desktop/images/29012025/17/12/image_29012025_17_12_14_9365.jpg', '/home/pi/Desktop/images/29012025/17/12/image_29012025_17_12_25_10373.jpg', '/home/pi/Desktop/images/29012025/17/12/image_29012025_17_12_35_10402.jpg', '/home/pi/Desktop/images/29012025/17/12/image_29012025_17_12_44_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/11/image_29012025_17_11_44_9381.jpg
/home/pi/Desktop/images/29012025/17/11/image_29012025_17_11_55_10357.jpg
/home/pi/Desktop/images/29012025/17/12/image_29012025_17_12_14_9365.jpg
/home/pi/Desktop/images/29012025/17/12/image_29012025_17_12_25_10373.jpg
/home/pi/Desktop/images/29012025/17/12/image_29012025_17_12_35_10402.jpg
/home/pi/Desktop/images/29012025/17/12/image_29012025_17_12_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":["1332774966","1332774995","1332774977","1332774970","1332774973","1332774990"],"photo_ids_order":["1332774966","1332774970","1332774973","1332774977","1332774990","1332774995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/26126332b215e048aeabd147729ba0c3.jpg","text":"TemporaryFile(/tmp/multipartBody4586507723031482010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186353870,"filename":"image_29012025_17_11_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/29/a6dd5200c711a0942b64c88e6eb6dd2d.jpg","text":"TemporaryFile(/tmp/multipartBody1686421493242064339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186353870,"filename":"image_29012025_17_12_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/29/2c6e8552d7c0d7d7d51942b82bb2f792.jpg","text":"TemporaryFile(/tmp/multipartBody895123342563574432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186353870,"filename":"image_29012025_17_12_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/29/c6d858f17664e4816afba679c1f8146b.jpg","text":"TemporaryFile(/tmp/multipartBody4705309883642225184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186353870,"filename":"image_29012025_17_11_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/29/a5fc5fb34d348f9fbe5c64f6f02b4bd9.jpg","text":"TemporaryFile(/tmp/multipartBody5183651960487633834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186353870,"filename":"image_29012025_17_12_14_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/29/499db05fc18afe76f41fa2dfe0711711.jpg","text":"TemporaryFile(/tmp/multipartBody7997225913525398083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186353870,"filename":"image_29012025_17_12_35_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332774973","file1":"1332774970","file0":"1332774966","file4":"1332774990","file5":"1332774995","file3":"1332774977"},"map_files_photo_id_array":[{"photo_id":"1332774995","filename":"file5"},{"photo_id":"1332774973","filename":"file2"},{"photo_id":"1332774990","filename":"file4"},{"photo_id":"1332774970","filename":"file1"},{"photo_id":"1332774966","filename":"file0"},{"photo_id":"1332774977","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332774966":["hashtag1","hashtag2"]},{"1332774995":["hashtag1","hashtag2"]},{"1332774977":["hashtag1","hashtag2"]},{"1332774970":["hashtag1","hashtag2"]},{"1332774973":["hashtag1","hashtag2"]},{"1332774990":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332774966, 1332774995, 1332774977, 1332774970, 1332774973, 1332774990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.89579224586487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:32:33.155693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/12/image_29012025_17_12_55_10363.jpg', '/home/pi/Desktop/images/29012025/17/12/image_29012025_17_13_04_9413.jpg', '/home/pi/Desktop/images/29012025/17/13/image_29012025_17_13_15_10349.jpg', '/home/pi/Desktop/images/29012025/17/13/image_29012025_17_13_25_10348.jpg', '/home/pi/Desktop/images/29012025/17/13/image_29012025_17_13_34_9464.jpg', '/home/pi/Desktop/images/29012025/17/13/image_29012025_17_13_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/12/image_29012025_17_12_55_10363.jpg
/home/pi/Desktop/images/29012025/17/12/image_29012025_17_13_04_9413.jpg
/home/pi/Desktop/images/29012025/17/13/image_29012025_17_13_15_10349.jpg
/home/pi/Desktop/images/29012025/17/13/image_29012025_17_13_25_10348.jpg
/home/pi/Desktop/images/29012025/17/13/image_29012025_17_13_34_9464.jpg
/home/pi/Desktop/images/29012025/17/13/image_29012025_17_13_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":["1332775046","1332775084","1332775042","1332775089","1332775098","1332775038"],"photo_ids_order":["1332775038","1332775042","1332775046","1332775084","1332775089","1332775098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6a276463ed3ebb1245bf4539280e0f21.jpg","text":"TemporaryFile(/tmp/multipartBody8270529448943271977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186414136,"filename":"image_29012025_17_13_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/29/150c839aa59d8a0a1d7d72964c201749.jpg","text":"TemporaryFile(/tmp/multipartBody2379072580905060462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186414136,"filename":"image_29012025_17_13_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/29/f82b43443eb6e33a634caa6f2c97dde1.jpg","text":"TemporaryFile(/tmp/multipartBody6827599975820479653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186414136,"filename":"image_29012025_17_13_04_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/29/7b50ce768581e3489059f7c9157fa325.jpg","text":"TemporaryFile(/tmp/multipartBody2410410958789858533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186414136,"filename":"image_29012025_17_13_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/29/3db2da65303ba4f260f0ec43cad98d13.jpg","text":"TemporaryFile(/tmp/multipartBody4515153581442109796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186414136,"filename":"image_29012025_17_13_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/29/5c37d80a60614d56fc21e1b72b5cc4f6.jpg","text":"TemporaryFile(/tmp/multipartBody129684885026270613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186414136,"filename":"image_29012025_17_12_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332775046","file1":"1332775042","file0":"1332775038","file4":"1332775089","file5":"1332775098","file3":"1332775084"},"map_files_photo_id_array":[{"photo_id":"1332775098","filename":"file5"},{"photo_id":"1332775046","filename":"file2"},{"photo_id":"1332775089","filename":"file4"},{"photo_id":"1332775042","filename":"file1"},{"photo_id":"1332775038","filename":"file0"},{"photo_id":"1332775084","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332775046":["hashtag1","hashtag2"]},{"1332775084":["hashtag1","hashtag2"]},{"1332775042":["hashtag1","hashtag2"]},{"1332775089":["hashtag1","hashtag2"]},{"1332775098":["hashtag1","hashtag2"]},{"1332775038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332775046, 1332775084, 1332775042, 1332775089, 1332775098, 1332775038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.285401821136475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:33:32.535144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/13/image_29012025_17_13_55_10392.jpg', '/home/pi/Desktop/images/29012025/17/14/image_29012025_17_14_15_10342.jpg', '/home/pi/Desktop/images/29012025/17/14/image_29012025_17_14_24_9459.jpg', '/home/pi/Desktop/images/29012025/17/14/image_29012025_17_14_35_10354.jpg', '/home/pi/Desktop/images/29012025/17/14/image_29012025_17_14_54_9377.jpg', '/home/pi/Desktop/images/29012025/17/14/image_29012025_17_15_05_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/13/image_29012025_17_13_55_10392.jpg
/home/pi/Desktop/images/29012025/17/14/image_29012025_17_14_15_10342.jpg
/home/pi/Desktop/images/29012025/17/14/image_29012025_17_14_24_9459.jpg
/home/pi/Desktop/images/29012025/17/14/image_29012025_17_14_35_10354.jpg
/home/pi/Desktop/images/29012025/17/14/image_29012025_17_14_54_9377.jpg
/home/pi/Desktop/images/29012025/17/14/image_29012025_17_15_05_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":["1332775466","1332775628","1332775480","1332775624","1332775525","1332775476"],"photo_ids_order":["1332775466","1332775476","1332775480","1332775525","1332775624","1332775628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b9906f4e3730ca8f1e34a42ca9252f1a.jpg","text":"TemporaryFile(/tmp/multipartBody192320552740884026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186473530,"filename":"image_29012025_17_13_55_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/29/7f1fc6c92df99d725b3fd4167cbfeb9b.jpg","text":"TemporaryFile(/tmp/multipartBody6581753377881094205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186473530,"filename":"image_29012025_17_15_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/29/4c9480e98fb32968a02eb40c83ea0b38.jpg","text":"TemporaryFile(/tmp/multipartBody2778353394858647154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186473530,"filename":"image_29012025_17_14_24_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/29/458a36a9cfea70bd6a40958bcf3a3f0e.jpg","text":"TemporaryFile(/tmp/multipartBody3816923360676508847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186473530,"filename":"image_29012025_17_14_54_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/29/626f1b72ac52f72e5c70ec9ed16f0b00.jpg","text":"TemporaryFile(/tmp/multipartBody6046071974671515996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186473530,"filename":"image_29012025_17_14_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/29/a6afde3c3f50348b4dc83345912f4cbd.jpg","text":"TemporaryFile(/tmp/multipartBody6199963648598945631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186473530,"filename":"image_29012025_17_14_15_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332775480","file1":"1332775476","file0":"1332775466","file4":"1332775624","file5":"1332775628","file3":"1332775525"},"map_files_photo_id_array":[{"photo_id":"1332775628","filename":"file5"},{"photo_id":"1332775480","filename":"file2"},{"photo_id":"1332775624","filename":"file4"},{"photo_id":"1332775476","filename":"file1"},{"photo_id":"1332775466","filename":"file0"},{"photo_id":"1332775525","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332775466":["hashtag1","hashtag2"]},{"1332775628":["hashtag1","hashtag2"]},{"1332775480":["hashtag1","hashtag2"]},{"1332775624":["hashtag1","hashtag2"]},{"1332775525":["hashtag1","hashtag2"]},{"1332775476":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332775466, 1332775628, 1332775480, 1332775624, 1332775525, 1332775476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.353846311569214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:34:32.644035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/15/image_29012025_17_15_14_9471.jpg', '/home/pi/Desktop/images/29012025/17/15/image_29012025_17_15_25_10414.jpg', '/home/pi/Desktop/images/29012025/17/15/image_29012025_17_15_35_10434.jpg', '/home/pi/Desktop/images/29012025/17/15/image_29012025_17_15_44_9379.jpg', '/home/pi/Desktop/images/29012025/17/15/image_29012025_17_15_55_10356.jpg', '/home/pi/Desktop/images/29012025/17/15/image_29012025_17_16_04_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/15/image_29012025_17_15_14_9471.jpg
/home/pi/Desktop/images/29012025/17/15/image_29012025_17_15_25_10414.jpg
/home/pi/Desktop/images/29012025/17/15/image_29012025_17_15_35_10434.jpg
/home/pi/Desktop/images/29012025/17/15/image_29012025_17_15_44_9379.jpg
/home/pi/Desktop/images/29012025/17/15/image_29012025_17_15_55_10356.jpg
/home/pi/Desktop/images/29012025/17/15/image_29012025_17_16_04_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":["1332776171","1332775964","1332776134","1332776184","1332776178","1332776162"],"photo_ids_order":["1332775964","1332776134","1332776162","1332776171","1332776178","1332776184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fec297fedfda07b176da2ede4a246bd1.jpg","text":"TemporaryFile(/tmp/multipartBody9083174061814867048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186533636,"filename":"image_29012025_17_15_44_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/29/d4b3f968f1e979832afbf5f9ed9c6778.jpg","text":"TemporaryFile(/tmp/multipartBody8881843189130292173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186533636,"filename":"image_29012025_17_15_14_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/29/d487fe6d5be61e972b1c569de16de73b.jpg","text":"TemporaryFile(/tmp/multipartBody2973142458726925262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186533636,"filename":"image_29012025_17_15_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/29/0f70f2dd44167de08f2928f9fa168fab.jpg","text":"TemporaryFile(/tmp/multipartBody6206826629707956808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186533636,"filename":"image_29012025_17_16_04_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/29/f5e3a9749d3edabce125031006d60a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4254524032948655618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186533636,"filename":"image_29012025_17_15_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/29/870f28aea437a3a72a4bf11fdae78946.jpg","text":"TemporaryFile(/tmp/multipartBody7905657615809599466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186533636,"filename":"image_29012025_17_15_35_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332776162","file1":"1332776134","file0":"1332775964","file4":"1332776178","file5":"1332776184","file3":"1332776171"},"map_files_photo_id_array":[{"photo_id":"1332776184","filename":"file5"},{"photo_id":"1332776162","filename":"file2"},{"photo_id":"1332776178","filename":"file4"},{"photo_id":"1332776134","filename":"file1"},{"photo_id":"1332775964","filename":"file0"},{"photo_id":"1332776171","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332776171":["hashtag1","hashtag2"]},{"1332775964":["hashtag1","hashtag2"]},{"1332776134":["hashtag1","hashtag2"]},{"1332776184":["hashtag1","hashtag2"]},{"1332776178":["hashtag1","hashtag2"]},{"1332776162":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332776171, 1332775964, 1332776134, 1332776184, 1332776178, 1332776162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.7420539855957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:35:32.925967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_14_10350.jpg', '/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_25_10348.jpg', '/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_34_9370.jpg', '/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_45_10361.jpg', '/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_25_10342.jpg', '/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_34_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_14_10350.jpg
/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_25_10348.jpg
/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_34_9370.jpg
/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_45_10361.jpg
/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_25_10342.jpg
/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_34_9400.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.614232063293457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 22:35:42.997494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_14_10350.jpg', '/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_25_10348.jpg', '/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_34_9370.jpg', '/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_45_10361.jpg', '/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_25_10342.jpg', '/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_34_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_14_10350.jpg
/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_25_10348.jpg
/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_34_9370.jpg
/home/pi/Desktop/images/29012025/17/16/image_29012025_17_16_45_10361.jpg
/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_25_10342.jpg
/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_34_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332776435","1332776447","1332776405","1332776440","1332776443","1332776399"],"photo_ids_order":["1332776399","1332776405","1332776435","1332776440","1332776443","1332776447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e87c612f1767ea1f2c7e14637022e3f3.jpg","text":"TemporaryFile(/tmp/multipartBody6086589823562250900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186603901,"filename":"image_29012025_17_16_34_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/29/c2bb9e5db5115b939b0322e064936154.jpg","text":"TemporaryFile(/tmp/multipartBody1193683626943757613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186603901,"filename":"image_29012025_17_17_34_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/29/41651a0a43f6ba21dad17dec54ed054e.jpg","text":"TemporaryFile(/tmp/multipartBody6655846515442571843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186603901,"filename":"image_29012025_17_16_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/29/4f3a43f4fecdffa5e1d163bc7a334b5e.jpg","text":"TemporaryFile(/tmp/multipartBody3890061510368629314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186603901,"filename":"image_29012025_17_16_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/29/1f383e49ec855fc13aa9852599ff9b98.jpg","text":"TemporaryFile(/tmp/multipartBody1757749168793675555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186603901,"filename":"image_29012025_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/29/869a7da6408172eb343ab7bfdf252a8b.jpg","text":"TemporaryFile(/tmp/multipartBody3477099536118543459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186603901,"filename":"image_29012025_17_16_14_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332776435","file1":"1332776405","file0":"1332776399","file4":"1332776443","file5":"1332776447","file3":"1332776440"},"map_files_photo_id_array":[{"photo_id":"1332776447","filename":"file5"},{"photo_id":"1332776435","filename":"file2"},{"photo_id":"1332776443","filename":"file4"},{"photo_id":"1332776405","filename":"file1"},{"photo_id":"1332776399","filename":"file0"},{"photo_id":"1332776440","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332776435":["hashtag1","hashtag2"]},{"1332776447":["hashtag1","hashtag2"]},{"1332776405":["hashtag1","hashtag2"]},{"1332776440":["hashtag1","hashtag2"]},{"1332776443":["hashtag1","hashtag2"]},{"1332776399":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332776435, 1332776447, 1332776405, 1332776440, 1332776443, 1332776399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.99119710922241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:36:33.267020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_45_10344.jpg', '/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_55_10407.jpg', '/home/pi/Desktop/images/29012025/17/17/image_29012025_17_18_04_9366.jpg', '/home/pi/Desktop/images/29012025/17/18/image_29012025_17_18_15_10365.jpg', '/home/pi/Desktop/images/29012025/17/18/image_29012025_17_18_24_9375.jpg', '/home/pi/Desktop/images/29012025/17/18/image_29012025_17_18_35_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_45_10344.jpg
/home/pi/Desktop/images/29012025/17/17/image_29012025_17_17_55_10407.jpg
/home/pi/Desktop/images/29012025/17/17/image_29012025_17_18_04_9366.jpg
/home/pi/Desktop/images/29012025/17/18/image_29012025_17_18_15_10365.jpg
/home/pi/Desktop/images/29012025/17/18/image_29012025_17_18_24_9375.jpg
/home/pi/Desktop/images/29012025/17/18/image_29012025_17_18_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":["1332776458","1332776562","1332776556","1332776511","1332776570","1332776567"],"photo_ids_order":["1332776458","1332776511","1332776556","1332776562","1332776567","1332776570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f623fcb79c8dc6be522829f9598f2454.jpg","text":"TemporaryFile(/tmp/multipartBody7266308931474256328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186654247,"filename":"image_29012025_17_17_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/29/a56fe66fc0496306e059be8d167a0939.jpg","text":"TemporaryFile(/tmp/multipartBody6113365975245662605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186654247,"filename":"image_29012025_17_18_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/29/9394870183ab6e00111d02323d584d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2088200404132939015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186654247,"filename":"image_29012025_17_18_04_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/29/0f590785a9cc78d528a20608b79dbf66.jpg","text":"TemporaryFile(/tmp/multipartBody5706400504626130407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186654247,"filename":"image_29012025_17_17_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/29/c7d8c8fabe1454b5cffe90b17df2f48c.jpg","text":"TemporaryFile(/tmp/multipartBody1476281453758571927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186654247,"filename":"image_29012025_17_18_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/29/2bb96863471a5b6afb61b7779d059278.jpg","text":"TemporaryFile(/tmp/multipartBody4047569175323165739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186654247,"filename":"image_29012025_17_18_24_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332776556","file1":"1332776511","file0":"1332776458","file4":"1332776567","file5":"1332776570","file3":"1332776562"},"map_files_photo_id_array":[{"photo_id":"1332776570","filename":"file5"},{"photo_id":"1332776556","filename":"file2"},{"photo_id":"1332776567","filename":"file4"},{"photo_id":"1332776511","filename":"file1"},{"photo_id":"1332776458","filename":"file0"},{"photo_id":"1332776562","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332776458":["hashtag1","hashtag2"]},{"1332776562":["hashtag1","hashtag2"]},{"1332776556":["hashtag1","hashtag2"]},{"1332776511":["hashtag1","hashtag2"]},{"1332776570":["hashtag1","hashtag2"]},{"1332776567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332776458, 1332776562, 1332776556, 1332776511, 1332776570, 1332776567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.12176179885864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:37:32.342007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/18/image_29012025_17_18_45_10404.jpg', '/home/pi/Desktop/images/29012025/17/18/image_29012025_17_18_54_9351.jpg', '/home/pi/Desktop/images/29012025/17/18/image_29012025_17_19_05_10357.jpg', '/home/pi/Desktop/images/29012025/17/19/image_29012025_17_19_15_10397.jpg', '/home/pi/Desktop/images/29012025/17/19/image_29012025_17_19_24_9349.jpg', '/home/pi/Desktop/images/29012025/17/19/image_29012025_17_19_35_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/18/image_29012025_17_18_45_10404.jpg
/home/pi/Desktop/images/29012025/17/18/image_29012025_17_18_54_9351.jpg
/home/pi/Desktop/images/29012025/17/18/image_29012025_17_19_05_10357.jpg
/home/pi/Desktop/images/29012025/17/19/image_29012025_17_19_15_10397.jpg
/home/pi/Desktop/images/29012025/17/19/image_29012025_17_19_24_9349.jpg
/home/pi/Desktop/images/29012025/17/19/image_29012025_17_19_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":["1332776753","1332776720","1332776695","1332776728","1332776748","1332776699"],"photo_ids_order":["1332776695","1332776699","1332776720","1332776728","1332776748","1332776753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d89067c2e2f5021d4892a04db5b71477.jpg","text":"TemporaryFile(/tmp/multipartBody8909742135563780426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186713335,"filename":"image_29012025_17_19_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/29/93fa916d943e130eba5ed8895376ae2f.jpg","text":"TemporaryFile(/tmp/multipartBody8224459804993742949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186713335,"filename":"image_29012025_17_19_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/29/fcf75e82332a756b182a260b8b5372e5.jpg","text":"TemporaryFile(/tmp/multipartBody8047106250063974596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186713335,"filename":"image_29012025_17_18_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/29/4cd8a5ab80d3e9d55e89951f0602217b.jpg","text":"TemporaryFile(/tmp/multipartBody3729765793955402708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186713335,"filename":"image_29012025_17_19_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/29/5ec6cdccf7c7af7f7ff474b15d2b4dd0.jpg","text":"TemporaryFile(/tmp/multipartBody4289234108386481078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186713335,"filename":"image_29012025_17_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/29/1a08a32d7b0b4d28582b6fbbe547130e.jpg","text":"TemporaryFile(/tmp/multipartBody7298420564576749087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186713335,"filename":"image_29012025_17_18_54_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332776720","file1":"1332776699","file0":"1332776695","file4":"1332776748","file5":"1332776753","file3":"1332776728"},"map_files_photo_id_array":[{"photo_id":"1332776753","filename":"file5"},{"photo_id":"1332776720","filename":"file2"},{"photo_id":"1332776748","filename":"file4"},{"photo_id":"1332776699","filename":"file1"},{"photo_id":"1332776695","filename":"file0"},{"photo_id":"1332776728","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332776753":["hashtag1","hashtag2"]},{"1332776720":["hashtag1","hashtag2"]},{"1332776695":["hashtag1","hashtag2"]},{"1332776728":["hashtag1","hashtag2"]},{"1332776748":["hashtag1","hashtag2"]},{"1332776699":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332776753, 1332776720, 1332776695, 1332776728, 1332776748, 1332776699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.759685039520264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:38:32.509170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/19/image_29012025_17_19_44_9457.jpg', '/home/pi/Desktop/images/29012025/17/19/image_29012025_17_19_55_10358.jpg', '/home/pi/Desktop/images/29012025/17/19/image_29012025_17_20_05_10358.jpg', '/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_14_9365.jpg', '/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_25_10364.jpg', '/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_35_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/19/image_29012025_17_19_44_9457.jpg
/home/pi/Desktop/images/29012025/17/19/image_29012025_17_19_55_10358.jpg
/home/pi/Desktop/images/29012025/17/19/image_29012025_17_20_05_10358.jpg
/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_14_9365.jpg
/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_25_10364.jpg
/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_35_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":["1332776861","1332776872","1332776866","1332776883","1332776877","1332776870"],"photo_ids_order":["1332776861","1332776866","1332776870","1332776872","1332776877","1332776883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8f56c0d295ec88a128d4f7086378db1f.jpg","text":"TemporaryFile(/tmp/multipartBody4517462154165734268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186773511,"filename":"image_29012025_17_19_44_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/29/2c2f8ac9805b82b8e963c33e0e6c03ea.jpg","text":"TemporaryFile(/tmp/multipartBody7760695480836841753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186773511,"filename":"image_29012025_17_20_14_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/29/0306fdd427f979cccf7aee1e292b17db.jpg","text":"TemporaryFile(/tmp/multipartBody4885170932416899827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186773511,"filename":"image_29012025_17_19_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/29/b3f17db237d9282cd63e07ac19802b73.jpg","text":"TemporaryFile(/tmp/multipartBody2306408167075585858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186773511,"filename":"image_29012025_17_20_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/29/3e69da9b2d955a01576c45cd629cbba8.jpg","text":"TemporaryFile(/tmp/multipartBody6383498497590626150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186773511,"filename":"image_29012025_17_20_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/29/a3f2e0a5f1a8fbba9fefe7187b5a9fc9.jpg","text":"TemporaryFile(/tmp/multipartBody2633628657337198232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186773511,"filename":"image_29012025_17_20_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332776870","file1":"1332776866","file0":"1332776861","file4":"1332776877","file5":"1332776883","file3":"1332776872"},"map_files_photo_id_array":[{"photo_id":"1332776883","filename":"file5"},{"photo_id":"1332776870","filename":"file2"},{"photo_id":"1332776877","filename":"file4"},{"photo_id":"1332776866","filename":"file1"},{"photo_id":"1332776861","filename":"file0"},{"photo_id":"1332776872","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332776861":["hashtag1","hashtag2"]},{"1332776872":["hashtag1","hashtag2"]},{"1332776866":["hashtag1","hashtag2"]},{"1332776883":["hashtag1","hashtag2"]},{"1332776877":["hashtag1","hashtag2"]},{"1332776870":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332776861, 1332776872, 1332776866, 1332776883, 1332776877, 1332776870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20038986206055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:39:32.814647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_44_9353.jpg', '/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_55_10378.jpg', '/home/pi/Desktop/images/29012025/17/20/image_29012025_17_21_04_9348.jpg', '/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_15_10362.jpg', '/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_25_10376.jpg', '/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_34_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_44_9353.jpg
/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_55_10378.jpg
/home/pi/Desktop/images/29012025/17/20/image_29012025_17_21_04_9348.jpg
/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_15_10362.jpg
/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_25_10376.jpg
/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_34_9418.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.6075122356414795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 22:39:42.831071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_44_9353.jpg', '/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_55_10378.jpg', '/home/pi/Desktop/images/29012025/17/20/image_29012025_17_21_04_9348.jpg', '/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_15_10362.jpg', '/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_25_10376.jpg', '/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_34_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_44_9353.jpg
/home/pi/Desktop/images/29012025/17/20/image_29012025_17_20_55_10378.jpg
/home/pi/Desktop/images/29012025/17/20/image_29012025_17_21_04_9348.jpg
/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_15_10362.jpg
/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_25_10376.jpg
/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_34_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332776930","1332776933","1332776936","1332776917","1332776926","1332776910"],"photo_ids_order":["1332776910","1332776917","1332776926","1332776930","1332776933","1332776936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8b022df70d563cbc23f67d2d28574ca8.jpg","text":"TemporaryFile(/tmp/multipartBody5696229445879027166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186843743,"filename":"image_29012025_17_21_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/29/ea08fa4aa134f4e802c7903f25120c55.jpg","text":"TemporaryFile(/tmp/multipartBody4348631077186512385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186843743,"filename":"image_29012025_17_21_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/29/00016088d716a099121fc0ef58827491.jpg","text":"TemporaryFile(/tmp/multipartBody8466265516120384822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186843743,"filename":"image_29012025_17_21_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/29/146c284afbc7d248f9d2b73a21a89e63.jpg","text":"TemporaryFile(/tmp/multipartBody7402378846591959495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186843743,"filename":"image_29012025_17_20_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/29/7007e7d97286bfc99e58fab0d29332fb.jpg","text":"TemporaryFile(/tmp/multipartBody8184568033523422079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186843743,"filename":"image_29012025_17_21_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/29/97f977b89b92ffa143c117fdfe9e58db.jpg","text":"TemporaryFile(/tmp/multipartBody7314347352122064465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186843743,"filename":"image_29012025_17_20_44_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332776926","file1":"1332776917","file0":"1332776910","file4":"1332776933","file5":"1332776936","file3":"1332776930"},"map_files_photo_id_array":[{"photo_id":"1332776936","filename":"file5"},{"photo_id":"1332776926","filename":"file2"},{"photo_id":"1332776933","filename":"file4"},{"photo_id":"1332776917","filename":"file1"},{"photo_id":"1332776910","filename":"file0"},{"photo_id":"1332776930","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332776930":["hashtag1","hashtag2"]},{"1332776933":["hashtag1","hashtag2"]},{"1332776936":["hashtag1","hashtag2"]},{"1332776917":["hashtag1","hashtag2"]},{"1332776926":["hashtag1","hashtag2"]},{"1332776910":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332776930, 1332776933, 1332776936, 1332776917, 1332776926, 1332776910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.73821473121643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:40:33.090784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_45_10360.jpg', '/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_55_10362.jpg', '/home/pi/Desktop/images/29012025/17/21/image_29012025_17_22_04_9373.jpg', '/home/pi/Desktop/images/29012025/17/22/image_29012025_17_22_15_10337.jpg', '/home/pi/Desktop/images/29012025/17/22/image_29012025_17_22_24_9361.jpg', '/home/pi/Desktop/images/29012025/17/22/image_29012025_17_22_35_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_45_10360.jpg
/home/pi/Desktop/images/29012025/17/21/image_29012025_17_21_55_10362.jpg
/home/pi/Desktop/images/29012025/17/21/image_29012025_17_22_04_9373.jpg
/home/pi/Desktop/images/29012025/17/22/image_29012025_17_22_15_10337.jpg
/home/pi/Desktop/images/29012025/17/22/image_29012025_17_22_24_9361.jpg
/home/pi/Desktop/images/29012025/17/22/image_29012025_17_22_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":["1332777019","1332776979","1332776976","1332777006","1332776999","1332776963"],"photo_ids_order":["1332776963","1332776976","1332776979","1332776999","1332777006","1332777019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6e655c0fce1120bfa7bce36d58674a59.jpg","text":"TemporaryFile(/tmp/multipartBody2614289455481075772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186894076,"filename":"image_29012025_17_22_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/29/a1598e2e406bbcd81e0bbe7b37391bba.jpg","text":"TemporaryFile(/tmp/multipartBody863233011395585355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186894076,"filename":"image_29012025_17_22_04_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/29/89943ac6f584bd9ad1d79179cc10b14c.jpg","text":"TemporaryFile(/tmp/multipartBody6144639241186731313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186894076,"filename":"image_29012025_17_21_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/29/22caddcec0357b0e459ea481236e7e85.jpg","text":"TemporaryFile(/tmp/multipartBody8350536378910703863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186894076,"filename":"image_29012025_17_22_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/29/c7d921d4e424e75d6fc3c1e64339815a.jpg","text":"TemporaryFile(/tmp/multipartBody5731945263026643687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186894076,"filename":"image_29012025_17_22_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/29/06b91e1fca0993b93a379626fba51be8.jpg","text":"TemporaryFile(/tmp/multipartBody1455780824865869796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186894076,"filename":"image_29012025_17_21_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332776979","file1":"1332776976","file0":"1332776963","file4":"1332777006","file5":"1332777019","file3":"1332776999"},"map_files_photo_id_array":[{"photo_id":"1332777019","filename":"file5"},{"photo_id":"1332776979","filename":"file2"},{"photo_id":"1332777006","filename":"file4"},{"photo_id":"1332776976","filename":"file1"},{"photo_id":"1332776963","filename":"file0"},{"photo_id":"1332776999","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332777019":["hashtag1","hashtag2"]},{"1332776979":["hashtag1","hashtag2"]},{"1332776976":["hashtag1","hashtag2"]},{"1332777006":["hashtag1","hashtag2"]},{"1332776999":["hashtag1","hashtag2"]},{"1332776963":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332777019, 1332776979, 1332776976, 1332777006, 1332776999, 1332776963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.671600341796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:41:33.438380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/22/image_29012025_17_22_45_10361.jpg', '/home/pi/Desktop/images/29012025/17/22/image_29012025_17_22_54_9433.jpg', '/home/pi/Desktop/images/29012025/17/22/image_29012025_17_23_05_10436.jpg', '/home/pi/Desktop/images/29012025/17/23/image_29012025_17_23_14_9435.jpg', '/home/pi/Desktop/images/29012025/17/23/image_29012025_17_23_25_10348.jpg', '/home/pi/Desktop/images/29012025/17/23/image_29012025_17_23_35_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/22/image_29012025_17_22_45_10361.jpg
/home/pi/Desktop/images/29012025/17/22/image_29012025_17_22_54_9433.jpg
/home/pi/Desktop/images/29012025/17/22/image_29012025_17_23_05_10436.jpg
/home/pi/Desktop/images/29012025/17/23/image_29012025_17_23_14_9435.jpg
/home/pi/Desktop/images/29012025/17/23/image_29012025_17_23_25_10348.jpg
/home/pi/Desktop/images/29012025/17/23/image_29012025_17_23_35_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":["1332777358","1332777247","1332777255","1332777339","1332777365","1332777251"],"photo_ids_order":["1332777247","1332777251","1332777255","1332777339","1332777358","1332777365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e7bef757ae768292ad80d8ad98875945.jpg","text":"TemporaryFile(/tmp/multipartBody1519760669041992689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186954442,"filename":"image_29012025_17_23_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/29/7543a59240b45ccc3656a5abc88c9f36.jpg","text":"TemporaryFile(/tmp/multipartBody6415270601094546464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186954442,"filename":"image_29012025_17_22_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/29/042b2afe5111d8453744da8b4680ac3f.jpg","text":"TemporaryFile(/tmp/multipartBody7220072495395032406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186954442,"filename":"image_29012025_17_23_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/29/9ec75f3cf2a75399c51a7fe94c2fd07b.jpg","text":"TemporaryFile(/tmp/multipartBody2518057706957923748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186954442,"filename":"image_29012025_17_23_14_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/29/4126defc05f9d20ff2cacc34b8859f3d.jpg","text":"TemporaryFile(/tmp/multipartBody6980120355520700516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186954442,"filename":"image_29012025_17_23_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/29/21d0269c943c36467dec02fa6a10d5fd.jpg","text":"TemporaryFile(/tmp/multipartBody1542268956020780828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738186954442,"filename":"image_29012025_17_22_54_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332777255","file1":"1332777251","file0":"1332777247","file4":"1332777358","file5":"1332777365","file3":"1332777339"},"map_files_photo_id_array":[{"photo_id":"1332777365","filename":"file5"},{"photo_id":"1332777255","filename":"file2"},{"photo_id":"1332777358","filename":"file4"},{"photo_id":"1332777251","filename":"file1"},{"photo_id":"1332777247","filename":"file0"},{"photo_id":"1332777339","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332777358":["hashtag1","hashtag2"]},{"1332777247":["hashtag1","hashtag2"]},{"1332777255":["hashtag1","hashtag2"]},{"1332777339":["hashtag1","hashtag2"]},{"1332777365":["hashtag1","hashtag2"]},{"1332777251":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332777358, 1332777247, 1332777255, 1332777339, 1332777365, 1332777251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42121481895447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:42:32.553674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/23/image_29012025_17_23_44_9438.jpg', '/home/pi/Desktop/images/29012025/17/23/image_29012025_17_23_55_10368.jpg', '/home/pi/Desktop/images/29012025/17/23/image_29012025_17_24_04_9411.jpg', '/home/pi/Desktop/images/29012025/17/24/image_29012025_17_24_14_10326.jpg', '/home/pi/Desktop/images/29012025/17/24/image_29012025_17_24_25_10335.jpg', '/home/pi/Desktop/images/29012025/17/24/image_29012025_17_24_34_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/23/image_29012025_17_23_44_9438.jpg
/home/pi/Desktop/images/29012025/17/23/image_29012025_17_23_55_10368.jpg
/home/pi/Desktop/images/29012025/17/23/image_29012025_17_24_04_9411.jpg
/home/pi/Desktop/images/29012025/17/24/image_29012025_17_24_14_10326.jpg
/home/pi/Desktop/images/29012025/17/24/image_29012025_17_24_25_10335.jpg
/home/pi/Desktop/images/29012025/17/24/image_29012025_17_24_34_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":["1332777481","1332777484","1332777492","1332777477","1332777488","1332777473"],"photo_ids_order":["1332777473","1332777477","1332777481","1332777484","1332777488","1332777492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a61af1b59c8f1fe1ddf0dde019db8406.jpg","text":"TemporaryFile(/tmp/multipartBody4746651624074203729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187013539,"filename":"image_29012025_17_24_04_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/29/adf7efdc8baffbcfd88599cf6ba19679.jpg","text":"TemporaryFile(/tmp/multipartBody8822175572335174841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187013539,"filename":"image_29012025_17_24_14_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/29/fde90af04f41f99d1c971f4ed1f99a19.jpg","text":"TemporaryFile(/tmp/multipartBody1465200262565025484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187013539,"filename":"image_29012025_17_24_34_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/29/f8d89dc5749e0094704c3f0627e7b6df.jpg","text":"TemporaryFile(/tmp/multipartBody475145020309519464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187013539,"filename":"image_29012025_17_23_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/29/c063bf7b904860b7b5f1521a6b8d72f1.jpg","text":"TemporaryFile(/tmp/multipartBody5039470316952153514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187013539,"filename":"image_29012025_17_24_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/29/13aa86b7044e83071684e1b71c8f065a.jpg","text":"TemporaryFile(/tmp/multipartBody5771335234198143318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187013539,"filename":"image_29012025_17_23_44_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332777481","file1":"1332777477","file0":"1332777473","file4":"1332777488","file5":"1332777492","file3":"1332777484"},"map_files_photo_id_array":[{"photo_id":"1332777492","filename":"file5"},{"photo_id":"1332777481","filename":"file2"},{"photo_id":"1332777488","filename":"file4"},{"photo_id":"1332777477","filename":"file1"},{"photo_id":"1332777473","filename":"file0"},{"photo_id":"1332777484","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332777481":["hashtag1","hashtag2"]},{"1332777484":["hashtag1","hashtag2"]},{"1332777492":["hashtag1","hashtag2"]},{"1332777477":["hashtag1","hashtag2"]},{"1332777488":["hashtag1","hashtag2"]},{"1332777473":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332777481, 1332777484, 1332777492, 1332777477, 1332777488, 1332777473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17303967475891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:43:32.750793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/24/image_29012025_17_24_45_10363.jpg', '/home/pi/Desktop/images/29012025/17/24/image_29012025_17_24_55_10476.jpg', '/home/pi/Desktop/images/29012025/17/24/image_29012025_17_25_04_9392.jpg', '/home/pi/Desktop/images/29012025/17/25/image_29012025_17_25_15_10384.jpg', '/home/pi/Desktop/images/29012025/17/25/image_29012025_17_25_24_9339.jpg', '/home/pi/Desktop/images/29012025/17/25/image_29012025_17_25_35_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/24/image_29012025_17_24_45_10363.jpg
/home/pi/Desktop/images/29012025/17/24/image_29012025_17_24_55_10476.jpg
/home/pi/Desktop/images/29012025/17/24/image_29012025_17_25_04_9392.jpg
/home/pi/Desktop/images/29012025/17/25/image_29012025_17_25_15_10384.jpg
/home/pi/Desktop/images/29012025/17/25/image_29012025_17_25_24_9339.jpg
/home/pi/Desktop/images/29012025/17/25/image_29012025_17_25_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":["1332777532","1332777511","1332777564","1332777557","1332777569","1332777536"],"photo_ids_order":["1332777511","1332777532","1332777536","1332777557","1332777564","1332777569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/19ee4fd4ca79a919dfcc21cfd02c9490.jpg","text":"TemporaryFile(/tmp/multipartBody7191765196408195947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187073732,"filename":"image_29012025_17_24_55_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/29/2bf2100c62ece5917c2635d69928aca4.jpg","text":"TemporaryFile(/tmp/multipartBody6019584625042077241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187073732,"filename":"image_29012025_17_24_45_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/29/ba9fdb5bc450679c92ec4954b4f5fcaf.jpg","text":"TemporaryFile(/tmp/multipartBody296724328321441625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187073732,"filename":"image_29012025_17_25_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/29/3eb5bd53560899921aa065f26071de15.jpg","text":"TemporaryFile(/tmp/multipartBody5728558185442795537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187073732,"filename":"image_29012025_17_25_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/29/14439fefd69a81a622e0860eb9b04fa3.jpg","text":"TemporaryFile(/tmp/multipartBody6762200231053009012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187073732,"filename":"image_29012025_17_25_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/29/3f7a841e177f69f73a7e51445e9fec6c.jpg","text":"TemporaryFile(/tmp/multipartBody7062522692701099773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187073732,"filename":"image_29012025_17_25_04_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332777536","file1":"1332777532","file0":"1332777511","file4":"1332777564","file5":"1332777569","file3":"1332777557"},"map_files_photo_id_array":[{"photo_id":"1332777569","filename":"file5"},{"photo_id":"1332777536","filename":"file2"},{"photo_id":"1332777564","filename":"file4"},{"photo_id":"1332777532","filename":"file1"},{"photo_id":"1332777511","filename":"file0"},{"photo_id":"1332777557","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332777532":["hashtag1","hashtag2"]},{"1332777511":["hashtag1","hashtag2"]},{"1332777564":["hashtag1","hashtag2"]},{"1332777557":["hashtag1","hashtag2"]},{"1332777569":["hashtag1","hashtag2"]},{"1332777536":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332777532, 1332777511, 1332777564, 1332777557, 1332777569, 1332777536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.71095371246338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:44:32.966981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/25/image_29012025_17_25_45_10340.jpg', '/home/pi/Desktop/images/29012025/17/25/image_29012025_17_25_54_9381.jpg', '/home/pi/Desktop/images/29012025/17/25/image_29012025_17_26_05_10357.jpg', '/home/pi/Desktop/images/29012025/17/26/image_29012025_17_26_15_10482.jpg', '/home/pi/Desktop/images/29012025/17/26/image_29012025_17_26_24_9336.jpg', '/home/pi/Desktop/images/29012025/17/26/image_29012025_17_26_44_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/25/image_29012025_17_25_45_10340.jpg
/home/pi/Desktop/images/29012025/17/25/image_29012025_17_25_54_9381.jpg
/home/pi/Desktop/images/29012025/17/25/image_29012025_17_26_05_10357.jpg
/home/pi/Desktop/images/29012025/17/26/image_29012025_17_26_15_10482.jpg
/home/pi/Desktop/images/29012025/17/26/image_29012025_17_26_24_9336.jpg
/home/pi/Desktop/images/29012025/17/26/image_29012025_17_26_44_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":["1332777602","1332777605","1332777613","1332777597","1332777609","1332777600"],"photo_ids_order":["1332777597","1332777600","1332777602","1332777605","1332777609","1332777613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bce40a1fd3b25fb6d535169b76163390.jpg","text":"TemporaryFile(/tmp/multipartBody7350560066553039388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187133965,"filename":"image_29012025_17_26_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/29/7c67ffb6a32b2ed5acb4f6906029e733.jpg","text":"TemporaryFile(/tmp/multipartBody7972643669625708535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187133965,"filename":"image_29012025_17_26_15_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/29/ed918cc6d9431333a2b4b0053a4fa7b0.jpg","text":"TemporaryFile(/tmp/multipartBody2023894582139922167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187133965,"filename":"image_29012025_17_26_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/29/bc870ebdbe77cd88b7d64970c23630dd.jpg","text":"TemporaryFile(/tmp/multipartBody3738072145396245335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187133965,"filename":"image_29012025_17_25_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/29/6fd9ad2d7599b76844b6a234adacb975.jpg","text":"TemporaryFile(/tmp/multipartBody5002710251131986634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187133965,"filename":"image_29012025_17_26_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/29/19f29989007be3bfe7525c1644475bac.jpg","text":"TemporaryFile(/tmp/multipartBody7926370934997332967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187133965,"filename":"image_29012025_17_25_54_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332777602","file1":"1332777600","file0":"1332777597","file4":"1332777609","file5":"1332777613","file3":"1332777605"},"map_files_photo_id_array":[{"photo_id":"1332777613","filename":"file5"},{"photo_id":"1332777602","filename":"file2"},{"photo_id":"1332777609","filename":"file4"},{"photo_id":"1332777600","filename":"file1"},{"photo_id":"1332777597","filename":"file0"},{"photo_id":"1332777605","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332777602":["hashtag1","hashtag2"]},{"1332777605":["hashtag1","hashtag2"]},{"1332777613":["hashtag1","hashtag2"]},{"1332777597":["hashtag1","hashtag2"]},{"1332777609":["hashtag1","hashtag2"]},{"1332777600":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332777602, 1332777605, 1332777613, 1332777597, 1332777609, 1332777600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27457046508789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:45:32.222832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/26/image_29012025_17_26_55_10369.jpg', '/home/pi/Desktop/images/29012025/17/26/image_29012025_17_27_05_10362.jpg', '/home/pi/Desktop/images/29012025/17/27/image_29012025_17_27_14_9333.jpg', '/home/pi/Desktop/images/29012025/17/27/image_29012025_17_27_25_10364.jpg', '/home/pi/Desktop/images/29012025/17/27/image_29012025_17_27_35_10352.jpg', '/home/pi/Desktop/images/29012025/17/27/image_29012025_17_27_44_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/26/image_29012025_17_26_55_10369.jpg
/home/pi/Desktop/images/29012025/17/26/image_29012025_17_27_05_10362.jpg
/home/pi/Desktop/images/29012025/17/27/image_29012025_17_27_14_9333.jpg
/home/pi/Desktop/images/29012025/17/27/image_29012025_17_27_25_10364.jpg
/home/pi/Desktop/images/29012025/17/27/image_29012025_17_27_35_10352.jpg
/home/pi/Desktop/images/29012025/17/27/image_29012025_17_27_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":["1332778041","1332777814","1332777989","1332778093","1332777917","1332778063"],"photo_ids_order":["1332777814","1332777917","1332777989","1332778041","1332778063","1332778093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d1c3c63db077f5bd9f71c91619cb1522.jpg","text":"TemporaryFile(/tmp/multipartBody4458687698956099675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187193229,"filename":"image_29012025_17_27_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/29/894a5d8a04ff6663f5ccdf5097ffa35b.jpg","text":"TemporaryFile(/tmp/multipartBody7872855112789760823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187193229,"filename":"image_29012025_17_26_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/29/08cdd9bcd50e1c61c7404bbf0442fb89.jpg","text":"TemporaryFile(/tmp/multipartBody1979162981665619759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187193229,"filename":"image_29012025_17_27_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/29/a1b3852c7ed3e910231bc24dd46b3a6d.jpg","text":"TemporaryFile(/tmp/multipartBody6703550170636296174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187193229,"filename":"image_29012025_17_27_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/29/7f28ff088442925e31fe7b603e44be6c.jpg","text":"TemporaryFile(/tmp/multipartBody7690121692385957646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187193229,"filename":"image_29012025_17_27_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/29/64a3d3d3bee7683a08fd92827b782768.jpg","text":"TemporaryFile(/tmp/multipartBody2892865372340085434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187193229,"filename":"image_29012025_17_27_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332777989","file1":"1332777917","file0":"1332777814","file4":"1332778063","file5":"1332778093","file3":"1332778041"},"map_files_photo_id_array":[{"photo_id":"1332778093","filename":"file5"},{"photo_id":"1332777989","filename":"file2"},{"photo_id":"1332778063","filename":"file4"},{"photo_id":"1332777917","filename":"file1"},{"photo_id":"1332777814","filename":"file0"},{"photo_id":"1332778041","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332778041":["hashtag1","hashtag2"]},{"1332777814":["hashtag1","hashtag2"]},{"1332777989":["hashtag1","hashtag2"]},{"1332778093":["hashtag1","hashtag2"]},{"1332777917":["hashtag1","hashtag2"]},{"1332778063":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332778041, 1332777814, 1332777989, 1332778093, 1332777917, 1332778063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2005615234375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:46:32.450998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/27/image_29012025_17_27_55_10363.jpg', '/home/pi/Desktop/images/29012025/17/28/image_29012025_17_28_15_10407.jpg', '/home/pi/Desktop/images/29012025/17/28/image_29012025_17_28_25_10346.jpg', '/home/pi/Desktop/images/29012025/17/28/image_29012025_17_28_34_9454.jpg', '/home/pi/Desktop/images/29012025/17/28/image_29012025_17_28_45_10362.jpg', '/home/pi/Desktop/images/29012025/17/28/image_29012025_17_28_55_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/27/image_29012025_17_27_55_10363.jpg
/home/pi/Desktop/images/29012025/17/28/image_29012025_17_28_15_10407.jpg
/home/pi/Desktop/images/29012025/17/28/image_29012025_17_28_25_10346.jpg
/home/pi/Desktop/images/29012025/17/28/image_29012025_17_28_34_9454.jpg
/home/pi/Desktop/images/29012025/17/28/image_29012025_17_28_45_10362.jpg
/home/pi/Desktop/images/29012025/17/28/image_29012025_17_28_55_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":["1332778199","1332778193","1332778175","1332778154","1332778202","1332778205"],"photo_ids_order":["1332778154","1332778175","1332778193","1332778199","1332778202","1332778205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dcb52f70cf3a38ab0edfb6fcdbe02498.jpg","text":"TemporaryFile(/tmp/multipartBody7691079868306321309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187253443,"filename":"image_29012025_17_28_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/29/e6d7a66dc6b45257e2bda78695364d5a.jpg","text":"TemporaryFile(/tmp/multipartBody2039299937330593771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187253443,"filename":"image_29012025_17_28_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/29/822f0ead0dbd15269ee2837ae6ef90b7.jpg","text":"TemporaryFile(/tmp/multipartBody213916265028418267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187253443,"filename":"image_29012025_17_28_15_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/29/1346d60985cf9ca077dfdcadbf016610.jpg","text":"TemporaryFile(/tmp/multipartBody9107972796407160307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187253443,"filename":"image_29012025_17_27_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/29/f262ad9e540bb2b3530dcaeed39e864f.jpg","text":"TemporaryFile(/tmp/multipartBody6515590322276214756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187253443,"filename":"image_29012025_17_28_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/29/54a930048099fac5ab368e8791c3c5bf.jpg","text":"TemporaryFile(/tmp/multipartBody7780599723087543320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187253443,"filename":"image_29012025_17_28_55_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332778193","file1":"1332778175","file0":"1332778154","file4":"1332778202","file5":"1332778205","file3":"1332778199"},"map_files_photo_id_array":[{"photo_id":"1332778205","filename":"file5"},{"photo_id":"1332778193","filename":"file2"},{"photo_id":"1332778202","filename":"file4"},{"photo_id":"1332778175","filename":"file1"},{"photo_id":"1332778154","filename":"file0"},{"photo_id":"1332778199","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332778199":["hashtag1","hashtag2"]},{"1332778193":["hashtag1","hashtag2"]},{"1332778175":["hashtag1","hashtag2"]},{"1332778154":["hashtag1","hashtag2"]},{"1332778202":["hashtag1","hashtag2"]},{"1332778205":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332778199, 1332778193, 1332778175, 1332778154, 1332778202, 1332778205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07087755203247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:47:32.610218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/28/image_29012025_17_29_04_9338.jpg', '/home/pi/Desktop/images/29012025/17/29/image_29012025_17_29_15_10348.jpg', '/home/pi/Desktop/images/29012025/17/29/image_29012025_17_29_24_9380.jpg', '/home/pi/Desktop/images/29012025/17/29/image_29012025_17_29_35_10349.jpg', '/home/pi/Desktop/images/29012025/17/29/image_29012025_17_29_45_10518.jpg', '/home/pi/Desktop/images/29012025/17/29/image_29012025_17_29_54_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/28/image_29012025_17_29_04_9338.jpg
/home/pi/Desktop/images/29012025/17/29/image_29012025_17_29_15_10348.jpg
/home/pi/Desktop/images/29012025/17/29/image_29012025_17_29_24_9380.jpg
/home/pi/Desktop/images/29012025/17/29/image_29012025_17_29_35_10349.jpg
/home/pi/Desktop/images/29012025/17/29/image_29012025_17_29_45_10518.jpg
/home/pi/Desktop/images/29012025/17/29/image_29012025_17_29_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":["1332778345","1332778230","1332778388","1332778407","1332778421","1332778226"],"photo_ids_order":["1332778226","1332778230","1332778345","1332778388","1332778407","1332778421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/82125bb3f5085c667e184b69c3789997.jpg","text":"TemporaryFile(/tmp/multipartBody7253245537174812182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187313590,"filename":"image_29012025_17_29_24_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/29/960c297bbd4889c448c78a78e00367a5.jpg","text":"TemporaryFile(/tmp/multipartBody5090655809021838803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187313590,"filename":"image_29012025_17_29_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/29/eb0e4493caf6952e5eddfa2597935bfa.jpg","text":"TemporaryFile(/tmp/multipartBody9017888661209962237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187313590,"filename":"image_29012025_17_29_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/29/9e78e9de9fc4daf76cbbacac63af6b78.jpg","text":"TemporaryFile(/tmp/multipartBody7011999991253082325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187313590,"filename":"image_29012025_17_29_45_10518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e01ad0f2d5255a14f5e8635b0c069e8a.jpg","text":"TemporaryFile(/tmp/multipartBody2742439769348502571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187313590,"filename":"image_29012025_17_29_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/29/47206a059a802e835db62b17e9d17708.jpg","text":"TemporaryFile(/tmp/multipartBody1727836828239441717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187313590,"filename":"image_29012025_17_29_04_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332778345","file1":"1332778230","file0":"1332778226","file4":"1332778407","file5":"1332778421","file3":"1332778388"},"map_files_photo_id_array":[{"photo_id":"1332778421","filename":"file5"},{"photo_id":"1332778345","filename":"file2"},{"photo_id":"1332778407","filename":"file4"},{"photo_id":"1332778230","filename":"file1"},{"photo_id":"1332778226","filename":"file0"},{"photo_id":"1332778388","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332778345":["hashtag1","hashtag2"]},{"1332778230":["hashtag1","hashtag2"]},{"1332778388":["hashtag1","hashtag2"]},{"1332778407":["hashtag1","hashtag2"]},{"1332778421":["hashtag1","hashtag2"]},{"1332778226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332778345, 1332778230, 1332778388, 1332778407, 1332778421, 1332778226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11832022666931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:48:32.919930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/29/image_29012025_17_30_05_10365.jpg', '/home/pi/Desktop/images/29012025/17/30/image_29012025_17_30_15_10340.jpg', '/home/pi/Desktop/images/29012025/17/30/image_29012025_17_30_24_9343.jpg', '/home/pi/Desktop/images/29012025/17/30/image_29012025_17_30_35_10355.jpg', '/home/pi/Desktop/images/29012025/17/30/image_29012025_17_30_45_10333.jpg', '/home/pi/Desktop/images/29012025/17/30/image_29012025_17_30_54_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/29/image_29012025_17_30_05_10365.jpg
/home/pi/Desktop/images/29012025/17/30/image_29012025_17_30_15_10340.jpg
/home/pi/Desktop/images/29012025/17/30/image_29012025_17_30_24_9343.jpg
/home/pi/Desktop/images/29012025/17/30/image_29012025_17_30_35_10355.jpg
/home/pi/Desktop/images/29012025/17/30/image_29012025_17_30_45_10333.jpg
/home/pi/Desktop/images/29012025/17/30/image_29012025_17_30_54_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":["1332778465","1332778470","1332778458","1332778490","1332778448","1332778453"],"photo_ids_order":["1332778448","1332778453","1332778458","1332778465","1332778470","1332778490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1e9c5b4e70b1cfcc09a01c261fe58cbb.jpg","text":"TemporaryFile(/tmp/multipartBody1929706459927998360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187373939,"filename":"image_29012025_17_30_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/29/06db70ef453550756bd12f295945fce9.jpg","text":"TemporaryFile(/tmp/multipartBody2337424886030605724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187373939,"filename":"image_29012025_17_30_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/29/a655ed23000a6f7f588bbe83385c9eaa.jpg","text":"TemporaryFile(/tmp/multipartBody8778791036156144679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187373939,"filename":"image_29012025_17_30_24_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/29/1086367d74b12ec9948ceda35e45021a.jpg","text":"TemporaryFile(/tmp/multipartBody684088761464789287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187373939,"filename":"image_29012025_17_30_54_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/29/13a6e3bf9ba61990ed20ac8e94d03327.jpg","text":"TemporaryFile(/tmp/multipartBody7171660481503275061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187373939,"filename":"image_29012025_17_30_05_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/29/b5e6ebadcf34c2de18bf5f0b7ce94b37.jpg","text":"TemporaryFile(/tmp/multipartBody9080404914990071858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187373939,"filename":"image_29012025_17_30_15_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332778458","file1":"1332778453","file0":"1332778448","file4":"1332778470","file5":"1332778490","file3":"1332778465"},"map_files_photo_id_array":[{"photo_id":"1332778490","filename":"file5"},{"photo_id":"1332778458","filename":"file2"},{"photo_id":"1332778470","filename":"file4"},{"photo_id":"1332778453","filename":"file1"},{"photo_id":"1332778448","filename":"file0"},{"photo_id":"1332778465","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332778465":["hashtag1","hashtag2"]},{"1332778470":["hashtag1","hashtag2"]},{"1332778458":["hashtag1","hashtag2"]},{"1332778490":["hashtag1","hashtag2"]},{"1332778448":["hashtag1","hashtag2"]},{"1332778453":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332778465, 1332778470, 1332778458, 1332778490, 1332778448, 1332778453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.7298002243042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:49:33.119670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/30/image_29012025_17_31_05_10359.jpg', '/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_14_9338.jpg', '/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_25_10354.jpg', '/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_35_10356.jpg', '/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_44_9425.jpg', '/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_55_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/30/image_29012025_17_31_05_10359.jpg
/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_14_9338.jpg
/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_25_10354.jpg
/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_35_10356.jpg
/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_44_9425.jpg
/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_55_10416.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.5916662216186523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 22:49:43.120277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/30/image_29012025_17_31_05_10359.jpg', '/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_14_9338.jpg', '/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_25_10354.jpg', '/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_35_10356.jpg', '/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_44_9425.jpg', '/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_55_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/30/image_29012025_17_31_05_10359.jpg
/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_14_9338.jpg
/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_25_10354.jpg
/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_35_10356.jpg
/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_44_9425.jpg
/home/pi/Desktop/images/29012025/17/31/image_29012025_17_31_55_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":["1332778558","1332778578","1332778571","1332778565","1332778553","1332778601"],"photo_ids_order":["1332778553","1332778558","1332778565","1332778571","1332778578","1332778601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5e2204de262dfd98798d2f0fde513c18.jpg","text":"TemporaryFile(/tmp/multipartBody7695685034492599125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187444057,"filename":"image_29012025_17_31_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/29/38421cc52614d1905a220eba311382df.jpg","text":"TemporaryFile(/tmp/multipartBody8843572036594731771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187444057,"filename":"image_29012025_17_31_44_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/29/162fcb6809e8d448f6bbf25c418679d7.jpg","text":"TemporaryFile(/tmp/multipartBody1361315203787616640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187444057,"filename":"image_29012025_17_31_35_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/29/493a05b97d17b6417758f135aedb1636.jpg","text":"TemporaryFile(/tmp/multipartBody2043202699852841148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187444057,"filename":"image_29012025_17_31_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/29/9ffd6746b55fc428ff7cf73e3a5a6231.jpg","text":"TemporaryFile(/tmp/multipartBody1701669735266170957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187444057,"filename":"image_29012025_17_31_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/29/0db06e4726e38a303f005b830b2bc603.jpg","text":"TemporaryFile(/tmp/multipartBody4458436364168034999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187444057,"filename":"image_29012025_17_31_55_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332778565","file1":"1332778558","file0":"1332778553","file4":"1332778578","file5":"1332778601","file3":"1332778571"},"map_files_photo_id_array":[{"photo_id":"1332778601","filename":"file5"},{"photo_id":"1332778565","filename":"file2"},{"photo_id":"1332778578","filename":"file4"},{"photo_id":"1332778558","filename":"file1"},{"photo_id":"1332778553","filename":"file0"},{"photo_id":"1332778571","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332778558":["hashtag1","hashtag2"]},{"1332778578":["hashtag1","hashtag2"]},{"1332778571":["hashtag1","hashtag2"]},{"1332778565":["hashtag1","hashtag2"]},{"1332778553":["hashtag1","hashtag2"]},{"1332778601":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332778558, 1332778578, 1332778571, 1332778565, 1332778553, 1332778601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.388718366622925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:50:32.311275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/31/image_29012025_17_32_05_10380.jpg', '/home/pi/Desktop/images/29012025/17/32/image_29012025_17_32_14_9310.jpg', '/home/pi/Desktop/images/29012025/17/32/image_29012025_17_32_25_10349.jpg', '/home/pi/Desktop/images/29012025/17/32/image_29012025_17_32_34_9457.jpg', '/home/pi/Desktop/images/29012025/17/32/image_29012025_17_32_45_10358.jpg', '/home/pi/Desktop/images/29012025/17/32/image_29012025_17_32_55_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/31/image_29012025_17_32_05_10380.jpg
/home/pi/Desktop/images/29012025/17/32/image_29012025_17_32_14_9310.jpg
/home/pi/Desktop/images/29012025/17/32/image_29012025_17_32_25_10349.jpg
/home/pi/Desktop/images/29012025/17/32/image_29012025_17_32_34_9457.jpg
/home/pi/Desktop/images/29012025/17/32/image_29012025_17_32_45_10358.jpg
/home/pi/Desktop/images/29012025/17/32/image_29012025_17_32_55_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":["1332778738","1332778819","1332778649","1332778637","1332778631","1332778645"],"photo_ids_order":["1332778631","1332778637","1332778645","1332778649","1332778738","1332778819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/017be2f7d5a2255242207e3b7bc56cb0.jpg","text":"TemporaryFile(/tmp/multipartBody6244178446348576474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187493295,"filename":"image_29012025_17_32_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/29/e465d1605beb4916335b19d0193c2645.jpg","text":"TemporaryFile(/tmp/multipartBody5478800680514071688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187493295,"filename":"image_29012025_17_32_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/29/264d03ce1e24d15d8cecdfd9376319c1.jpg","text":"TemporaryFile(/tmp/multipartBody7532366080416891639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187493295,"filename":"image_29012025_17_32_34_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/29/2f3cfd21304fd78fd5e6c94e04dbceb3.jpg","text":"TemporaryFile(/tmp/multipartBody6219839337982500004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187493295,"filename":"image_29012025_17_32_14_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/29/5c520470fef03f7cef24b12c04709a63.jpg","text":"TemporaryFile(/tmp/multipartBody3596273230537585348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187493295,"filename":"image_29012025_17_32_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/29/89b0db8a0eaade109e2538abbda084f7.jpg","text":"TemporaryFile(/tmp/multipartBody6622035203353591983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187493295,"filename":"image_29012025_17_32_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332778645","file1":"1332778637","file0":"1332778631","file4":"1332778738","file5":"1332778819","file3":"1332778649"},"map_files_photo_id_array":[{"photo_id":"1332778819","filename":"file5"},{"photo_id":"1332778645","filename":"file2"},{"photo_id":"1332778738","filename":"file4"},{"photo_id":"1332778637","filename":"file1"},{"photo_id":"1332778631","filename":"file0"},{"photo_id":"1332778649","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332778738":["hashtag1","hashtag2"]},{"1332778819":["hashtag1","hashtag2"]},{"1332778649":["hashtag1","hashtag2"]},{"1332778637":["hashtag1","hashtag2"]},{"1332778631":["hashtag1","hashtag2"]},{"1332778645":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332778738, 1332778819, 1332778649, 1332778637, 1332778631, 1332778645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.614919900894165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:51:32.631884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/32/image_29012025_17_33_04_9366.jpg', '/home/pi/Desktop/images/29012025/17/33/image_29012025_17_33_15_10349.jpg', '/home/pi/Desktop/images/29012025/17/33/image_29012025_17_33_25_10439.jpg', '/home/pi/Desktop/images/29012025/17/33/image_29012025_17_33_45_10426.jpg', '/home/pi/Desktop/images/29012025/17/33/image_29012025_17_33_54_9406.jpg', '/home/pi/Desktop/images/29012025/17/33/image_29012025_17_34_05_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/32/image_29012025_17_33_04_9366.jpg
/home/pi/Desktop/images/29012025/17/33/image_29012025_17_33_15_10349.jpg
/home/pi/Desktop/images/29012025/17/33/image_29012025_17_33_25_10439.jpg
/home/pi/Desktop/images/29012025/17/33/image_29012025_17_33_45_10426.jpg
/home/pi/Desktop/images/29012025/17/33/image_29012025_17_33_54_9406.jpg
/home/pi/Desktop/images/29012025/17/33/image_29012025_17_34_05_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":["1332778986","1332778965","1332778970","1332778981","1332778975","1332778990"],"photo_ids_order":["1332778965","1332778970","1332778975","1332778981","1332778986","1332778990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a6c14e779c9f5bb9db9777ca6467170d.jpg","text":"TemporaryFile(/tmp/multipartBody6087272918477279439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187553615,"filename":"image_29012025_17_33_54_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/29/0eb8c7c3aebeba8022ad2bd28fc3d9ae.jpg","text":"TemporaryFile(/tmp/multipartBody4946906322269244118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187553615,"filename":"image_29012025_17_33_04_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/29/e75f648c333efc3f43abb87c7b655c45.jpg","text":"TemporaryFile(/tmp/multipartBody605044401131691564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187553615,"filename":"image_29012025_17_33_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/29/3eff1afb6796c08cb97f38cda6b72f23.jpg","text":"TemporaryFile(/tmp/multipartBody1306142335415654628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187553615,"filename":"image_29012025_17_33_45_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/29/dbb03d42c464e952fcfc9c51780317fe.jpg","text":"TemporaryFile(/tmp/multipartBody90406931512273639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187553615,"filename":"image_29012025_17_33_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/29/1d1744819e44d6dbc186d52e801afab1.jpg","text":"TemporaryFile(/tmp/multipartBody7038130232223427309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187553615,"filename":"image_29012025_17_34_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332778975","file1":"1332778970","file0":"1332778965","file4":"1332778986","file5":"1332778990","file3":"1332778981"},"map_files_photo_id_array":[{"photo_id":"1332778990","filename":"file5"},{"photo_id":"1332778975","filename":"file2"},{"photo_id":"1332778986","filename":"file4"},{"photo_id":"1332778970","filename":"file1"},{"photo_id":"1332778965","filename":"file0"},{"photo_id":"1332778981","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332778986":["hashtag1","hashtag2"]},{"1332778965":["hashtag1","hashtag2"]},{"1332778970":["hashtag1","hashtag2"]},{"1332778981":["hashtag1","hashtag2"]},{"1332778975":["hashtag1","hashtag2"]},{"1332778990":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332778986, 1332778965, 1332778970, 1332778981, 1332778975, 1332778990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22653150558472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:52:32.874024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/34/image_29012025_17_34_15_10397.jpg', '/home/pi/Desktop/images/29012025/17/34/image_29012025_17_34_24_9383.jpg', '/home/pi/Desktop/images/29012025/17/34/image_29012025_17_34_35_10485.jpg', '/home/pi/Desktop/images/29012025/17/34/image_29012025_17_34_44_9431.jpg', '/home/pi/Desktop/images/29012025/17/34/image_29012025_17_34_55_10376.jpg', '/home/pi/Desktop/images/29012025/17/34/image_29012025_17_35_04_9456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/34/image_29012025_17_34_15_10397.jpg
/home/pi/Desktop/images/29012025/17/34/image_29012025_17_34_24_9383.jpg
/home/pi/Desktop/images/29012025/17/34/image_29012025_17_34_35_10485.jpg
/home/pi/Desktop/images/29012025/17/34/image_29012025_17_34_44_9431.jpg
/home/pi/Desktop/images/29012025/17/34/image_29012025_17_34_55_10376.jpg
/home/pi/Desktop/images/29012025/17/34/image_29012025_17_35_04_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332779058","1332779022","1332779016","1332779054","1332779009","1332779044"],"photo_ids_order":["1332779009","1332779016","1332779022","1332779044","1332779054","1332779058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b7da4829c2823c73afc0c73b508a7008.jpg","text":"TemporaryFile(/tmp/multipartBody4757916024706818761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187613894,"filename":"image_29012025_17_35_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/29/c8be8ef9ef9307fc73bb33c47f7a1f79.jpg","text":"TemporaryFile(/tmp/multipartBody1653617565261603968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187613894,"filename":"image_29012025_17_34_35_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/29/e7af2295c76d6728f9a8cb902a748319.jpg","text":"TemporaryFile(/tmp/multipartBody7654208994405226348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187613894,"filename":"image_29012025_17_34_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/29/6da2f58a140746cbc0c750052d4654e9.jpg","text":"TemporaryFile(/tmp/multipartBody5435501295096073504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187613894,"filename":"image_29012025_17_34_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/29/d3c1e93e2bcf74464554043f0962ae06.jpg","text":"TemporaryFile(/tmp/multipartBody7407442846878388625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187613894,"filename":"image_29012025_17_34_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/29/d5484f8704b4bfd83b278c6f2dd54d85.jpg","text":"TemporaryFile(/tmp/multipartBody4253075257796654456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187613894,"filename":"image_29012025_17_34_44_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332779022","file1":"1332779016","file0":"1332779009","file4":"1332779054","file5":"1332779058","file3":"1332779044"},"map_files_photo_id_array":[{"photo_id":"1332779058","filename":"file5"},{"photo_id":"1332779022","filename":"file2"},{"photo_id":"1332779054","filename":"file4"},{"photo_id":"1332779016","filename":"file1"},{"photo_id":"1332779009","filename":"file0"},{"photo_id":"1332779044","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332779058":["hashtag1","hashtag2"]},{"1332779022":["hashtag1","hashtag2"]},{"1332779016":["hashtag1","hashtag2"]},{"1332779054":["hashtag1","hashtag2"]},{"1332779009":["hashtag1","hashtag2"]},{"1332779044":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332779058, 1332779022, 1332779016, 1332779054, 1332779009, 1332779044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.47612929344177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:53:32.967738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/35/image_29012025_17_35_25_10341.jpg', '/home/pi/Desktop/images/29012025/17/35/image_29012025_17_35_34_9439.jpg', '/home/pi/Desktop/images/29012025/17/35/image_29012025_17_35_45_10365.jpg', '/home/pi/Desktop/images/29012025/17/35/image_29012025_17_35_54_9457.jpg', '/home/pi/Desktop/images/29012025/17/35/image_29012025_17_36_04_10352.jpg', '/home/pi/Desktop/images/29012025/17/36/image_29012025_17_36_15_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/35/image_29012025_17_35_25_10341.jpg
/home/pi/Desktop/images/29012025/17/35/image_29012025_17_35_34_9439.jpg
/home/pi/Desktop/images/29012025/17/35/image_29012025_17_35_45_10365.jpg
/home/pi/Desktop/images/29012025/17/35/image_29012025_17_35_54_9457.jpg
/home/pi/Desktop/images/29012025/17/35/image_29012025_17_36_04_10352.jpg
/home/pi/Desktop/images/29012025/17/36/image_29012025_17_36_15_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":["1332779109","1332779093","1332779087","1332779102","1332779098","1332779104"],"photo_ids_order":["1332779087","1332779093","1332779098","1332779102","1332779104","1332779109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6135c59584c27d1b2366e7f6d81ceb88.jpg","text":"TemporaryFile(/tmp/multipartBody5548349934224859312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187673944,"filename":"image_29012025_17_36_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/29/3b1fbba0f3b10378359be6b0d420e4e8.jpg","text":"TemporaryFile(/tmp/multipartBody793626443806078181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187673944,"filename":"image_29012025_17_35_34_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/29/775da0eb72cb0df79d2d54d9fefb71be.jpg","text":"TemporaryFile(/tmp/multipartBody7068449944383502673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187673944,"filename":"image_29012025_17_35_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/29/5bfa9ff86ab2a4c7a83d7ed8e5e81bff.jpg","text":"TemporaryFile(/tmp/multipartBody8088762275091871995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187673944,"filename":"image_29012025_17_35_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/29/0480d7bfc454699ab751c0bfe4451327.jpg","text":"TemporaryFile(/tmp/multipartBody2114958299254623592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187673944,"filename":"image_29012025_17_35_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/29/fbeabc9951572e60ae719da93dadd4c7.jpg","text":"TemporaryFile(/tmp/multipartBody7453865212621080340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187673944,"filename":"image_29012025_17_36_04_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332779098","file1":"1332779093","file0":"1332779087","file4":"1332779104","file5":"1332779109","file3":"1332779102"},"map_files_photo_id_array":[{"photo_id":"1332779109","filename":"file5"},{"photo_id":"1332779098","filename":"file2"},{"photo_id":"1332779104","filename":"file4"},{"photo_id":"1332779093","filename":"file1"},{"photo_id":"1332779087","filename":"file0"},{"photo_id":"1332779102","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332779109":["hashtag1","hashtag2"]},{"1332779093":["hashtag1","hashtag2"]},{"1332779087":["hashtag1","hashtag2"]},{"1332779102":["hashtag1","hashtag2"]},{"1332779098":["hashtag1","hashtag2"]},{"1332779104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332779109, 1332779093, 1332779087, 1332779102, 1332779098, 1332779104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58722257614136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:54:32.271076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/36/image_29012025_17_36_24_9341.jpg', '/home/pi/Desktop/images/29012025/17/36/image_29012025_17_36_35_10355.jpg', '/home/pi/Desktop/images/29012025/17/36/image_29012025_17_36_45_10364.jpg', '/home/pi/Desktop/images/29012025/17/36/image_29012025_17_36_54_9432.jpg', '/home/pi/Desktop/images/29012025/17/36/image_29012025_17_37_05_10358.jpg', '/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_14_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/36/image_29012025_17_36_24_9341.jpg
/home/pi/Desktop/images/29012025/17/36/image_29012025_17_36_35_10355.jpg
/home/pi/Desktop/images/29012025/17/36/image_29012025_17_36_45_10364.jpg
/home/pi/Desktop/images/29012025/17/36/image_29012025_17_36_54_9432.jpg
/home/pi/Desktop/images/29012025/17/36/image_29012025_17_37_05_10358.jpg
/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_14_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":["1332779128","1332779168","1332779123","1332779173","1332779143","1332779137"],"photo_ids_order":["1332779123","1332779128","1332779137","1332779143","1332779168","1332779173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5bda2850d7750d16fc73c6dc7831b944.jpg","text":"TemporaryFile(/tmp/multipartBody9003941685279590305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187733265,"filename":"image_29012025_17_36_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/29/b6d99f999771399a2bca91c158c022a6.jpg","text":"TemporaryFile(/tmp/multipartBody2481940233776410166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187733265,"filename":"image_29012025_17_37_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/29/5f616407114a785091bcb2abac65d06e.jpg","text":"TemporaryFile(/tmp/multipartBody6422025730056315924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187733265,"filename":"image_29012025_17_36_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/29/bb7bac8d1a931536058b24dca401022c.jpg","text":"TemporaryFile(/tmp/multipartBody3719826957543484065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187733265,"filename":"image_29012025_17_37_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/29/b8d6a7957507686dcdeaccb1cecb436d.jpg","text":"TemporaryFile(/tmp/multipartBody124449073134328321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187733265,"filename":"image_29012025_17_36_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/29/ad777d6a79a7416468c7c7da2debd985.jpg","text":"TemporaryFile(/tmp/multipartBody4781794765333531986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187733265,"filename":"image_29012025_17_36_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332779137","file1":"1332779128","file0":"1332779123","file4":"1332779168","file5":"1332779173","file3":"1332779143"},"map_files_photo_id_array":[{"photo_id":"1332779173","filename":"file5"},{"photo_id":"1332779137","filename":"file2"},{"photo_id":"1332779168","filename":"file4"},{"photo_id":"1332779128","filename":"file1"},{"photo_id":"1332779123","filename":"file0"},{"photo_id":"1332779143","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332779128":["hashtag1","hashtag2"]},{"1332779168":["hashtag1","hashtag2"]},{"1332779123":["hashtag1","hashtag2"]},{"1332779173":["hashtag1","hashtag2"]},{"1332779143":["hashtag1","hashtag2"]},{"1332779137":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332779128, 1332779168, 1332779123, 1332779173, 1332779143, 1332779137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13745450973511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:55:32.477248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_24_10358.jpg', '/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_35_10369.jpg', '/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_44_9375.jpg', '/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_55_10358.jpg', '/home/pi/Desktop/images/29012025/17/37/image_29012025_17_38_05_10392.jpg', '/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_14_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_24_10358.jpg
/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_35_10369.jpg
/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_44_9375.jpg
/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_55_10358.jpg
/home/pi/Desktop/images/29012025/17/37/image_29012025_17_38_05_10392.jpg
/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_14_9345.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.6228110790252686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 22:55:42.487134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_24_10358.jpg', '/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_35_10369.jpg', '/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_44_9375.jpg', '/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_55_10358.jpg', '/home/pi/Desktop/images/29012025/17/37/image_29012025_17_38_05_10392.jpg', '/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_14_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_24_10358.jpg
/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_35_10369.jpg
/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_44_9375.jpg
/home/pi/Desktop/images/29012025/17/37/image_29012025_17_37_55_10358.jpg
/home/pi/Desktop/images/29012025/17/37/image_29012025_17_38_05_10392.jpg
/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_14_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":["1332779212","1332779206","1332779199","1332779418","1332779225","1332779284"],"photo_ids_order":["1332779199","1332779206","1332779212","1332779225","1332779284","1332779418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/186bc340a311601ac9d4bdd4eca57360.jpg","text":"TemporaryFile(/tmp/multipartBody2039748033229069250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187803411,"filename":"image_29012025_17_37_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/29/1f46af005edc44e09cc3c8830810ca6a.jpg","text":"TemporaryFile(/tmp/multipartBody603046203385984051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187803411,"filename":"image_29012025_17_37_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/29/24dca53078f0130fae0844735e4fc071.jpg","text":"TemporaryFile(/tmp/multipartBody4227939954310659007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187803411,"filename":"image_29012025_17_37_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/29/233df88c1f69ecd467c30302dba9f8e9.jpg","text":"TemporaryFile(/tmp/multipartBody1170497489552051827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187803411,"filename":"image_29012025_17_38_14_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/29/3484e22a3fe2c56f8742c6a32a9909d2.jpg","text":"TemporaryFile(/tmp/multipartBody6156781114727238103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187803411,"filename":"image_29012025_17_37_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/29/3d2b5d60ae3a18cc793e96729aa89883.jpg","text":"TemporaryFile(/tmp/multipartBody3315943624052739469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187803411,"filename":"image_29012025_17_38_05_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332779212","file1":"1332779206","file0":"1332779199","file4":"1332779284","file5":"1332779418","file3":"1332779225"},"map_files_photo_id_array":[{"photo_id":"1332779418","filename":"file5"},{"photo_id":"1332779212","filename":"file2"},{"photo_id":"1332779284","filename":"file4"},{"photo_id":"1332779206","filename":"file1"},{"photo_id":"1332779199","filename":"file0"},{"photo_id":"1332779225","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332779212":["hashtag1","hashtag2"]},{"1332779206":["hashtag1","hashtag2"]},{"1332779199":["hashtag1","hashtag2"]},{"1332779418":["hashtag1","hashtag2"]},{"1332779225":["hashtag1","hashtag2"]},{"1332779284":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332779212, 1332779206, 1332779199, 1332779418, 1332779225, 1332779284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72723746299744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:56:32.629350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_25_10339.jpg', '/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_34_9504.jpg', '/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_45_10352.jpg', '/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_55_10339.jpg', '/home/pi/Desktop/images/29012025/17/38/image_29012025_17_39_04_9439.jpg', '/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_15_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_25_10339.jpg
/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_34_9504.jpg
/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_45_10352.jpg
/home/pi/Desktop/images/29012025/17/38/image_29012025_17_38_55_10339.jpg
/home/pi/Desktop/images/29012025/17/38/image_29012025_17_39_04_9439.jpg
/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_15_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":["1332779571","1332779633","1332779555","1332779656","1332779650","1332779635"],"photo_ids_order":["1332779555","1332779571","1332779633","1332779635","1332779650","1332779656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/2a38a0df75a6c2b26b96155f3c85cbc2.jpg","text":"TemporaryFile(/tmp/multipartBody513371570181657583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187853622,"filename":"image_29012025_17_38_34_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dabd00bb3252fbd434acf3ed8bbc07e5.jpg","text":"TemporaryFile(/tmp/multipartBody2552386373221428134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187853622,"filename":"image_29012025_17_38_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/29/13fceed86fa29c79b87ff0ff8a9d1c59.jpg","text":"TemporaryFile(/tmp/multipartBody413165131638575875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187853622,"filename":"image_29012025_17_38_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/29/fc00a1ba251ad1cc79a8882a753b75e3.jpg","text":"TemporaryFile(/tmp/multipartBody4470044156750235555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187853622,"filename":"image_29012025_17_39_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/29/4d26df0b58cb54e2d95c0f47d9547022.jpg","text":"TemporaryFile(/tmp/multipartBody604857347528389673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187853622,"filename":"image_29012025_17_39_04_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/29/d7169602a54311c700638bdc81e93a7c.jpg","text":"TemporaryFile(/tmp/multipartBody50145698928980523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738187853622,"filename":"image_29012025_17_38_55_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332779633","file1":"1332779571","file0":"1332779555","file4":"1332779650","file5":"1332779656","file3":"1332779635"},"map_files_photo_id_array":[{"photo_id":"1332779656","filename":"file5"},{"photo_id":"1332779633","filename":"file2"},{"photo_id":"1332779650","filename":"file4"},{"photo_id":"1332779571","filename":"file1"},{"photo_id":"1332779555","filename":"file0"},{"photo_id":"1332779635","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332779571":["hashtag1","hashtag2"]},{"1332779633":["hashtag1","hashtag2"]},{"1332779555":["hashtag1","hashtag2"]},{"1332779656":["hashtag1","hashtag2"]},{"1332779650":["hashtag1","hashtag2"]},{"1332779635":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332779571, 1332779633, 1332779555, 1332779656, 1332779650, 1332779635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45690631866455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:57:32.811935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_24_9524.jpg', '/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_35_10372.jpg', '/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_45_10362.jpg', '/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_35_10375.jpg', '/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_44_9466.jpg', '/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_55_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_24_9524.jpg
/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_35_10372.jpg
/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_45_10362.jpg
/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_35_10375.jpg
/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_44_9466.jpg
/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_55_10360.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-29 22:59:03.693069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_24_9524.jpg', '/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_35_10372.jpg', '/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_45_10362.jpg', '/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_35_10375.jpg', '/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_44_9466.jpg', '/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_55_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_24_9524.jpg
/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_35_10372.jpg
/home/pi/Desktop/images/29012025/17/39/image_29012025_17_39_45_10362.jpg
/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_35_10375.jpg
/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_44_9466.jpg
/home/pi/Desktop/images/29012025/17/40/image_29012025_17_40_55_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":["1332779829","1332779759","1332779834","1332779837","1332779773","1332779767"],"photo_ids_order":["1332779759","1332779767","1332779773","1332779829","1332779834","1332779837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7e74ee7fc259e8785f29fe6bfbde3966.jpg","text":"TemporaryFile(/tmp/multipartBody8951781508016369327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188004724,"filename":"image_29012025_17_40_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/29/1e73ed54d380047d783c4f00a02cbe76.jpg","text":"TemporaryFile(/tmp/multipartBody8283736394890361862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188004724,"filename":"image_29012025_17_39_24_9524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/612579f42f23aff2825acd4c436b69d0.jpg","text":"TemporaryFile(/tmp/multipartBody6802168922459744176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188004724,"filename":"image_29012025_17_40_44_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/29/f37a8b7a334e9051150bf8d3031864f6.jpg","text":"TemporaryFile(/tmp/multipartBody7205421940173491379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188004724,"filename":"image_29012025_17_40_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/29/076329180f383bd87b4d7c152be620b7.jpg","text":"TemporaryFile(/tmp/multipartBody8145834769509631007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188004724,"filename":"image_29012025_17_39_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/29/8175cd70772638b0aa4af0446d3bcb39.jpg","text":"TemporaryFile(/tmp/multipartBody5723973080240267241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188004724,"filename":"image_29012025_17_39_35_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332779773","file1":"1332779767","file0":"1332779759","file4":"1332779834","file5":"1332779837","file3":"1332779829"},"map_files_photo_id_array":[{"photo_id":"1332779837","filename":"file5"},{"photo_id":"1332779773","filename":"file2"},{"photo_id":"1332779834","filename":"file4"},{"photo_id":"1332779767","filename":"file1"},{"photo_id":"1332779759","filename":"file0"},{"photo_id":"1332779829","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332779829":["hashtag1","hashtag2"]},{"1332779759":["hashtag1","hashtag2"]},{"1332779834":["hashtag1","hashtag2"]},{"1332779837":["hashtag1","hashtag2"]},{"1332779773":["hashtag1","hashtag2"]},{"1332779767":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332779829, 1332779759, 1332779834, 1332779837, 1332779773, 1332779767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43541479110718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 22:59:52.215702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/40/image_29012025_17_41_05_10394.jpg', '/home/pi/Desktop/images/29012025/17/41/image_29012025_17_41_25_10361.jpg', '/home/pi/Desktop/images/29012025/17/41/image_29012025_17_41_34_9456.jpg', '/home/pi/Desktop/images/29012025/17/41/image_29012025_17_41_45_10363.jpg', '/home/pi/Desktop/images/29012025/17/41/image_29012025_17_41_55_10358.jpg', '/home/pi/Desktop/images/29012025/17/41/image_29012025_17_42_04_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/40/image_29012025_17_41_05_10394.jpg
/home/pi/Desktop/images/29012025/17/41/image_29012025_17_41_25_10361.jpg
/home/pi/Desktop/images/29012025/17/41/image_29012025_17_41_34_9456.jpg
/home/pi/Desktop/images/29012025/17/41/image_29012025_17_41_45_10363.jpg
/home/pi/Desktop/images/29012025/17/41/image_29012025_17_41_55_10358.jpg
/home/pi/Desktop/images/29012025/17/41/image_29012025_17_42_04_9366.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332779865","1332779861","1332779872","1332779854","1332779857","1332779851"],"photo_ids_order":["1332779851","1332779854","1332779857","1332779861","1332779865","1332779872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b228a8c74f38f80643bcc572d3c053db.jpg","text":"TemporaryFile(/tmp/multipartBody5994780685697300320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188053244,"filename":"image_29012025_17_41_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/29/b4cd657c2267d30fd68dba9757523dc3.jpg","text":"TemporaryFile(/tmp/multipartBody8327811971779867576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188053244,"filename":"image_29012025_17_41_45_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/29/c0feb7ad03757e0cb81eb0e8b01e1f1c.jpg","text":"TemporaryFile(/tmp/multipartBody9178686836184828075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188053244,"filename":"image_29012025_17_42_04_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/29/aa5ce6a472e45826bb0ea93f1d7c0801.jpg","text":"TemporaryFile(/tmp/multipartBody8458408047499489814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188053244,"filename":"image_29012025_17_41_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/29/8c3dca675bd466616e754c5aa5110548.jpg","text":"TemporaryFile(/tmp/multipartBody1570112701496956163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188053244,"filename":"image_29012025_17_41_34_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/29/3ec4bef9ad512335ff2404c6da532207.jpg","text":"TemporaryFile(/tmp/multipartBody2656162443806471409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188053244,"filename":"image_29012025_17_41_05_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332779857","file1":"1332779854","file0":"1332779851","file4":"1332779865","file5":"1332779872","file3":"1332779861"},"map_files_photo_id_array":[{"photo_id":"1332779872","filename":"file5"},{"photo_id":"1332779857","filename":"file2"},{"photo_id":"1332779865","filename":"file4"},{"photo_id":"1332779854","filename":"file1"},{"photo_id":"1332779851","filename":"file0"},{"photo_id":"1332779861","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332779865":["hashtag1","hashtag2"]},{"1332779861":["hashtag1","hashtag2"]},{"1332779872":["hashtag1","hashtag2"]},{"1332779854":["hashtag1","hashtag2"]},{"1332779857":["hashtag1","hashtag2"]},{"1332779851":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332779865, 1332779861, 1332779872, 1332779854, 1332779857, 1332779851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.672122955322266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:00:32.405907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/42/image_29012025_17_42_15_10408.jpg', '/home/pi/Desktop/images/29012025/17/42/image_29012025_17_42_25_10406.jpg', '/home/pi/Desktop/images/29012025/17/42/image_29012025_17_42_54_9340.jpg', '/home/pi/Desktop/images/29012025/17/42/image_29012025_17_43_05_10372.jpg', '/home/pi/Desktop/images/29012025/17/43/image_29012025_17_43_24_9327.jpg', '/home/pi/Desktop/images/29012025/17/43/image_29012025_17_43_35_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/42/image_29012025_17_42_15_10408.jpg
/home/pi/Desktop/images/29012025/17/42/image_29012025_17_42_25_10406.jpg
/home/pi/Desktop/images/29012025/17/42/image_29012025_17_42_54_9340.jpg
/home/pi/Desktop/images/29012025/17/42/image_29012025_17_43_05_10372.jpg
/home/pi/Desktop/images/29012025/17/43/image_29012025_17_43_24_9327.jpg
/home/pi/Desktop/images/29012025/17/43/image_29012025_17_43_35_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":["1332780039","1332780003","1332780068","1332780062","1332780065","1332779968"],"photo_ids_order":["1332779968","1332780003","1332780039","1332780062","1332780065","1332780068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/09552986380ed37c94a9c0bc61fa56af.jpg","text":"TemporaryFile(/tmp/multipartBody5066721771987518552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188093427,"filename":"image_29012025_17_42_54_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/29/20b2aec80d66580b890ca4ed2806b86d.jpg","text":"TemporaryFile(/tmp/multipartBody1233671330031429056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188093427,"filename":"image_29012025_17_42_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/29/fbfdd875e2cbe15e06ffcb24da736be0.jpg","text":"TemporaryFile(/tmp/multipartBody5844331926600067404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188093427,"filename":"image_29012025_17_43_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/29/0094cf353dddbddbd1e5e71736fe65d6.jpg","text":"TemporaryFile(/tmp/multipartBody5089279787638962425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188093427,"filename":"image_29012025_17_43_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/29/fa2e8abe62daaa446031ff671a13f84a.jpg","text":"TemporaryFile(/tmp/multipartBody7496867728384813523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188093427,"filename":"image_29012025_17_43_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/29/e4a120ae35f4ec26b70462da96e51fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3250933480385266691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188093427,"filename":"image_29012025_17_42_15_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332780039","file1":"1332780003","file0":"1332779968","file4":"1332780065","file5":"1332780068","file3":"1332780062"},"map_files_photo_id_array":[{"photo_id":"1332780068","filename":"file5"},{"photo_id":"1332780039","filename":"file2"},{"photo_id":"1332780065","filename":"file4"},{"photo_id":"1332780003","filename":"file1"},{"photo_id":"1332779968","filename":"file0"},{"photo_id":"1332780062","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332780039":["hashtag1","hashtag2"]},{"1332780003":["hashtag1","hashtag2"]},{"1332780068":["hashtag1","hashtag2"]},{"1332780062":["hashtag1","hashtag2"]},{"1332780065":["hashtag1","hashtag2"]},{"1332779968":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332780039, 1332780003, 1332780068, 1332780062, 1332780065, 1332779968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6832492351532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:01:32.768535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/43/image_29012025_17_43_55_10413.jpg', '/home/pi/Desktop/images/29012025/17/43/image_29012025_17_44_05_10410.jpg', '/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_14_9410.jpg', '/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_25_10351.jpg', '/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_45_10367.jpg', '/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_55_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/43/image_29012025_17_43_55_10413.jpg
/home/pi/Desktop/images/29012025/17/43/image_29012025_17_44_05_10410.jpg
/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_14_9410.jpg
/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_25_10351.jpg
/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_45_10367.jpg
/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_55_10351.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.8606741428375244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 23:01:42.718064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/43/image_29012025_17_43_55_10413.jpg', '/home/pi/Desktop/images/29012025/17/43/image_29012025_17_44_05_10410.jpg', '/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_14_9410.jpg', '/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_25_10351.jpg', '/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_45_10367.jpg', '/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_55_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/43/image_29012025_17_43_55_10413.jpg
/home/pi/Desktop/images/29012025/17/43/image_29012025_17_44_05_10410.jpg
/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_14_9410.jpg
/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_25_10351.jpg
/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_45_10367.jpg
/home/pi/Desktop/images/29012025/17/44/image_29012025_17_44_55_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":["1332780940","1332780951","1332780945","1332780924","1332780954","1332780933"],"photo_ids_order":["1332780924","1332780933","1332780940","1332780945","1332780951","1332780954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d581ba75aed86374e007696b4153d5eb.jpg","text":"TemporaryFile(/tmp/multipartBody2067302665168060337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188163630,"filename":"image_29012025_17_44_14_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/29/223c114dd10fe7f6d2ca401197b57921.jpg","text":"TemporaryFile(/tmp/multipartBody2130899323914740278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188163630,"filename":"image_29012025_17_44_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/29/8d805662c02f6ae7f992c9dd99825061.jpg","text":"TemporaryFile(/tmp/multipartBody8310668262140385740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188163630,"filename":"image_29012025_17_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/29/a392f22f39faa91193f63df6e4e0997d.jpg","text":"TemporaryFile(/tmp/multipartBody4775586499969836283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188163630,"filename":"image_29012025_17_43_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/29/410834fba684eb6c7767fc79d731ca51.jpg","text":"TemporaryFile(/tmp/multipartBody2806029173714121019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188163630,"filename":"image_29012025_17_44_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/29/6770a468de4619d31153ff66c5ee2743.jpg","text":"TemporaryFile(/tmp/multipartBody6333366428423965801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188163630,"filename":"image_29012025_17_44_05_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332780940","file1":"1332780933","file0":"1332780924","file4":"1332780951","file5":"1332780954","file3":"1332780945"},"map_files_photo_id_array":[{"photo_id":"1332780954","filename":"file5"},{"photo_id":"1332780940","filename":"file2"},{"photo_id":"1332780951","filename":"file4"},{"photo_id":"1332780933","filename":"file1"},{"photo_id":"1332780924","filename":"file0"},{"photo_id":"1332780945","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332780940":["hashtag1","hashtag2"]},{"1332780951":["hashtag1","hashtag2"]},{"1332780945":["hashtag1","hashtag2"]},{"1332780924":["hashtag1","hashtag2"]},{"1332780954":["hashtag1","hashtag2"]},{"1332780933":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332780940, 1332780951, 1332780945, 1332780924, 1332780954, 1332780933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01478838920593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:02:32.885231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/44/image_29012025_17_45_04_9400.jpg', '/home/pi/Desktop/images/29012025/17/45/image_29012025_17_45_25_10408.jpg', '/home/pi/Desktop/images/29012025/17/45/image_29012025_17_45_34_9388.jpg', '/home/pi/Desktop/images/29012025/17/45/image_29012025_17_45_45_10368.jpg', '/home/pi/Desktop/images/29012025/17/45/image_29012025_17_45_54_9344.jpg', '/home/pi/Desktop/images/29012025/17/45/image_29012025_17_46_05_10464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/44/image_29012025_17_45_04_9400.jpg
/home/pi/Desktop/images/29012025/17/45/image_29012025_17_45_25_10408.jpg
/home/pi/Desktop/images/29012025/17/45/image_29012025_17_45_34_9388.jpg
/home/pi/Desktop/images/29012025/17/45/image_29012025_17_45_45_10368.jpg
/home/pi/Desktop/images/29012025/17/45/image_29012025_17_45_54_9344.jpg
/home/pi/Desktop/images/29012025/17/45/image_29012025_17_46_05_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332780975","1332781178","1332780968","1332781301","1332781048","1332780970"],"photo_ids_order":["1332780968","1332780970","1332780975","1332781048","1332781178","1332781301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5093e03fa3d2d8689d162557cc61164b.jpg","text":"TemporaryFile(/tmp/multipartBody7001928330252096207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188213878,"filename":"image_29012025_17_45_34_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/29/a1f00e855298bd15ea75944b4516f5ce.jpg","text":"TemporaryFile(/tmp/multipartBody1078999515286928695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188213878,"filename":"image_29012025_17_45_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/29/7daf26ceb328f633f869dd840fea2caa.jpg","text":"TemporaryFile(/tmp/multipartBody5399853543980995179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188213878,"filename":"image_29012025_17_45_04_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/29/e0cf2c4478dd8a78de05af22ba2e2f95.jpg","text":"TemporaryFile(/tmp/multipartBody3755931993832308465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188213878,"filename":"image_29012025_17_46_05_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/29/d197ad0584ffc7f26292d13ee45cab8f.jpg","text":"TemporaryFile(/tmp/multipartBody9056751665204297799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188213878,"filename":"image_29012025_17_45_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/29/1a856682050a70406f35f5f13a5f4d75.jpg","text":"TemporaryFile(/tmp/multipartBody1094611649860379980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188213878,"filename":"image_29012025_17_45_25_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332780975","file1":"1332780970","file0":"1332780968","file4":"1332781178","file5":"1332781301","file3":"1332781048"},"map_files_photo_id_array":[{"photo_id":"1332781301","filename":"file5"},{"photo_id":"1332780975","filename":"file2"},{"photo_id":"1332781178","filename":"file4"},{"photo_id":"1332780970","filename":"file1"},{"photo_id":"1332780968","filename":"file0"},{"photo_id":"1332781048","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332780975":["hashtag1","hashtag2"]},{"1332781178":["hashtag1","hashtag2"]},{"1332780968":["hashtag1","hashtag2"]},{"1332781301":["hashtag1","hashtag2"]},{"1332781048":["hashtag1","hashtag2"]},{"1332780970":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332780975, 1332781178, 1332780968, 1332781301, 1332781048, 1332780970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.18377423286438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:03:33.043791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/46/image_29012025_17_46_15_10422.jpg', '/home/pi/Desktop/images/29012025/17/46/image_29012025_17_46_24_9357.jpg', '/home/pi/Desktop/images/29012025/17/46/image_29012025_17_46_44_9421.jpg', '/home/pi/Desktop/images/29012025/17/46/image_29012025_17_46_55_10364.jpg', '/home/pi/Desktop/images/29012025/17/46/image_29012025_17_47_05_10366.jpg', '/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_14_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/46/image_29012025_17_46_15_10422.jpg
/home/pi/Desktop/images/29012025/17/46/image_29012025_17_46_24_9357.jpg
/home/pi/Desktop/images/29012025/17/46/image_29012025_17_46_44_9421.jpg
/home/pi/Desktop/images/29012025/17/46/image_29012025_17_46_55_10364.jpg
/home/pi/Desktop/images/29012025/17/46/image_29012025_17_47_05_10366.jpg
/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_14_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":["1332781414","1332781452","1332781443","1332781462","1332781456","1332781423"],"photo_ids_order":["1332781414","1332781423","1332781443","1332781452","1332781456","1332781462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/df81a3f045eafb7678da0e803628369c.jpg","text":"TemporaryFile(/tmp/multipartBody3742040690188412617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188274061,"filename":"image_29012025_17_46_15_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/29/792e5a05587609f2b14084e8966dc3d2.jpg","text":"TemporaryFile(/tmp/multipartBody4417132019560811594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188274061,"filename":"image_29012025_17_46_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/29/13c3dbc3343d9e81969ab7cfd5606c3b.jpg","text":"TemporaryFile(/tmp/multipartBody5533781201937816123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188274061,"filename":"image_29012025_17_46_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/29/ebde75458a51c9877047d8473e98512d.jpg","text":"TemporaryFile(/tmp/multipartBody2150625242498103434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188274061,"filename":"image_29012025_17_47_14_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/29/7917fbbb63e1614aca4577551090fe50.jpg","text":"TemporaryFile(/tmp/multipartBody8115205047266329191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188274061,"filename":"image_29012025_17_47_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/29/f24948489554bcf04418aa782c64d2d2.jpg","text":"TemporaryFile(/tmp/multipartBody6784956429270366719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188274061,"filename":"image_29012025_17_46_24_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332781443","file1":"1332781423","file0":"1332781414","file4":"1332781456","file5":"1332781462","file3":"1332781452"},"map_files_photo_id_array":[{"photo_id":"1332781462","filename":"file5"},{"photo_id":"1332781443","filename":"file2"},{"photo_id":"1332781456","filename":"file4"},{"photo_id":"1332781423","filename":"file1"},{"photo_id":"1332781414","filename":"file0"},{"photo_id":"1332781452","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332781414":["hashtag1","hashtag2"]},{"1332781452":["hashtag1","hashtag2"]},{"1332781443":["hashtag1","hashtag2"]},{"1332781462":["hashtag1","hashtag2"]},{"1332781456":["hashtag1","hashtag2"]},{"1332781423":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332781414, 1332781452, 1332781443, 1332781462, 1332781456, 1332781423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.194523334503174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:04:32.372460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_35_10421.jpg', '/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_44_9356.jpg', '/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_55_10417.jpg', '/home/pi/Desktop/images/29012025/17/47/image_29012025_17_48_04_9412.jpg', '/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_15_10323.jpg', '/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_25_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_35_10421.jpg
/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_44_9356.jpg
/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_55_10417.jpg
/home/pi/Desktop/images/29012025/17/47/image_29012025_17_48_04_9412.jpg
/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_15_10323.jpg
/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_25_10425.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.5946545600891113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 23:04:42.384254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_35_10421.jpg', '/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_44_9356.jpg', '/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_55_10417.jpg', '/home/pi/Desktop/images/29012025/17/47/image_29012025_17_48_04_9412.jpg', '/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_15_10323.jpg', '/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_25_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_35_10421.jpg
/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_44_9356.jpg
/home/pi/Desktop/images/29012025/17/47/image_29012025_17_47_55_10417.jpg
/home/pi/Desktop/images/29012025/17/47/image_29012025_17_48_04_9412.jpg
/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_15_10323.jpg
/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_25_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332781590","1332781584","1332781608","1332781500","1332781496","1332781547"],"photo_ids_order":["1332781496","1332781500","1332781547","1332781584","1332781590","1332781608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0d145ec2e22155f149c99e356d7a9582.jpg","text":"TemporaryFile(/tmp/multipartBody1024189274600224999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188343292,"filename":"image_29012025_17_48_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/29/088352916549cf73279447ecac2d5f31.jpg","text":"TemporaryFile(/tmp/multipartBody2571499663918618604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188343292,"filename":"image_29012025_17_48_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/29/1ab3f49522f842013fb384303196a4da.jpg","text":"TemporaryFile(/tmp/multipartBody1319788866657124390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188343292,"filename":"image_29012025_17_48_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/29/e9048f19c998ee879b83648308ecd4e7.jpg","text":"TemporaryFile(/tmp/multipartBody8827915461200606594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188343292,"filename":"image_29012025_17_47_44_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/29/6768087b8966435a0fdd866f64a9f9b5.jpg","text":"TemporaryFile(/tmp/multipartBody663469185260775401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188343292,"filename":"image_29012025_17_47_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/29/249a0108f7904b0a36defe6131a94582.jpg","text":"TemporaryFile(/tmp/multipartBody4017916807543561188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188343292,"filename":"image_29012025_17_47_55_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332781547","file1":"1332781500","file0":"1332781496","file4":"1332781590","file5":"1332781608","file3":"1332781584"},"map_files_photo_id_array":[{"photo_id":"1332781608","filename":"file5"},{"photo_id":"1332781547","filename":"file2"},{"photo_id":"1332781590","filename":"file4"},{"photo_id":"1332781500","filename":"file1"},{"photo_id":"1332781496","filename":"file0"},{"photo_id":"1332781584","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332781590":["hashtag1","hashtag2"]},{"1332781584":["hashtag1","hashtag2"]},{"1332781608":["hashtag1","hashtag2"]},{"1332781500":["hashtag1","hashtag2"]},{"1332781496":["hashtag1","hashtag2"]},{"1332781547":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332781590, 1332781584, 1332781608, 1332781500, 1332781496, 1332781547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.53176808357239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:05:32.500088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_45_10365.jpg', '/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_54_9336.jpg', '/home/pi/Desktop/images/29012025/17/48/image_29012025_17_49_05_10447.jpg', '/home/pi/Desktop/images/29012025/17/49/image_29012025_17_49_15_10324.jpg', '/home/pi/Desktop/images/29012025/17/49/image_29012025_17_49_24_9405.jpg', '/home/pi/Desktop/images/29012025/17/49/image_29012025_17_49_35_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_45_10365.jpg
/home/pi/Desktop/images/29012025/17/48/image_29012025_17_48_54_9336.jpg
/home/pi/Desktop/images/29012025/17/48/image_29012025_17_49_05_10447.jpg
/home/pi/Desktop/images/29012025/17/49/image_29012025_17_49_15_10324.jpg
/home/pi/Desktop/images/29012025/17/49/image_29012025_17_49_24_9405.jpg
/home/pi/Desktop/images/29012025/17/49/image_29012025_17_49_35_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":["1332782399","1332782381","1332782405","1332782416","1332782410","1332782394"],"photo_ids_order":["1332782381","1332782394","1332782399","1332782405","1332782410","1332782416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/89e4fd67e53fc5083fd83ac44da32d43.jpg","text":"TemporaryFile(/tmp/multipartBody2671496537571209438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188393492,"filename":"image_29012025_17_49_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/29/5aa343e3bfdb91cbb85c1d5b6cc5c2cb.jpg","text":"TemporaryFile(/tmp/multipartBody2973302455133679298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188393492,"filename":"image_29012025_17_48_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/29/37fc3f58a54d6c7cb62990e6e460b89e.jpg","text":"TemporaryFile(/tmp/multipartBody507400318452527680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188393492,"filename":"image_29012025_17_49_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/29/bdaeab985a92d790b226db2f1b6239ee.jpg","text":"TemporaryFile(/tmp/multipartBody788593481091231801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188393492,"filename":"image_29012025_17_49_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/29/078221af55660b816122c9eb0354f274.jpg","text":"TemporaryFile(/tmp/multipartBody2470940404528404810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188393492,"filename":"image_29012025_17_49_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/29/a253e6bc1901175bfea3b4e35adc30f3.jpg","text":"TemporaryFile(/tmp/multipartBody1363938367001948419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188393492,"filename":"image_29012025_17_48_54_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332782399","file1":"1332782394","file0":"1332782381","file4":"1332782410","file5":"1332782416","file3":"1332782405"},"map_files_photo_id_array":[{"photo_id":"1332782416","filename":"file5"},{"photo_id":"1332782399","filename":"file2"},{"photo_id":"1332782410","filename":"file4"},{"photo_id":"1332782394","filename":"file1"},{"photo_id":"1332782381","filename":"file0"},{"photo_id":"1332782405","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332782399":["hashtag1","hashtag2"]},{"1332782381":["hashtag1","hashtag2"]},{"1332782405":["hashtag1","hashtag2"]},{"1332782416":["hashtag1","hashtag2"]},{"1332782410":["hashtag1","hashtag2"]},{"1332782394":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332782399, 1332782381, 1332782405, 1332782416, 1332782410, 1332782394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07444429397583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:06:32.745707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/49/image_29012025_17_49_45_10416.jpg', '/home/pi/Desktop/images/29012025/17/49/image_29012025_17_49_54_9345.jpg', '/home/pi/Desktop/images/29012025/17/49/image_29012025_17_50_05_10359.jpg', '/home/pi/Desktop/images/29012025/17/50/image_29012025_17_50_14_9408.jpg', '/home/pi/Desktop/images/29012025/17/50/image_29012025_17_50_25_10355.jpg', '/home/pi/Desktop/images/29012025/17/50/image_29012025_17_50_35_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/49/image_29012025_17_49_45_10416.jpg
/home/pi/Desktop/images/29012025/17/49/image_29012025_17_49_54_9345.jpg
/home/pi/Desktop/images/29012025/17/49/image_29012025_17_50_05_10359.jpg
/home/pi/Desktop/images/29012025/17/50/image_29012025_17_50_14_9408.jpg
/home/pi/Desktop/images/29012025/17/50/image_29012025_17_50_25_10355.jpg
/home/pi/Desktop/images/29012025/17/50/image_29012025_17_50_35_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":["1332783018","1332783068","1332783073","1332783040","1332782977","1332782962"],"photo_ids_order":["1332782962","1332782977","1332783018","1332783040","1332783068","1332783073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/537c9ee7088af5ee575108698acff32b.jpg","text":"TemporaryFile(/tmp/multipartBody3392607783303407453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188453739,"filename":"image_29012025_17_50_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/29/1a4dff94557e7f4e606fb9383a48c189.jpg","text":"TemporaryFile(/tmp/multipartBody1056461498679187325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188453739,"filename":"image_29012025_17_50_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/29/ed4d54fc824a1ef751583d3e3987f5db.jpg","text":"TemporaryFile(/tmp/multipartBody8291646336993392240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188453739,"filename":"image_29012025_17_50_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/29/973eddf2fcbee18e5aa3dde7aea57eff.jpg","text":"TemporaryFile(/tmp/multipartBody5714016349549398602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188453739,"filename":"image_29012025_17_50_14_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/29/45840fd2326dd68c51b86c65a52becda.jpg","text":"TemporaryFile(/tmp/multipartBody6238814900412980266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188453739,"filename":"image_29012025_17_49_54_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/29/ed934259ffd3f356fca92bd5cf8e2531.jpg","text":"TemporaryFile(/tmp/multipartBody8598288901270055799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188453739,"filename":"image_29012025_17_49_45_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332783018","file1":"1332782977","file0":"1332782962","file4":"1332783068","file5":"1332783073","file3":"1332783040"},"map_files_photo_id_array":[{"photo_id":"1332783073","filename":"file5"},{"photo_id":"1332783018","filename":"file2"},{"photo_id":"1332783068","filename":"file4"},{"photo_id":"1332782977","filename":"file1"},{"photo_id":"1332782962","filename":"file0"},{"photo_id":"1332783040","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332783018":["hashtag1","hashtag2"]},{"1332783068":["hashtag1","hashtag2"]},{"1332783073":["hashtag1","hashtag2"]},{"1332783040":["hashtag1","hashtag2"]},{"1332782977":["hashtag1","hashtag2"]},{"1332782962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332783018, 1332783068, 1332783073, 1332783040, 1332782977, 1332782962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92879796028137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:07:33.082185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/50/image_29012025_17_50_44_9436.jpg', '/home/pi/Desktop/images/29012025/17/50/image_29012025_17_50_55_10365.jpg', '/home/pi/Desktop/images/29012025/17/50/image_29012025_17_51_04_9460.jpg', '/home/pi/Desktop/images/29012025/17/51/image_29012025_17_51_15_10332.jpg', '/home/pi/Desktop/images/29012025/17/51/image_29012025_17_51_34_9359.jpg', '/home/pi/Desktop/images/29012025/17/51/image_29012025_17_51_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/50/image_29012025_17_50_44_9436.jpg
/home/pi/Desktop/images/29012025/17/50/image_29012025_17_50_55_10365.jpg
/home/pi/Desktop/images/29012025/17/50/image_29012025_17_51_04_9460.jpg
/home/pi/Desktop/images/29012025/17/51/image_29012025_17_51_15_10332.jpg
/home/pi/Desktop/images/29012025/17/51/image_29012025_17_51_34_9359.jpg
/home/pi/Desktop/images/29012025/17/51/image_29012025_17_51_45_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":["1332783117","1332783098","1332783110","1332783104","1332783094","1332783100"],"photo_ids_order":["1332783094","1332783098","1332783100","1332783104","1332783110","1332783117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d7290a09363d7e63bb2e041a528b8abb.jpg","text":"TemporaryFile(/tmp/multipartBody6810104012590492293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188514096,"filename":"image_29012025_17_51_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/29/6d326a9b9099dab589bc8330a3a69d79.jpg","text":"TemporaryFile(/tmp/multipartBody7806420317679086552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188514096,"filename":"image_29012025_17_50_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/29/194b492f0a2feebd118e2ccb90147fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8835432194627940949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188514096,"filename":"image_29012025_17_51_34_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/29/02ce9e7044e6b82f518332375f5bfc0e.jpg","text":"TemporaryFile(/tmp/multipartBody4323055297041698916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188514096,"filename":"image_29012025_17_51_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/29/abc729d209e94d55fe26d707b8d672dd.jpg","text":"TemporaryFile(/tmp/multipartBody3765705941023119144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188514096,"filename":"image_29012025_17_50_44_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/29/21ed2f2f05767556ff6e8c533cd12eef.jpg","text":"TemporaryFile(/tmp/multipartBody1995511567843813590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188514096,"filename":"image_29012025_17_51_04_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332783100","file1":"1332783098","file0":"1332783094","file4":"1332783110","file5":"1332783117","file3":"1332783104"},"map_files_photo_id_array":[{"photo_id":"1332783117","filename":"file5"},{"photo_id":"1332783100","filename":"file2"},{"photo_id":"1332783110","filename":"file4"},{"photo_id":"1332783098","filename":"file1"},{"photo_id":"1332783094","filename":"file0"},{"photo_id":"1332783104","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332783117":["hashtag1","hashtag2"]},{"1332783098":["hashtag1","hashtag2"]},{"1332783110":["hashtag1","hashtag2"]},{"1332783104":["hashtag1","hashtag2"]},{"1332783094":["hashtag1","hashtag2"]},{"1332783100":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332783117, 1332783098, 1332783110, 1332783104, 1332783094, 1332783100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.48205065727234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:08:32.117798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/51/image_29012025_17_51_55_10343.jpg', '/home/pi/Desktop/images/29012025/17/51/image_29012025_17_52_04_9358.jpg', '/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_15_10331.jpg', '/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_25_10444.jpg', '/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_34_9347.jpg', '/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_45_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/51/image_29012025_17_51_55_10343.jpg
/home/pi/Desktop/images/29012025/17/51/image_29012025_17_52_04_9358.jpg
/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_15_10331.jpg
/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_25_10444.jpg
/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_34_9347.jpg
/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_45_10446.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.6019151210784912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 23:08:42.139971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/51/image_29012025_17_51_55_10343.jpg', '/home/pi/Desktop/images/29012025/17/51/image_29012025_17_52_04_9358.jpg', '/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_15_10331.jpg', '/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_25_10444.jpg', '/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_34_9347.jpg', '/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_45_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/51/image_29012025_17_51_55_10343.jpg
/home/pi/Desktop/images/29012025/17/51/image_29012025_17_52_04_9358.jpg
/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_15_10331.jpg
/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_25_10444.jpg
/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_34_9347.jpg
/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_45_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332783253","1332783256","1332783198","1332783243","1332783231","1332783207"],"photo_ids_order":["1332783198","1332783207","1332783231","1332783243","1332783253","1332783256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/81661ba47e90533fcd53bea1348431cc.jpg","text":"TemporaryFile(/tmp/multipartBody4493754050273658290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188583059,"filename":"image_29012025_17_52_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/29/89b2d14e31e7dd2b49d8d36445b7d93c.jpg","text":"TemporaryFile(/tmp/multipartBody4424967576265255829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188583059,"filename":"image_29012025_17_52_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/29/732c7068c6bfbceb26890aaf229bb253.jpg","text":"TemporaryFile(/tmp/multipartBody6739929965822627482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188583059,"filename":"image_29012025_17_51_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/29/93e64e1835faaf913a6e0a47d632abe6.jpg","text":"TemporaryFile(/tmp/multipartBody1929719414279676221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188583059,"filename":"image_29012025_17_52_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/29/53dac9c490aa62aa0e6cfbb3541fab39.jpg","text":"TemporaryFile(/tmp/multipartBody2528100853793096818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188583059,"filename":"image_29012025_17_52_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/29/527493d4a29500501b4397d50ecf13aa.jpg","text":"TemporaryFile(/tmp/multipartBody8078538476653423223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188583059,"filename":"image_29012025_17_52_04_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332783231","file1":"1332783207","file0":"1332783198","file4":"1332783253","file5":"1332783256","file3":"1332783243"},"map_files_photo_id_array":[{"photo_id":"1332783256","filename":"file5"},{"photo_id":"1332783231","filename":"file2"},{"photo_id":"1332783253","filename":"file4"},{"photo_id":"1332783207","filename":"file1"},{"photo_id":"1332783198","filename":"file0"},{"photo_id":"1332783243","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332783253":["hashtag1","hashtag2"]},{"1332783256":["hashtag1","hashtag2"]},{"1332783198":["hashtag1","hashtag2"]},{"1332783243":["hashtag1","hashtag2"]},{"1332783231":["hashtag1","hashtag2"]},{"1332783207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332783253, 1332783256, 1332783198, 1332783243, 1332783231, 1332783207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.296613454818726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:09:32.463689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_54_9343.jpg', '/home/pi/Desktop/images/29012025/17/52/image_29012025_17_53_05_10423.jpg', '/home/pi/Desktop/images/29012025/17/53/image_29012025_17_53_15_10458.jpg', '/home/pi/Desktop/images/29012025/17/53/image_29012025_17_53_24_9366.jpg', '/home/pi/Desktop/images/29012025/17/53/image_29012025_17_53_35_10363.jpg', '/home/pi/Desktop/images/29012025/17/53/image_29012025_17_53_44_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/52/image_29012025_17_52_54_9343.jpg
/home/pi/Desktop/images/29012025/17/52/image_29012025_17_53_05_10423.jpg
/home/pi/Desktop/images/29012025/17/53/image_29012025_17_53_15_10458.jpg
/home/pi/Desktop/images/29012025/17/53/image_29012025_17_53_24_9366.jpg
/home/pi/Desktop/images/29012025/17/53/image_29012025_17_53_35_10363.jpg
/home/pi/Desktop/images/29012025/17/53/image_29012025_17_53_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":["1332783353","1332783332","1332783305","1332783349","1332783319","1332783327"],"photo_ids_order":["1332783305","1332783319","1332783327","1332783332","1332783349","1332783353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dc48a4c4886cf9b31edfc982486f42ab.jpg","text":"TemporaryFile(/tmp/multipartBody5806638716446186552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188633456,"filename":"image_29012025_17_53_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/29/b253aadee6036dd8cc373198a71cbd78.jpg","text":"TemporaryFile(/tmp/multipartBody882131080570938966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188633456,"filename":"image_29012025_17_53_24_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/29/49b93ea0cf01578326d38968edaf9ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2730491488198891298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188633456,"filename":"image_29012025_17_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/29/25146a20b2636f565540a8832d2ea5e4.jpg","text":"TemporaryFile(/tmp/multipartBody878339331793142592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188633456,"filename":"image_29012025_17_53_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/29/7dec04f5997261208922c780eb7933d7.jpg","text":"TemporaryFile(/tmp/multipartBody5611687366245508488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188633456,"filename":"image_29012025_17_53_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/29/b98ffd4d74c6d9edcbeb6dc43bee169d.jpg","text":"TemporaryFile(/tmp/multipartBody2737150563492806744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188633456,"filename":"image_29012025_17_53_15_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332783327","file1":"1332783319","file0":"1332783305","file4":"1332783349","file5":"1332783353","file3":"1332783332"},"map_files_photo_id_array":[{"photo_id":"1332783353","filename":"file5"},{"photo_id":"1332783327","filename":"file2"},{"photo_id":"1332783349","filename":"file4"},{"photo_id":"1332783319","filename":"file1"},{"photo_id":"1332783305","filename":"file0"},{"photo_id":"1332783332","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332783353":["hashtag1","hashtag2"]},{"1332783332":["hashtag1","hashtag2"]},{"1332783305":["hashtag1","hashtag2"]},{"1332783349":["hashtag1","hashtag2"]},{"1332783319":["hashtag1","hashtag2"]},{"1332783327":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332783353, 1332783332, 1332783305, 1332783349, 1332783319, 1332783327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38078737258911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:10:32.677793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/53/image_29012025_17_53_55_10450.jpg', '/home/pi/Desktop/images/29012025/17/53/image_29012025_17_54_04_9492.jpg', '/home/pi/Desktop/images/29012025/17/54/image_29012025_17_54_15_10439.jpg', '/home/pi/Desktop/images/29012025/17/54/image_29012025_17_54_25_10415.jpg', '/home/pi/Desktop/images/29012025/17/54/image_29012025_17_54_34_9441.jpg', '/home/pi/Desktop/images/29012025/17/54/image_29012025_17_54_45_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/53/image_29012025_17_53_55_10450.jpg
/home/pi/Desktop/images/29012025/17/53/image_29012025_17_54_04_9492.jpg
/home/pi/Desktop/images/29012025/17/54/image_29012025_17_54_15_10439.jpg
/home/pi/Desktop/images/29012025/17/54/image_29012025_17_54_25_10415.jpg
/home/pi/Desktop/images/29012025/17/54/image_29012025_17_54_34_9441.jpg
/home/pi/Desktop/images/29012025/17/54/image_29012025_17_54_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":["1332783386","1332783391","1332783406","1332783400","1332783378","1332783395"],"photo_ids_order":["1332783378","1332783386","1332783391","1332783395","1332783400","1332783406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5d8219d09c63f89749673a0414e687b6.jpg","text":"TemporaryFile(/tmp/multipartBody695053847106930540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188693672,"filename":"image_29012025_17_54_04_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/29/5a45dee77baebd40af186550465b3fb5.jpg","text":"TemporaryFile(/tmp/multipartBody2321638073187757305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188693672,"filename":"image_29012025_17_54_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/29/9ea56d0e1e080088b7ba581941db7db5.jpg","text":"TemporaryFile(/tmp/multipartBody8087198136086572878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188693672,"filename":"image_29012025_17_54_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/29/7eebf65e804552b808cc1760c0e44c96.jpg","text":"TemporaryFile(/tmp/multipartBody8182834064724034873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188693672,"filename":"image_29012025_17_54_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/29/ee26dc5724f98e2b9c43dda6b8336601.jpg","text":"TemporaryFile(/tmp/multipartBody8129006558982974328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188693672,"filename":"image_29012025_17_53_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/29/88e5cd12c08303fbda5582f4437045d4.jpg","text":"TemporaryFile(/tmp/multipartBody1413919987719280841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188693672,"filename":"image_29012025_17_54_25_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332783391","file1":"1332783386","file0":"1332783378","file4":"1332783400","file5":"1332783406","file3":"1332783395"},"map_files_photo_id_array":[{"photo_id":"1332783406","filename":"file5"},{"photo_id":"1332783391","filename":"file2"},{"photo_id":"1332783400","filename":"file4"},{"photo_id":"1332783386","filename":"file1"},{"photo_id":"1332783378","filename":"file0"},{"photo_id":"1332783395","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332783386":["hashtag1","hashtag2"]},{"1332783391":["hashtag1","hashtag2"]},{"1332783406":["hashtag1","hashtag2"]},{"1332783400":["hashtag1","hashtag2"]},{"1332783378":["hashtag1","hashtag2"]},{"1332783395":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332783386, 1332783391, 1332783406, 1332783400, 1332783378, 1332783395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10800361633301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:11:32.969859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/54/image_29012025_17_54_54_9403.jpg', '/home/pi/Desktop/images/29012025/17/54/image_29012025_17_55_05_10337.jpg', '/home/pi/Desktop/images/29012025/17/55/image_29012025_17_55_14_9500.jpg', '/home/pi/Desktop/images/29012025/17/55/image_29012025_17_55_25_10356.jpg', '/home/pi/Desktop/images/29012025/17/55/image_29012025_17_55_35_10353.jpg', '/home/pi/Desktop/images/29012025/17/55/image_29012025_17_55_44_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/54/image_29012025_17_54_54_9403.jpg
/home/pi/Desktop/images/29012025/17/54/image_29012025_17_55_05_10337.jpg
/home/pi/Desktop/images/29012025/17/55/image_29012025_17_55_14_9500.jpg
/home/pi/Desktop/images/29012025/17/55/image_29012025_17_55_25_10356.jpg
/home/pi/Desktop/images/29012025/17/55/image_29012025_17_55_35_10353.jpg
/home/pi/Desktop/images/29012025/17/55/image_29012025_17_55_44_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":["1332783440","1332783472","1332783466","1332783451","1332783498","1332783459"],"photo_ids_order":["1332783440","1332783451","1332783459","1332783466","1332783472","1332783498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ab7d4557080a704ad229719b46e0d5f0.jpg","text":"TemporaryFile(/tmp/multipartBody515666227770312197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188753975,"filename":"image_29012025_17_54_54_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/29/f9d2414b01386326b1a0737551672fca.jpg","text":"TemporaryFile(/tmp/multipartBody7583419249156880305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188753975,"filename":"image_29012025_17_55_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/29/d8f3afcf9115cbdb5ff9d7fd6d1f761d.jpg","text":"TemporaryFile(/tmp/multipartBody6069112070248330153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188753975,"filename":"image_29012025_17_55_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/29/f5bc473d4b0a4299e0f1b1f7c922ee96.jpg","text":"TemporaryFile(/tmp/multipartBody1057551055540906165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188753975,"filename":"image_29012025_17_55_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/29/d2f807439e4d00f6dc7e216212a09fce.jpg","text":"TemporaryFile(/tmp/multipartBody6825827128734192357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188753975,"filename":"image_29012025_17_55_44_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/29/b51ab6c2f70f7a38b714dabf5133a5b7.jpg","text":"TemporaryFile(/tmp/multipartBody8353396217550209454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188753975,"filename":"image_29012025_17_55_14_9500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332783459","file1":"1332783451","file0":"1332783440","file4":"1332783472","file5":"1332783498","file3":"1332783466"},"map_files_photo_id_array":[{"photo_id":"1332783498","filename":"file5"},{"photo_id":"1332783459","filename":"file2"},{"photo_id":"1332783472","filename":"file4"},{"photo_id":"1332783451","filename":"file1"},{"photo_id":"1332783440","filename":"file0"},{"photo_id":"1332783466","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332783440":["hashtag1","hashtag2"]},{"1332783472":["hashtag1","hashtag2"]},{"1332783466":["hashtag1","hashtag2"]},{"1332783451":["hashtag1","hashtag2"]},{"1332783498":["hashtag1","hashtag2"]},{"1332783459":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332783440, 1332783472, 1332783466, 1332783451, 1332783498, 1332783459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18006682395935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:12:32.169889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/55/image_29012025_17_55_55_10355.jpg', '/home/pi/Desktop/images/29012025/17/55/image_29012025_17_56_05_10409.jpg', '/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_14_9324.jpg', '/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_25_10348.jpg', '/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_34_9421.jpg', '/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_45_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/55/image_29012025_17_55_55_10355.jpg
/home/pi/Desktop/images/29012025/17/55/image_29012025_17_56_05_10409.jpg
/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_14_9324.jpg
/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_25_10348.jpg
/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_34_9421.jpg
/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_45_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":["1332783515","1332783518","1332783523","1332783532","1332783511","1332783528"],"photo_ids_order":["1332783511","1332783515","1332783518","1332783523","1332783528","1332783532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7c8f809f4372337209b2135f016c340e.jpg","text":"TemporaryFile(/tmp/multipartBody1112112820855353752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188813173,"filename":"image_29012025_17_56_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/29/f05c3d21285903988242ff521e3b84d6.jpg","text":"TemporaryFile(/tmp/multipartBody4956006308703258515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188813173,"filename":"image_29012025_17_56_14_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/29/ba4554927b6a4e289e4c0dfaf4457207.jpg","text":"TemporaryFile(/tmp/multipartBody7052539968344806905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188813173,"filename":"image_29012025_17_56_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/29/37595434b3da10079dab97c81f283606.jpg","text":"TemporaryFile(/tmp/multipartBody393656177898710007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188813173,"filename":"image_29012025_17_56_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/29/f896a12001b90081e0194bae03c27028.jpg","text":"TemporaryFile(/tmp/multipartBody8467188587461543262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188813173,"filename":"image_29012025_17_55_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/29/607b665494f77e75e22553af8c89a0a7.jpg","text":"TemporaryFile(/tmp/multipartBody6417894083746103207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188813173,"filename":"image_29012025_17_56_34_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332783518","file1":"1332783515","file0":"1332783511","file4":"1332783528","file5":"1332783532","file3":"1332783523"},"map_files_photo_id_array":[{"photo_id":"1332783532","filename":"file5"},{"photo_id":"1332783518","filename":"file2"},{"photo_id":"1332783528","filename":"file4"},{"photo_id":"1332783515","filename":"file1"},{"photo_id":"1332783511","filename":"file0"},{"photo_id":"1332783523","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332783515":["hashtag1","hashtag2"]},{"1332783518":["hashtag1","hashtag2"]},{"1332783523":["hashtag1","hashtag2"]},{"1332783532":["hashtag1","hashtag2"]},{"1332783511":["hashtag1","hashtag2"]},{"1332783528":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332783515, 1332783518, 1332783523, 1332783532, 1332783511, 1332783528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78725290298462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:13:32.414005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_55_10359.jpg', '/home/pi/Desktop/images/29012025/17/56/image_29012025_17_57_04_9424.jpg', '/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_15_10321.jpg', '/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_25_10394.jpg', '/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_34_9411.jpg', '/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_45_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_55_10359.jpg
/home/pi/Desktop/images/29012025/17/56/image_29012025_17_57_04_9424.jpg
/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_15_10321.jpg
/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_25_10394.jpg
/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_34_9411.jpg
/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_45_10383.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.5965673923492432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 23:13:42.424278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_55_10359.jpg', '/home/pi/Desktop/images/29012025/17/56/image_29012025_17_57_04_9424.jpg', '/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_15_10321.jpg', '/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_25_10394.jpg', '/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_34_9411.jpg', '/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_45_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/56/image_29012025_17_56_55_10359.jpg
/home/pi/Desktop/images/29012025/17/56/image_29012025_17_57_04_9424.jpg
/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_15_10321.jpg
/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_25_10394.jpg
/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_34_9411.jpg
/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_45_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332783592","1332783651","1332783654","1332783633","1332783627","1332783639"],"photo_ids_order":["1332783592","1332783627","1332783633","1332783639","1332783651","1332783654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fff215fcc9ff6326dda97f03b4f42a54.jpg","text":"TemporaryFile(/tmp/multipartBody5388457970696617211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188883334,"filename":"image_29012025_17_56_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/29/c4364057934c9ff2d752720454a08353.jpg","text":"TemporaryFile(/tmp/multipartBody1626879875001245182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188883334,"filename":"image_29012025_17_57_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/29/74771616c766ab3511b0db96c9a7f756.jpg","text":"TemporaryFile(/tmp/multipartBody7197695117408596350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188883334,"filename":"image_29012025_17_57_45_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/29/7587378a76d0792f64b2637e9fa73d8d.jpg","text":"TemporaryFile(/tmp/multipartBody2660673102825915802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188883334,"filename":"image_29012025_17_57_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/29/f7b17f5567787c9a50d1a18894766fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8746682131619453817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188883334,"filename":"image_29012025_17_57_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/29/bd0e72683bd5869e64b6e9524e9efb48.jpg","text":"TemporaryFile(/tmp/multipartBody5479362270471736857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188883334,"filename":"image_29012025_17_57_25_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332783633","file1":"1332783627","file0":"1332783592","file4":"1332783651","file5":"1332783654","file3":"1332783639"},"map_files_photo_id_array":[{"photo_id":"1332783654","filename":"file5"},{"photo_id":"1332783633","filename":"file2"},{"photo_id":"1332783651","filename":"file4"},{"photo_id":"1332783627","filename":"file1"},{"photo_id":"1332783592","filename":"file0"},{"photo_id":"1332783639","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332783592":["hashtag1","hashtag2"]},{"1332783651":["hashtag1","hashtag2"]},{"1332783654":["hashtag1","hashtag2"]},{"1332783633":["hashtag1","hashtag2"]},{"1332783627":["hashtag1","hashtag2"]},{"1332783639":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332783592, 1332783651, 1332783654, 1332783633, 1332783627, 1332783639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85896325111389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:14:32.724494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_55_9821.jpg', '/home/pi/Desktop/images/29012025/17/57/image_29012025_17_58_05_10413.jpg', '/home/pi/Desktop/images/29012025/17/58/image_29012025_17_58_34_9349.jpg', '/home/pi/Desktop/images/29012025/17/58/image_29012025_17_58_45_10368.jpg', '/home/pi/Desktop/images/29012025/17/58/image_29012025_17_59_04_9360.jpg', '/home/pi/Desktop/images/29012025/17/59/image_29012025_17_59_15_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/57/image_29012025_17_57_55_9821.jpg
/home/pi/Desktop/images/29012025/17/57/image_29012025_17_58_05_10413.jpg
/home/pi/Desktop/images/29012025/17/58/image_29012025_17_58_34_9349.jpg
/home/pi/Desktop/images/29012025/17/58/image_29012025_17_58_45_10368.jpg
/home/pi/Desktop/images/29012025/17/58/image_29012025_17_59_04_9360.jpg
/home/pi/Desktop/images/29012025/17/59/image_29012025_17_59_15_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332783698","1332783728","1332783716","1332783703","1332783712","1332783708"],"photo_ids_order":["1332783698","1332783703","1332783708","1332783712","1332783716","1332783728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/9ce4cdc8b1d95284ebc2278d1cb2ddee.jpg","text":"TemporaryFile(/tmp/multipartBody8653279460653255091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188933745,"filename":"image_29012025_17_57_55_9821.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3a6b6c3ac924b595fe5948ef4ff4e0e0.jpg","text":"TemporaryFile(/tmp/multipartBody9013075150924508447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188933745,"filename":"image_29012025_17_59_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/29/5500d18ade221412b4694956806c907d.jpg","text":"TemporaryFile(/tmp/multipartBody4210953644402876731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188933745,"filename":"image_29012025_17_59_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/29/234c51389484323587be0d8a97a5d19a.jpg","text":"TemporaryFile(/tmp/multipartBody2178165844466255489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188933745,"filename":"image_29012025_17_58_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/29/e15fb12c21364b7ba39da0f4100b15ae.jpg","text":"TemporaryFile(/tmp/multipartBody5980481794724737253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188933745,"filename":"image_29012025_17_58_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/29/f7dc820a0066fe9ce54fa550c77b8af7.jpg","text":"TemporaryFile(/tmp/multipartBody5222973940840851055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188933745,"filename":"image_29012025_17_58_34_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332783708","file1":"1332783703","file0":"1332783698","file4":"1332783716","file5":"1332783728","file3":"1332783712"},"map_files_photo_id_array":[{"photo_id":"1332783728","filename":"file5"},{"photo_id":"1332783708","filename":"file2"},{"photo_id":"1332783716","filename":"file4"},{"photo_id":"1332783703","filename":"file1"},{"photo_id":"1332783698","filename":"file0"},{"photo_id":"1332783712","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332783698":["hashtag1","hashtag2"]},{"1332783728":["hashtag1","hashtag2"]},{"1332783716":["hashtag1","hashtag2"]},{"1332783703":["hashtag1","hashtag2"]},{"1332783712":["hashtag1","hashtag2"]},{"1332783708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332783698, 1332783728, 1332783716, 1332783703, 1332783712, 1332783708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99260497093201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:15:33.076010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/17/59/image_29012025_17_59_25_10424.jpg', '/home/pi/Desktop/images/29012025/17/59/image_29012025_17_59_34_9359.jpg', '/home/pi/Desktop/images/29012025/17/59/image_29012025_17_59_45_10373.jpg', '/home/pi/Desktop/images/29012025/17/59/image_29012025_17_59_54_9424.jpg', '/home/pi/Desktop/images/29012025/18/00/image_29012025_18_00_45_9359.jpg', '/home/pi/Desktop/images/29012025/18/00/image_29012025_18_00_55_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/17/59/image_29012025_17_59_25_10424.jpg
/home/pi/Desktop/images/29012025/17/59/image_29012025_17_59_34_9359.jpg
/home/pi/Desktop/images/29012025/17/59/image_29012025_17_59_45_10373.jpg
/home/pi/Desktop/images/29012025/17/59/image_29012025_17_59_54_9424.jpg
/home/pi/Desktop/images/29012025/18/00/image_29012025_18_00_45_9359.jpg
/home/pi/Desktop/images/29012025/18/00/image_29012025_18_00_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":["1332783918","1332783953","1332783947","1332783871","1332783840","1332783899"],"photo_ids_order":["1332783840","1332783871","1332783899","1332783918","1332783947","1332783953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/de262c0e2ffca1ac4e184d28678c12e3.jpg","text":"TemporaryFile(/tmp/multipartBody7581232499771578707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188994084,"filename":"image_29012025_17_59_54_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/29/ceb4c8b4a224465f4ace12cbbc2d1555.jpg","text":"TemporaryFile(/tmp/multipartBody2905498256735485454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188994084,"filename":"image_29012025_18_00_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/29/59e3d082be5ede35e06b0b6d8314c0e3.jpg","text":"TemporaryFile(/tmp/multipartBody2569924513507402079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188994084,"filename":"image_29012025_18_00_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/29/d0dd3d6177dac6ee1700b15d4ae9fd76.jpg","text":"TemporaryFile(/tmp/multipartBody7151724959348252227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188994084,"filename":"image_29012025_17_59_34_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/29/ce9754e4ce29bf88f668e061aecd375c.jpg","text":"TemporaryFile(/tmp/multipartBody6298394140918203436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188994084,"filename":"image_29012025_17_59_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/29/018a9ac249b656e67a8dca0541510b54.jpg","text":"TemporaryFile(/tmp/multipartBody1245539216419158654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738188994084,"filename":"image_29012025_17_59_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332783899","file1":"1332783871","file0":"1332783840","file4":"1332783947","file5":"1332783953","file3":"1332783918"},"map_files_photo_id_array":[{"photo_id":"1332783953","filename":"file5"},{"photo_id":"1332783899","filename":"file2"},{"photo_id":"1332783947","filename":"file4"},{"photo_id":"1332783871","filename":"file1"},{"photo_id":"1332783840","filename":"file0"},{"photo_id":"1332783918","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332783918":["hashtag1","hashtag2"]},{"1332783953":["hashtag1","hashtag2"]},{"1332783947":["hashtag1","hashtag2"]},{"1332783871":["hashtag1","hashtag2"]},{"1332783840":["hashtag1","hashtag2"]},{"1332783899":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332783918, 1332783953, 1332783947, 1332783871, 1332783840, 1332783899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3623366355896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:16:32.411186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/00/image_29012025_18_01_06_10350.jpg', '/home/pi/Desktop/images/29012025/18/01/image_29012025_18_01_15_9432.jpg', '/home/pi/Desktop/images/29012025/18/01/image_29012025_18_01_26_10370.jpg', '/home/pi/Desktop/images/29012025/18/01/image_29012025_18_01_35_9432.jpg', '/home/pi/Desktop/images/29012025/18/01/image_29012025_18_01_45_10380.jpg', '/home/pi/Desktop/images/29012025/18/01/image_29012025_18_01_56_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/00/image_29012025_18_01_06_10350.jpg
/home/pi/Desktop/images/29012025/18/01/image_29012025_18_01_15_9432.jpg
/home/pi/Desktop/images/29012025/18/01/image_29012025_18_01_26_10370.jpg
/home/pi/Desktop/images/29012025/18/01/image_29012025_18_01_35_9432.jpg
/home/pi/Desktop/images/29012025/18/01/image_29012025_18_01_45_10380.jpg
/home/pi/Desktop/images/29012025/18/01/image_29012025_18_01_56_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332784229","1332784264","1332784281","1332784206","1332784199","1332784244"],"photo_ids_order":["1332784199","1332784206","1332784229","1332784244","1332784264","1332784281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cdabf1e74d233dd7c137a645a2b799c5.jpg","text":"TemporaryFile(/tmp/multipartBody8096548639424795760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189053439,"filename":"image_29012025_18_01_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/29/9c59a10c85b6556384783f1b29142916.jpg","text":"TemporaryFile(/tmp/multipartBody1371924114250397627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189053439,"filename":"image_29012025_18_01_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/29/cd5b6761cbbf26695b1338a267ca252f.jpg","text":"TemporaryFile(/tmp/multipartBody4409830577011138509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189053439,"filename":"image_29012025_18_01_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/29/3b98f5bcf5f0bd5150ffb4bf1415ad1e.jpg","text":"TemporaryFile(/tmp/multipartBody868823363360577264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189053439,"filename":"image_29012025_18_01_15_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/29/23a296f61bfcf7f9c8472c4a7dd77caa.jpg","text":"TemporaryFile(/tmp/multipartBody7237570914465186664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189053439,"filename":"image_29012025_18_01_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/29/e23e2f9c353914d1bc3a5089d8779954.jpg","text":"TemporaryFile(/tmp/multipartBody3237230304893500538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189053439,"filename":"image_29012025_18_01_35_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332784229","file1":"1332784206","file0":"1332784199","file4":"1332784264","file5":"1332784281","file3":"1332784244"},"map_files_photo_id_array":[{"photo_id":"1332784281","filename":"file5"},{"photo_id":"1332784229","filename":"file2"},{"photo_id":"1332784264","filename":"file4"},{"photo_id":"1332784206","filename":"file1"},{"photo_id":"1332784199","filename":"file0"},{"photo_id":"1332784244","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332784229":["hashtag1","hashtag2"]},{"1332784264":["hashtag1","hashtag2"]},{"1332784281":["hashtag1","hashtag2"]},{"1332784206":["hashtag1","hashtag2"]},{"1332784199":["hashtag1","hashtag2"]},{"1332784244":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332784229, 1332784264, 1332784281, 1332784206, 1332784199, 1332784244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33452534675598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:17:32.628433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/01/image_29012025_18_02_05_9355.jpg', '/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_16_10347.jpg', '/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_25_9459.jpg', '/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_35_10416.jpg', '/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_46_10374.jpg', '/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_55_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/01/image_29012025_18_02_05_9355.jpg
/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_16_10347.jpg
/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_25_9459.jpg
/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_35_10416.jpg
/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_46_10374.jpg
/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_55_9435.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.6066319942474365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 23:17:42.655145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/01/image_29012025_18_02_05_9355.jpg', '/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_16_10347.jpg', '/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_25_9459.jpg', '/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_35_10416.jpg', '/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_46_10374.jpg', '/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_55_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/01/image_29012025_18_02_05_9355.jpg
/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_16_10347.jpg
/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_25_9459.jpg
/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_35_10416.jpg
/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_46_10374.jpg
/home/pi/Desktop/images/29012025/18/02/image_29012025_18_02_55_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332784415","1332784399","1332784435","1332784438","1332784420","1332784428"],"photo_ids_order":["1332784399","1332784415","1332784420","1332784428","1332784435","1332784438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8768c1598c659329b9731f91c5f0fb56.jpg","text":"TemporaryFile(/tmp/multipartBody5551700269717966044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189123569,"filename":"image_29012025_18_02_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/29/da48078921ecfee3c05ebf054377b460.jpg","text":"TemporaryFile(/tmp/multipartBody8665780569867776845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189123569,"filename":"image_29012025_18_02_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/29/295e0b95945e61b881df5614f77f5126.jpg","text":"TemporaryFile(/tmp/multipartBody3777540826557914043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189123569,"filename":"image_29012025_18_02_46_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/29/5493aeacba98c7849b8d5e7858a66e95.jpg","text":"TemporaryFile(/tmp/multipartBody4021223365561793475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189123569,"filename":"image_29012025_18_02_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/29/fa73ea018cbc7fad949c6d1b36acb991.jpg","text":"TemporaryFile(/tmp/multipartBody8512750450667017726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189123569,"filename":"image_29012025_18_02_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/29/8b58a78400ebec8cf207a2e41f4d4b82.jpg","text":"TemporaryFile(/tmp/multipartBody7403227087326518369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189123569,"filename":"image_29012025_18_02_35_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332784420","file1":"1332784415","file0":"1332784399","file4":"1332784435","file5":"1332784438","file3":"1332784428"},"map_files_photo_id_array":[{"photo_id":"1332784438","filename":"file5"},{"photo_id":"1332784420","filename":"file2"},{"photo_id":"1332784435","filename":"file4"},{"photo_id":"1332784415","filename":"file1"},{"photo_id":"1332784399","filename":"file0"},{"photo_id":"1332784428","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332784415":["hashtag1","hashtag2"]},{"1332784399":["hashtag1","hashtag2"]},{"1332784435":["hashtag1","hashtag2"]},{"1332784438":["hashtag1","hashtag2"]},{"1332784420":["hashtag1","hashtag2"]},{"1332784428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332784415, 1332784399, 1332784435, 1332784438, 1332784420, 1332784428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31377601623535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:18:32.837835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/02/image_29012025_18_03_06_10393.jpg', '/home/pi/Desktop/images/29012025/18/03/image_29012025_18_03_15_9433.jpg', '/home/pi/Desktop/images/29012025/18/03/image_29012025_18_03_36_10369.jpg', '/home/pi/Desktop/images/29012025/18/03/image_29012025_18_03_45_9357.jpg', '/home/pi/Desktop/images/29012025/18/03/image_29012025_18_03_56_10376.jpg', '/home/pi/Desktop/images/29012025/18/03/image_29012025_18_04_05_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/02/image_29012025_18_03_06_10393.jpg
/home/pi/Desktop/images/29012025/18/03/image_29012025_18_03_15_9433.jpg
/home/pi/Desktop/images/29012025/18/03/image_29012025_18_03_36_10369.jpg
/home/pi/Desktop/images/29012025/18/03/image_29012025_18_03_45_9357.jpg
/home/pi/Desktop/images/29012025/18/03/image_29012025_18_03_56_10376.jpg
/home/pi/Desktop/images/29012025/18/03/image_29012025_18_04_05_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":["1332784454","1332784495","1332784491","1332784464","1332784475","1332784457"],"photo_ids_order":["1332784454","1332784457","1332784464","1332784475","1332784491","1332784495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f3cdb3b6316e8dd93a7139f24b432974.jpg","text":"TemporaryFile(/tmp/multipartBody4095492366251887985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189173848,"filename":"image_29012025_18_03_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/29/53c3409a72dad710f3bd68410b766b05.jpg","text":"TemporaryFile(/tmp/multipartBody5955947883745684541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189173848,"filename":"image_29012025_18_04_05_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/29/494ab7a2fcb52d0f5f26cb075e57cac2.jpg","text":"TemporaryFile(/tmp/multipartBody5987865575191567088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189173848,"filename":"image_29012025_18_03_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/29/030bbceb5372c7993dfb557ee8bd17f2.jpg","text":"TemporaryFile(/tmp/multipartBody748622180596198022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189173848,"filename":"image_29012025_18_03_36_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/29/5c331d645eb3944c97ce66571ce94e03.jpg","text":"TemporaryFile(/tmp/multipartBody4154236480917513004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189173848,"filename":"image_29012025_18_03_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/29/3611582206fa0d32759aba094e24def4.jpg","text":"TemporaryFile(/tmp/multipartBody8369703978560320926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189173848,"filename":"image_29012025_18_03_15_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332784464","file1":"1332784457","file0":"1332784454","file4":"1332784491","file5":"1332784495","file3":"1332784475"},"map_files_photo_id_array":[{"photo_id":"1332784495","filename":"file5"},{"photo_id":"1332784464","filename":"file2"},{"photo_id":"1332784491","filename":"file4"},{"photo_id":"1332784457","filename":"file1"},{"photo_id":"1332784454","filename":"file0"},{"photo_id":"1332784475","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332784454":["hashtag1","hashtag2"]},{"1332784495":["hashtag1","hashtag2"]},{"1332784491":["hashtag1","hashtag2"]},{"1332784464":["hashtag1","hashtag2"]},{"1332784475":["hashtag1","hashtag2"]},{"1332784457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332784454, 1332784495, 1332784491, 1332784464, 1332784475, 1332784457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10439205169678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:19:33.047820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/04/image_29012025_18_04_15_10336.jpg', '/home/pi/Desktop/images/29012025/18/04/image_29012025_18_04_26_10434.jpg', '/home/pi/Desktop/images/29012025/18/04/image_29012025_18_04_35_9425.jpg', '/home/pi/Desktop/images/29012025/18/04/image_29012025_18_04_46_10373.jpg', '/home/pi/Desktop/images/29012025/18/04/image_29012025_18_04_56_10364.jpg', '/home/pi/Desktop/images/29012025/18/04/image_29012025_18_05_05_9382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/04/image_29012025_18_04_15_10336.jpg
/home/pi/Desktop/images/29012025/18/04/image_29012025_18_04_26_10434.jpg
/home/pi/Desktop/images/29012025/18/04/image_29012025_18_04_35_9425.jpg
/home/pi/Desktop/images/29012025/18/04/image_29012025_18_04_46_10373.jpg
/home/pi/Desktop/images/29012025/18/04/image_29012025_18_04_56_10364.jpg
/home/pi/Desktop/images/29012025/18/04/image_29012025_18_05_05_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332784547","1332784532","1332784552","1332784543","1332784539","1332784602"],"photo_ids_order":["1332784532","1332784539","1332784543","1332784547","1332784552","1332784602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/19348705dbb62989cf988050380cb795.jpg","text":"TemporaryFile(/tmp/multipartBody4088171831512392864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189234069,"filename":"image_29012025_18_04_46_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/29/bfbf2a283447ed83e9857408c080e3ef.jpg","text":"TemporaryFile(/tmp/multipartBody4058522742970660810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189234069,"filename":"image_29012025_18_04_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/29/39ce14550b0037cca98f3701831b3f24.jpg","text":"TemporaryFile(/tmp/multipartBody3149206701104917367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189234069,"filename":"image_29012025_18_04_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/29/925d1f2d59ae80df53a6505661312654.jpg","text":"TemporaryFile(/tmp/multipartBody8129332557831879554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189234069,"filename":"image_29012025_18_04_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/29/b24c5c80afc65afa7745e4f0122cf689.jpg","text":"TemporaryFile(/tmp/multipartBody6294435049227378681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189234069,"filename":"image_29012025_18_04_26_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/29/b63a0afafbae7540607690a64fb2cb80.jpg","text":"TemporaryFile(/tmp/multipartBody9041022091722369682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189234069,"filename":"image_29012025_18_05_05_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332784543","file1":"1332784539","file0":"1332784532","file4":"1332784552","file5":"1332784602","file3":"1332784547"},"map_files_photo_id_array":[{"photo_id":"1332784602","filename":"file5"},{"photo_id":"1332784543","filename":"file2"},{"photo_id":"1332784552","filename":"file4"},{"photo_id":"1332784539","filename":"file1"},{"photo_id":"1332784532","filename":"file0"},{"photo_id":"1332784547","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332784547":["hashtag1","hashtag2"]},{"1332784532":["hashtag1","hashtag2"]},{"1332784552":["hashtag1","hashtag2"]},{"1332784543":["hashtag1","hashtag2"]},{"1332784539":["hashtag1","hashtag2"]},{"1332784602":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332784547, 1332784532, 1332784552, 1332784543, 1332784539, 1332784602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99620866775513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:20:33.235976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/05/image_29012025_18_05_35_10391.jpg', '/home/pi/Desktop/images/29012025/18/05/image_29012025_18_05_46_10366.jpg', '/home/pi/Desktop/images/29012025/18/05/image_29012025_18_05_55_9354.jpg', '/home/pi/Desktop/images/29012025/18/05/image_29012025_18_06_06_10375.jpg', '/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_16_10333.jpg', '/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_25_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/05/image_29012025_18_05_35_10391.jpg
/home/pi/Desktop/images/29012025/18/05/image_29012025_18_05_46_10366.jpg
/home/pi/Desktop/images/29012025/18/05/image_29012025_18_05_55_9354.jpg
/home/pi/Desktop/images/29012025/18/05/image_29012025_18_06_06_10375.jpg
/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_16_10333.jpg
/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_25_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":["1332785641","1332785266","1332784624","1332784618","1332785019","1332784779"],"photo_ids_order":["1332784618","1332784624","1332784779","1332785019","1332785266","1332785641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7c7c0b99d0667da69166b9434e4b2f22.jpg","text":"TemporaryFile(/tmp/multipartBody856354186995437989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189294242,"filename":"image_29012025_18_06_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/29/1bd5fcefb32a64566e8fa77a4618b667.jpg","text":"TemporaryFile(/tmp/multipartBody309903146765791206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189294242,"filename":"image_29012025_18_06_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/29/6b60c3f1ca5a5e8f1afed6a3a38c4cb1.jpg","text":"TemporaryFile(/tmp/multipartBody2454771017771828159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189294242,"filename":"image_29012025_18_05_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/29/a9020cbd51e69a981063675b77f22a06.jpg","text":"TemporaryFile(/tmp/multipartBody1265722511917413303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189294242,"filename":"image_29012025_18_05_35_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/29/5175e3e9aa5913773db7cde7ada8ce3d.jpg","text":"TemporaryFile(/tmp/multipartBody6908535087398342038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189294242,"filename":"image_29012025_18_06_06_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/29/4124634d2ae92a335c5d0992d3836c39.jpg","text":"TemporaryFile(/tmp/multipartBody4047258584420222600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189294242,"filename":"image_29012025_18_05_55_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332784779","file1":"1332784624","file0":"1332784618","file4":"1332785266","file5":"1332785641","file3":"1332785019"},"map_files_photo_id_array":[{"photo_id":"1332785641","filename":"file5"},{"photo_id":"1332784779","filename":"file2"},{"photo_id":"1332785266","filename":"file4"},{"photo_id":"1332784624","filename":"file1"},{"photo_id":"1332784618","filename":"file0"},{"photo_id":"1332785019","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332785641":["hashtag1","hashtag2"]},{"1332785266":["hashtag1","hashtag2"]},{"1332784624":["hashtag1","hashtag2"]},{"1332784618":["hashtag1","hashtag2"]},{"1332785019":["hashtag1","hashtag2"]},{"1332784779":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332785641, 1332785266, 1332784624, 1332784618, 1332785019, 1332784779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8773672580719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:21:32.315183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_36_10361.jpg', '/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_45_9389.jpg', '/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_55_10373.jpg', '/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_15_9396.jpg', '/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_26_10352.jpg', '/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_35_9507.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_36_10361.jpg
/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_45_9389.jpg
/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_55_10373.jpg
/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_15_9396.jpg
/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_26_10352.jpg
/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_35_9507.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.6048948764801025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 23:21:42.436062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_36_10361.jpg', '/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_45_9389.jpg', '/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_55_10373.jpg', '/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_15_9396.jpg', '/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_26_10352.jpg', '/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_35_9507.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_36_10361.jpg
/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_45_9389.jpg
/home/pi/Desktop/images/29012025/18/06/image_29012025_18_06_55_10373.jpg
/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_15_9396.jpg
/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_26_10352.jpg
/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_35_9507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332786208","1332786159","1332786260","1332786164","1332786212","1332786029"],"photo_ids_order":["1332786029","1332786159","1332786164","1332786208","1332786212","1332786260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dff26e0ce345f346c43cda62de5de6fe.jpg","text":"TemporaryFile(/tmp/multipartBody8097612545824253035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189363339,"filename":"image_29012025_18_07_15_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/29/073e9e9d570095d3e512ad0846b6e6d6.jpg","text":"TemporaryFile(/tmp/multipartBody4236089573522348937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189363339,"filename":"image_29012025_18_06_45_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/29/9f1efd2cc7724e59199d8ae503d72ece.jpg","text":"TemporaryFile(/tmp/multipartBody4021773591000279920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189363339,"filename":"image_29012025_18_07_35_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/439be6e1b9412e7bf7f694ee0dc6a6b5.jpg","text":"TemporaryFile(/tmp/multipartBody3139861300725104979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189363339,"filename":"image_29012025_18_06_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/29/84823fa7a942fb799e2f064ebcdecae4.jpg","text":"TemporaryFile(/tmp/multipartBody5625501874864957110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189363339,"filename":"image_29012025_18_07_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/29/a25693ed2ee90d58d82df9c93dec4455.jpg","text":"TemporaryFile(/tmp/multipartBody7070122576737761721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189363339,"filename":"image_29012025_18_06_36_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332786164","file1":"1332786159","file0":"1332786029","file4":"1332786212","file5":"1332786260","file3":"1332786208"},"map_files_photo_id_array":[{"photo_id":"1332786260","filename":"file5"},{"photo_id":"1332786164","filename":"file2"},{"photo_id":"1332786212","filename":"file4"},{"photo_id":"1332786159","filename":"file1"},{"photo_id":"1332786029","filename":"file0"},{"photo_id":"1332786208","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332786208":["hashtag1","hashtag2"]},{"1332786159":["hashtag1","hashtag2"]},{"1332786260":["hashtag1","hashtag2"]},{"1332786164":["hashtag1","hashtag2"]},{"1332786212":["hashtag1","hashtag2"]},{"1332786029":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332786208, 1332786159, 1332786260, 1332786164, 1332786212, 1332786029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66494083404541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:22:32.669214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_45_10372.jpg', '/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_56_10363.jpg', '/home/pi/Desktop/images/29012025/18/08/image_29012025_18_08_16_10343.jpg', '/home/pi/Desktop/images/29012025/18/08/image_29012025_18_08_25_9476.jpg', '/home/pi/Desktop/images/29012025/18/08/image_29012025_18_09_06_10367.jpg', '/home/pi/Desktop/images/29012025/18/09/image_29012025_18_09_15_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_45_10372.jpg
/home/pi/Desktop/images/29012025/18/07/image_29012025_18_07_56_10363.jpg
/home/pi/Desktop/images/29012025/18/08/image_29012025_18_08_16_10343.jpg
/home/pi/Desktop/images/29012025/18/08/image_29012025_18_08_25_9476.jpg
/home/pi/Desktop/images/29012025/18/08/image_29012025_18_09_06_10367.jpg
/home/pi/Desktop/images/29012025/18/09/image_29012025_18_09_15_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":["1332786318","1332786312","1332786306","1332786299","1332786323","1332786302"],"photo_ids_order":["1332786299","1332786302","1332786306","1332786312","1332786318","1332786323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/17403bd965badeb53b8385b71421782b.jpg","text":"TemporaryFile(/tmp/multipartBody3887074840031903323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189413681,"filename":"image_29012025_18_09_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/29/a911eced93b69ec9bc8dfb5248ef43eb.jpg","text":"TemporaryFile(/tmp/multipartBody7469211317579116320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189413681,"filename":"image_29012025_18_08_25_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/29/2902ecf54e923c1fbc1a963dba1f21ed.jpg","text":"TemporaryFile(/tmp/multipartBody6504034926770533333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189413681,"filename":"image_29012025_18_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/29/54ca4bbe4af4b170ced836cd727b2438.jpg","text":"TemporaryFile(/tmp/multipartBody5952632755289533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189413681,"filename":"image_29012025_18_07_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/29/ac51e2341f4f5d367289980facaf883f.jpg","text":"TemporaryFile(/tmp/multipartBody7203077253388996191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189413681,"filename":"image_29012025_18_09_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/29/cbfb06548962455d946f48ec05e55cf0.jpg","text":"TemporaryFile(/tmp/multipartBody5084004138153910070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189413681,"filename":"image_29012025_18_07_56_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332786306","file1":"1332786302","file0":"1332786299","file4":"1332786318","file5":"1332786323","file3":"1332786312"},"map_files_photo_id_array":[{"photo_id":"1332786323","filename":"file5"},{"photo_id":"1332786306","filename":"file2"},{"photo_id":"1332786318","filename":"file4"},{"photo_id":"1332786302","filename":"file1"},{"photo_id":"1332786299","filename":"file0"},{"photo_id":"1332786312","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332786318":["hashtag1","hashtag2"]},{"1332786312":["hashtag1","hashtag2"]},{"1332786306":["hashtag1","hashtag2"]},{"1332786299":["hashtag1","hashtag2"]},{"1332786323":["hashtag1","hashtag2"]},{"1332786302":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332786318, 1332786312, 1332786306, 1332786299, 1332786323, 1332786302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40881896018982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:23:32.825778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/09/image_29012025_18_09_25_10352.jpg', '/home/pi/Desktop/images/29012025/18/09/image_29012025_18_09_36_10363.jpg', '/home/pi/Desktop/images/29012025/18/09/image_29012025_18_09_45_9367.jpg', '/home/pi/Desktop/images/29012025/18/09/image_29012025_18_10_06_10365.jpg', '/home/pi/Desktop/images/29012025/18/10/image_29012025_18_10_15_9542.jpg', '/home/pi/Desktop/images/29012025/18/10/image_29012025_18_10_26_10478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/09/image_29012025_18_09_25_10352.jpg
/home/pi/Desktop/images/29012025/18/09/image_29012025_18_09_36_10363.jpg
/home/pi/Desktop/images/29012025/18/09/image_29012025_18_09_45_9367.jpg
/home/pi/Desktop/images/29012025/18/09/image_29012025_18_10_06_10365.jpg
/home/pi/Desktop/images/29012025/18/10/image_29012025_18_10_15_9542.jpg
/home/pi/Desktop/images/29012025/18/10/image_29012025_18_10_26_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332786399","1332786447","1332786396","1332786378","1332786392","1332786413"],"photo_ids_order":["1332786378","1332786392","1332786396","1332786399","1332786413","1332786447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/3b9dabf4b247be94cfc870c1b504c284.jpg","text":"TemporaryFile(/tmp/multipartBody949162951450397764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189473819,"filename":"image_29012025_18_10_06_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/29/426cd2c5d4fd4ce7c6a9f33aab249620.jpg","text":"TemporaryFile(/tmp/multipartBody7333731525826958760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189473819,"filename":"image_29012025_18_10_26_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/29/ff4d124f68194d44c2f8ae66df9aa9a4.jpg","text":"TemporaryFile(/tmp/multipartBody3560059369511366660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189473819,"filename":"image_29012025_18_09_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/29/3bf55bb3815483bbac00ebc286d89ed1.jpg","text":"TemporaryFile(/tmp/multipartBody2145926236973162590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189473819,"filename":"image_29012025_18_09_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/29/c6e6e93af66d7d98db17b0aee1e14a08.jpg","text":"TemporaryFile(/tmp/multipartBody3409488013236595055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189473819,"filename":"image_29012025_18_09_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/29/cc1e3e4903c19383405aab00817c829c.jpg","text":"TemporaryFile(/tmp/multipartBody20804654890609046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189473819,"filename":"image_29012025_18_10_15_9542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332786396","file1":"1332786392","file0":"1332786378","file4":"1332786413","file5":"1332786447","file3":"1332786399"},"map_files_photo_id_array":[{"photo_id":"1332786447","filename":"file5"},{"photo_id":"1332786396","filename":"file2"},{"photo_id":"1332786413","filename":"file4"},{"photo_id":"1332786392","filename":"file1"},{"photo_id":"1332786378","filename":"file0"},{"photo_id":"1332786399","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332786399":["hashtag1","hashtag2"]},{"1332786447":["hashtag1","hashtag2"]},{"1332786396":["hashtag1","hashtag2"]},{"1332786378":["hashtag1","hashtag2"]},{"1332786392":["hashtag1","hashtag2"]},{"1332786413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332786399, 1332786447, 1332786396, 1332786378, 1332786392, 1332786413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.962827920913696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:24:33.289816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/10/image_29012025_18_10_46_10355.jpg', '/home/pi/Desktop/images/29012025/18/10/image_29012025_18_10_55_9428.jpg', '/home/pi/Desktop/images/29012025/18/10/image_29012025_18_11_05_10354.jpg', '/home/pi/Desktop/images/29012025/18/11/image_29012025_18_11_25_9439.jpg', '/home/pi/Desktop/images/29012025/18/11/image_29012025_18_11_36_10485.jpg', '/home/pi/Desktop/images/29012025/18/11/image_29012025_18_11_45_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/10/image_29012025_18_10_46_10355.jpg
/home/pi/Desktop/images/29012025/18/10/image_29012025_18_10_55_9428.jpg
/home/pi/Desktop/images/29012025/18/10/image_29012025_18_11_05_10354.jpg
/home/pi/Desktop/images/29012025/18/11/image_29012025_18_11_25_9439.jpg
/home/pi/Desktop/images/29012025/18/11/image_29012025_18_11_36_10485.jpg
/home/pi/Desktop/images/29012025/18/11/image_29012025_18_11_45_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332786540","1332786525","1332786519","1332786530","1332786515","1332786535"],"photo_ids_order":["1332786515","1332786519","1332786525","1332786530","1332786535","1332786540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ada1fc8bcada6f382e7c37d72deb1e4b.jpg","text":"TemporaryFile(/tmp/multipartBody6286108516942564633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189534288,"filename":"image_29012025_18_11_45_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/29/2a9761cbd851fd710bf49b9896d67777.jpg","text":"TemporaryFile(/tmp/multipartBody7646499465079045048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189534288,"filename":"image_29012025_18_11_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/29/047ec48d174ba567bf10510951974c25.jpg","text":"TemporaryFile(/tmp/multipartBody4125192496508511810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189534288,"filename":"image_29012025_18_10_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/29/1c6e3e6c66802886f35bd39ff4c24afb.jpg","text":"TemporaryFile(/tmp/multipartBody7966794290528655088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189534288,"filename":"image_29012025_18_11_25_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/29/4a076fb2eabd015282559c392a8382e6.jpg","text":"TemporaryFile(/tmp/multipartBody6215936775627371711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189534288,"filename":"image_29012025_18_10_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/29/34c7f08b2ba3b155acf031ef3647712e.jpg","text":"TemporaryFile(/tmp/multipartBody2880579749162049743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189534288,"filename":"image_29012025_18_11_36_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332786525","file1":"1332786519","file0":"1332786515","file4":"1332786535","file5":"1332786540","file3":"1332786530"},"map_files_photo_id_array":[{"photo_id":"1332786540","filename":"file5"},{"photo_id":"1332786525","filename":"file2"},{"photo_id":"1332786535","filename":"file4"},{"photo_id":"1332786519","filename":"file1"},{"photo_id":"1332786515","filename":"file0"},{"photo_id":"1332786530","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332786540":["hashtag1","hashtag2"]},{"1332786525":["hashtag1","hashtag2"]},{"1332786519":["hashtag1","hashtag2"]},{"1332786530":["hashtag1","hashtag2"]},{"1332786515":["hashtag1","hashtag2"]},{"1332786535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332786540, 1332786525, 1332786519, 1332786530, 1332786515, 1332786535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61522817611694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:25:32.463928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/11/image_29012025_18_11_55_10372.jpg', '/home/pi/Desktop/images/29012025/18/11/image_29012025_18_12_06_10358.jpg', '/home/pi/Desktop/images/29012025/18/12/image_29012025_18_12_15_9412.jpg', '/home/pi/Desktop/images/29012025/18/12/image_29012025_18_12_26_10358.jpg', '/home/pi/Desktop/images/29012025/18/12/image_29012025_18_12_35_9449.jpg', '/home/pi/Desktop/images/29012025/18/12/image_29012025_18_12_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/11/image_29012025_18_11_55_10372.jpg
/home/pi/Desktop/images/29012025/18/11/image_29012025_18_12_06_10358.jpg
/home/pi/Desktop/images/29012025/18/12/image_29012025_18_12_15_9412.jpg
/home/pi/Desktop/images/29012025/18/12/image_29012025_18_12_26_10358.jpg
/home/pi/Desktop/images/29012025/18/12/image_29012025_18_12_35_9449.jpg
/home/pi/Desktop/images/29012025/18/12/image_29012025_18_12_45_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":["1332786564","1332786590","1332786578","1332786586","1332786580","1332786583"],"photo_ids_order":["1332786564","1332786578","1332786580","1332786583","1332786586","1332786590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b94c9001ec06fdeead268ee77bcf810d.jpg","text":"TemporaryFile(/tmp/multipartBody4602017777780788469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189593466,"filename":"image_29012025_18_11_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/29/1b1aabbad605eb4e617269187d6521d3.jpg","text":"TemporaryFile(/tmp/multipartBody3826749550834242963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189593466,"filename":"image_29012025_18_12_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/29/ed86c078e107bafdc0c53fba9a3299d0.jpg","text":"TemporaryFile(/tmp/multipartBody7206122707734117007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189593466,"filename":"image_29012025_18_12_06_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/29/4b58d052e7db39eceb071604d52e8671.jpg","text":"TemporaryFile(/tmp/multipartBody4162888125181028122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189593466,"filename":"image_29012025_18_12_35_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/29/efa1c6a78cdd3e776499d91114b7039c.jpg","text":"TemporaryFile(/tmp/multipartBody6710836200821228200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189593466,"filename":"image_29012025_18_12_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/29/8cbb3875a8279fa8164f9e9eea69b66f.jpg","text":"TemporaryFile(/tmp/multipartBody7467694884155231694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189593466,"filename":"image_29012025_18_12_26_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332786580","file1":"1332786578","file0":"1332786564","file4":"1332786586","file5":"1332786590","file3":"1332786583"},"map_files_photo_id_array":[{"photo_id":"1332786590","filename":"file5"},{"photo_id":"1332786580","filename":"file2"},{"photo_id":"1332786586","filename":"file4"},{"photo_id":"1332786578","filename":"file1"},{"photo_id":"1332786564","filename":"file0"},{"photo_id":"1332786583","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332786564":["hashtag1","hashtag2"]},{"1332786590":["hashtag1","hashtag2"]},{"1332786578":["hashtag1","hashtag2"]},{"1332786586":["hashtag1","hashtag2"]},{"1332786580":["hashtag1","hashtag2"]},{"1332786583":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332786564, 1332786590, 1332786578, 1332786586, 1332786580, 1332786583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.241753339767456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:26:32.569325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/12/image_29012025_18_12_56_10384.jpg', '/home/pi/Desktop/images/29012025/18/12/image_29012025_18_13_05_9451.jpg', '/home/pi/Desktop/images/29012025/18/13/image_29012025_18_13_16_10355.jpg', '/home/pi/Desktop/images/29012025/18/13/image_29012025_18_13_25_9419.jpg', '/home/pi/Desktop/images/29012025/18/13/image_29012025_18_13_35_10366.jpg', '/home/pi/Desktop/images/29012025/18/13/image_29012025_18_13_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/12/image_29012025_18_12_56_10384.jpg
/home/pi/Desktop/images/29012025/18/12/image_29012025_18_13_05_9451.jpg
/home/pi/Desktop/images/29012025/18/13/image_29012025_18_13_16_10355.jpg
/home/pi/Desktop/images/29012025/18/13/image_29012025_18_13_25_9419.jpg
/home/pi/Desktop/images/29012025/18/13/image_29012025_18_13_35_10366.jpg
/home/pi/Desktop/images/29012025/18/13/image_29012025_18_13_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":["1332786940","1332786960","1332786957","1332786852","1332786846","1332787012"],"photo_ids_order":["1332786846","1332786852","1332786940","1332786957","1332786960","1332787012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4ddc92bcbd63e4369351872b20203547.jpg","text":"TemporaryFile(/tmp/multipartBody899738580280457244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189653595,"filename":"image_29012025_18_13_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/29/abf418794d1ae83ef5d4c36ac795dd5d.jpg","text":"TemporaryFile(/tmp/multipartBody5596619737248740660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189653595,"filename":"image_29012025_18_13_35_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/29/b714352d12921152456f44355dd95c0d.jpg","text":"TemporaryFile(/tmp/multipartBody9090117698395136015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189653595,"filename":"image_29012025_18_13_25_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/29/da27b73ac8c006a912aea6b81954b7e2.jpg","text":"TemporaryFile(/tmp/multipartBody8906846661387061710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189653595,"filename":"image_29012025_18_13_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/29/8d2abfbbee4c3731c048c07508dbe6ff.jpg","text":"TemporaryFile(/tmp/multipartBody3942198917616483899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189653595,"filename":"image_29012025_18_12_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/29/6102b4529de4c811eef2bd492418835d.jpg","text":"TemporaryFile(/tmp/multipartBody2271288305344760378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189653595,"filename":"image_29012025_18_13_46_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332786940","file1":"1332786852","file0":"1332786846","file4":"1332786960","file5":"1332787012","file3":"1332786957"},"map_files_photo_id_array":[{"photo_id":"1332787012","filename":"file5"},{"photo_id":"1332786940","filename":"file2"},{"photo_id":"1332786960","filename":"file4"},{"photo_id":"1332786852","filename":"file1"},{"photo_id":"1332786846","filename":"file0"},{"photo_id":"1332786957","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332786940":["hashtag1","hashtag2"]},{"1332786960":["hashtag1","hashtag2"]},{"1332786957":["hashtag1","hashtag2"]},{"1332786852":["hashtag1","hashtag2"]},{"1332786846":["hashtag1","hashtag2"]},{"1332787012":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332786940, 1332786960, 1332786957, 1332786852, 1332786846, 1332787012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.22829461097717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:27:32.866024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/13/image_29012025_18_13_55_9360.jpg', '/home/pi/Desktop/images/29012025/18/13/image_29012025_18_14_05_10346.jpg', '/home/pi/Desktop/images/29012025/18/14/image_29012025_18_14_16_10344.jpg', '/home/pi/Desktop/images/29012025/18/14/image_29012025_18_14_45_9423.jpg', '/home/pi/Desktop/images/29012025/18/14/image_29012025_18_14_55_10344.jpg', '/home/pi/Desktop/images/29012025/18/15/image_29012025_18_15_26_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/13/image_29012025_18_13_55_9360.jpg
/home/pi/Desktop/images/29012025/18/13/image_29012025_18_14_05_10346.jpg
/home/pi/Desktop/images/29012025/18/14/image_29012025_18_14_16_10344.jpg
/home/pi/Desktop/images/29012025/18/14/image_29012025_18_14_45_9423.jpg
/home/pi/Desktop/images/29012025/18/14/image_29012025_18_14_55_10344.jpg
/home/pi/Desktop/images/29012025/18/15/image_29012025_18_15_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":["1332787044","1332787038","1332787055","1332787049","1332787060","1332787063"],"photo_ids_order":["1332787038","1332787044","1332787049","1332787055","1332787060","1332787063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/98dbe9faad871dcc45e364bd2529f16e.jpg","text":"TemporaryFile(/tmp/multipartBody7507880209621977099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189713870,"filename":"image_29012025_18_14_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/29/568910e8bf3535d411c9b7a232b8afb9.jpg","text":"TemporaryFile(/tmp/multipartBody8533781828744196558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189713870,"filename":"image_29012025_18_13_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/29/dbdc61989ee56a4836a820de61e10a08.jpg","text":"TemporaryFile(/tmp/multipartBody672997295117813086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189713870,"filename":"image_29012025_18_14_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/29/3b5eaf058e447183aab7435f6aabc3d2.jpg","text":"TemporaryFile(/tmp/multipartBody6339760071980103890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189713870,"filename":"image_29012025_18_14_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/29/fb041f79ca14ab14b6dd1f45907871c4.jpg","text":"TemporaryFile(/tmp/multipartBody4142278258226589183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189713870,"filename":"image_29012025_18_14_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/29/7aeb863372fdbaf3905b6279b1bbd2c2.jpg","text":"TemporaryFile(/tmp/multipartBody1074729021307652861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189713870,"filename":"image_29012025_18_15_26_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332787049","file1":"1332787044","file0":"1332787038","file4":"1332787060","file5":"1332787063","file3":"1332787055"},"map_files_photo_id_array":[{"photo_id":"1332787063","filename":"file5"},{"photo_id":"1332787049","filename":"file2"},{"photo_id":"1332787060","filename":"file4"},{"photo_id":"1332787044","filename":"file1"},{"photo_id":"1332787038","filename":"file0"},{"photo_id":"1332787055","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332787044":["hashtag1","hashtag2"]},{"1332787038":["hashtag1","hashtag2"]},{"1332787055":["hashtag1","hashtag2"]},{"1332787049":["hashtag1","hashtag2"]},{"1332787060":["hashtag1","hashtag2"]},{"1332787063":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332787044, 1332787038, 1332787055, 1332787049, 1332787060, 1332787063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14887809753418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:28:33.043518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/15/image_29012025_18_15_35_9417.jpg', '/home/pi/Desktop/images/29012025/18/15/image_29012025_18_15_45_10447.jpg', '/home/pi/Desktop/images/29012025/18/15/image_29012025_18_15_56_10394.jpg', '/home/pi/Desktop/images/29012025/18/16/image_29012025_18_16_15_9446.jpg', '/home/pi/Desktop/images/29012025/18/16/image_29012025_18_16_26_10410.jpg', '/home/pi/Desktop/images/29012025/18/16/image_29012025_18_16_36_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/15/image_29012025_18_15_35_9417.jpg
/home/pi/Desktop/images/29012025/18/15/image_29012025_18_15_45_10447.jpg
/home/pi/Desktop/images/29012025/18/15/image_29012025_18_15_56_10394.jpg
/home/pi/Desktop/images/29012025/18/16/image_29012025_18_16_15_9446.jpg
/home/pi/Desktop/images/29012025/18/16/image_29012025_18_16_26_10410.jpg
/home/pi/Desktop/images/29012025/18/16/image_29012025_18_16_36_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":["1332787134","1332787113","1332787107","1332787082","1332787101","1332787085"],"photo_ids_order":["1332787082","1332787085","1332787101","1332787107","1332787113","1332787134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fcdac5e7fc78c27b0cc1e76af748520f.jpg","text":"TemporaryFile(/tmp/multipartBody8531056687941314568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189774043,"filename":"image_29012025_18_16_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/29/c8b0bbb76f93892f3cb5a91ee65211ba.jpg","text":"TemporaryFile(/tmp/multipartBody7873819884917376231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189774043,"filename":"image_29012025_18_16_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/29/8db798f0b2cd9857cfd14155f33af42d.jpg","text":"TemporaryFile(/tmp/multipartBody5959092828632864024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189774043,"filename":"image_29012025_18_16_15_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/29/25303b0baafbf2c6f1ca5ebc9b6b81c1.jpg","text":"TemporaryFile(/tmp/multipartBody7780517707935483317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189774043,"filename":"image_29012025_18_15_35_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/29/977c6b4b66f1a6a1fbcb5c5977c1d650.jpg","text":"TemporaryFile(/tmp/multipartBody7051369814166321288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189774043,"filename":"image_29012025_18_15_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/29/f05a2551291141e90758c4ff5f65bc1f.jpg","text":"TemporaryFile(/tmp/multipartBody9079604390999919763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189774043,"filename":"image_29012025_18_15_45_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332787101","file1":"1332787085","file0":"1332787082","file4":"1332787113","file5":"1332787134","file3":"1332787107"},"map_files_photo_id_array":[{"photo_id":"1332787134","filename":"file5"},{"photo_id":"1332787101","filename":"file2"},{"photo_id":"1332787113","filename":"file4"},{"photo_id":"1332787085","filename":"file1"},{"photo_id":"1332787082","filename":"file0"},{"photo_id":"1332787107","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332787134":["hashtag1","hashtag2"]},{"1332787113":["hashtag1","hashtag2"]},{"1332787107":["hashtag1","hashtag2"]},{"1332787082":["hashtag1","hashtag2"]},{"1332787101":["hashtag1","hashtag2"]},{"1332787085":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332787134, 1332787113, 1332787107, 1332787082, 1332787101, 1332787085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.346031665802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:29:32.284104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/16/image_29012025_18_16_45_9350.jpg', '/home/pi/Desktop/images/29012025/18/17/image_29012025_18_17_26_10372.jpg', '/home/pi/Desktop/images/29012025/18/17/image_29012025_18_17_46_10439.jpg', '/home/pi/Desktop/images/29012025/18/17/image_29012025_18_17_55_9400.jpg', '/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_16_10354.jpg', '/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_36_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/16/image_29012025_18_16_45_9350.jpg
/home/pi/Desktop/images/29012025/18/17/image_29012025_18_17_26_10372.jpg
/home/pi/Desktop/images/29012025/18/17/image_29012025_18_17_46_10439.jpg
/home/pi/Desktop/images/29012025/18/17/image_29012025_18_17_55_9400.jpg
/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_16_10354.jpg
/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_36_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":["1332787191","1332787215","1332787186","1332787219","1332787234","1332787213"],"photo_ids_order":["1332787186","1332787191","1332787213","1332787215","1332787219","1332787234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/457f1c734cb6f8edc75f5ab40c9bd256.jpg","text":"TemporaryFile(/tmp/multipartBody918663328309965861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189833280,"filename":"image_29012025_18_17_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/29/055e9ac496d126b0579061c4d158bd4d.jpg","text":"TemporaryFile(/tmp/multipartBody2054540756774859152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189833280,"filename":"image_29012025_18_17_55_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/29/c3cd3c05285cb7a5bcf1619e51c43ffa.jpg","text":"TemporaryFile(/tmp/multipartBody3165047071677532465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189833280,"filename":"image_29012025_18_16_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/29/7549632b96d17bb044f4a1ec2401d470.jpg","text":"TemporaryFile(/tmp/multipartBody3780826270788512613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189833280,"filename":"image_29012025_18_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/29/03be7ffd79ede559df08bad14a43dc7e.jpg","text":"TemporaryFile(/tmp/multipartBody2920449385152623019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189833280,"filename":"image_29012025_18_18_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/29/c86cb22037d85d9f7e7fe3c7313248be.jpg","text":"TemporaryFile(/tmp/multipartBody9039885156709057020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189833280,"filename":"image_29012025_18_17_46_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332787213","file1":"1332787191","file0":"1332787186","file4":"1332787219","file5":"1332787234","file3":"1332787215"},"map_files_photo_id_array":[{"photo_id":"1332787234","filename":"file5"},{"photo_id":"1332787213","filename":"file2"},{"photo_id":"1332787219","filename":"file4"},{"photo_id":"1332787191","filename":"file1"},{"photo_id":"1332787186","filename":"file0"},{"photo_id":"1332787215","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332787191":["hashtag1","hashtag2"]},{"1332787215":["hashtag1","hashtag2"]},{"1332787186":["hashtag1","hashtag2"]},{"1332787219":["hashtag1","hashtag2"]},{"1332787234":["hashtag1","hashtag2"]},{"1332787213":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332787191, 1332787215, 1332787186, 1332787219, 1332787234, 1332787213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.8822500705719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:30:32.498348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_46_10366.jpg', '/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_55_9355.jpg', '/home/pi/Desktop/images/29012025/18/18/image_29012025_18_19_06_10366.jpg', '/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_15_9414.jpg', '/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_25_10385.jpg', '/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_36_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_46_10366.jpg
/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_55_9355.jpg
/home/pi/Desktop/images/29012025/18/18/image_29012025_18_19_06_10366.jpg
/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_15_9414.jpg
/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_25_10385.jpg
/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_36_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.6097218990325928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 23:30:42.406495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_46_10366.jpg', '/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_55_9355.jpg', '/home/pi/Desktop/images/29012025/18/18/image_29012025_18_19_06_10366.jpg', '/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_15_9414.jpg', '/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_25_10385.jpg', '/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_36_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_46_10366.jpg
/home/pi/Desktop/images/29012025/18/18/image_29012025_18_18_55_9355.jpg
/home/pi/Desktop/images/29012025/18/18/image_29012025_18_19_06_10366.jpg
/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_15_9414.jpg
/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_25_10385.jpg
/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_36_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":["1332787362","1332787563","1332787500","1332787459","1332787567","1332787543"],"photo_ids_order":["1332787362","1332787459","1332787500","1332787543","1332787563","1332787567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/704627c292f1943f7b2d2dfba59b9766.jpg","text":"TemporaryFile(/tmp/multipartBody391696414767984192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189903331,"filename":"image_29012025_18_18_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/29/869542e7402ba7d5a398879b91d46d1b.jpg","text":"TemporaryFile(/tmp/multipartBody4471743197523282140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189903331,"filename":"image_29012025_18_19_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/29/67bb268c9d705c4f6d7b95ee6b56440c.jpg","text":"TemporaryFile(/tmp/multipartBody1868274767307306881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189903331,"filename":"image_29012025_18_19_06_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/29/14388899cbe52eb1d2fbf39c9e0c7b9b.jpg","text":"TemporaryFile(/tmp/multipartBody2508727076062318269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189903331,"filename":"image_29012025_18_18_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/29/0ffd827aa68e139556eacf0a0fedcd0c.jpg","text":"TemporaryFile(/tmp/multipartBody632128067603759242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189903331,"filename":"image_29012025_18_19_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/29/0d6f488aea0e156db342726e1ee881a0.jpg","text":"TemporaryFile(/tmp/multipartBody2740513916990960536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189903331,"filename":"image_29012025_18_19_15_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332787500","file1":"1332787459","file0":"1332787362","file4":"1332787563","file5":"1332787567","file3":"1332787543"},"map_files_photo_id_array":[{"photo_id":"1332787567","filename":"file5"},{"photo_id":"1332787500","filename":"file2"},{"photo_id":"1332787563","filename":"file4"},{"photo_id":"1332787459","filename":"file1"},{"photo_id":"1332787362","filename":"file0"},{"photo_id":"1332787543","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332787362":["hashtag1","hashtag2"]},{"1332787563":["hashtag1","hashtag2"]},{"1332787500":["hashtag1","hashtag2"]},{"1332787459":["hashtag1","hashtag2"]},{"1332787567":["hashtag1","hashtag2"]},{"1332787543":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332787362, 1332787563, 1332787500, 1332787459, 1332787567, 1332787543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.98644471168518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:31:32.681472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_56_10365.jpg', '/home/pi/Desktop/images/29012025/18/19/image_29012025_18_20_06_10439.jpg', '/home/pi/Desktop/images/29012025/18/20/image_29012025_18_20_15_9344.jpg', '/home/pi/Desktop/images/29012025/18/20/image_29012025_18_20_26_10379.jpg', '/home/pi/Desktop/images/29012025/18/20/image_29012025_18_20_35_9436.jpg', '/home/pi/Desktop/images/29012025/18/20/image_29012025_18_20_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/19/image_29012025_18_19_56_10365.jpg
/home/pi/Desktop/images/29012025/18/19/image_29012025_18_20_06_10439.jpg
/home/pi/Desktop/images/29012025/18/20/image_29012025_18_20_15_9344.jpg
/home/pi/Desktop/images/29012025/18/20/image_29012025_18_20_26_10379.jpg
/home/pi/Desktop/images/29012025/18/20/image_29012025_18_20_35_9436.jpg
/home/pi/Desktop/images/29012025/18/20/image_29012025_18_20_45_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":["1332787611","1332787634","1332787637","1332787631","1332787619","1332787627"],"photo_ids_order":["1332787611","1332787619","1332787627","1332787631","1332787634","1332787637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/bd256ec3ec49b025975d0e944ffc0713.jpg","text":"TemporaryFile(/tmp/multipartBody5066373056136603293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189953681,"filename":"image_29012025_18_19_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/29/f63905867d078ec18bd25b96b001c5a0.jpg","text":"TemporaryFile(/tmp/multipartBody8240216061947798481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189953681,"filename":"image_29012025_18_20_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/29/f18f25be7b559ca763fd739531459571.jpg","text":"TemporaryFile(/tmp/multipartBody3164835465239608358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189953681,"filename":"image_29012025_18_20_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/29/26fb73bdd5458343b9d318ef54e8a6be.jpg","text":"TemporaryFile(/tmp/multipartBody4513141810255095975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189953681,"filename":"image_29012025_18_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/29/bc563406644798306e431a3d11e6e1ea.jpg","text":"TemporaryFile(/tmp/multipartBody2087740485761364041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189953681,"filename":"image_29012025_18_20_06_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/29/2714382c623d8158ee6d95c8d3a1cf51.jpg","text":"TemporaryFile(/tmp/multipartBody2098658804206824667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738189953681,"filename":"image_29012025_18_20_15_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332787627","file1":"1332787619","file0":"1332787611","file4":"1332787634","file5":"1332787637","file3":"1332787631"},"map_files_photo_id_array":[{"photo_id":"1332787637","filename":"file5"},{"photo_id":"1332787627","filename":"file2"},{"photo_id":"1332787634","filename":"file4"},{"photo_id":"1332787619","filename":"file1"},{"photo_id":"1332787611","filename":"file0"},{"photo_id":"1332787631","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332787611":["hashtag1","hashtag2"]},{"1332787634":["hashtag1","hashtag2"]},{"1332787637":["hashtag1","hashtag2"]},{"1332787631":["hashtag1","hashtag2"]},{"1332787619":["hashtag1","hashtag2"]},{"1332787627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332787611, 1332787634, 1332787637, 1332787631, 1332787619, 1332787627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.48291063308716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:32:32.989287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/20/image_29012025_18_20_56_10360.jpg', '/home/pi/Desktop/images/29012025/18/20/image_29012025_18_21_05_9412.jpg', '/home/pi/Desktop/images/29012025/18/21/image_29012025_18_21_16_10352.jpg', '/home/pi/Desktop/images/29012025/18/21/image_29012025_18_21_25_9498.jpg', '/home/pi/Desktop/images/29012025/18/21/image_29012025_18_21_35_10371.jpg', '/home/pi/Desktop/images/29012025/18/21/image_29012025_18_21_46_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/20/image_29012025_18_20_56_10360.jpg
/home/pi/Desktop/images/29012025/18/20/image_29012025_18_21_05_9412.jpg
/home/pi/Desktop/images/29012025/18/21/image_29012025_18_21_16_10352.jpg
/home/pi/Desktop/images/29012025/18/21/image_29012025_18_21_25_9498.jpg
/home/pi/Desktop/images/29012025/18/21/image_29012025_18_21_35_10371.jpg
/home/pi/Desktop/images/29012025/18/21/image_29012025_18_21_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":["1332787705","1332787719","1332787712","1332787699","1332787714","1332787708"],"photo_ids_order":["1332787699","1332787705","1332787708","1332787712","1332787714","1332787719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/f6123d37bd94cc5a17462cc5fc660ff3.jpg","text":"TemporaryFile(/tmp/multipartBody5175843883179390364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190014008,"filename":"image_29012025_18_21_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/29/41de69d7a6b87b708f091f10ad69f531.jpg","text":"TemporaryFile(/tmp/multipartBody2907318099779100812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190014008,"filename":"image_29012025_18_21_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/29/e6a946781a1d9bd47b9ebf47252398ed.jpg","text":"TemporaryFile(/tmp/multipartBody3918999977832832744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190014008,"filename":"image_29012025_18_21_25_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/29/104f047a5f7ecd1dad926d1fdd0f7936.jpg","text":"TemporaryFile(/tmp/multipartBody8423864392544591473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190014008,"filename":"image_29012025_18_20_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/29/1bfbdfcf47ea8a41816452d661fc92d1.jpg","text":"TemporaryFile(/tmp/multipartBody6562782339863728982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190014008,"filename":"image_29012025_18_21_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/29/a4a9238d6a2a23e67ff3f00f9ab733e6.jpg","text":"TemporaryFile(/tmp/multipartBody9175594316717787148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190014008,"filename":"image_29012025_18_21_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332787708","file1":"1332787705","file0":"1332787699","file4":"1332787714","file5":"1332787719","file3":"1332787712"},"map_files_photo_id_array":[{"photo_id":"1332787719","filename":"file5"},{"photo_id":"1332787708","filename":"file2"},{"photo_id":"1332787714","filename":"file4"},{"photo_id":"1332787705","filename":"file1"},{"photo_id":"1332787699","filename":"file0"},{"photo_id":"1332787712","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332787705":["hashtag1","hashtag2"]},{"1332787719":["hashtag1","hashtag2"]},{"1332787712":["hashtag1","hashtag2"]},{"1332787699":["hashtag1","hashtag2"]},{"1332787714":["hashtag1","hashtag2"]},{"1332787708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332787705, 1332787719, 1332787712, 1332787699, 1332787714, 1332787708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.039705753326416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:33:32.929662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/22/image_29012025_18_22_15_9406.jpg', '/home/pi/Desktop/images/29012025/18/22/image_29012025_18_22_25_10409.jpg', '/home/pi/Desktop/images/29012025/18/22/image_29012025_18_22_36_10344.jpg', '/home/pi/Desktop/images/29012025/18/22/image_29012025_18_22_45_9367.jpg', '/home/pi/Desktop/images/29012025/18/22/image_29012025_18_22_55_10006.jpg', '/home/pi/Desktop/images/29012025/18/22/image_29012025_18_23_05_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/22/image_29012025_18_22_15_9406.jpg
/home/pi/Desktop/images/29012025/18/22/image_29012025_18_22_25_10409.jpg
/home/pi/Desktop/images/29012025/18/22/image_29012025_18_22_36_10344.jpg
/home/pi/Desktop/images/29012025/18/22/image_29012025_18_22_45_9367.jpg
/home/pi/Desktop/images/29012025/18/22/image_29012025_18_22_55_10006.jpg
/home/pi/Desktop/images/29012025/18/22/image_29012025_18_23_05_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":["1332788031","1332788010","1332787988","1332788000","1332787996","1332788008"],"photo_ids_order":["1332787988","1332787996","1332788000","1332788008","1332788010","1332788031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/dc56482eea66c11cb0f9bd16cd2bae28.jpg","text":"TemporaryFile(/tmp/multipartBody8636050427780248879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190073951,"filename":"image_29012025_18_23_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/29/5a00a93986f3f04455c62181e07cdd17.jpg","text":"TemporaryFile(/tmp/multipartBody2969326388483280046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190073951,"filename":"image_29012025_18_22_55_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/29/2765426ff28e06a048a0e9b9f289e8d6.jpg","text":"TemporaryFile(/tmp/multipartBody8717089766305857375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190073951,"filename":"image_29012025_18_22_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/29/9d5298ceb00027172ef352460d349f4e.jpg","text":"TemporaryFile(/tmp/multipartBody8885204704446451570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190073951,"filename":"image_29012025_18_22_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/29/fb6dce8d1be0f26aca10f0ee35019d9a.jpg","text":"TemporaryFile(/tmp/multipartBody5392699406820011288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190073951,"filename":"image_29012025_18_22_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/29/e9d5762fe433807efd807085005a8cd8.jpg","text":"TemporaryFile(/tmp/multipartBody47719154660274298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190073951,"filename":"image_29012025_18_22_45_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332788000","file1":"1332787996","file0":"1332787988","file4":"1332788010","file5":"1332788031","file3":"1332788008"},"map_files_photo_id_array":[{"photo_id":"1332788031","filename":"file5"},{"photo_id":"1332788000","filename":"file2"},{"photo_id":"1332788010","filename":"file4"},{"photo_id":"1332787996","filename":"file1"},{"photo_id":"1332787988","filename":"file0"},{"photo_id":"1332788008","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332788031":["hashtag1","hashtag2"]},{"1332788010":["hashtag1","hashtag2"]},{"1332787988":["hashtag1","hashtag2"]},{"1332788000":["hashtag1","hashtag2"]},{"1332787996":["hashtag1","hashtag2"]},{"1332788008":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332788031, 1332788010, 1332787988, 1332788000, 1332787996, 1332788008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.45727467536926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:34:33.136401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/23/image_29012025_18_23_16_10361.jpg', '/home/pi/Desktop/images/29012025/18/23/image_29012025_18_23_25_9436.jpg', '/home/pi/Desktop/images/29012025/18/23/image_29012025_18_23_36_10357.jpg', '/home/pi/Desktop/images/29012025/18/23/image_29012025_18_23_45_9436.jpg', '/home/pi/Desktop/images/29012025/18/23/image_29012025_18_23_56_10425.jpg', '/home/pi/Desktop/images/29012025/18/23/image_29012025_18_24_06_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/23/image_29012025_18_23_16_10361.jpg
/home/pi/Desktop/images/29012025/18/23/image_29012025_18_23_25_9436.jpg
/home/pi/Desktop/images/29012025/18/23/image_29012025_18_23_36_10357.jpg
/home/pi/Desktop/images/29012025/18/23/image_29012025_18_23_45_9436.jpg
/home/pi/Desktop/images/29012025/18/23/image_29012025_18_23_56_10425.jpg
/home/pi/Desktop/images/29012025/18/23/image_29012025_18_24_06_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":["1332788195","1332788174","1332788168","1332788191","1332788200","1332788163"],"photo_ids_order":["1332788163","1332788168","1332788174","1332788191","1332788195","1332788200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/069e53518bf947f5aa687875b3aece75.jpg","text":"TemporaryFile(/tmp/multipartBody3654960888217519943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190134137,"filename":"image_29012025_18_23_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/29/cc011f90c786380e743f01ebd7649ee9.jpg","text":"TemporaryFile(/tmp/multipartBody479539866164440722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190134137,"filename":"image_29012025_18_23_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/29/575b14a8b430e0becebad35904c286a7.jpg","text":"TemporaryFile(/tmp/multipartBody1070132557350414523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190134137,"filename":"image_29012025_18_23_25_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/29/c1a164aab2424f1c4a5480a00638cf3d.jpg","text":"TemporaryFile(/tmp/multipartBody1145993721835659530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190134137,"filename":"image_29012025_18_23_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/29/a0ace5a1aa38bcb6bf0c3a0703048c30.jpg","text":"TemporaryFile(/tmp/multipartBody5841803663045669142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190134137,"filename":"image_29012025_18_24_06_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/29/f7047544e12f288a94229872acb1d628.jpg","text":"TemporaryFile(/tmp/multipartBody5209838577081438823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190134137,"filename":"image_29012025_18_23_16_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332788174","file1":"1332788168","file0":"1332788163","file4":"1332788195","file5":"1332788200","file3":"1332788191"},"map_files_photo_id_array":[{"photo_id":"1332788200","filename":"file5"},{"photo_id":"1332788174","filename":"file2"},{"photo_id":"1332788195","filename":"file4"},{"photo_id":"1332788168","filename":"file1"},{"photo_id":"1332788163","filename":"file0"},{"photo_id":"1332788191","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332788195":["hashtag1","hashtag2"]},{"1332788174":["hashtag1","hashtag2"]},{"1332788168":["hashtag1","hashtag2"]},{"1332788191":["hashtag1","hashtag2"]},{"1332788200":["hashtag1","hashtag2"]},{"1332788163":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332788195, 1332788174, 1332788168, 1332788191, 1332788200, 1332788163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.002578020095825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:35:32.368289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/24/image_29012025_18_24_15_9345.jpg', '/home/pi/Desktop/images/29012025/18/24/image_29012025_18_24_26_10394.jpg', '/home/pi/Desktop/images/29012025/18/24/image_29012025_18_24_35_9432.jpg', '/home/pi/Desktop/images/29012025/18/24/image_29012025_18_24_45_10372.jpg', '/home/pi/Desktop/images/29012025/18/24/image_29012025_18_24_56_10370.jpg', '/home/pi/Desktop/images/29012025/18/24/image_29012025_18_25_05_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/24/image_29012025_18_24_15_9345.jpg
/home/pi/Desktop/images/29012025/18/24/image_29012025_18_24_26_10394.jpg
/home/pi/Desktop/images/29012025/18/24/image_29012025_18_24_35_9432.jpg
/home/pi/Desktop/images/29012025/18/24/image_29012025_18_24_45_10372.jpg
/home/pi/Desktop/images/29012025/18/24/image_29012025_18_24_56_10370.jpg
/home/pi/Desktop/images/29012025/18/24/image_29012025_18_25_05_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332788316","1332788285","1332788321","1332788318","1332788323","1332788289"],"photo_ids_order":["1332788285","1332788289","1332788316","1332788318","1332788321","1332788323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a0ca9d5fbcaa0470783a2f539d8298fc.jpg","text":"TemporaryFile(/tmp/multipartBody2129992632354456243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190193370,"filename":"image_29012025_18_24_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/29/68beafafc76f49e1855fbff85b7c436c.jpg","text":"TemporaryFile(/tmp/multipartBody8836912664828024910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190193370,"filename":"image_29012025_18_24_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/29/11d52f8bf41104f64f9d775f0e13c239.jpg","text":"TemporaryFile(/tmp/multipartBody967849448927667005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190193370,"filename":"image_29012025_18_24_56_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/29/08bdd4137c85f34ddc2c83c95b3ef691.jpg","text":"TemporaryFile(/tmp/multipartBody4872064983342738890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190193370,"filename":"image_29012025_18_24_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/29/8dbe7086ddd81bc095e5fbe99254adf3.jpg","text":"TemporaryFile(/tmp/multipartBody1977098790582962443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190193370,"filename":"image_29012025_18_25_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/29/fa130cedf5ba78388bb8cfbb4b53c7ce.jpg","text":"TemporaryFile(/tmp/multipartBody3298947826383154360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190193370,"filename":"image_29012025_18_24_26_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332788316","file1":"1332788289","file0":"1332788285","file4":"1332788321","file5":"1332788323","file3":"1332788318"},"map_files_photo_id_array":[{"photo_id":"1332788323","filename":"file5"},{"photo_id":"1332788316","filename":"file2"},{"photo_id":"1332788321","filename":"file4"},{"photo_id":"1332788289","filename":"file1"},{"photo_id":"1332788285","filename":"file0"},{"photo_id":"1332788318","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332788316":["hashtag1","hashtag2"]},{"1332788285":["hashtag1","hashtag2"]},{"1332788321":["hashtag1","hashtag2"]},{"1332788318":["hashtag1","hashtag2"]},{"1332788323":["hashtag1","hashtag2"]},{"1332788289":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332788316, 1332788285, 1332788321, 1332788318, 1332788323, 1332788289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18593454360962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:36:32.562745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/25/image_29012025_18_25_16_10339.jpg', '/home/pi/Desktop/images/29012025/18/25/image_29012025_18_25_26_10367.jpg', '/home/pi/Desktop/images/29012025/18/25/image_29012025_18_25_35_9419.jpg', '/home/pi/Desktop/images/29012025/18/25/image_29012025_18_25_46_10366.jpg', '/home/pi/Desktop/images/29012025/18/25/image_29012025_18_25_55_9439.jpg', '/home/pi/Desktop/images/29012025/18/25/image_29012025_18_26_05_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/25/image_29012025_18_25_16_10339.jpg
/home/pi/Desktop/images/29012025/18/25/image_29012025_18_25_26_10367.jpg
/home/pi/Desktop/images/29012025/18/25/image_29012025_18_25_35_9419.jpg
/home/pi/Desktop/images/29012025/18/25/image_29012025_18_25_46_10366.jpg
/home/pi/Desktop/images/29012025/18/25/image_29012025_18_25_55_9439.jpg
/home/pi/Desktop/images/29012025/18/25/image_29012025_18_26_05_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":["1332788488","1332788350","1332788671","1332788664","1332788602","1332788394"],"photo_ids_order":["1332788350","1332788394","1332788488","1332788602","1332788664","1332788671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a7cab8d6d0132b2d9367225f04b594e9.jpg","text":"TemporaryFile(/tmp/multipartBody794497946897233131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190253567,"filename":"image_29012025_18_25_35_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/29/92dfb895b5104f60c7ce5473c3f6f7e8.jpg","text":"TemporaryFile(/tmp/multipartBody5042790872976011185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190253567,"filename":"image_29012025_18_25_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/29/be41e6569686c824dd8e2cf5d310069a.jpg","text":"TemporaryFile(/tmp/multipartBody7206750385397500551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190253567,"filename":"image_29012025_18_26_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/29/ff1a6bd4102fb0ab3765ef371900d1b9.jpg","text":"TemporaryFile(/tmp/multipartBody7692962481310509838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190253567,"filename":"image_29012025_18_25_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/29/ccdecaa8e481642d4ea8eeca4aeeb370.jpg","text":"TemporaryFile(/tmp/multipartBody6597241774384823688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190253567,"filename":"image_29012025_18_25_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/29/f4b02dee7874b429407f30af2d219132.jpg","text":"TemporaryFile(/tmp/multipartBody7459366082607272198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190253567,"filename":"image_29012025_18_25_26_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332788488","file1":"1332788394","file0":"1332788350","file4":"1332788664","file5":"1332788671","file3":"1332788602"},"map_files_photo_id_array":[{"photo_id":"1332788671","filename":"file5"},{"photo_id":"1332788488","filename":"file2"},{"photo_id":"1332788664","filename":"file4"},{"photo_id":"1332788394","filename":"file1"},{"photo_id":"1332788350","filename":"file0"},{"photo_id":"1332788602","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332788488":["hashtag1","hashtag2"]},{"1332788350":["hashtag1","hashtag2"]},{"1332788671":["hashtag1","hashtag2"]},{"1332788664":["hashtag1","hashtag2"]},{"1332788602":["hashtag1","hashtag2"]},{"1332788394":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332788488, 1332788350, 1332788671, 1332788664, 1332788602, 1332788394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.797359466552734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:37:32.802150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/26/image_29012025_18_26_16_10359.jpg', '/home/pi/Desktop/images/29012025/18/26/image_29012025_18_26_25_9437.jpg', '/home/pi/Desktop/images/29012025/18/26/image_29012025_18_26_36_10370.jpg', '/home/pi/Desktop/images/29012025/18/26/image_29012025_18_26_45_9421.jpg', '/home/pi/Desktop/images/29012025/18/26/image_29012025_18_26_55_10399.jpg', '/home/pi/Desktop/images/29012025/18/26/image_29012025_18_27_06_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/26/image_29012025_18_26_16_10359.jpg
/home/pi/Desktop/images/29012025/18/26/image_29012025_18_26_25_9437.jpg
/home/pi/Desktop/images/29012025/18/26/image_29012025_18_26_36_10370.jpg
/home/pi/Desktop/images/29012025/18/26/image_29012025_18_26_45_9421.jpg
/home/pi/Desktop/images/29012025/18/26/image_29012025_18_26_55_10399.jpg
/home/pi/Desktop/images/29012025/18/26/image_29012025_18_27_06_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":["1332788882","1332788861","1332788797","1332788801","1332788791","1332788863"],"photo_ids_order":["1332788791","1332788797","1332788801","1332788861","1332788863","1332788882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/fe79e9d84a733cd655134110ebd5fa32.jpg","text":"TemporaryFile(/tmp/multipartBody5750821471174943418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190313805,"filename":"image_29012025_18_27_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/29/47ef3711a54d9f7fcff52b133042c52c.jpg","text":"TemporaryFile(/tmp/multipartBody7993441300462059875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190313805,"filename":"image_29012025_18_26_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/29/1b3de37a18e4cf21fc6ab782f63035cf.jpg","text":"TemporaryFile(/tmp/multipartBody2370559725125744622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190313805,"filename":"image_29012025_18_26_25_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/29/7463a0802aa1ac7b377f52d3bae92353.jpg","text":"TemporaryFile(/tmp/multipartBody2264884091811995586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190313805,"filename":"image_29012025_18_26_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/29/885d131db51945fe52031eeb0335482b.jpg","text":"TemporaryFile(/tmp/multipartBody7285728956271935702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190313805,"filename":"image_29012025_18_26_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/29/031a9fda73cc4d3ad16b87c50fba0063.jpg","text":"TemporaryFile(/tmp/multipartBody6582804458041725421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190313805,"filename":"image_29012025_18_26_55_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332788801","file1":"1332788797","file0":"1332788791","file4":"1332788863","file5":"1332788882","file3":"1332788861"},"map_files_photo_id_array":[{"photo_id":"1332788882","filename":"file5"},{"photo_id":"1332788801","filename":"file2"},{"photo_id":"1332788863","filename":"file4"},{"photo_id":"1332788797","filename":"file1"},{"photo_id":"1332788791","filename":"file0"},{"photo_id":"1332788861","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332788882":["hashtag1","hashtag2"]},{"1332788861":["hashtag1","hashtag2"]},{"1332788797":["hashtag1","hashtag2"]},{"1332788801":["hashtag1","hashtag2"]},{"1332788791":["hashtag1","hashtag2"]},{"1332788863":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332788882, 1332788861, 1332788797, 1332788801, 1332788791, 1332788863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84314465522766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:38:33.144867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/27/image_29012025_18_27_15_9357.jpg', '/home/pi/Desktop/images/29012025/18/27/image_29012025_18_27_26_10379.jpg', '/home/pi/Desktop/images/29012025/18/27/image_29012025_18_27_45_9374.jpg', '/home/pi/Desktop/images/29012025/18/27/image_29012025_18_27_56_10380.jpg', '/home/pi/Desktop/images/29012025/18/27/image_29012025_18_28_05_9460.jpg', '/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_26_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/27/image_29012025_18_27_15_9357.jpg
/home/pi/Desktop/images/29012025/18/27/image_29012025_18_27_26_10379.jpg
/home/pi/Desktop/images/29012025/18/27/image_29012025_18_27_45_9374.jpg
/home/pi/Desktop/images/29012025/18/27/image_29012025_18_27_56_10380.jpg
/home/pi/Desktop/images/29012025/18/27/image_29012025_18_28_05_9460.jpg
/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_26_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332788940","1332788934","1332788928","1332788945","1332788924","1332788950"],"photo_ids_order":["1332788924","1332788928","1332788934","1332788940","1332788945","1332788950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/4d6193189334055a3124a3db6c10d4b8.jpg","text":"TemporaryFile(/tmp/multipartBody1229712841116988885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190374122,"filename":"image_29012025_18_27_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/29/dcab5bdfbbe4073e88ef12a30cd42220.jpg","text":"TemporaryFile(/tmp/multipartBody168706000368824951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190374122,"filename":"image_29012025_18_27_45_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/29/86aaff46781e9e6ef013128127d198c4.jpg","text":"TemporaryFile(/tmp/multipartBody8049970691977227301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190374122,"filename":"image_29012025_18_27_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/29/876c17e327561544f58f894984e44605.jpg","text":"TemporaryFile(/tmp/multipartBody7678457754735189622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190374122,"filename":"image_29012025_18_28_05_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/29/4fbdb77fad37cd67139b495c85a6553b.jpg","text":"TemporaryFile(/tmp/multipartBody3486132469740678865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190374122,"filename":"image_29012025_18_27_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/29/3386d92d445051b1a23f6371d3653015.jpg","text":"TemporaryFile(/tmp/multipartBody5367355762050675655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190374122,"filename":"image_29012025_18_28_26_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332788934","file1":"1332788928","file0":"1332788924","file4":"1332788945","file5":"1332788950","file3":"1332788940"},"map_files_photo_id_array":[{"photo_id":"1332788950","filename":"file5"},{"photo_id":"1332788934","filename":"file2"},{"photo_id":"1332788945","filename":"file4"},{"photo_id":"1332788928","filename":"file1"},{"photo_id":"1332788924","filename":"file0"},{"photo_id":"1332788940","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332788940":["hashtag1","hashtag2"]},{"1332788934":["hashtag1","hashtag2"]},{"1332788928":["hashtag1","hashtag2"]},{"1332788945":["hashtag1","hashtag2"]},{"1332788924":["hashtag1","hashtag2"]},{"1332788950":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332788940, 1332788934, 1332788928, 1332788945, 1332788924, 1332788950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60435247421265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:39:32.454018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_35_9456.jpg', '/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_46_10391.jpg', '/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_55_9363.jpg', '/home/pi/Desktop/images/29012025/18/28/image_29012025_18_29_05_10343.jpg', '/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_16_10359.jpg', '/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_25_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_35_9456.jpg
/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_46_10391.jpg
/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_55_9363.jpg
/home/pi/Desktop/images/29012025/18/28/image_29012025_18_29_05_10343.jpg
/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_16_10359.jpg
/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_25_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.5965747833251953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 23:39:42.327197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_35_9456.jpg', '/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_46_10391.jpg', '/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_55_9363.jpg', '/home/pi/Desktop/images/29012025/18/28/image_29012025_18_29_05_10343.jpg', '/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_16_10359.jpg', '/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_25_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_35_9456.jpg
/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_46_10391.jpg
/home/pi/Desktop/images/29012025/18/28/image_29012025_18_28_55_9363.jpg
/home/pi/Desktop/images/29012025/18/28/image_29012025_18_29_05_10343.jpg
/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_16_10359.jpg
/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_25_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":["1332788999","1332788983","1332789004","1332789007","1332788994","1332788988"],"photo_ids_order":["1332788983","1332788988","1332788994","1332788999","1332789004","1332789007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/ed4a6e7f85e76c09b94068d8ae120f21.jpg","text":"TemporaryFile(/tmp/multipartBody547973841834539620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190443247,"filename":"image_29012025_18_29_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/29/61bfa547d44dbc80255a81c63299de4f.jpg","text":"TemporaryFile(/tmp/multipartBody6794237175729617043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190443247,"filename":"image_29012025_18_28_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/29/d4294797e0f36a13227782971313d395.jpg","text":"TemporaryFile(/tmp/multipartBody8723011820493735226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190443247,"filename":"image_29012025_18_29_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/29/56de5cd61efeb698b4ae77f08f5791a0.jpg","text":"TemporaryFile(/tmp/multipartBody4885303802737656773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190443247,"filename":"image_29012025_18_29_25_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/29/01b5bda54a9d1824e818aa396a9c6bf9.jpg","text":"TemporaryFile(/tmp/multipartBody4043410075602746213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190443247,"filename":"image_29012025_18_28_55_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/29/fb08e2847b1d1cc7945fa737be57ca68.jpg","text":"TemporaryFile(/tmp/multipartBody4674671904900839691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190443247,"filename":"image_29012025_18_28_46_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332788994","file1":"1332788988","file0":"1332788983","file4":"1332789004","file5":"1332789007","file3":"1332788999"},"map_files_photo_id_array":[{"photo_id":"1332789007","filename":"file5"},{"photo_id":"1332788994","filename":"file2"},{"photo_id":"1332789004","filename":"file4"},{"photo_id":"1332788988","filename":"file1"},{"photo_id":"1332788983","filename":"file0"},{"photo_id":"1332788999","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332788999":["hashtag1","hashtag2"]},{"1332788983":["hashtag1","hashtag2"]},{"1332789004":["hashtag1","hashtag2"]},{"1332789007":["hashtag1","hashtag2"]},{"1332788994":["hashtag1","hashtag2"]},{"1332788988":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332788999, 1332788983, 1332789004, 1332789007, 1332788994, 1332788988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42809867858887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:40:32.527197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_36_10368.jpg', '/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_45_9476.jpg', '/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_55_10365.jpg', '/home/pi/Desktop/images/29012025/18/29/image_29012025_18_30_06_10352.jpg', '/home/pi/Desktop/images/29012025/18/30/image_29012025_18_30_15_9434.jpg', '/home/pi/Desktop/images/29012025/18/30/image_29012025_18_30_26_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_36_10368.jpg
/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_45_9476.jpg
/home/pi/Desktop/images/29012025/18/29/image_29012025_18_29_55_10365.jpg
/home/pi/Desktop/images/29012025/18/29/image_29012025_18_30_06_10352.jpg
/home/pi/Desktop/images/29012025/18/30/image_29012025_18_30_15_9434.jpg
/home/pi/Desktop/images/29012025/18/30/image_29012025_18_30_26_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":["1332789029","1332789038","1332789032","1332789034","1332789028","1332789025"],"photo_ids_order":["1332789025","1332789028","1332789029","1332789032","1332789034","1332789038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/27d65fc026ef4572b965de2a80bf45c1.jpg","text":"TemporaryFile(/tmp/multipartBody1713284971470077900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190493519,"filename":"image_29012025_18_29_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/29/a95c1252e2639bbaa8c03869e052cfb9.jpg","text":"TemporaryFile(/tmp/multipartBody996478278102116369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190493519,"filename":"image_29012025_18_30_26_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/29/e720831d02b2989271cffba909dd8f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2638209942443429456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190493519,"filename":"image_29012025_18_30_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/29/2ac7c518249e90d6293088f05094ee83.jpg","text":"TemporaryFile(/tmp/multipartBody1249649609838348849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190493519,"filename":"image_29012025_18_30_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/29/a62cc8b5635822062e27736225480351.jpg","text":"TemporaryFile(/tmp/multipartBody3853891025108725524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190493519,"filename":"image_29012025_18_29_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/29/7703d5a1192e86d3626cd32fff461da3.jpg","text":"TemporaryFile(/tmp/multipartBody5159385880227757762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190493519,"filename":"image_29012025_18_29_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332789029","file1":"1332789028","file0":"1332789025","file4":"1332789034","file5":"1332789038","file3":"1332789032"},"map_files_photo_id_array":[{"photo_id":"1332789038","filename":"file5"},{"photo_id":"1332789029","filename":"file2"},{"photo_id":"1332789034","filename":"file4"},{"photo_id":"1332789028","filename":"file1"},{"photo_id":"1332789025","filename":"file0"},{"photo_id":"1332789032","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332789029":["hashtag1","hashtag2"]},{"1332789038":["hashtag1","hashtag2"]},{"1332789032":["hashtag1","hashtag2"]},{"1332789034":["hashtag1","hashtag2"]},{"1332789028":["hashtag1","hashtag2"]},{"1332789025":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332789029, 1332789038, 1332789032, 1332789034, 1332789028, 1332789025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61872601509094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:41:32.819430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/30/image_29012025_18_30_35_9401.jpg', '/home/pi/Desktop/images/29012025/18/30/image_29012025_18_30_45_10353.jpg', '/home/pi/Desktop/images/29012025/18/30/image_29012025_18_30_56_10353.jpg', '/home/pi/Desktop/images/29012025/18/30/image_29012025_18_31_05_9417.jpg', '/home/pi/Desktop/images/29012025/18/31/image_29012025_18_31_16_10344.jpg', '/home/pi/Desktop/images/29012025/18/31/image_29012025_18_31_26_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/30/image_29012025_18_30_35_9401.jpg
/home/pi/Desktop/images/29012025/18/30/image_29012025_18_30_45_10353.jpg
/home/pi/Desktop/images/29012025/18/30/image_29012025_18_30_56_10353.jpg
/home/pi/Desktop/images/29012025/18/30/image_29012025_18_31_05_9417.jpg
/home/pi/Desktop/images/29012025/18/31/image_29012025_18_31_16_10344.jpg
/home/pi/Desktop/images/29012025/18/31/image_29012025_18_31_26_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":["1332789086","1332789131","1332789151","1332789103","1332789078","1332789123"],"photo_ids_order":["1332789078","1332789086","1332789103","1332789123","1332789131","1332789151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/cfb0e857ab217d434bf06ee7d8fc16fe.jpg","text":"TemporaryFile(/tmp/multipartBody2724170402104690505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190553801,"filename":"image_29012025_18_30_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/29/04b3cabd059cb3e74e63d09155583a5a.jpg","text":"TemporaryFile(/tmp/multipartBody7139937879528375901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190553801,"filename":"image_29012025_18_31_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/29/5fba693870a47b903c85cc8847bee54d.jpg","text":"TemporaryFile(/tmp/multipartBody8604378141405930163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190553801,"filename":"image_29012025_18_31_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/29/727cef863006a5085f683398be571e4e.jpg","text":"TemporaryFile(/tmp/multipartBody4229312668045162095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190553801,"filename":"image_29012025_18_30_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/29/66a008226d4fe80f1ca86fa1b203b24e.jpg","text":"TemporaryFile(/tmp/multipartBody2211664238819759654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190553801,"filename":"image_29012025_18_30_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/29/27e65f60d4e7e13c11b0875ab7235514.jpg","text":"TemporaryFile(/tmp/multipartBody6145180506101307054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190553801,"filename":"image_29012025_18_31_05_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332789103","file1":"1332789086","file0":"1332789078","file4":"1332789131","file5":"1332789151","file3":"1332789123"},"map_files_photo_id_array":[{"photo_id":"1332789151","filename":"file5"},{"photo_id":"1332789103","filename":"file2"},{"photo_id":"1332789131","filename":"file4"},{"photo_id":"1332789086","filename":"file1"},{"photo_id":"1332789078","filename":"file0"},{"photo_id":"1332789123","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332789086":["hashtag1","hashtag2"]},{"1332789131":["hashtag1","hashtag2"]},{"1332789151":["hashtag1","hashtag2"]},{"1332789103":["hashtag1","hashtag2"]},{"1332789078":["hashtag1","hashtag2"]},{"1332789123":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332789086, 1332789131, 1332789151, 1332789103, 1332789078, 1332789123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.072633504867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:42:33.040769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/31/image_29012025_18_31_35_9417.jpg', '/home/pi/Desktop/images/29012025/18/31/image_29012025_18_31_55_9412.jpg', '/home/pi/Desktop/images/29012025/18/31/image_29012025_18_32_05_10367.jpg', '/home/pi/Desktop/images/29012025/18/32/image_29012025_18_32_25_9443.jpg', '/home/pi/Desktop/images/29012025/18/32/image_29012025_18_32_36_10367.jpg', '/home/pi/Desktop/images/29012025/18/32/image_29012025_18_32_45_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/31/image_29012025_18_31_35_9417.jpg
/home/pi/Desktop/images/29012025/18/31/image_29012025_18_31_55_9412.jpg
/home/pi/Desktop/images/29012025/18/31/image_29012025_18_32_05_10367.jpg
/home/pi/Desktop/images/29012025/18/32/image_29012025_18_32_25_9443.jpg
/home/pi/Desktop/images/29012025/18/32/image_29012025_18_32_36_10367.jpg
/home/pi/Desktop/images/29012025/18/32/image_29012025_18_32_45_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":["1332789230","1332789286","1332789285","1332789270","1332789288","1332789282"],"photo_ids_order":["1332789230","1332789270","1332789282","1332789285","1332789286","1332789288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5861ec54fe0ede05e1020d07eb1512fe.jpg","text":"TemporaryFile(/tmp/multipartBody3799318305353916816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190614017,"filename":"image_29012025_18_31_35_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/29/d2c451d489c2da36e69600e3a458ea0f.jpg","text":"TemporaryFile(/tmp/multipartBody6903986558653339423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190614017,"filename":"image_29012025_18_32_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/29/b9936aa2d3b88d52eff0a9602684c17f.jpg","text":"TemporaryFile(/tmp/multipartBody1329309862693157279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190614017,"filename":"image_29012025_18_32_25_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/29/26e551ab8089891e67c30305ac7a0c1b.jpg","text":"TemporaryFile(/tmp/multipartBody6112113367405199539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190614017,"filename":"image_29012025_18_31_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/29/ba940de3841f7ddebfae8ec7a53d8ee0.jpg","text":"TemporaryFile(/tmp/multipartBody4790423092255099378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190614017,"filename":"image_29012025_18_32_45_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/29/070b12db67bd0d481ccf6bbfe2d901fb.jpg","text":"TemporaryFile(/tmp/multipartBody8771660941386125213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190614017,"filename":"image_29012025_18_32_05_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332789282","file1":"1332789270","file0":"1332789230","file4":"1332789286","file5":"1332789288","file3":"1332789285"},"map_files_photo_id_array":[{"photo_id":"1332789288","filename":"file5"},{"photo_id":"1332789282","filename":"file2"},{"photo_id":"1332789286","filename":"file4"},{"photo_id":"1332789270","filename":"file1"},{"photo_id":"1332789230","filename":"file0"},{"photo_id":"1332789285","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332789230":["hashtag1","hashtag2"]},{"1332789286":["hashtag1","hashtag2"]},{"1332789285":["hashtag1","hashtag2"]},{"1332789270":["hashtag1","hashtag2"]},{"1332789288":["hashtag1","hashtag2"]},{"1332789282":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332789230, 1332789286, 1332789285, 1332789270, 1332789288, 1332789282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.75161075592041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:43:32.400476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/32/image_29012025_18_32_55_10361.jpg', '/home/pi/Desktop/images/29012025/18/32/image_29012025_18_33_06_10384.jpg', '/home/pi/Desktop/images/29012025/18/33/image_29012025_18_33_15_9411.jpg', '/home/pi/Desktop/images/29012025/18/33/image_29012025_18_33_36_9845.jpg', '/home/pi/Desktop/images/29012025/18/33/image_29012025_18_33_45_9473.jpg', '/home/pi/Desktop/images/29012025/18/33/image_29012025_18_33_55_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/32/image_29012025_18_32_55_10361.jpg
/home/pi/Desktop/images/29012025/18/32/image_29012025_18_33_06_10384.jpg
/home/pi/Desktop/images/29012025/18/33/image_29012025_18_33_15_9411.jpg
/home/pi/Desktop/images/29012025/18/33/image_29012025_18_33_36_9845.jpg
/home/pi/Desktop/images/29012025/18/33/image_29012025_18_33_45_9473.jpg
/home/pi/Desktop/images/29012025/18/33/image_29012025_18_33_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":["1332789377","1332789662","1332789584","1332789491","1332789384","1332789316"],"photo_ids_order":["1332789316","1332789377","1332789384","1332789491","1332789584","1332789662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/48894fb40515f4bd2952ba31bbde779f.jpg","text":"TemporaryFile(/tmp/multipartBody1087765966068909179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190673378,"filename":"image_29012025_18_33_06_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/29/ceb965cfc82359864f6c55e7704b9e57.jpg","text":"TemporaryFile(/tmp/multipartBody3216306560078379514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190673378,"filename":"image_29012025_18_33_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/29/460f08a48ff6e7ba1bd4968f45b9034a.jpg","text":"TemporaryFile(/tmp/multipartBody4926032614336470248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190673378,"filename":"image_29012025_18_33_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/29/ddd8534377e1f4f49e4ec066d731d886.jpg","text":"TemporaryFile(/tmp/multipartBody3352958593601790713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190673378,"filename":"image_29012025_18_33_36_9845.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/7d30bb764f07a12227069542ce25eed7.jpg","text":"TemporaryFile(/tmp/multipartBody5475663408368845836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190673378,"filename":"image_29012025_18_33_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/29/4e020592e5705ade44c15828c60ffdb7.jpg","text":"TemporaryFile(/tmp/multipartBody3077420847701990994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190673378,"filename":"image_29012025_18_32_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332789384","file1":"1332789377","file0":"1332789316","file4":"1332789584","file5":"1332789662","file3":"1332789491"},"map_files_photo_id_array":[{"photo_id":"1332789662","filename":"file5"},{"photo_id":"1332789384","filename":"file2"},{"photo_id":"1332789584","filename":"file4"},{"photo_id":"1332789377","filename":"file1"},{"photo_id":"1332789316","filename":"file0"},{"photo_id":"1332789491","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332789377":["hashtag1","hashtag2"]},{"1332789662":["hashtag1","hashtag2"]},{"1332789584":["hashtag1","hashtag2"]},{"1332789491":["hashtag1","hashtag2"]},{"1332789384":["hashtag1","hashtag2"]},{"1332789316":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332789377, 1332789662, 1332789584, 1332789491, 1332789384, 1332789316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.238959074020386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:44:32.497916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/33/image_29012025_18_34_06_10349.jpg', '/home/pi/Desktop/images/29012025/18/34/image_29012025_18_34_15_9398.jpg', '/home/pi/Desktop/images/29012025/18/34/image_29012025_18_34_25_10374.jpg', '/home/pi/Desktop/images/29012025/18/34/image_29012025_18_34_36_10365.jpg', '/home/pi/Desktop/images/29012025/18/34/image_29012025_18_34_45_9359.jpg', '/home/pi/Desktop/images/29012025/18/34/image_29012025_18_34_56_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/33/image_29012025_18_34_06_10349.jpg
/home/pi/Desktop/images/29012025/18/34/image_29012025_18_34_15_9398.jpg
/home/pi/Desktop/images/29012025/18/34/image_29012025_18_34_25_10374.jpg
/home/pi/Desktop/images/29012025/18/34/image_29012025_18_34_36_10365.jpg
/home/pi/Desktop/images/29012025/18/34/image_29012025_18_34_45_9359.jpg
/home/pi/Desktop/images/29012025/18/34/image_29012025_18_34_56_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":["1332790320","1332790070","1332790076","1332790124","1332790213","1332790080"],"photo_ids_order":["1332790070","1332790076","1332790080","1332790124","1332790213","1332790320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/af2244c4ce319a3f6cfa8bbc9879e54a.jpg","text":"TemporaryFile(/tmp/multipartBody5818286251293421308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190733484,"filename":"image_29012025_18_34_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/29/e7fd6134186d72ee02e2788a060343b1.jpg","text":"TemporaryFile(/tmp/multipartBody895056304287268130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190733484,"filename":"image_29012025_18_34_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/29/98a4b55487d0a872f83279496f27d60d.jpg","text":"TemporaryFile(/tmp/multipartBody6731014229170535545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190733484,"filename":"image_29012025_18_34_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/29/6930d6fe39e2e6942deada1129949d9b.jpg","text":"TemporaryFile(/tmp/multipartBody467100697702121328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190733484,"filename":"image_29012025_18_34_36_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/29/1cd64e0d0a23332fee2aa944feb87184.jpg","text":"TemporaryFile(/tmp/multipartBody1356290426362690375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190733484,"filename":"image_29012025_18_34_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/29/6814371efc36aa4348757577c01c05b7.jpg","text":"TemporaryFile(/tmp/multipartBody5744585358790754218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190733484,"filename":"image_29012025_18_34_25_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332790080","file1":"1332790076","file0":"1332790070","file4":"1332790213","file5":"1332790320","file3":"1332790124"},"map_files_photo_id_array":[{"photo_id":"1332790320","filename":"file5"},{"photo_id":"1332790080","filename":"file2"},{"photo_id":"1332790213","filename":"file4"},{"photo_id":"1332790076","filename":"file1"},{"photo_id":"1332790070","filename":"file0"},{"photo_id":"1332790124","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332790320":["hashtag1","hashtag2"]},{"1332790070":["hashtag1","hashtag2"]},{"1332790076":["hashtag1","hashtag2"]},{"1332790124":["hashtag1","hashtag2"]},{"1332790213":["hashtag1","hashtag2"]},{"1332790080":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332790320, 1332790070, 1332790076, 1332790124, 1332790213, 1332790080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70756983757019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:45:32.671040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/35/image_29012025_18_35_15_10337.jpg', '/home/pi/Desktop/images/29012025/18/35/image_29012025_18_35_26_10399.jpg', '/home/pi/Desktop/images/29012025/18/35/image_29012025_18_35_35_9463.jpg', '/home/pi/Desktop/images/29012025/18/35/image_29012025_18_35_46_10380.jpg', '/home/pi/Desktop/images/29012025/18/35/image_29012025_18_35_55_9378.jpg', '/home/pi/Desktop/images/29012025/18/35/image_29012025_18_36_05_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/35/image_29012025_18_35_15_10337.jpg
/home/pi/Desktop/images/29012025/18/35/image_29012025_18_35_26_10399.jpg
/home/pi/Desktop/images/29012025/18/35/image_29012025_18_35_35_9463.jpg
/home/pi/Desktop/images/29012025/18/35/image_29012025_18_35_46_10380.jpg
/home/pi/Desktop/images/29012025/18/35/image_29012025_18_35_55_9378.jpg
/home/pi/Desktop/images/29012025/18/35/image_29012025_18_36_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":["1332790833","1332790487","1332790756","1332790587","1332790794","1332790836"],"photo_ids_order":["1332790487","1332790587","1332790756","1332790794","1332790833","1332790836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b8517da78480030d2b0fab501d244784.jpg","text":"TemporaryFile(/tmp/multipartBody2605532790141994742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190793646,"filename":"image_29012025_18_35_55_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/29/d3785bec4bed2f30fec7059beda5342a.jpg","text":"TemporaryFile(/tmp/multipartBody1170417847018219505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190793646,"filename":"image_29012025_18_35_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/29/6542df360156d3c8567c99b336e375fd.jpg","text":"TemporaryFile(/tmp/multipartBody264393240036135018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190793646,"filename":"image_29012025_18_35_35_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/29/e8403791b589c4505f1c676f45f6352a.jpg","text":"TemporaryFile(/tmp/multipartBody1929174103667171256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190793646,"filename":"image_29012025_18_35_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/29/7ebeaf8356b8c15100c422ebb4cec884.jpg","text":"TemporaryFile(/tmp/multipartBody5428045604124648787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190793646,"filename":"image_29012025_18_35_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/29/a2ce7f7517001e2b07d8a220615c755d.jpg","text":"TemporaryFile(/tmp/multipartBody5731749561111136044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190793646,"filename":"image_29012025_18_36_05_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332790756","file1":"1332790587","file0":"1332790487","file4":"1332790833","file5":"1332790836","file3":"1332790794"},"map_files_photo_id_array":[{"photo_id":"1332790836","filename":"file5"},{"photo_id":"1332790756","filename":"file2"},{"photo_id":"1332790833","filename":"file4"},{"photo_id":"1332790587","filename":"file1"},{"photo_id":"1332790487","filename":"file0"},{"photo_id":"1332790794","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332790833":["hashtag1","hashtag2"]},{"1332790487":["hashtag1","hashtag2"]},{"1332790756":["hashtag1","hashtag2"]},{"1332790587":["hashtag1","hashtag2"]},{"1332790794":["hashtag1","hashtag2"]},{"1332790836":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332790833, 1332790487, 1332790756, 1332790587, 1332790794, 1332790836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13602375984192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:46:32.840768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/36/image_29012025_18_36_16_10356.jpg', '/home/pi/Desktop/images/29012025/18/36/image_29012025_18_36_25_9427.jpg', '/home/pi/Desktop/images/29012025/18/36/image_29012025_18_36_36_10441.jpg', '/home/pi/Desktop/images/29012025/18/36/image_29012025_18_36_46_10408.jpg', '/home/pi/Desktop/images/29012025/18/36/image_29012025_18_36_55_9355.jpg', '/home/pi/Desktop/images/29012025/18/36/image_29012025_18_37_06_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/36/image_29012025_18_36_16_10356.jpg
/home/pi/Desktop/images/29012025/18/36/image_29012025_18_36_25_9427.jpg
/home/pi/Desktop/images/29012025/18/36/image_29012025_18_36_36_10441.jpg
/home/pi/Desktop/images/29012025/18/36/image_29012025_18_36_46_10408.jpg
/home/pi/Desktop/images/29012025/18/36/image_29012025_18_36_55_9355.jpg
/home/pi/Desktop/images/29012025/18/36/image_29012025_18_37_06_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":["1332791112","1332791261","1332791138","1332791152","1332791145","1332791121"],"photo_ids_order":["1332791112","1332791121","1332791138","1332791145","1332791152","1332791261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/a4e8451385f8e6b74dcb6fca20aa9b99.jpg","text":"TemporaryFile(/tmp/multipartBody2242462792205122884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190853831,"filename":"image_29012025_18_36_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/29/4328ff1f72e818f86bf045ca8eeeffed.jpg","text":"TemporaryFile(/tmp/multipartBody8631671685620528715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190853831,"filename":"image_29012025_18_37_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/29/9f26f71b7b086cca7bae46234e767f50.jpg","text":"TemporaryFile(/tmp/multipartBody8628787960879629644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190853831,"filename":"image_29012025_18_36_36_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/29/5ad41d97a4914efd6e813420611499e9.jpg","text":"TemporaryFile(/tmp/multipartBody4965058221541020880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190853831,"filename":"image_29012025_18_36_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/29/90f1d2496b5d16cc31a72ce8b4b55cee.jpg","text":"TemporaryFile(/tmp/multipartBody6414851578647295666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190853831,"filename":"image_29012025_18_36_46_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/29/e09f5fb553fb1fa64a12d0556da8b1a8.jpg","text":"TemporaryFile(/tmp/multipartBody8304252715391896378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190853831,"filename":"image_29012025_18_36_25_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332791138","file1":"1332791121","file0":"1332791112","file4":"1332791152","file5":"1332791261","file3":"1332791145"},"map_files_photo_id_array":[{"photo_id":"1332791261","filename":"file5"},{"photo_id":"1332791138","filename":"file2"},{"photo_id":"1332791152","filename":"file4"},{"photo_id":"1332791121","filename":"file1"},{"photo_id":"1332791112","filename":"file0"},{"photo_id":"1332791145","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332791112":["hashtag1","hashtag2"]},{"1332791261":["hashtag1","hashtag2"]},{"1332791138":["hashtag1","hashtag2"]},{"1332791152":["hashtag1","hashtag2"]},{"1332791145":["hashtag1","hashtag2"]},{"1332791121":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332791112, 1332791261, 1332791138, 1332791152, 1332791145, 1332791121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86493444442749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:47:33.083168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/37/image_29012025_18_37_15_9412.jpg', '/home/pi/Desktop/images/29012025/18/37/image_29012025_18_37_25_10371.jpg', '/home/pi/Desktop/images/29012025/18/37/image_29012025_18_37_36_10375.jpg', '/home/pi/Desktop/images/29012025/18/37/image_29012025_18_37_45_9456.jpg', '/home/pi/Desktop/images/29012025/18/37/image_29012025_18_37_56_10347.jpg', '/home/pi/Desktop/images/29012025/18/37/image_29012025_18_38_05_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/37/image_29012025_18_37_15_9412.jpg
/home/pi/Desktop/images/29012025/18/37/image_29012025_18_37_25_10371.jpg
/home/pi/Desktop/images/29012025/18/37/image_29012025_18_37_36_10375.jpg
/home/pi/Desktop/images/29012025/18/37/image_29012025_18_37_45_9456.jpg
/home/pi/Desktop/images/29012025/18/37/image_29012025_18_37_56_10347.jpg
/home/pi/Desktop/images/29012025/18/37/image_29012025_18_38_05_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":["1332791414","1332791401","1332791410","1332791406","1332791396","1332791399"],"photo_ids_order":["1332791396","1332791399","1332791401","1332791406","1332791410","1332791414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/e2ffeacd3c7b97545347f0000f6d8d65.jpg","text":"TemporaryFile(/tmp/multipartBody3914370067488806168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190914056,"filename":"image_29012025_18_38_05_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/29/32f256538aee9d652a5bb2dc00ee17a8.jpg","text":"TemporaryFile(/tmp/multipartBody2054567189933916103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190914056,"filename":"image_29012025_18_37_36_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/29/7189deaec3f9e6dd1b5ec8265b55a80c.jpg","text":"TemporaryFile(/tmp/multipartBody4347375601538019297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190914056,"filename":"image_29012025_18_37_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/29/86b9f58ff104cabe742e70e573da2d28.jpg","text":"TemporaryFile(/tmp/multipartBody5005917773773056370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190914056,"filename":"image_29012025_18_37_45_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/29/4c424e6eed66c0fffce8aad7dc245a0a.jpg","text":"TemporaryFile(/tmp/multipartBody7341882125174345294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190914056,"filename":"image_29012025_18_37_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/29/82209dbbb5f17d5c82560842e0a39db8.jpg","text":"TemporaryFile(/tmp/multipartBody7126261342882884640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190914056,"filename":"image_29012025_18_37_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332791401","file1":"1332791399","file0":"1332791396","file4":"1332791410","file5":"1332791414","file3":"1332791406"},"map_files_photo_id_array":[{"photo_id":"1332791414","filename":"file5"},{"photo_id":"1332791401","filename":"file2"},{"photo_id":"1332791410","filename":"file4"},{"photo_id":"1332791399","filename":"file1"},{"photo_id":"1332791396","filename":"file0"},{"photo_id":"1332791406","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332791414":["hashtag1","hashtag2"]},{"1332791401":["hashtag1","hashtag2"]},{"1332791410":["hashtag1","hashtag2"]},{"1332791406":["hashtag1","hashtag2"]},{"1332791396":["hashtag1","hashtag2"]},{"1332791399":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332791414, 1332791401, 1332791410, 1332791406, 1332791396, 1332791399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0210907459259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:48:32.365935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/38/image_29012025_18_38_15_10331.jpg', '/home/pi/Desktop/images/29012025/18/38/image_29012025_18_38_35_9378.jpg', '/home/pi/Desktop/images/29012025/18/38/image_29012025_18_38_45_10362.jpg', '/home/pi/Desktop/images/29012025/18/38/image_29012025_18_38_56_10349.jpg', '/home/pi/Desktop/images/29012025/18/38/image_29012025_18_39_05_9448.jpg', '/home/pi/Desktop/images/29012025/18/39/image_29012025_18_39_16_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/38/image_29012025_18_38_15_10331.jpg
/home/pi/Desktop/images/29012025/18/38/image_29012025_18_38_35_9378.jpg
/home/pi/Desktop/images/29012025/18/38/image_29012025_18_38_45_10362.jpg
/home/pi/Desktop/images/29012025/18/38/image_29012025_18_38_56_10349.jpg
/home/pi/Desktop/images/29012025/18/38/image_29012025_18_39_05_9448.jpg
/home/pi/Desktop/images/29012025/18/39/image_29012025_18_39_16_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":["1332791453","1332791456","1332791444","1332791461","1332791449","1332791439"],"photo_ids_order":["1332791439","1332791444","1332791449","1332791453","1332791456","1332791461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/c98734f676cf46d70934231df9566092.jpg","text":"TemporaryFile(/tmp/multipartBody5253963834191627182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190973341,"filename":"image_29012025_18_38_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/29/69925e0677e383e8a98d09bc963f1b83.jpg","text":"TemporaryFile(/tmp/multipartBody7399226655094108003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190973341,"filename":"image_29012025_18_39_05_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/29/1ae56d21e39130e9cb15013baab95cda.jpg","text":"TemporaryFile(/tmp/multipartBody2338151190584169677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190973341,"filename":"image_29012025_18_38_35_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/29/33ecbebc2f2068c906f6977a1c27faa9.jpg","text":"TemporaryFile(/tmp/multipartBody7138632052153214497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190973341,"filename":"image_29012025_18_39_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/29/565e6d9e92300b1f0e890fc83b7b8cec.jpg","text":"TemporaryFile(/tmp/multipartBody7797767680712574181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190973341,"filename":"image_29012025_18_38_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/29/eea0f43a38e813656b99c586f7536024.jpg","text":"TemporaryFile(/tmp/multipartBody1777807889319687851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738190973341,"filename":"image_29012025_18_38_15_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332791449","file1":"1332791444","file0":"1332791439","file4":"1332791456","file5":"1332791461","file3":"1332791453"},"map_files_photo_id_array":[{"photo_id":"1332791461","filename":"file5"},{"photo_id":"1332791449","filename":"file2"},{"photo_id":"1332791456","filename":"file4"},{"photo_id":"1332791444","filename":"file1"},{"photo_id":"1332791439","filename":"file0"},{"photo_id":"1332791453","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332791453":["hashtag1","hashtag2"]},{"1332791456":["hashtag1","hashtag2"]},{"1332791444":["hashtag1","hashtag2"]},{"1332791461":["hashtag1","hashtag2"]},{"1332791449":["hashtag1","hashtag2"]},{"1332791439":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332791453, 1332791456, 1332791444, 1332791461, 1332791449, 1332791439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41075587272644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:49:32.550803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/39/image_29012025_18_39_35_10350.jpg', '/home/pi/Desktop/images/29012025/18/39/image_29012025_18_39_46_10376.jpg', '/home/pi/Desktop/images/29012025/18/39/image_29012025_18_39_55_9355.jpg', '/home/pi/Desktop/images/29012025/18/39/image_29012025_18_40_06_10363.jpg', '/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_16_10338.jpg', '/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_25_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/39/image_29012025_18_39_35_10350.jpg
/home/pi/Desktop/images/29012025/18/39/image_29012025_18_39_46_10376.jpg
/home/pi/Desktop/images/29012025/18/39/image_29012025_18_39_55_9355.jpg
/home/pi/Desktop/images/29012025/18/39/image_29012025_18_40_06_10363.jpg
/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_16_10338.jpg
/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_25_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1332791488","1332791507","1332791497","1332791503","1332791493","1332791484"],"photo_ids_order":["1332791484","1332791488","1332791493","1332791497","1332791503","1332791507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/0cbe33f563d358555601c255eda07dae.jpg","text":"TemporaryFile(/tmp/multipartBody6483690260338562247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191033536,"filename":"image_29012025_18_39_46_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/29/cc7c6f55266a6972dcad38439e2e09d8.jpg","text":"TemporaryFile(/tmp/multipartBody1687839381157990305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191033536,"filename":"image_29012025_18_40_25_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/29/b3d1197c3071baaf61f5a06bab939819.jpg","text":"TemporaryFile(/tmp/multipartBody3219215634097086720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191033536,"filename":"image_29012025_18_40_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/29/03d0f04999d215574e1875b5b965a4f1.jpg","text":"TemporaryFile(/tmp/multipartBody7725473036344971111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191033536,"filename":"image_29012025_18_40_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/29/b88c0b33fad4c966ae79c5e3d8183db7.jpg","text":"TemporaryFile(/tmp/multipartBody8275595734407958502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191033536,"filename":"image_29012025_18_39_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/29/8e8f17211c96a4ea1817b83d12e2560c.jpg","text":"TemporaryFile(/tmp/multipartBody1084581066994879263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191033536,"filename":"image_29012025_18_39_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332791493","file1":"1332791488","file0":"1332791484","file4":"1332791503","file5":"1332791507","file3":"1332791497"},"map_files_photo_id_array":[{"photo_id":"1332791507","filename":"file5"},{"photo_id":"1332791493","filename":"file2"},{"photo_id":"1332791503","filename":"file4"},{"photo_id":"1332791488","filename":"file1"},{"photo_id":"1332791484","filename":"file0"},{"photo_id":"1332791497","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332791488":["hashtag1","hashtag2"]},{"1332791507":["hashtag1","hashtag2"]},{"1332791497":["hashtag1","hashtag2"]},{"1332791503":["hashtag1","hashtag2"]},{"1332791493":["hashtag1","hashtag2"]},{"1332791484":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332791488, 1332791507, 1332791497, 1332791503, 1332791493, 1332791484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.1380569934845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:50:32.679214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_36_10365.jpg', '/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_55_9367.jpg', '/home/pi/Desktop/images/29012025/18/40/image_29012025_18_41_06_10375.jpg', '/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_15_9466.jpg', '/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_26_10434.jpg', '/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_36_10365.jpg
/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_55_9367.jpg
/home/pi/Desktop/images/29012025/18/40/image_29012025_18_41_06_10375.jpg
/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_15_9466.jpg
/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_26_10434.jpg
/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_36_10358.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.5902268886566162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-29 23:50:42.751131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_36_10365.jpg', '/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_55_9367.jpg', '/home/pi/Desktop/images/29012025/18/40/image_29012025_18_41_06_10375.jpg', '/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_15_9466.jpg', '/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_26_10434.jpg', '/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_36_10365.jpg
/home/pi/Desktop/images/29012025/18/40/image_29012025_18_40_55_9367.jpg
/home/pi/Desktop/images/29012025/18/40/image_29012025_18_41_06_10375.jpg
/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_15_9466.jpg
/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_26_10434.jpg
/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_36_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":["1332791564","1332791606","1332791602","1332791592","1332791610","1332791597"],"photo_ids_order":["1332791564","1332791592","1332791597","1332791602","1332791606","1332791610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/6a6831eb73523b3030049327f2a56332.jpg","text":"TemporaryFile(/tmp/multipartBody1843537390463063992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191103683,"filename":"image_29012025_18_40_36_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/29/66e2d28222f3e64a5f53ec8233b3e937.jpg","text":"TemporaryFile(/tmp/multipartBody513636889694543703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191103683,"filename":"image_29012025_18_41_26_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/29/b9434016bb251fabc82df051f950f504.jpg","text":"TemporaryFile(/tmp/multipartBody3656134320222408405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191103683,"filename":"image_29012025_18_41_15_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/29/ad2dc4a9406aced399fb1a9166f818a7.jpg","text":"TemporaryFile(/tmp/multipartBody5991692695850708619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191103683,"filename":"image_29012025_18_40_55_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/29/8aef3712625b27f8f6d095d99f02a31a.jpg","text":"TemporaryFile(/tmp/multipartBody3710967029352000024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191103683,"filename":"image_29012025_18_41_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/29/f1ec9d3d12d2ccb53e3a6bb1fa33614e.jpg","text":"TemporaryFile(/tmp/multipartBody7010901906874908052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191103683,"filename":"image_29012025_18_41_06_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332791597","file1":"1332791592","file0":"1332791564","file4":"1332791606","file5":"1332791610","file3":"1332791602"},"map_files_photo_id_array":[{"photo_id":"1332791610","filename":"file5"},{"photo_id":"1332791597","filename":"file2"},{"photo_id":"1332791606","filename":"file4"},{"photo_id":"1332791592","filename":"file1"},{"photo_id":"1332791564","filename":"file0"},{"photo_id":"1332791602","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332791564":["hashtag1","hashtag2"]},{"1332791606":["hashtag1","hashtag2"]},{"1332791602":["hashtag1","hashtag2"]},{"1332791592":["hashtag1","hashtag2"]},{"1332791610":["hashtag1","hashtag2"]},{"1332791597":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332791564, 1332791606, 1332791602, 1332791592, 1332791610, 1332791597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.465399742126465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:51:33.017762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_45_9388.jpg', '/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_56_10366.jpg', '/home/pi/Desktop/images/29012025/18/41/image_29012025_18_42_05_9382.jpg', '/home/pi/Desktop/images/29012025/18/42/image_29012025_18_42_15_10347.jpg', '/home/pi/Desktop/images/29012025/18/42/image_29012025_18_42_26_10394.jpg', '/home/pi/Desktop/images/29012025/18/42/image_29012025_18_42_35_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_45_9388.jpg
/home/pi/Desktop/images/29012025/18/41/image_29012025_18_41_56_10366.jpg
/home/pi/Desktop/images/29012025/18/41/image_29012025_18_42_05_9382.jpg
/home/pi/Desktop/images/29012025/18/42/image_29012025_18_42_15_10347.jpg
/home/pi/Desktop/images/29012025/18/42/image_29012025_18_42_26_10394.jpg
/home/pi/Desktop/images/29012025/18/42/image_29012025_18_42_35_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":["1332791743","1332791644","1332791752","1332791664","1332791745","1332791748"],"photo_ids_order":["1332791644","1332791664","1332791743","1332791745","1332791748","1332791752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/1c2b57fa3f5d568efbaa2e1228add822.jpg","text":"TemporaryFile(/tmp/multipartBody7797623776238286214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191154464,"filename":"image_29012025_18_42_05_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/29/56494dad6194efaefcf55ba0ca968c4d.jpg","text":"TemporaryFile(/tmp/multipartBody2920309020112797369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191154464,"filename":"image_29012025_18_41_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/29/0632d6be32d9793ddebd852714b66d34.jpg","text":"TemporaryFile(/tmp/multipartBody7952356148570025684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191154464,"filename":"image_29012025_18_42_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/29/de5d157beeec6cc308361462402967cc.jpg","text":"TemporaryFile(/tmp/multipartBody2011280740355549399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191154464,"filename":"image_29012025_18_41_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/29/647f8ef0504265fe9f8da2557805d302.jpg","text":"TemporaryFile(/tmp/multipartBody6825526542942170658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191154464,"filename":"image_29012025_18_42_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/29/1da93510e97795a7fe1682d4b0fb3b25.jpg","text":"TemporaryFile(/tmp/multipartBody7850357167561158707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191154464,"filename":"image_29012025_18_42_26_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332791743","file1":"1332791664","file0":"1332791644","file4":"1332791748","file5":"1332791752","file3":"1332791745"},"map_files_photo_id_array":[{"photo_id":"1332791752","filename":"file5"},{"photo_id":"1332791743","filename":"file2"},{"photo_id":"1332791748","filename":"file4"},{"photo_id":"1332791664","filename":"file1"},{"photo_id":"1332791644","filename":"file0"},{"photo_id":"1332791745","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332791743":["hashtag1","hashtag2"]},{"1332791644":["hashtag1","hashtag2"]},{"1332791752":["hashtag1","hashtag2"]},{"1332791664":["hashtag1","hashtag2"]},{"1332791745":["hashtag1","hashtag2"]},{"1332791748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332791743, 1332791644, 1332791752, 1332791664, 1332791745, 1332791748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.50733661651611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:52:33.116413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/42/image_29012025_18_42_46_10351.jpg', '/home/pi/Desktop/images/29012025/18/42/image_29012025_18_42_56_10358.jpg', '/home/pi/Desktop/images/29012025/18/42/image_29012025_18_43_05_9420.jpg', '/home/pi/Desktop/images/29012025/18/43/image_29012025_18_43_16_10327.jpg', '/home/pi/Desktop/images/29012025/18/43/image_29012025_18_43_25_9475.jpg', '/home/pi/Desktop/images/29012025/18/43/image_29012025_18_43_35_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/42/image_29012025_18_42_46_10351.jpg
/home/pi/Desktop/images/29012025/18/42/image_29012025_18_42_56_10358.jpg
/home/pi/Desktop/images/29012025/18/42/image_29012025_18_43_05_9420.jpg
/home/pi/Desktop/images/29012025/18/43/image_29012025_18_43_16_10327.jpg
/home/pi/Desktop/images/29012025/18/43/image_29012025_18_43_25_9475.jpg
/home/pi/Desktop/images/29012025/18/43/image_29012025_18_43_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":["1332791779","1332791812","1332791800","1332791793","1332791787","1332791802"],"photo_ids_order":["1332791779","1332791787","1332791793","1332791800","1332791802","1332791812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/5c803222ccd1a8292134950d606f77b1.jpg","text":"TemporaryFile(/tmp/multipartBody5444147294980009404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191214113,"filename":"image_29012025_18_42_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/29/4141867819995dc16a4a8f467b31f776.jpg","text":"TemporaryFile(/tmp/multipartBody4420940188443722559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191214113,"filename":"image_29012025_18_43_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/29/d4c685701e99721904eeb20e5fd7e1f1.jpg","text":"TemporaryFile(/tmp/multipartBody2929277884230092092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191214113,"filename":"image_29012025_18_43_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/29/3424eb268ea9605ca496892fb52ea87e.jpg","text":"TemporaryFile(/tmp/multipartBody8189713945277959169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191214113,"filename":"image_29012025_18_43_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/29/5e55ebc70407546a215517fbcb378804.jpg","text":"TemporaryFile(/tmp/multipartBody1317706141306446325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191214113,"filename":"image_29012025_18_42_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/29/39534e8e89b96b0a33e65ad997275cc9.jpg","text":"TemporaryFile(/tmp/multipartBody1137238154754701471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191214113,"filename":"image_29012025_18_43_25_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332791793","file1":"1332791787","file0":"1332791779","file4":"1332791802","file5":"1332791812","file3":"1332791800"},"map_files_photo_id_array":[{"photo_id":"1332791812","filename":"file5"},{"photo_id":"1332791793","filename":"file2"},{"photo_id":"1332791802","filename":"file4"},{"photo_id":"1332791787","filename":"file1"},{"photo_id":"1332791779","filename":"file0"},{"photo_id":"1332791800","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332791779":["hashtag1","hashtag2"]},{"1332791812":["hashtag1","hashtag2"]},{"1332791800":["hashtag1","hashtag2"]},{"1332791793":["hashtag1","hashtag2"]},{"1332791787":["hashtag1","hashtag2"]},{"1332791802":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332791779, 1332791812, 1332791800, 1332791793, 1332791787, 1332791802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.316298723220825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:53:32.288472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/43/image_29012025_18_43_46_10355.jpg', '/home/pi/Desktop/images/29012025/18/43/image_29012025_18_43_55_9357.jpg', '/home/pi/Desktop/images/29012025/18/43/image_29012025_18_44_06_10377.jpg', '/home/pi/Desktop/images/29012025/18/44/image_29012025_18_44_16_10353.jpg', '/home/pi/Desktop/images/29012025/18/44/image_29012025_18_44_25_9367.jpg', '/home/pi/Desktop/images/29012025/18/44/image_29012025_18_44_36_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/43/image_29012025_18_43_46_10355.jpg
/home/pi/Desktop/images/29012025/18/43/image_29012025_18_43_55_9357.jpg
/home/pi/Desktop/images/29012025/18/43/image_29012025_18_44_06_10377.jpg
/home/pi/Desktop/images/29012025/18/44/image_29012025_18_44_16_10353.jpg
/home/pi/Desktop/images/29012025/18/44/image_29012025_18_44_25_9367.jpg
/home/pi/Desktop/images/29012025/18/44/image_29012025_18_44_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":["1332791914","1332791917","1332791911","1332791907","1332791901","1332791894"],"photo_ids_order":["1332791894","1332791901","1332791907","1332791911","1332791914","1332791917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/b7d47683194db0ad5f6a27d4ea98dbd3.jpg","text":"TemporaryFile(/tmp/multipartBody8445424089680811788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191273291,"filename":"image_29012025_18_44_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/29/8c1a3fd8462f9ee8478e145c9e3990b3.jpg","text":"TemporaryFile(/tmp/multipartBody3531194239416572293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191273291,"filename":"image_29012025_18_44_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/29/cda90791b0a1a180ccd0942ca1a1c6f8.jpg","text":"TemporaryFile(/tmp/multipartBody3335562378919051851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191273291,"filename":"image_29012025_18_44_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/29/ee873f0f76a3dbb2a713b38022dcc242.jpg","text":"TemporaryFile(/tmp/multipartBody6115052534592339110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191273291,"filename":"image_29012025_18_44_06_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/29/cbb59a6deb8fa530d38d172398dd9164.jpg","text":"TemporaryFile(/tmp/multipartBody5998428241690002126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191273291,"filename":"image_29012025_18_43_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/29/b916a2a0f27700231f712a28f3235725.jpg","text":"TemporaryFile(/tmp/multipartBody6759729830315946923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191273291,"filename":"image_29012025_18_43_46_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332791907","file1":"1332791901","file0":"1332791894","file4":"1332791914","file5":"1332791917","file3":"1332791911"},"map_files_photo_id_array":[{"photo_id":"1332791917","filename":"file5"},{"photo_id":"1332791907","filename":"file2"},{"photo_id":"1332791914","filename":"file4"},{"photo_id":"1332791901","filename":"file1"},{"photo_id":"1332791894","filename":"file0"},{"photo_id":"1332791911","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332791914":["hashtag1","hashtag2"]},{"1332791917":["hashtag1","hashtag2"]},{"1332791911":["hashtag1","hashtag2"]},{"1332791907":["hashtag1","hashtag2"]},{"1332791901":["hashtag1","hashtag2"]},{"1332791894":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332791914, 1332791917, 1332791911, 1332791907, 1332791901, 1332791894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.643980264663696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:54:32.506122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/44/image_29012025_18_44_45_9418.jpg', '/home/pi/Desktop/images/29012025/18/44/image_29012025_18_44_55_10370.jpg', '/home/pi/Desktop/images/29012025/18/44/image_29012025_18_45_06_10371.jpg', '/home/pi/Desktop/images/29012025/18/45/image_29012025_18_45_15_9404.jpg', '/home/pi/Desktop/images/29012025/18/45/image_29012025_18_45_35_9406.jpg', '/home/pi/Desktop/images/29012025/18/45/image_29012025_18_45_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/44/image_29012025_18_44_45_9418.jpg
/home/pi/Desktop/images/29012025/18/44/image_29012025_18_44_55_10370.jpg
/home/pi/Desktop/images/29012025/18/44/image_29012025_18_45_06_10371.jpg
/home/pi/Desktop/images/29012025/18/45/image_29012025_18_45_15_9404.jpg
/home/pi/Desktop/images/29012025/18/45/image_29012025_18_45_35_9406.jpg
/home/pi/Desktop/images/29012025/18/45/image_29012025_18_45_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":["1332791998","1332791983","1332791992","1332792006","1332792003","1332791987"],"photo_ids_order":["1332791983","1332791987","1332791992","1332791998","1332792003","1332792006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/954fb61974365d87d25414df881ab67b.jpg","text":"TemporaryFile(/tmp/multipartBody6358633385494379335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191333528,"filename":"image_29012025_18_45_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/29/42a51349db9fb0e99451c4a19999bc87.jpg","text":"TemporaryFile(/tmp/multipartBody3342495319805645675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191333528,"filename":"image_29012025_18_44_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/29/a291b13796b039e55a353ae5989c0e84.jpg","text":"TemporaryFile(/tmp/multipartBody1928889621020391901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191333528,"filename":"image_29012025_18_45_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/29/4aba955525c18877169bd9a8f3b71102.jpg","text":"TemporaryFile(/tmp/multipartBody1441413609327284575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191333528,"filename":"image_29012025_18_45_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/29/555d28370c3d987ed542a74cec27015d.jpg","text":"TemporaryFile(/tmp/multipartBody7967069166163104239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191333528,"filename":"image_29012025_18_45_35_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/29/68ab5f53d8ada66a8e514dfb4a127306.jpg","text":"TemporaryFile(/tmp/multipartBody6408067410505929350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191333528,"filename":"image_29012025_18_44_55_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332791992","file1":"1332791987","file0":"1332791983","file4":"1332792003","file5":"1332792006","file3":"1332791998"},"map_files_photo_id_array":[{"photo_id":"1332792006","filename":"file5"},{"photo_id":"1332791992","filename":"file2"},{"photo_id":"1332792003","filename":"file4"},{"photo_id":"1332791987","filename":"file1"},{"photo_id":"1332791983","filename":"file0"},{"photo_id":"1332791998","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332791998":["hashtag1","hashtag2"]},{"1332791983":["hashtag1","hashtag2"]},{"1332791992":["hashtag1","hashtag2"]},{"1332792006":["hashtag1","hashtag2"]},{"1332792003":["hashtag1","hashtag2"]},{"1332791987":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332791998, 1332791983, 1332791992, 1332792006, 1332792003, 1332791987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78670263290405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:55:34.270285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/45/image_29012025_18_45_56_10377.jpg', '/home/pi/Desktop/images/29012025/18/45/image_29012025_18_46_05_9394.jpg', '/home/pi/Desktop/images/29012025/18/46/image_29012025_18_46_16_10413.jpg', '/home/pi/Desktop/images/29012025/18/46/image_29012025_18_46_26_10402.jpg', '/home/pi/Desktop/images/29012025/18/46/image_29012025_18_46_35_9366.jpg', '/home/pi/Desktop/images/29012025/18/46/image_29012025_18_46_46_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/45/image_29012025_18_45_56_10377.jpg
/home/pi/Desktop/images/29012025/18/45/image_29012025_18_46_05_9394.jpg
/home/pi/Desktop/images/29012025/18/46/image_29012025_18_46_16_10413.jpg
/home/pi/Desktop/images/29012025/18/46/image_29012025_18_46_26_10402.jpg
/home/pi/Desktop/images/29012025/18/46/image_29012025_18_46_35_9366.jpg
/home/pi/Desktop/images/29012025/18/46/image_29012025_18_46_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":["1332792239","1332792232","1332792241","1332792214","1332792243","1332792246"],"photo_ids_order":["1332792214","1332792232","1332792239","1332792241","1332792243","1332792246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/8f9b8c9adafc4842238e1ec843452af1.jpg","text":"TemporaryFile(/tmp/multipartBody8246924791052722597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191395710,"filename":"image_29012025_18_46_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/29/69dd1057c5d01935c6474e5860582118.jpg","text":"TemporaryFile(/tmp/multipartBody6634895033933041961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191395710,"filename":"image_29012025_18_46_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/29/59d41d749b62aba9a305d70012ea343c.jpg","text":"TemporaryFile(/tmp/multipartBody2862373447252075249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191395710,"filename":"image_29012025_18_46_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/29/aea04b5a1b7aa26fae69548259722ad4.jpg","text":"TemporaryFile(/tmp/multipartBody4747026296922700343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191395710,"filename":"image_29012025_18_45_56_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/29/1f39ebf1602235e571e2afa0e590a746.jpg","text":"TemporaryFile(/tmp/multipartBody5431446788357520138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191395710,"filename":"image_29012025_18_46_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/29/72dd146d90bbd16054ac8ed4fac1d68a.jpg","text":"TemporaryFile(/tmp/multipartBody1669900483395727264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191395710,"filename":"image_29012025_18_46_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332792239","file1":"1332792232","file0":"1332792214","file4":"1332792243","file5":"1332792246","file3":"1332792241"},"map_files_photo_id_array":[{"photo_id":"1332792246","filename":"file5"},{"photo_id":"1332792239","filename":"file2"},{"photo_id":"1332792243","filename":"file4"},{"photo_id":"1332792232","filename":"file1"},{"photo_id":"1332792214","filename":"file0"},{"photo_id":"1332792241","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332792239":["hashtag1","hashtag2"]},{"1332792232":["hashtag1","hashtag2"]},{"1332792241":["hashtag1","hashtag2"]},{"1332792214":["hashtag1","hashtag2"]},{"1332792243":["hashtag1","hashtag2"]},{"1332792246":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332792239, 1332792232, 1332792241, 1332792214, 1332792243, 1332792246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.659212589263916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:56:33.106871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/46/image_29012025_18_46_55_9415.jpg', '/home/pi/Desktop/images/29012025/18/46/image_29012025_18_47_05_10344.jpg', '/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_16_10369.jpg', '/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_25_9363.jpg', '/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_36_10358.jpg', '/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_46_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/46/image_29012025_18_46_55_9415.jpg
/home/pi/Desktop/images/29012025/18/46/image_29012025_18_47_05_10344.jpg
/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_16_10369.jpg
/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_25_9363.jpg
/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_36_10358.jpg
/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_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":["1332792376","1332792379","1332792331","1332792372","1332792366","1332792383"],"photo_ids_order":["1332792331","1332792366","1332792372","1332792376","1332792379","1332792383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/29/d84da6460efa65ec80b8235a0efbfee1.jpg","text":"TemporaryFile(/tmp/multipartBody1419447658711546698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191454084,"filename":"image_29012025_18_47_25_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/29/0c133d6636d134a12969b299499bad4a.jpg","text":"TemporaryFile(/tmp/multipartBody3509639099946407012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191454084,"filename":"image_29012025_18_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/29/f084c006c9109ccd8917d850efdda1dc.jpg","text":"TemporaryFile(/tmp/multipartBody6267554473743188663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191454084,"filename":"image_29012025_18_46_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/29/3dd30a42c8951290c0c9e5089bf4c9ad.jpg","text":"TemporaryFile(/tmp/multipartBody8228719007410547278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191454084,"filename":"image_29012025_18_47_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/29/5b836ee1cc6a8f78cd015a9acd759b34.jpg","text":"TemporaryFile(/tmp/multipartBody6087695266726636607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191454084,"filename":"image_29012025_18_47_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/29/4ae924412d6bbb0ad98bc36e83946b9c.jpg","text":"TemporaryFile(/tmp/multipartBody6941028753397770078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738191454084,"filename":"image_29012025_18_47_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1332792372","file1":"1332792366","file0":"1332792331","file4":"1332792379","file5":"1332792383","file3":"1332792376"},"map_files_photo_id_array":[{"photo_id":"1332792383","filename":"file5"},{"photo_id":"1332792372","filename":"file2"},{"photo_id":"1332792379","filename":"file4"},{"photo_id":"1332792366","filename":"file1"},{"photo_id":"1332792331","filename":"file0"},{"photo_id":"1332792376","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1332792376":["hashtag1","hashtag2"]},{"1332792379":["hashtag1","hashtag2"]},{"1332792331":["hashtag1","hashtag2"]},{"1332792372":["hashtag1","hashtag2"]},{"1332792366":["hashtag1","hashtag2"]},{"1332792383":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1332792376, 1332792379, 1332792331, 1332792372, 1332792366, 1332792383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.054848432540894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-29 23:57:32.279836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_55_9348.jpg', '/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_16_10372.jpg', '/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_36_10371.jpg', '/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_56_10363.jpg', '/home/pi/Desktop/images/29012025/18/48/image_29012025_18_49_05_9503.jpg', '/home/pi/Desktop/images/29012025/18/49/image_29012025_18_49_15_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_55_9348.jpg
/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_16_10372.jpg
/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_36_10371.jpg
/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_56_10363.jpg
/home/pi/Desktop/images/29012025/18/48/image_29012025_18_49_05_9503.jpg
/home/pi/Desktop/images/29012025/18/49/image_29012025_18_49_15_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
